Skip to content

Commit

Permalink
Uncommented PHPStan in GitHub Actions configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tg666 committed Jan 3, 2023
1 parent 2012256 commit 5a9d779
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/coding-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,21 @@ jobs:
- name: Php-Cs-Fixer
run: vendor/bin/php-cs-fixer fix -v --dry-run

#php-stan:
# name: PHPStan
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3

# - name: Install PHP
# uses: shivammathur/setup-php@v2
# with:
# php-version: 8.1
# tools: composer:v2

# - name: Install dependencies
# run: composer update --no-progress --prefer-dist --prefer-stable --optimize-autoloader --quiet

# - name: PhpStan
# run: vendor/bin/phpstan analyse
php-stan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
tools: composer:v2

- name: Install dependencies
run: composer update --no-progress --prefer-dist --prefer-stable --optimize-autoloader --quiet

- name: PhpStan
run: vendor/bin/phpstan analyse

0 comments on commit 5a9d779

Please sign in to comment.