Skip to content

fix: phpunit 9.6.33 (Dependabot high) + CI fixes (CodeQL v3, license year) - #16

Merged
pritesh-jain-cstk merged 3 commits into
mainfrom
fix/ci-codeql-v3-license-2026
Nov 2, 2026
Merged

pritesh-jain-cstk merged 3 commits into
mainfrom
fix/ci-codeql-v3-license-2026

Conversation

@pritesh-jain-cstk

@pritesh-jain-cstk pritesh-jain-cstk commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Every open PR (#12, #14, #15) fails the same three checks, and the cause is on main, not in the PRs:

  • security-license: LICENSE says Copyright (c) 2022, and the check requires the current year.
  • Analyze (csharp) and Analyze (java): github/codeql-action@v2 is deprecated and now errors, and autobuild cannot build the loose sample files in image-preset-builder/dotnet and image-preset-builder/java.

Fix

  • LICENSE: 2022 -> 2022-2026.
  • codeql-analysis.yml: init and analyze move to @v3 with build-mode: none, which analyses C#, Java and JavaScript without a build. The autobuild step is removed.

Also included (from #15)

  • phpunit/phpunit 9.5.20 -> 9.6.33 in image-preset-builder/php/composer.lock (dev-only). This clears the high Dependabot alert (unsafe deserialization in PHPT code coverage, SNYK-PHP-PHPUNITPHPUNIT-15123584). The lock is re-resolved against PHP 7.3 to keep the install floor.

Notes

🤖 Generated with Claude Code

Every PR failed the same three checks because of main:
- security-license: LICENSE still said 2022.
- Analyze (csharp/java): codeql-action v2 is deprecated and errors, and
  autobuild cannot build the loose C#/Java sample files.
CodeQL v3 with build-mode: none analyses them without a build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pritesh-jain-cstk
pritesh-jain-cstk requested review from a team as code owners October 30, 2026 19:42
@snyk-io

snyk-io Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@pritesh-jain-cstk
pritesh-jain-cstk removed this pull request from stack #17 October 30, 2026 19:47
PriteshJain and others added 2 commits October 31, 2026 01:17
…23584)

Dev-only dependency in image-preset-builder/php. composer.json unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…loor

Previous lock was resolved on PHP 8.5 and pulled doctrine/instantiator 2.1.0
(php ^8.4). Re-resolved from main's lock with a temporary platform pin
(not committed); composer.json unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@pritesh-jain-cstk pritesh-jain-cstk changed the title ci: fix failing checks (CodeQL v3, license year) fix: phpunit 9.6.33 (Dependabot high) + CI fixes (CodeQL v3, license year) Oct 30, 2026
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@pritesh-jain-cstk
pritesh-jain-cstk merged commit 68a63ef into main Nov 2, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants