added functionality to correctly read array union values to be transformed into typescript #1362
Workflow file for this run
This file contains hidden or 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: | |
| paths: | |
| - '**.php' | |
| - 'phpstan.neon.dist' | |
| - 'phpstan-baseline.neon' | |
| pull_request: | |
| paths: | |
| - '**.php' | |
| - 'phpstan.neon.dist' | |
| - 'phpstan-baseline.neon' | |
| jobs: | |
| phpstan: | |
| name: phpstan | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.4' | |
| coverage: none | |
| - name: Install dependencies | |
| run: | | |
| composer update --prefer-dist --no-interaction --no-suggest | |
| - name: Run PHPStan | |
| run: ./vendor/bin/phpstan --error-format=github |