Skip to content

Commit

Permalink
[TASK] Move php-cs-fixer file in Build folder
Browse files Browse the repository at this point in the history
  • Loading branch information
NarkNiro committed Aug 10, 2023
1 parent 731cc62 commit 554da07
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .php-cs-fixer.php

This file was deleted.

8 changes: 8 additions & 0 deletions Build/php-cs-fixer/.php-cs-fixer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

$config = \TYPO3\CodingStandards\CsFixerConfig::create();
$config->getFinder()
->in(__DIR__ . '/../../')
->exclude(['vendor/', 'public/']);

return $config;
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
},
"scripts": {
"cs:check": "php-cs-fixer fix --config .php-cs-fixer.php -v --dry-run --diff",
"cs:fix": "php-cs-fixer fix --config .php-cs-fixer.php -v --diff",
"cs:fix": "php-cs-fixer fix --config Build/php-cs-fixer/.php-cs-fixer.php -v --diff",
"php:static": "phpstan analyze --no-interaction --configuration Build/phpstan/phpstan.neon",
"phpstan:baseline": "phpstan analyze --no-interaction --configuration Build/phpstan/phpstan.neon --generate-baseline=Build/phpstan/phpstan-baseline.neon",
"test:php:functional": "phpunit -c ./Build/FunctionalTests.xml"
Expand Down

0 comments on commit 554da07

Please sign in to comment.