10000 silence potential errors · symfony/symfony@539870d · GitHub
[go: up one dir, main page]

Skip to content

Commit 539870d

Browse files
committed
silence potential errors
1 parent 1f5dc8e commit 539870d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,9 @@ class SymfonyExcludeListPhpunit {}
288288
// and for other testing libraries such as Behat using PHPUnit's assertions.
289289
chdir($PHPUNIT_DIR);
290290
if (file_exists('phpunit')) {
291-
unlink('phpunit');
291+
@unlink('phpunit');
292292
}
293-
symlink($PHPUNIT_VERSION_DIR, 'phpunit');
293+
@symlink($PHPUNIT_VERSION_DIR, 'phpunit');
294294
chdir($oldPwd);
295295

296296
if ($PHPUNIT_VERSION < 8.0) {

0 commit comments

Comments
 (0)
0