Debian Patches

Status for php-giggsey-libphonenumber/8.13.26-2

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

All known versions for source package 'php-giggsey-libphonenumber'

Links