Added T_ARRAY and T_STRING as exclude in native_constant_invocation #120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHPStan | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
run: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest, windows-latest, macOS-latest] | |
php-versions: ['8.3'] | |
name: Run PHPStan with PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP | |
uses: shivammathur/setup-php@2.31.1 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: mbstring | |
tools: phpstan:2.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
- name: Run PHPStan | |
run: phpstan analyse --memory-limit=256M |