Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
nmtho committed Nov 25, 2023
1 parent 45f0a3d commit 1bc4a32
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
install-path: "./bin"
pm-version-major: "5"

- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction
- uses: "ramsey/composer-install@v2"
with:
working-directory: "vendor-bin/box"

- name: Build PHAR file
run: composer run-script build
Expand Down
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"friendsofphp/php-cs-fixer": "^3.38"
"friendsofphp/php-cs-fixer": "^3.38",
"phpstan/phpstan": "^1.10"
},
"license": "GPL-3.0-only",
"config": {
Expand All @@ -32,9 +33,9 @@
}
],
"scripts": {
"post-install-cmd": ["@composer bin box install"],
"analyse": "./vendor/bin/phpstan analyse -c phpstan.neon.dist",
"fix-cs": "./vendor/bin/php-cs-fixer fix",
"build": "./vendor/bin/box compile",
"post-install-cmd": ["@composer bin box install"]
"build": "./vendor/bin/box compile"
}
}
5 changes: 0 additions & 5 deletions vendor-bin/php-cs-fixer/composer.json

This file was deleted.

5 changes: 0 additions & 5 deletions vendor-bin/phpstan/composer.json

This file was deleted.

0 comments on commit 1bc4a32

Please sign in to comment.