Skip to content

Commit 6345f0a

Browse files
Fix typo
1 parent ed8f2e8 commit 6345f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/simple-phpunit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@
272272

273273
// Mutate PhptTestCase code
274274
$alteredFile = defined('GLOB_BRACE') ? glob('./src/Runner/{Phpt/,PHPT/Phpt,Phpt}TestCase.php', GLOB_BRACE) : false;
275-
if ($alteredFile && str_contains($alteredCode = file_get_contents($alteredFile)[0], " 'report_memleaks=0',\n")) {
275+
if ($alteredFile && str_contains($alteredCode = file_get_contents($alteredFile[0]), " 'report_memleaks=0',\n")) {
276276
$alteredCode = str_replace(" 'report_memleaks=0',\n", '', $alteredCode);
277277
file_put_contents($alteredFile, $alteredCode);
278278
}

0 commit comments

Comments
 (0)