File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ function test_phpcs_out_of_memory_error_handling() {
1515
1616function test_phpcbf_out_of_memory_error_handling() {
1717 OUTPUT=" $( bin/phpcbf -d memory_limit=4M --standard=tests/EndToEnd/Fixtures/endtoend.xml.dist tests/EndToEnd/Fixtures/ --suffix=.fixed) "
18- assert_exit_code 139
18+ # Exit code can't currently be tested as it changes between PHP versions.
19+ # Related feature request upstream: https://github.com/TypedDevs/bashunit/issues/505
20+ # assert_exit_code 255
1921
2022 assert_contains " The PHP_CodeSniffer \" phpcbf\" command ran out of memory." " $OUTPUT "
2123 assert_contains " Either raise the \" memory_limit\" of PHP in the php.ini file or raise the memory limit at runtime" " $OUTPUT "
You can’t perform that action at this time.
0 commit comments