Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
03-tests_add_void_return_type.patch | Add void return type to tests Fixes this issue when running tests: PHP Fatal error: Declaration of libphonenumber\Tests\Issues\CodeCoverageTest::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void in php-giggsey-libphonenumber/tests/Issues/CodeCoverageTest.php on line 16 Script to update the file: for file in $(grep -lr setUp tests/); do sed -i "s/setUp()/setUp(): void/" $file; done for file in $(grep -lr setUp tests/); do sed -i "s/setUpBeforeClass()/setUpBeforeClass(): void/" $file; done |
Fab Stz <fabstz-it@yahoo.fr> | not-needed | upstream | 2022-06-13 | |
fix_phpunit9_deprecation.patch | Fix phpunit 9 deprecation warning Output was produced with: . phpunit --migrate-configuration . Error was: . Warning: Your XML configuration validates against a deprecated schema. Suggestion: Migrate your XML configuration using "--migrate-configuration"! |
Fab Stz <fabstz-it@yahoo.fr> | no | |||
0005-Fix-PHPUnit-11-compatibility.patch | Fix PHPUnit 11 compatibility Upstream uses "symfony/phpunit-bridge" so this is probably not relevant for them. |
Robin Gustafsson <robin@rgson.se> | not-needed | 2024-06-03 |