|
17 | 17 | "psr/log": "^3.0" |
18 | 18 | }, |
19 | 19 | "require-dev": { |
20 | | - "codeigniter/coding-standard": "^1.7", |
21 | 20 | "codeigniter/phpstan-codeigniter": "^1.4", |
22 | | - "ergebnis/composer-normalize": "^2.28", |
23 | 21 | "fakerphp/faker": "^1.9", |
24 | | - "friendsofphp/php-cs-fixer": "^3.47.1", |
25 | 22 | "kint-php/kint": "^5.0.4", |
26 | 23 | "mikey179/vfsstream": "^1.6", |
27 | | - "nexusphp/cs-config": "^3.6", |
28 | 24 | "nexusphp/tachycardia": "^2.0", |
29 | | - "phpstan/extension-installer": "^1.3", |
| 25 | + "phpstan/extension-installer": "^1.4", |
30 | 26 | "phpstan/phpstan": "^1.11", |
31 | 27 | "phpstan/phpstan-strict-rules": "^1.6", |
32 | 28 | "phpunit/phpcov": "^9.0.2", |
33 | 29 | "phpunit/phpunit": "^10.5.16", |
34 | 30 | "predis/predis": "^1.1 || ^2.0", |
35 | | - "rector/rector": "1.2.1", |
36 | | - "vimeo/psalm": "^5.0" |
| 31 | + "rector/rector": "1.2.1" |
37 | 32 | }, |
38 | 33 | "replace": { |
39 | 34 | "codeigniter4/framework": "self.version" |
|
72 | 67 | "autoload-dev": { |
73 | 68 | "psr-4": { |
74 | 69 | "CodeIgniter\\": "tests/system/", |
75 | | - "Utils\\": "utils/" |
| 70 | + "Utils\\": "utils/src/" |
76 | 71 | } |
77 | 72 | }, |
78 | 73 | "config": { |
79 | 74 | "allow-plugins": { |
80 | | - "ergebnis/composer-normalize": true, |
81 | 75 | "phpstan/extension-installer": true |
82 | 76 | }, |
83 | 77 | "optimize-autoloader": true, |
|
91 | 85 | }, |
92 | 86 | "scripts": { |
93 | 87 | "post-update-cmd": [ |
94 | | - "CodeIgniter\\ComposerScripts::postUpdate", |
95 | | - "composer update --working-dir=tools/phpmetrics" |
| 88 | + "CodeIgniter\\ComposerScripts::postUpdate" |
| 89 | + ], |
| 90 | + "post-autoload-dump": [ |
| 91 | + "@composer update --working-dir=utils" |
96 | 92 | ], |
97 | 93 | "analyze": [ |
98 | 94 | "Composer\\Config::disableProcessTimeout", |
99 | | - "bash -c \"XDEBUG_MODE=off phpstan analyse\"", |
100 | | - "rector process --dry-run" |
| 95 | + "bash -c \"XDEBUG_MODE=off vendor/bin/phpstan analyse\"", |
| 96 | + "vendor/bin/rector process --dry-run" |
101 | 97 | ], |
102 | 98 | "cs": [ |
103 | 99 | "Composer\\Config::disableProcessTimeout", |
104 | | - "php-cs-fixer fix --ansi --verbose --dry-run --diff --config=.php-cs-fixer.user-guide.php", |
105 | | - "php-cs-fixer fix --ansi --verbose --dry-run --diff --config=.php-cs-fixer.no-header.php", |
106 | | - "php-cs-fixer fix --ansi --verbose --dry-run --diff --config=.php-cs-fixer.tests.php", |
107 | | - "php-cs-fixer fix --ansi --verbose --dry-run --diff" |
| 100 | + "utils/vendor/bin/php-cs-fixer fix --ansi --verbose --dry-run --diff --config=.php-cs-fixer.user-guide.php", |
| 101 | + "utils/vendor/bin/php-cs-fixer fix --ansi --verbose --dry-run --diff --config=.php-cs-fixer.no-header.php", |
| 102 | + "utils/vendor/bin/php-cs-fixer fix --ansi --verbose --dry-run --diff --config=.php-cs-fixer.tests.php", |
| 103 | + "utils/vendor/bin/php-cs-fixer fix --ansi --verbose --dry-run --diff" |
108 | 104 | ], |
109 | 105 | "cs-fix": [ |
110 | 106 | "Composer\\Config::disableProcessTimeout", |
111 | | - "php-cs-fixer fix --ansi --verbose --diff --config=.php-cs-fixer.user-guide.php", |
112 | | - "php-cs-fixer fix --ansi --verbose --diff --config=.php-cs-fixer.no-header.php", |
113 | | - "php-cs-fixer fix --ansi --verbose --diff --config=.php-cs-fixer.tests.php", |
114 | | - "php-cs-fixer fix --ansi --verbose --diff" |
| 107 | + "utils/vendor/bin/php-cs-fixer fix --ansi --verbose --diff --config=.php-cs-fixer.user-guide.php", |
| 108 | + "utils/vendor/bin/php-cs-fixer fix --ansi --verbose --diff --config=.php-cs-fixer.no-header.php", |
| 109 | + "utils/vendor/bin/php-cs-fixer fix --ansi --verbose --diff --config=.php-cs-fixer.tests.php", |
| 110 | + "utils/vendor/bin/php-cs-fixer fix --ansi --verbose --diff" |
115 | 111 | ], |
116 | | - "metrics": "tools/phpmetrics/vendor/bin/phpmetrics --config=phpmetrics.json", |
| 112 | + "metrics": "utils/vendor/bin/phpmetrics --config=phpmetrics.json", |
117 | 113 | "sa": "@analyze", |
118 | 114 | "style": "@cs-fix", |
119 | 115 | "test": "phpunit" |
|
0 commit comments