Skip to content

Commit

Permalink
Move CS build back to /build-cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Mar 18, 2021
1 parent 330eb22 commit 9c9732a
Show file tree
Hide file tree
Showing 8 changed files with 355 additions and 262 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
version: 2
updates:
- package-ecosystem: composer
directory: "/build-cs"
schedule:
interval: weekly
open-pull-requests-limit: 10
- package-ecosystem: composer
directory: "/compiler"
schedule:
Expand Down
1 change: 1 addition & 0 deletions build-cs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor
8 changes: 8 additions & 0 deletions build-cs/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"require-dev": {
"consistence-community/coding-standard": "^3.11.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"slevomat/coding-standard": "^6.3.0",
"squizlabs/php_codesniffer": "^3.5.3"
}
}
325 changes: 325 additions & 0 deletions build-cs/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 13 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,18 @@

<target name="cs">
<exec
executable="vendor/bin/phpcs"
executable="composer"
logoutput="true"
passthru="true"
checkreturn="true"
>
<arg value="install"/>
<arg value="--working-dir"/>
<arg path="build-cs"/>
<arg value="--ansi"/>
</exec>
<exec
executable="build-cs/vendor/bin/phpcs"
logoutput="true"
passthru="true"
checkreturn="true"
Expand All @@ -156,7 +167,7 @@

<target name="cs-fix">
<exec
executable="vendor/bin/phpcbf"
executable="build-cs/vendor/bin/phpcbf"
logoutput="true"
passthru="true"
checkreturn="true"
Expand Down
6 changes: 1 addition & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,14 @@
},
"require-dev": {
"brianium/paratest": "^4.0",
"consistence-community/coding-standard": "^3.11",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"nategood/httpful": "^0.2.20",
"phing/phing": "^2.16.0",
"php-parallel-lint/php-parallel-lint": "^1.2.0",
"phpstan/phpstan-deprecation-rules": "^0.12.3",
"phpstan/phpstan-php-parser": "^0.12",
"phpstan/phpstan-phpunit": "^0.12",
"phpstan/phpstan-strict-rules": "^0.12",
"phpunit/phpunit": "^7.5.18",
"slevomat/coding-standard": "^6.4",
"squizlabs/php_codesniffer": "^3.5"
"phpunit/phpunit": "^7.5.18"
},
"config": {
"platform": {
Expand Down
Loading

0 comments on commit 9c9732a

Please sign in to comment.