Package: php-faker / 1.20.0+dfsg-5

Metadata

Package Version Patches format
php-faker 1.20.0+dfsg-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Provide a DFSG compatible alterenative.patch | (download)

src/Faker/Provider/it_IT/Text.php | 10 10 + 0 - 0 !
1 file changed, 10 insertions(+)

 provide a dfsg compatible alterenative


0002 Skip tests requiring internet access.patch | (download)

test/Faker/Provider/ImageTest.php | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 skip tests requiring internet access

0003 Skip incompatible test cases on 32 bit systems.patch | (download)

test/Faker/Core/DateTimeTest.php | 4 4 + 0 - 0 !
test/Faker/Provider/DateTimeTest.php | 2 2 + 0 - 0 !
test/Faker/Provider/fi_FI/PersonTest.php | 2 1 + 1 - 0 !
test/Faker/Provider/kk_KZ/PersonTest.php | 2 2 + 0 - 0 !
test/Faker/Provider/ro_RO/PersonTest.php | 6 6 + 0 - 0 !
test/Faker/TestCase.php | 12 12 + 0 - 0 !
6 files changed, 27 insertions(+), 1 deletion(-)

 skip incompatible test cases on 32-bit systems

Several test cases are incompatible with 32-bit systems due to
datetimes that cannot fit in the 32-bit epoch.

    strtotime(): Epoch doesn't fit in a PHP integer

This change skips those test cases.

0004 Make provider functions static PHPUnit 11 Fix.patch | (download)

test/Faker/Calculator/EanTest.php | 8 4 + 4 - 0 !
test/Faker/Calculator/IbanTest.php | 8 4 + 4 - 0 !
test/Faker/Calculator/IsbnTest.php | 4 2 + 2 - 0 !
test/Faker/Calculator/LuhnTest.php | 4 2 + 2 - 0 !
test/Faker/Extension/ContainerBuilderTest.php | 2 1 + 1 - 0 !
test/Faker/Extension/ContainerTest.php | 2 1 + 1 - 0 !
test/Faker/Provider/BaseTest.php | 4 2 + 2 - 0 !
test/Faker/Provider/DateTimeTest.php | 4 2 + 2 - 0 !
test/Faker/Provider/PaymentTest.php | 4 2 + 2 - 0 !
test/Faker/Provider/PersonTest.php | 4 2 + 2 - 0 !
test/Faker/Provider/en_US/PaymentTest.php | 2 1 + 1 - 0 !
test/Faker/Provider/fi_FI/PersonTest.php | 2 1 + 1 - 0 !
test/Faker/Provider/ro_RO/PersonTest.php | 12 6 + 6 - 0 !
test/Faker/Provider/ru_RU/CompanyTest.php | 4 2 + 2 - 0 !
test/Faker/Provider/sv_SE/PersonTest.php | 2 1 + 1 - 0 !
test/Faker/Provider/tr_TR/PersonTest.php | 4 2 + 2 - 0 !
16 files changed, 35 insertions(+), 35 deletions(-)

 make provider functions static (phpunit 11 fix)

Bug-Debian: https://bugs.debian.org/1070542

0005 Modernize PHPUnit syntax.patch | (download)

test/Faker/Calculator/EanTest.php | 17 5 + 12 - 0 !
test/Faker/Calculator/IbanTest.php | 17 5 + 12 - 0 !
test/Faker/Calculator/IsbnTest.php | 9 3 + 6 - 0 !
test/Faker/Calculator/LuhnTest.php | 9 3 + 6 - 0 !
test/Faker/Extension/ContainerBuilderTest.php | 4 2 + 2 - 0 !
test/Faker/Extension/ContainerTest.php | 5 2 + 3 - 0 !
test/Faker/Provider/BaseTest.php | 11 4 + 7 - 0 !
test/Faker/Provider/DateTimeTest.php | 9 3 + 6 - 0 !
test/Faker/Provider/InternetTest.php | 17 5 + 12 - 0 !
test/Faker/Provider/LocalizationTest.php | 5 2 + 3 - 0 !
test/Faker/Provider/PaymentTest.php | 14 5 + 9 - 0 !
test/Faker/Provider/PersonTest.php | 9 3 + 6 - 0 !
test/Faker/Provider/ProviderOverrideTest.php | 25 9 + 16 - 0 !
test/Faker/Provider/TextTest.php | 57 26 + 31 - 0 !
test/Faker/Provider/en_US/PaymentTest.php | 5 2 + 3 - 0 !
test/Faker/Provider/fi_FI/PersonTest.php | 5 2 + 3 - 0 !
test/Faker/Provider/ro_RO/PersonTest.php | 17 7 + 10 - 0 !
test/Faker/Provider/ru_RU/CompanyTest.php | 9 3 + 6 - 0 !
test/Faker/Provider/sv_SE/PersonTest.php | 5 2 + 3 - 0 !
test/Faker/Provider/tr_TR/PersonTest.php | 7 3 + 4 - 0 !
20 files changed, 96 insertions(+), 160 deletions(-)

 modernize phpunit syntax