Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/scripts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@actions/github": "^6.0.1"
},
"devDependencies": {
"@types/node": "^22.15.29",
"@types/node": "^24.0.0",
"typescript": "^5.8.3"
}
}
12 changes: 6 additions & 6 deletions .github/workflows/apiref.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand All @@ -48,7 +48,7 @@ jobs:
run: "apigen/vendor/bin/apigen -c apigen/apigen.neon --output docs -- src vendor/nikic/php-parser vendor/ondrejmirtes/better-reflection vendor/phpstan/phpdoc-parser"

- name: "Upload docs"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: docs
path: docs
Expand All @@ -61,12 +61,12 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Install Node"
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: "16"
node-version: "24"

- name: "Download docs"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6
with:
name: docs
path: docs
Expand All @@ -92,7 +92,7 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.APIREF_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.APIREF_AWS_SECRET_ACCESS_KEY }}

- uses: peter-evans/repository-dispatch@v3
- uses: peter-evans/repository-dispatch@v4
with:
token: ${{ secrets.PHPSTAN_BOT_TOKEN }}
repository: "phpstan/phpstan"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backward-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-issue-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
token: ${{ secrets.PHPSTAN_BOT_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -408,7 +408,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/issue-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -65,17 +65,17 @@ jobs:
run: |
echo "shards=$(jq -c '{include: [range(length) | {shard: .}]}' matrix.json)" >> $GITHUB_OUTPUT

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v5
with:
name: playground-cache
path: issue-bot/tmp/playgroundCache.tmp

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v5
with:
name: issue-cache
path: issue-bot/tmp/issueCache.tmp

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v5
with:
name: matrix
path: issue-bot/matrix.json
Expand All @@ -92,7 +92,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
timeout-minutes: 5
run: ./console.php run ${{ steps.chunk.outputs.phpVersion }} ${{ steps.chunk.outputs.playgroundExamples }}

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v5
with:
name: results-${{ steps.chunk.outputs.phpVersion }}-${{ steps.chunk.outputs.chunkNumber }}
path: issue-bot/tmp/results-${{ steps.chunk.outputs.phpVersion }}-*.tmp
Expand All @@ -153,7 +153,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand All @@ -166,17 +166,17 @@ jobs:
with:
working-directory: "issue-bot"

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v6
with:
name: playground-cache
path: issue-bot/tmp

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v6
with:
name: issue-cache
path: issue-bot/tmp

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v6
with:
pattern: results-*
merge-multiple: true
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -64,10 +64,10 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Checkout build-cs"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: "phpstan/build-cs"
path: "build-cs"
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand All @@ -124,7 +124,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merge-maintained-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: "Merge branch"
uses: everlytic/branch-merge@1.1.5
with:
Expand Down
Loading
Loading