Skip to content

Commit df5aabf

Browse files
committed
Move fixer, phpstan to tools, add psalm
1 parent 5289046 commit df5aabf

File tree

15 files changed

+7686
-4804
lines changed

15 files changed

+7686
-4804
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
/**/vendor/
1+
/tools/**/vendor/
22
/var/
3+
/vendor/
34
/.php-cs-fixer.php
45
/phpstan.neon
56
/phpunit.xml

composer.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,8 @@
1818
},
1919
"require-dev": {
2020
"bamarni/composer-bin-plugin": "^1.8.2",
21-
"dragon-code/benchmark": "^2.6",
22-
"ergebnis/composer-normalize": "^2.45.0",
23-
"friendsofphp/php-cs-fixer": "^3.67.0",
24-
"phpstan/phpstan": "^1.12.15",
25-
"phpunit/phpunit": "^10.5.40",
26-
"phpyh/coding-standard": "^2.6.2",
27-
"symfony/var-dumper": "^6.4.15 || ^7.1.3"
21+
"phpunit/phpunit": "^10.5.45",
22+
"symfony/var-dumper": "^6.4.18 || ^7.2.3"
2823
},
2924
"autoload": {
3025
"psr-4": {
@@ -38,8 +33,7 @@
3833
},
3934
"config": {
4035
"allow-plugins": {
41-
"bamarni/composer-bin-plugin": true,
42-
"ergebnis/composer-normalize": true
36+
"bamarni/composer-bin-plugin": true
4337
},
4438
"bump-after-update": "dev",
4539
"platform": {
@@ -57,10 +51,12 @@
5751
"scripts": {
5852
"check-require": "tools/composer-require-checker/vendor/bin/composer-require-checker",
5953
"check-unused": "tools/composer-unused/vendor/bin/composer-unused",
60-
"fixcs": "php-cs-fixer fix --diff --verbose",
54+
"fixcs": "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --diff --verbose",
6155
"infection": "tools/infection/vendor/bin/infection --show-mutations",
56+
"normalize": "@composer bin composer-normalize normalize --diff ../../composer.json",
6257
"phpstan": "tools/phpstan/vendor/bin/phpstan analyze",
6358
"pre-command-run": "mkdir -p var",
59+
"psalm": "tools/psalm/vendor/bin/psalm --show-info --no-diff --no-cache",
6460
"test": "phpunit"
6561
}
6662
}

0 commit comments

Comments
 (0)