There was an error while loading. Please reload this page.
2 parents 4575339 + 07cbf1e commit 4e7bb92Copy full SHA for 4e7bb92
1 file changed
.github/workflows/php.yml
@@ -32,26 +32,11 @@ jobs:
32
name: PHP-CS-Fixer
33
runs-on: ubuntu-latest
34
steps:
35
- - name: Setup PHP
36
- uses: shivammathur/setup-php@v2
+ - name: Run PHP-CS-Fixer
+ uses: PrestaShop/.github/.github/actions/php-ci/php-cs@master
37
with:
38
php-version: '7.4'
39
40
- - name: Checkout
41
- uses: actions/checkout@v4
42
-
43
- - name: Cache dependencies
44
- uses: actions/cache@v4
45
- with:
46
- path: vendor
47
- key: php-${{ hashFiles('composer.lock') }}
48
49
- - name: Install dependencies
50
- run: composer install
51
52
- - name: Run PHP-CS-Fixer
53
- run: ./vendor/bin/php-cs-fixer fix --dry-run --diff --using-cache=no
54
55
# Run PHPStan against the module (PHP 7.4 – PS 8.2)
56
phpstan-74-81:
57
name: PHPStan (PHP 7.4 - 8.1)
0 commit comments