Repository navigation
[6.x] Append entry to structure tree directly when duplicating entry with root as parent #1952
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: | |
| pull_request: | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| phpstan: | |
| name: Analyze | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Get changed files | |
| id: changed-files | |
| uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47.0.6 | |
| with: | |
| files: | | |
| src/** | |
| composer.json | |
| phpstan.dist.neon | |
| .phpstan/** | |
| .github/workflows/phpstan.yml | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 | |
| if: steps.changed-files.outputs.any_modified == 'true' | |
| with: | |
| php-version: 8.5 | |
| coverage: none | |
| - name: Install dependencies | |
| uses: nick-invision/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0 | |
| if: steps.changed-files.outputs.any_modified == 'true' | |
| with: | |
| timeout_minutes: 5 | |
| max_attempts: 5 | |
| command: composer update --prefer-stable --prefer-dist --no-interaction | |
| - name: Run PHPStan | |
| if: steps.changed-files.outputs.any_modified == 'true' | |
| run: vendor/bin/phpstan analyse --memory-limit=2G |