[PHP-CS] Moving the php-cs-fixer dependency to the right place

This commit is contained in:
Philipp 2024-08-23 21:30:12 +02:00
parent f597d7aac7
commit 8c9dcbb271
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
4 changed files with 1093 additions and 2201 deletions

View file

@ -1,5 +1,5 @@
{ {
"require": { "require": {
"friendsofphp/php-cs-fixer": "^2.18" "friendsofphp/php-cs-fixer": "^3.46"
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -135,8 +135,7 @@
"mockery/mockery": "^1.3", "mockery/mockery": "^1.3",
"mikey179/vfsstream": "^1.6", "mikey179/vfsstream": "^1.6",
"phpunit/phpunit": "^9", "phpunit/phpunit": "^9",
"dms/phpunit-arraysubset-asserts": "^0.3.1", "dms/phpunit-arraysubset-asserts": "^0.3.1"
"friendsofphp/php-cs-fixer": "^3.46"
}, },
"scripts": { "scripts": {
"test": "phpunit", "test": "phpunit",
@ -145,13 +144,11 @@
"cs:install": "@composer install --working-dir=bin/dev/php-cs-fixer", "cs:install": "@composer install --working-dir=bin/dev/php-cs-fixer",
"cs:check": [ "cs:check": [
"@cs:install", "@cs:install",
"bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff" "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer check --diff"
], ],
"cs:fix": [ "cs:fix": [
"@cs:install", "@cs:install",
"bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix" "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix"
], ]
"cs:check-v3": "vendor/bin/php-cs-fixer check --diff",
"cs:fix-v3": "vendor/bin/php-cs-fixer fix"
} }
} }

1569
composer.lock generated

File diff suppressed because it is too large Load diff