-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
115 lines (115 loc) · 4.58 KB
/
composer.json
File metadata and controls
115 lines (115 loc) · 4.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "marjovanlier/stringmanipulation",
"description": "High-performance PHP 8.3+ string manipulation library featuring O(n) algorithms with up to 5x speed improvements. Provides Unicode-aware operations including searchWords(), nameFix(), utf8Ansi(), removeAccents(), and isValidDate() with comprehensive testing infrastructure.",
"keywords": [
"string manipulation",
"performance",
"encoding",
"validation",
"unicode"
],
"homepage": "https://github.com/marjovanlier/stringmanipulation",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Marjo Wenzel van Lier",
"email": "marjo.vanlier@gmail.com",
"role": "Developer"
}
],
"autoload": {
"psr-4": {
"MarjovanLier\\StringManipulation\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"MarjovanLier\\StringManipulation\\Tests\\": "tests"
}
},
"config": {
"preferred-install": {
"*": "dist"
},
"optimize-autoloader": true,
"classmap-authoritative": true,
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": true,
"phpstan/extension-installer": true,
"pestphp/pest-plugin": true
}
},
"minimum-stability": "stable",
"require": {
"php": "^8.3"
},
"require-dev": {
"enlightn/security-checker": ">=2.0",
"infection/infection": ">=0.31.2",
"laravel/pint": ">=1.24.0",
"pestphp/pest": "^4.1",
"pestphp/pest-plugin-drift": "^4.0",
"pestphp/pest-plugin-type-coverage": "^4.0",
"php-parallel-lint/php-parallel-lint": ">=1.4.0",
"phpmd/phpmd": ">=2.15",
"phpstan/extension-installer": ">=1.4.3",
"phpstan/phpstan": ">=2.1.22",
"phpstan/phpstan-strict-rules": ">=2.0.6",
"rector/rector": ">=2.1.4",
"rector/type-perfect": "^2.1",
"roave/security-advisories": "dev-latest",
"tomasvotruba/type-coverage": "^2.0"
},
"scripts-descriptions": {
"test:code-style": "Check code for stylistic consistency using Laravel Pint",
"test:composer-validate": "Validate composer.json schema, dependencies, and configuration integrity with strict validation",
"test:infection": "Run mutation testing using Pest's built-in mutation testing to verify test suite quality and effectiveness",
"test:lint": "Perform syntax validation and identify deprecated PHP patterns across all source files",
"test:phan": "Execute Phan static analysis for type safety, dead code detection, and PHP compatibility validation",
"test:phpmd": "Analyse code complexity, design patterns, and identify potential bugs using PHP Mess Detector rules",
"test:phpstan": "Perform advanced static analysis with PHPStan for type checking, null safety, and logic validation",
"test:pest": "Run comprehensive Pest test suite with mutation testing, strict type checking and edge case coverage",
"test:psalm": "Execute Psalm static analysis for advanced type inference, purity checking, and security validation",
"test:rector": "Analyse code for modernisation opportunities and PHP 8.3+ feature adoption using Rector rules",
"test:vulnerabilities-check": "Scan all dependencies for known CVE vulnerabilities and security advisories using Enlightn Security Checker",
"fix:code-style": "Automatically fix code style issues with Pint",
"fix:rector": "Apply Rector refactorings to improve code quality",
"analyse:all": "Run all static analysis tools (PHPStan, Psalm, Phan)"
},
"scripts": {
"post-update-cmd": [
"composer validate --strict",
"security-checker security:check",
"composer outdated -D"
],
"tests": [
"@test:composer-validate",
"@test:vulnerabilities-check",
"@test:lint",
"@test:code-style",
"@test:phpmd",
"@test:pest",
"@test:infection",
"@test:phpstan",
"@test:rector"
],
"test:code-style": "pint --test",
"test:composer-validate": "composer validate --strict",
"test:infection": "php -d zend_extension=xdebug -d xdebug.mode=coverage ./vendor/bin/pest --mutate --everything --parallel",
"test:lint": "parallel-lint --exclude vendor --show-deprecated .",
"test:phan": "phan --no-progress-bar",
"test:phpmd": "phpmd src,tests text phpmd.xml",
"test:phpstan": "phpstan analyse --memory-limit=-1 --no-progress --no-interaction",
"test:pest": "pest --no-coverage",
"test:psalm": "psalm --no-cache --no-progress --show-info=false",
"test:rector": "rector --dry-run",
"test:vulnerabilities-check": "security-checker security:check",
"fix:code-style": "pint",
"fix:rector": "rector",
"analyse:all": [
"@test:phpstan"
]
}
}