Add implicit throw point for dynamic instantiation of non-final classes without constructors #1812
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: "Claude React On Review" | |
| on: | |
| pull_request_review: | |
| types: [submitted] | |
| jobs: | |
| save-context: | |
| runs-on: ubuntu-latest | |
| if: > | |
| github.event.pull_request.user.login == 'phpstan-bot' | |
| && github.event.pull_request.state == 'open' | |
| && github.event.review.user.login != 'phpstan-bot' | |
| && github.event.review.state != 'approved' | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2 | |
| with: | |
| egress-policy: audit | |
| - name: Save review context | |
| run: | | |
| echo "${{ github.event.pull_request.number }}" > pr_number.txt | |
| echo "${{ github.event.review.id }}" > review_id.txt | |
| - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| name: review-context | |
| path: | | |
| pr_number.txt | |
| review_id.txt |