mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
[PHP-CS] Moving the php-cs-fixer dependency to the right place
This commit is contained in:
parent
f597d7aac7
commit
8c9dcbb271
4 changed files with 1093 additions and 2201 deletions
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"require": {
|
"require": {
|
||||||
"friendsofphp/php-cs-fixer": "^2.18"
|
"friendsofphp/php-cs-fixer": "^3.46"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1714
bin/dev/php-cs-fixer/composer.lock
generated
1714
bin/dev/php-cs-fixer/composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -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
1569
composer.lock
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue