Patch |
File delta |
Description |
0001 Ignore the executable script.patch | (download) |
composer.json |
3 0 + 3 - 0 !
1 file changed, 3 deletions(-) |
ignore the executable script
We're not packaging the executable. Removing it from composer.json
avoids the php-cli dependency otherwise added by dh_phpcomposer.
|
0002 Skip tests related to PHPStan.patch | (download) |
phpunit.xml.dist |
3 0 + 3 - 0 !
1 file changed, 3 deletions(-) |
skip tests related to phpstan
PHPStan is not in Debian.
|
0003 Load lazy loaded classes from installed location.patch | (download) |
src/Carbon/MessageFormatter/MessageFormatterMapper.php |
4 2 + 2 - 0 !
src/Carbon/PHPStan/Macro.php |
8 4 + 4 - 0 !
src/Carbon/Translator.php |
4 2 + 2 - 0 !
3 files changed, 8 insertions(+), 8 deletions(-) |
load lazy-loaded classes from installed location
|
0004 Drop currently failing test.patch | (download) |
tests/Carbon/StringsTest.php |
6 0 + 6 - 0 !
1 file changed, 6 deletions(-) |
drop currently failing test
To be investigated.
|
0005 Fix PHPUnit 11 compatibility.patch | (download) |
tests/AbstractTestCase.php |
2 1 + 1 - 0 !
tests/Carbon/WeekTest.php |
4 2 + 2 - 0 !
tests/CarbonImmutable/WeekTest.php |
4 2 + 2 - 0 !
tests/CarbonPeriod/AliasTest.php |
34 17 + 17 - 0 !
tests/CarbonPeriod/CloneTest.php |
4 2 + 2 - 0 !
tests/CarbonPeriod/ComparisonTest.php |
20 10 + 10 - 0 !
tests/CarbonPeriod/CreateTest.php |
54 27 + 27 - 0 !
tests/CarbonPeriod/DynamicIntervalTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriod/FilterTest.php |
38 19 + 19 - 0 !
tests/CarbonPeriod/GettersTest.php |
12 6 + 6 - 0 !
tests/CarbonPeriod/IteratorTest.php |
48 24 + 24 - 0 !
tests/CarbonPeriod/MacroTest.php |
34 17 + 17 - 0 !
tests/CarbonPeriod/RoundingTest.php |
10 5 + 5 - 0 !
tests/CarbonPeriod/SettersTest.php |
56 28 + 28 - 0 !
tests/CarbonPeriod/StrictModeTest.php |
4 2 + 2 - 0 !
tests/CarbonPeriod/ToArrayTest.php |
36 18 + 18 - 0 !
tests/CarbonPeriod/ToDatePeriodTest.php |
8 4 + 4 - 0 !
tests/CarbonPeriod/ToStringTest.php |
16 8 + 8 - 0 !
tests/CarbonPeriodImmutable/AliasTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/CloneTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/ComparisonTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/CreateTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/DynamicIntervalTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/FilterTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/GettersTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/IterationMethodsTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/IteratorTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/MacroTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/RoundingTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/SettersTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/StrictModeTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/ToArrayTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/ToDatePeriodTest.php |
2 1 + 1 - 0 !
tests/CarbonPeriodImmutable/ToStringTest.php |
2 1 + 1 - 0 !
34 files changed, 209 insertions(+), 209 deletions(-) |
fix phpunit 11 compatibility
Upstream is preserving PHP 7 compatibility on version 2.x so PHPUnit 11
won't be supported.
|
0006 Declare current DBAL version.patch | (download) |
tests/Doctrine/CarbonTypesTest.php |
8 1 + 7 - 0 !
1 file changed, 1 insertion(+), 7 deletions(-) |
declare current dbal version
Hardcoding the version currently available in Debian instead of relying
on composer that is not used.
TODO: figure out a way to get the actually installed version, from apt
or dpkg?
|
0007 Fix PHPUnit 12 compatibility.patch | (download) |
tests/Carbon/AddMonthsTest.php |
49 17 + 32 - 0 !
tests/Carbon/CreateTest.php |
4 2 + 2 - 0 !
tests/Carbon/Exceptions/NotLocaleAwareExceptionTest.php |
4 2 + 2 - 0 !
tests/Carbon/GettersTest.php |
10 4 + 6 - 0 !
tests/Carbon/IsTest.php |
5 2 + 3 - 0 !
tests/Carbon/IssetTest.php |
4 2 + 2 - 0 !
tests/Carbon/LocalizationTest.php |
10 4 + 6 - 0 !
tests/Carbon/ModifyNearDSTChangeTest.php |
7 3 + 4 - 0 !
tests/Carbon/SerializationTest.php |
4 2 + 2 - 0 !
tests/Carbon/SettersTest.php |
4 2 + 2 - 0 !
tests/Carbon/StartEndOfTest.php |
7 3 + 4 - 0 !
tests/Carbon/WeekTest.php |
9 3 + 6 - 0 !
tests/CarbonImmutable/AddMonthsTest.php |
49 17 + 32 - 0 !
tests/CarbonImmutable/GenericMacroTest.php |
5 2 + 3 - 0 !
tests/CarbonImmutable/GettersTest.php |
10 4 + 6 - 0 !
tests/CarbonImmutable/IsTest.php |
5 2 + 3 - 0 !
tests/CarbonImmutable/IssetTest.php |
4 2 + 2 - 0 !
tests/CarbonImmutable/LocalizationTest.php |
10 4 + 6 - 0 !
tests/CarbonImmutable/ModifyNearDSTChangeTest.php |
7 3 + 4 - 0 !
tests/CarbonImmutable/SerializationTest.php |
4 2 + 2 - 0 !
tests/CarbonImmutable/SettersTest.php |
4 2 + 2 - 0 !
tests/CarbonImmutable/StartEndOfTest.php |
7 3 + 4 - 0 !
tests/CarbonImmutable/WeekTest.php |
9 3 + 6 - 0 !
tests/CarbonInterval/AddTest.php |
4 2 + 2 - 0 !
tests/CarbonInterval/CascadeTest.php |
16 5 + 11 - 0 !
tests/CarbonInterval/FromStringTest.php |
7 3 + 4 - 0 !
tests/CarbonInterval/ParseFromLocaleTest.php |
9 4 + 5 - 0 !
tests/CarbonInterval/ToPeriodTest.php |
5 2 + 3 - 0 !
tests/CarbonInterval/TotalTest.php |
11 5 + 6 - 0 !
tests/CarbonPeriod/CreateTest.php |
33 9 + 24 - 0 !
tests/CarbonPeriod/IteratorTest.php |
5 2 + 3 - 0 !
tests/CarbonPeriod/ToStringTest.php |
9 3 + 6 - 0 !
tests/CarbonTimeZone/ConversionsTest.php |
7 3 + 4 - 0 !
tests/CommonTraits/MacroContextNestingTest.php |
7 3 + 4 - 0 !
tests/Doctrine/CarbonTypesTest.php |
19 7 + 12 - 0 !
tests/Laravel/ServiceProviderTest.php |
5 2 + 3 - 0 !
36 files changed, 140 insertions(+), 228 deletions(-) |
fix phpunit 12 compatibility
Upstream is preserving PHP 7 compatibility on version 2.x so PHPUnit 12
won't be supported.
|
0008 Fix overflow issue for is month.patch | (download) |
src/Carbon/Traits/Comparison.php |
2 1 + 1 - 0 !
tests/Carbon/IsTest.php |
9 8 + 1 - 0 !
2 files changed, 9 insertions(+), 2 deletions(-) |
fix overflow issue for is-month
Backported from 3.x.
|