phpstan-ga
phpstan-ga copied to clipboard
trigger_error is causing an error
I have a file with a line like the following
<?php
@\trigger_error('an error...', \E_USER_DEPRECATED);
Such file causes no errors in my local run of phpstan (version 0.12.90, the latest so far, with clean cache). When my GitHub action is run, instead, that line is causing an error (and the action fails).
This is the job definition:
phpstan:
runs-on: ubuntu-20.04
name: PHPStan
steps:
- name: Checkout
uses: actions/checkout@v2
- name: PHPStan
uses: docker://oskarstark/phpstan-ga
env:
REQUIRE_DEV: true
with:
args: analyse