Skip to content

Commit 5de0f0e

Browse files
committed
Try create empty phpstan.neon file to fix GitHub Action
1 parent c15995c commit 5de0f0e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/static-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@ jobs:
2626
run: |
2727
export COMPOSER_NAME=`cat .module.ini | grep COMPOSER_NAME | cut -f2 -d= | tr -d '"'`
2828
export LEVEL=`echo '<?= json_decode(file_get_contents("MODULE.json"), true)["phpstan_level"];' | php`
29+
test -f /tmp/magento/phpstan.neon || echo 'parameters:' > /tmp/magento/phpstan.neon
2930
php -d memory_limit=4G /tmp/magento/vendor/bin/phpstan analyse --level $LEVEL ${GITHUB_WORKSPACE}
3031

0 commit comments

Comments
 (0)