Bug #25753
open
Address PHPStan issues in cac-onboarding and bp-two-factor
Added by Raymond Hoh 28 days ago.
Updated 13 days ago.
Category name:
WordPress Plugins
Description
As mentioned on the dev call last week, the cac-onboarding fatal error that caused #25655 could have been caught if a PHPStan task was set up.
I ran PHPStan locally for the cac-onboarding and bp-two-factor plugins and am going to push up some changes to address some minor things that PHPStan found.
Following up on yesterday's dev call: I think we generally decided that the risk of separating the calls is probably not worth the effort. There may be cases where an update in one library causes a failure in a separate but related library. So we're tentatively going to leave things as they are, so that any PHP change runs all the tests.
The one potential exception would be if running the full PHPStan test suite either made the build too long-running or if it was causing us to exceed our GitHub Actions budget. I'm not concerned about time, but Jeremy, perhaps you could double-check that we're under our resource threshold.
- Target version changed from 2.7.13 to 2.7.14
Also available in: Atom
PDF