Skip to content

Commit 1b7263e

Browse files
committed
Add lint:fix composer script
1 parent 9196d25 commit 1b7263e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
"@lint:phpstan",
2727
"@lint:distributionintegrity"
2828
],
29+
"lint:fix": [
30+
"@lint:phpcs:fix",
31+
"@lint:php-cs-fixer:fix"
32+
],
2933
"test:unit": [
3034
"../../bin/phpunit --colors --stop-on-failure -c ../../Build/BuildEssentials/PhpUnit/UnitTests.xml Neos.ContentRepository.Core/Tests/Unit",
3135
"../../bin/phpunit --colors --stop-on-failure -c ../../Build/BuildEssentials/PhpUnit/UnitTests.xml Neos.ContentRepositoryRegistry/Tests/Unit"

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@
111111
"@lint:phpstan",
112112
"@lint:distributionintegrity"
113113
],
114+
"lint:fix": [
115+
"@lint:phpcs:fix",
116+
"@lint:php-cs-fixer:fix"
117+
],
114118
"test:unit": [
115119
"../../bin/phpunit --colors --stop-on-failure -c ../../Build/BuildEssentials/PhpUnit/UnitTests.xml Neos.ContentRepository.Core/Tests/Unit",
116120
"../../bin/phpunit --colors --stop-on-failure -c ../../Build/BuildEssentials/PhpUnit/UnitTests.xml Neos.ContentRepositoryRegistry/Tests/Unit"

0 commit comments

Comments
 (0)