-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
108 lines (108 loc) · 3.67 KB
/
composer.json
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
{
"name": "marjovanlier/stringmanipulation",
"description": "A PHP library for efficient string manipulation, focusing on data normalisation, encoding conversion and validation.",
"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
}
},
"minimum-stability": "stable",
"require": {
"php": "^8.2"
},
"require-dev": {
"enlightn/security-checker": ">=2.0",
"infection/infection": ">=0.27.10",
"laravel/pint": ">=1.14.0",
"phan/phan": ">=5.4.3",
"php-parallel-lint/php-parallel-lint": ">=1.3.2",
"phpmd/phpmd": ">=2.15",
"phpstan/extension-installer": ">=1.3.1",
"phpstan/phpstan": ">=1.10.60",
"phpstan/phpstan-strict-rules": ">=1.5.2",
"phpunit/phpunit": ">=10.5.10|>=11.0.4",
"psalm/plugin-phpunit": ">=0.18.4",
"rector/rector": ">=1.0.2",
"roave/no-floaters": ">=1.11.0",
"roave/security-advisories": "dev-latest",
"vimeo/psalm": ">=5.23.0"
},
"scripts-descriptions": {
"test:code-style": "Check code for stylistic consistency.",
"test:composer-validate": "Ensure 'composer.json' is valid and consistent.",
"test:infection": "Conduct mutation testing for robustness.",
"test:lint": "Search for syntax errors and problematic patterns.",
"test:phan": "Perform static analysis with Phan to identify code issues.",
"test:phpmd": "Detect bugs and suboptimal code with PHP Mess Detector.",
"test:phpstan": "Use PHPStan for static analysis and bug detection.",
"test:phpunit": "Execute PHPUnit tests to verify code functionality.",
"test:psalm": "Run Psalm to find errors and improve code quality.",
"test:rector": "Apply automated code quality enhancements with Rector.",
"test:vulnerabilities-check": "Scan dependencies for known security vulnerabilities."
},
"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:phpunit",
"@test:infection",
"@test:phpstan",
"@test:phan",
"@test:psalm",
"@test:rector"
],
"test:code-style": "pint --test",
"test:composer-validate": "composer validate --strict",
"test:infection": "php -d memory_limit=-1 -d zend_extension=xdebug -d xdebug.mode=coverage ./vendor/bin/infection --threads=4 --show-mutations",
"test:lint": "parallel-lint --exclude vendor --show-deprecated .",
"test:phan": "phan --allow-polyfill-parser --no-progress-bar",
"test:phpmd": "phpmd src,tests text phpmd.xml",
"test:phpstan": "phpstan analyse --no-progress --no-interaction",
"test:phpunit": "phpunit --no-coverage --no-logging",
"test:psalm": "psalm --no-cache --no-progress --show-info=false",
"test:rector": "rector --dry-run",
"test:vulnerabilities-check": "security-checker security:check"
}
}