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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 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 Down Expand Up @@ -61,12 +61,12 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Install Node"
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: "16"
node-version: "22"

- name: "Download docs"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
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 @@ -288,7 +288,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 @@ -400,7 +400,7 @@ jobs:

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

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
12 changes: 6 additions & 6 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 @@ -83,7 +83,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 @@ -127,7 +127,7 @@ jobs:

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

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

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

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

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
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 @@ -81,10 +81,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 @@ -120,7 +120,7 @@ jobs:

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

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand All @@ -141,7 +141,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/[email protected]
with:
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/phar.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
with:
fetch-depth: 0

Expand Down Expand Up @@ -156,16 +156,16 @@ jobs:
if: github.event_name == 'pull_request' && needs.compiler-tests.outputs.compiler_changed == 'true'
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Get base commit SHA
id: base
run: echo "base_sha=${{ github.event.pull_request.base.sha }}" >> "$GITHUB_OUTPUT"

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: 20
node-version: 22

- name: Install dependencies
working-directory: .github/scripts
Expand All @@ -177,7 +177,7 @@ jobs:

- name: Find phar-file-checksum from base commit
id: find-artifact
uses: actions/github-script@v7
uses: actions/github-script@v8
env:
BASE_SHA: ${{ steps.base.outputs.base_sha }}
ARTIFACT_NAME: phar-file-checksum
Expand All @@ -189,7 +189,7 @@ jobs:

# saved to phar-file-checksum/phpstan.phar
- name: Download old artifact by ID
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
artifact-ids: ${{ steps.find-artifact.outputs.artifact_id }}
run-id: ${{ steps.find-artifact.outputs.run_id }}
Expand All @@ -210,7 +210,7 @@ jobs:
steps:
# saved to phpstan.phar
- name: "Download base phpstan.phar"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: phar-file-checksum-base

Expand All @@ -229,18 +229,18 @@ jobs:
needs: download-base-sha-phar
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

# saved to phar-file-checksum/phpstan.phar
- name: "Download phpstan.phar"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: phar-file-checksum
path: phar-file-checksum

# saved to phar-file-checksum-base/phpstan.phar
- name: "Download base phpstan.phar"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: phar-file-checksum-base
path: phar-file-checksum-base
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:
git_commit_gpgsign: true

- name: "Checkout phpstan-dist"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: phpstan/phpstan
path: phpstan-dist
Expand All @@ -308,7 +308,7 @@ jobs:
run: echo "sha=$(sed -n '2p' .phar-checksum)" >> $GITHUB_OUTPUT

- name: "Checkout phpstan-src"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
path: phpstan-src
Expand Down Expand Up @@ -338,7 +338,7 @@ jobs:
fi

- name: "Download phpstan.phar"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: phar-file

Expand Down Expand Up @@ -384,7 +384,7 @@ jobs:

- name: "Commit PHAR - tag"
if: "startsWith(github.ref, 'refs/tags/')"
uses: stefanzweifel/git-auto-commit-action@v5
uses: stefanzweifel/git-auto-commit-action@v6
with:
commit_user_name: "phpstan-bot"
commit_user_email: "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-base-on-previous-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Comment PR
uses: peter-evans/create-or-update-comment@v4
uses: peter-evans/create-or-update-comment@v5
with:
body: "You've opened the pull request against the latest branch 2.2.x. PHPStan 2.2 is not going to be released for months. If your code is relevant on 2.1.x and you want it to be released sooner, please rebase your pull request and change its target to 2.1.x."
token: ${{ secrets.PHPSTAN_BOT_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-marked-as-ready.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Comment PR
uses: peter-evans/create-or-update-comment@v4
uses: peter-evans/create-or-update-comment@v5
with:
body: "This pull request has been marked as ready for review."
token: ${{ secrets.PHPSTAN_BOT_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reflection-golden-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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 @@ -79,7 +79,7 @@ jobs:
attempt_delay: 1000

- name: "Checkout base commit"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request.base.sha || github.event.before }}

Expand All @@ -104,7 +104,7 @@ jobs:
path: ${{ env.REFLECTION_GOLDEN_TEST_FILE }}

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

- uses: "ramsey/composer-install@v3"

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

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

- name: "Check for typos"
uses: "crate-ci/typos@v1"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,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 @@ -102,7 +102,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 @@ -139,7 +139,7 @@ jobs:

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

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

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

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
Loading
Loading