summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2025-02-12 10:35:17 +0000
committerGreg Roach <greg@subaqua.co.uk>2025-02-12 10:37:23 +0000
commit58ca096aae1735f6763f2fab6e384451b423d09d (patch)
tree27f31e7db87666e7e835ede63149cd2eeeae86b2 /.github/workflows
parent5740527c38acc64c3c31bee5222d0e7a9a400f53 (diff)
downloadwebtrees-58ca096aae1735f6763f2fab6e384451b423d09d.tar.gz
webtrees-58ca096aae1735f6763f2fab6e384451b423d09d.tar.bz2
webtrees-58ca096aae1735f6763f2fab6e384451b423d09d.zip
CI tools should be exactly the same as local
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/phpcs.yaml8
-rw-r--r--.github/workflows/phpstan.yaml6
2 files changed, 3 insertions, 11 deletions
diff --git a/.github/workflows/phpcs.yaml b/.github/workflows/phpcs.yaml
index 897f5788f0..430357d9df 100644
--- a/.github/workflows/phpcs.yaml
+++ b/.github/workflows/phpcs.yaml
@@ -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
diff --git a/.github/workflows/phpstan.yaml b/.github/workflows/phpstan.yaml
index 538565c9c3..34c8957211 100644
--- a/.github/workflows/phpstan.yaml
+++ b/.github/workflows/phpstan.yaml
@@ -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