Debian Patches

Status for php-spyc/0.6.3-3

Patch Description Author Forwarded Bugs Origin Last update
0001-Fix-the-examples-with-the-Debian-path.patch Fix the examples with the Debian path William Desportes <williamdes@wdes.fr> not-needed vendor 2025-04-11
0002-Fix-trim-null-param-is-deprecated.patch Fix trim() null param is deprecated
4 tests triggered 1 PHP deprecation:

1) php-spyc/Spyc.php:353
trim(): Passing null to parameter #1 ($string) of type string is deprecated

Triggered by:

* DumpTest::testDump
php-spyc/tests/DumpTest.php:17

* DumpTest::testDumpWithQuotes
php-spyc/tests/DumpTest.php:26

* DumpTest::testNull
php-spyc/tests/DumpTest.php:43

* RoundTripTest::testNull
php-spyc/tests/RoundTripTest.php:11
William Desportes <williamdes@wdes.fr> no 2025-04-11
0003-Update-the-phpunit-tests.patch Update the phpunit tests

Exclude spyc.yaml because:
There were 2 failures:

1) DumpTest::testDump
Failed asserting that two arrays are equal.
- Expected
+ Actual
@@ @@
'Negative' => -90
'SmallFloat' => 0.7
'NewLine' => '\n'
- 'QuotedNewLine' => '\n
- '
+ 'QuotedNewLine' => '\n'
0 => 'PHP Class'
1 => 'Basic YAML Loader'
2 => 'Very Basic YAML Dumper'
@@ @@
'hash#3' => 'Hash (#) can appear in key too'
'float_test' => '1.0'
'float_test_with_quotes' => '1.0'
- 'float_inverse_test' => 1.0
+ 'float_inverse_test' => 1
'a_really_large_number' => '11579208923731619542357098500...639936'
'int array' => [...]
'array on several lines' => [...]

2) DumpTest::testDumpWithQuotes
Failed asserting that two arrays are equal.
- Expected
+ Actual
@@ @@
'Float' => 5.34
'Negative' => -90
'SmallFloat' => 0.7
- 'NewLine' => '\n'
- 'QuotedNewLine' => '\n
+ 'NewLine' => '\n
'
+ 'QuotedNewLine' => '\n'
0 => 'PHP Class'
1 => 'Basic YAML Loader'
2 => 'Very Basic YAML Dumper'
@@ @@
'hash#3' => 'Hash (#) can appear in key too'
'float_test' => '1.0'
'float_test_with_quotes' => '1.0'
- 'float_inverse_test' => 1.0
+ 'float_inverse_test' => 1
'a_really_large_number' => '11579208923731619542357098500...639936'
'int array' => [...]
'array on several lines' => [...]
William Desportes <williamdes@wdes.fr> not-needed vendor 2025-04-11

All known versions for source package 'php-spyc'

Links