We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd23f55 commit bd1edbaCopy full SHA for bd1edba
1 file changed
tests/EndToEnd/outofmemory_test.sh
@@ -15,7 +15,9 @@ function test_phpcs_out_of_memory_error_handling() {
15
16
function test_phpcbf_out_of_memory_error_handling() {
17
OUTPUT="$(bin/phpcbf -d memory_limit=4M --standard=tests/EndToEnd/Fixtures/endtoend.xml.dist tests/EndToEnd/Fixtures/ --suffix=.fixed)"
18
- assert_exit_code 139
+ # 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
21
22
assert_contains "The PHP_CodeSniffer \"phpcbf\" command ran out of memory." "$OUTPUT"
23
assert_contains "Either raise the \"memory_limit\" of PHP in the php.ini file or raise the memory limit at runtime" "$OUTPUT"
0 commit comments