Skip to content

Conversation

@alecpl
Copy link
Contributor

@alecpl alecpl commented Dec 16, 2025

I've seen the direction to v5 and that it kinda stalled. So, I thought maybe I could help a bit, using more incremental approach instead of one big change (which I saw in the sabre-io/vobject repo).

So, I run phpstan with level=2 for now. It revealed a lot of obvious code mistakes. A lot of errors were also related to use of ResponseMock class, so I decided to get rid of it. I think it's better without it.

If this approach is gonna be accepted I may spend some more time in this direction.

I did not include a change to phpstan.neon file for now, as it still throws a lot of errors.

@codecov
Copy link

codecov bot commented Dec 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.25%. Comparing base (0f43b01) to head (ccbbe35).
⚠️ Report is 14 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1615      +/-   ##
============================================
+ Coverage     97.24%   97.25%   +0.01%     
- Complexity     2836     2842       +6     
============================================
  Files           175      175              
  Lines          8852     8862      +10     
============================================
+ Hits           8608     8619      +11     
+ Misses          244      243       -1     

☔ 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.

@alecpl
Copy link
Contributor Author

alecpl commented Dec 17, 2025

FYI, we already have a breaking change in master, but this PR itself is not a breaking change. I hope this makes it easier to accept.

@alecpl
Copy link
Contributor Author

alecpl commented Dec 22, 2025

@phil-davis @DeepDiver1975 what do you think?

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