php / pecl-file_formats-yaml

YAML-1.1 parser and emitter
https://pecl.php.net/package/yaml
MIT License
72 stars 33 forks source link

PHP 8.4.0 beta4 test yaml_parse_file_002.phpt fails #85

Closed andypost closed 1 month ago

andypost commented 2 months ago

The log said error message is changed so probably test needs split

TEST 43/76 [tests/yaml_parse_file_002.phpt]
========DIFF========
001- Warning: yaml_parse_file(): %r(Filename|Path)%r cannot be empty in %s on line %d
001+ Warning: yaml_parse_file(): Path must not be empty in /mnt/testing/php84-pecl-yaml/src/yaml-2.2.3/tests/yaml_parse_file_002.php on line 4

003- Warning: yaml_parse_file(): %r(Filename|Path)%r cannot be empty in %s on line %d
003+ Warning: yaml_parse_file(): Path must not be empty in /mnt/testing/php84-pecl-yaml/src/yaml-2.2.3/tests/yaml_parse_file_002.php on line 11

     Warning: yaml_parse_file(invalid): %r[Ff]%railed to open stream: No such file or directory in %s on line %d

--
========DONE========
FAIL yaml_parse_file - error cases [tests/yaml_parse_file_002.phpt] 
andypost commented 2 months ago

Caused by https://github.com/php/php-src/commit/5853cdb73db85c75d5f558a8cf92161a31291de0