-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
autoloader: Fix phan issues (#37608)
No real functionality changes. * `$io` parameter to `AutoloadGenerator` constructor is no longer optional. The class didn't work when omitted anyway. * Improve some phpdocs. * `PHP_Autoloader::load_class()` now always returns bool as documented. * Use `??` where applicable. * Replace `->withConsecutive()` in tests, PHPUnit deprecated it without any replacement besides rolling our own. * Fix some test logic. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/9275808486 Upstream-Ref: Automattic/jetpack@8227b16
- Loading branch information
Showing
20 changed files
with
93 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.