Package: php-nesbot-carbon / 2.65.0-1+deb12u1

Metadata

Package Version Patches format
php-nesbot-carbon 2.65.0-1+deb12u1 3.0 (quilt)

Patch series

view the series file
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 Remove exit call in unit tests.patch | (download)

tests/CarbonInterval/RoundingTest.php | 4 0 + 4 - 0 !
1 file changed, 4 deletions(-)

 remove exit call in unit tests

The exit call breaks the test suite by exiting PHPUnit. These calls are
presumably just unintentional leftovers of development.

0006 Remove unfinished test.patch | (download)

tests/CarbonInterval/RoundingTest.php | 6 0 + 6 - 0 !
1 file changed, 6 deletions(-)

 remove unfinished test

The test was left unfinished by upstream devs and, if run, does not
pass. I'll remove it until it's corrected.

0001 Validate locale earlier.patch | (download)

src/Carbon/AbstractTranslator.php | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 validate locale earlier

(cherry picked from commit 129700ed449b1f02d70272d2ac802357c8c30c58)