Skip to content

Commit

Permalink
[TASK] Move php sniff to Build dir (#1357)
Browse files Browse the repository at this point in the history
Part of #1186
  • Loading branch information
lukaszuznanski authored Sep 17, 2024
1 parent ab23166 commit ac8c124
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
/package-lock.json export-ignore
/package.json export-ignore
/phive.xml export-ignore
/phpcs.xml export-ignore
/phpstan-baseline.neon export-ignore
/phpstan.neon export-ignore
/rector.php export-ignore
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
- Add support for PostgreSQL 16 (#1271)

### Changed
- Move php sniff configuration to Build dir (#1357)
- Move xliff configuration to Build xliff dir (#1356)
- Move tests configuration to Build dir (#1352)
- Stop storing development tool PHARs in the repository (#1277)
Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"ci:php:cs-fixer": "php-cs-fixer fix --config .php-cs-fixer.php -v --dry-run --diff",
"ci:php:lint": "parallel-lint .*.php *.php Classes Configuration Tests",
"ci:php:mess": "phpmd Classes text Build/phpmd/phpmd.xml",
"ci:php:sniff": "phpcs Classes Configuration Tests",
"ci:php:sniff": "phpcs --standard=Build/phpcs/phpcs.xml Classes Configuration Tests",
"ci:php:stan": "phpstan --no-progress -v",
"ci:static": [
"@ci:composer:normalize",
Expand Down Expand Up @@ -178,7 +178,7 @@
"@fix:php:sniff"
],
"fix:php:cs": "php-cs-fixer fix --config .php-cs-fixer.php",
"fix:php:sniff": "phpcbf Classes Configuration Tests",
"fix:php:sniff": "phpcbf --standard=Build/phpcs/phpcs.xml Classes Configuration Tests",
"phpstan:baseline": "phpstan --generate-baseline --allow-empty-baseline",
"prepare-release": [
"rm -rf .Build",
Expand All @@ -202,7 +202,6 @@
"rm package-lock.json",
"rm package.json",
"rm phive.xml",
"rm phpcs.xml",
"rm phpstan-baseline.neon",
"rm phpstan.neon",
"rm rector.php",
Expand Down

0 comments on commit ac8c124

Please sign in to comment.