Skip to content

Commit ce40c67

Browse files
Fix typo
1 parent 8b56bf1 commit ce40c67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/PhpUnit/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)