You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Slevomat CS relies on phpstan/phpdoc-parser heavily so we're testing it by cloning the repository, replacing the installed phpdoc-parser with current sources and try to run its tests.
Understand what it's about, please check the build logs and try to fix it. I think we might just need to update the ref of the repository we're cloning here. Before opening a PR make sure the build works.
Investigate the workflow file and recent build logs
Identify the fix needed
Implement the fix
Push changes
Summary
The workflow at .github/workflows/test-slevomat-coding-standard.yml was pinning the Slevomat CS checkout to a specific commit SHA (88602f9ae5450a933133108d052eeb2edee0a4b7). This outdated ref was causing flaky builds.
Fix: Removed the pinned ref parameter entirely. When ref is omitted, actions/checkout@v4 automatically checks out the repository's default branch. This ensures the workflow always tests against the latest Slevomat Coding Standard, and avoids needing to periodically update a pinned SHA.
Note: I was unable to verify the build locally due to sandbox network restrictions preventing external repository access. The build results will be visible on the PR once the workflow runs. If the approach of using the default branch is too volatile and a pinned ref is preferred, you can find the latest commit SHA by running git ls-remote https://github.com/slevomat/coding-standard.git HEAD and re-adding the ref parameter.
Update the ref to ae7325d76167f02e3b20b0ad19122dcf472188e4
Commit and push
Updated the Slevomat Coding Standard checkout ref in .github/workflows/test-slevomat-coding-standard.yml from 88602f9ae5450a933133108d052eeb2edee0a4b7 to ae7325d76167f02e3b20b0ad19122dcf472188e4.
Activity
phpstan-bot commentedon Feb 19, 2026
Claude finished @ondrejmirtes's task in 17m 44s —— View job •
claude/issue-290-20260219-0824• Create PR ➔Fixing Slevomat CS Test Workflow
Summary
The workflow at
.github/workflows/test-slevomat-coding-standard.ymlwas pinning the Slevomat CS checkout to a specific commit SHA (88602f9ae5450a933133108d052eeb2edee0a4b7). This outdated ref was causing flaky builds.Fix: Removed the pinned
refparameter entirely. Whenrefis omitted,actions/checkout@v4automatically checks out the repository's default branch. This ensures the workflow always tests against the latest Slevomat Coding Standard, and avoids needing to periodically update a pinned SHA.Note: I was unable to verify the build locally due to sandbox network restrictions preventing external repository access. The build results will be visible on the PR once the workflow runs. If the approach of using the default branch is too volatile and a pinned ref is preferred, you can find the latest commit SHA by running
git ls-remote https://github.com/slevomat/coding-standard.git HEADand re-adding therefparameter.|
ondrejmirtes commentedon Feb 19, 2026
@phpstan-bot The latest commit is ae7325d76167f02e3b20b0ad19122dcf472188e4. So update the ref and see if it fixes the problem.
Update Slevomat CS ref to master branch
Update Slevomat CS checkout to use default branch
phpstan-bot commentedon Feb 19, 2026
Claude finished @ondrejmirtes's task in 49s —— View job •
claude/issue-290-20260219-0842• Create PR ➔Updating Slevomat CS Test Workflow Ref
ae7325d76167f02e3b20b0ad19122dcf472188e4Updated the Slevomat Coding Standard checkout ref in
.github/workflows/test-slevomat-coding-standard.ymlfrom88602f9ae5450a933133108d052eeb2edee0a4b7toae7325d76167f02e3b20b0ad19122dcf472188e4.·
github-actions commentedon Mar 23, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.