Skip to content

Commit

Permalink
CI tools should be exactly the same as local
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Feb 12, 2025
1 parent 5740527 commit 58ca096
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/phpcs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ jobs:

- run: composer validate

- run: composer global require squizlabs/php_codesniffer
- run: composer install --no-progress

- name: PHP
run: ~/.composer/vendor/bin/phpcs --colors --standard=PSR12 --exclude=Generic.Files.LineLength --extensions=php index.php app tests

- name: Style sheets
run: ~/.composer/vendor/bin/phpcs --colors --extensions=css resources/css
- run: composer webtrees:phpcs
6 changes: 1 addition & 5 deletions .github/workflows/phpstan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ jobs:

- run: composer validate

- run: composer global config --no-plugins allow-plugins.phpstan/extension-installer true

- run: composer global require phpstan/phpstan phpstan/extension-installer phpstan/phpstan-deprecation-rules phpstan/phpstan-strict-rules phpstan/phpstan-phpunit

- run: composer install --no-progress

- run: ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php
- run: composer webtrees:phpcs

0 comments on commit 58ca096

Please sign in to comment.