-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR includes a lot of changes to pass CI. ### requiments, dependency - Update requirements PHPUnit >=9.1 . - Becaouse, run test with PHPUnit 8 would cause deprecation warning. - PHPUnit 9 requires PHP 7.3, and PHPStan requires PHP 7.4. So update requirements is acceptable, I think. - Add requiments [phpspec/prophecy-phpunit](1470fd3) - Update php-cs-fixer 2 to 3. ( `.php_cs` to `.php-cs-fixer.php`) - to run under recent PHP 8 versions - I'm not familiar with php-cs-fixer, so if you find any problem, please tell me. ### tests - [Use PHP's reflection to get stub object, instead of prophesize() call](315866a) - PHPStan 2's `Reflection\ClassReflection` is final class. - I can't see any good reason to use `prophesize()` in these unit tests. --------- Co-authored-by: Christophe Coevoet <[email protected]> Co-authored-by: Alexander Schranz <[email protected]> Co-authored-by: Alessandro Lai <[email protected]>
- Loading branch information
1 parent
cf740b0
commit cc8c094
Showing
21 changed files
with
1,582 additions
and
1,113 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
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.