Commit Graph

6 Commits (a1ffc192c86c8692aebdb5e58edc15842edc5d8a)

Author SHA1 Message Date
Shlee 27f7127ccd
Update php-psalm.yml 4 weeks ago
Shlee 3058d3f816
Update php-psalm.yml
Comment out the SARIF report check and upload steps in the workflow.
4 weeks ago
Your Name 25494c4911 ci(psalm): run analyzer on PHP 8.4 to avoid 8.5 crash
Psalm 6.5.0 fatally crashes on PHP 8.5 (deprecated SplObjectStorage::attach
escalated by its error handler) before analyzing anything. Pin the Psalm
job to 8.4 so it runs and produces SARIF; revert to 8.5 once Psalm supports
it.
4 weeks ago
Your Name aed7936e4e ci(psalm): skip SARIF upload when report is missing
Replace the blank-SARIF fallback with an existence check; uploading an
empty SARIF would clear existing Code Scanning alerts. Now the upload is
skipped (with a warning) when Psalm produced no report.
4 weeks ago
Your Name 5cecde6708 ci(psalm): guarantee SARIF file exists and upgrade upload-sarif to v4
Add a fallback step that writes a minimal valid SARIF report when Psalm
exits before producing one, so the Code Scanning upload never hard-fails
the job. Bump github/codeql-action/upload-sarif v3 -> v4.
4 weeks ago
Your Name 6945277e2c ci(psalm): align workflow with php-* conventions, test on PHP 8.5
Rename psalm.yml to php-psalm.yml to match sibling workflows, bump PHP
8.4 -> 8.5, use the shared checkout/setup-php/cache/composer steps and
staging/dev/unstable triggers. Keeps report-only behavior and SARIF
Code Scanning upload.
4 weeks ago