Skip to content

Conversation

@parsilver
Copy link
Contributor

Summary

  • Add PHP 8.4 to CI test matrix
  • Add PHPStan level 8 static analysis with composer analyse command
  • Add Laravel Pint code formatting with strict_types enforcement
  • Add security hardening: CRLF injection prevention and sensitive header redaction
  • Fix PHPStan violations across the codebase

Test plan

  • Run composer check (PHPStan + tests)
  • Verify CI passes on all PHP versions (8.1, 8.2, 8.3, 8.4)
  • Verify code formatting with composer format

- Add PHP 8.4 to CI test matrix
- Add PHPStan at level 8 for static analysis with composer analyse command
- Add Laravel Pint code formatting with PSR-12 preset and strict_types
- Add CRLF injection prevention in RequestBuilder headers
- Add sensitive header redaction in HttpException for security
- Fix JsonSerializer false return handling and object-to-array conversion
- Fix PHPStan level 8 violations across the codebase
- Update tests for new functionality and API changes
@codecov
Copy link

codecov bot commented Jan 12, 2026

Codecov Report

❌ Patch coverage is 88.11881% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.71%. Comparing base (19a1014) to head (aa63045).
⚠️ Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
src/Serialization/JsonSerializer.php 59.25% 11 Missing ⚠️
src/Factory/ClientFactory.php 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #29      +/-   ##
============================================
- Coverage     96.41%   95.71%   -0.70%     
- Complexity      426      450      +24     
============================================
  Files            33       33              
  Lines          1255     1308      +53     
============================================
+ Hits           1210     1252      +42     
- Misses           45       56      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants