Skip to content

Release v3.3.0#3

Merged
Ostico merged 1 commit into
masterfrom
release/v3.3.0
Jun 1, 2026
Merged

Release v3.3.0#3
Ostico merged 1 commit into
masterfrom
release/v3.3.0

Conversation

@Ostico
Copy link
Copy Markdown

@Ostico Ostico commented Jun 1, 2026

Summary

  • Security: Hardened ServiceProvider::markdown() against XSS injection (HTML escaping, dangerous URL scheme blocklist, rel="noopener noreferrer")
  • Static Analysis: Full PHPStan level 8 compliance across production and test code, including checked exception annotations
  • CI/CD: Migrated from Travis CI to GitHub Actions with PHP 8.3/8.4 matrix, SonarCloud integration, and all actions updated to Node.js 24-compatible versions
  • Fixes: Removed ext-xdebug from require-dev, fixed PHP 8.4 implicit nullable deprecation
  • Refactoring: Replaced assertTrue(instanceof) with assertInstanceOf(), added proper types to all test methods

Test plan

  • All PHPUnit tests pass on PHP 8.3 and 8.4
  • PHPStan level 8 reports 0 errors
  • SonarCloud analysis passes
  • No Node.js deprecation warnings in CI
  • XSS test cases cover: script injection, javascript:/data:/vbscript: protocols, attribute breakout, event handler injection

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Ostico Ostico marked this pull request as ready for review June 1, 2026 15:54
@Ostico Ostico merged commit 3009577 into master Jun 1, 2026
3 checks passed
@Ostico Ostico deleted the release/v3.3.0 branch June 1, 2026 15:54
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 1, 2026

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.

1 participant