Skip to content

Commit

Permalink
Update analyse-php.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
freescout-help-desk committed Sep 23, 2023
1 parent 23c6cb3 commit b6d026a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/analyse-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/checkout@v3
- uses: php-actions/composer@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: mysql, mbstring, xml, imap, zip, gd, curl, intl, json

- name: Install composer dependencies
run: composer install --ignore-platform-reqs --no-interaction

- name: PHPStan Static Analysis
uses: php-actions/phpstan@v3
Expand Down
4 changes: 3 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# https://phpstan.org/config-reference

parameters:

paths:
Expand All @@ -6,7 +8,7 @@ parameters:
# The level 8 is the highest level
level: 1

#phpVersion: 80002
phpVersion: 80002

#bootstrapFiles:
# - bootstrap/phpstan.php
Expand Down

0 comments on commit b6d026a

Please sign in to comment.