Skip to content

Commit

Permalink
Update static-code-analyses.yml (#1412)
Browse files Browse the repository at this point in the history
- removed excluded directories
- removed obsolete experimental checks for php7
  • Loading branch information
sreichel authored Feb 4, 2021
1 parent df936ec commit 2310733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static-code-analyses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Check PHP Version
run: php -v
- name: Check .php files
run: '! find . -not \( -path ./.phpstorm.meta.php -prune \) -not \( -path ./lib/PEAR -prune \) -not \( -path ./lib/phpseclib -prune \) -not \( -path ./lib/Zend -prune \) -type f -name "*.php" -exec php -d error_reporting=32767 -l {} \; 2>&1 1> /dev/null | grep "^"'
run: '! find . -not \( -path ./.phpstorm.meta.php -prune \) -type f -name "*.php" -exec php -d error_reporting=32767 -l {} \; 2>&1 1> /dev/null | grep "^"'
- name: Check .phtml files
run: '! find app/design -type f -name "*.phtml" -exec php -d error_reporting=32767 -l {} \; 2>&1 1> /dev/null | grep "^"'

Expand All @@ -39,7 +39,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.0', '7.4', '8.0']
php-versions: ['8.0']
steps:
- uses: actions/checkout@v1
- name: Setup PHP
Expand Down

0 comments on commit 2310733

Please sign in to comment.