Skip to content

Commit 57dc424

Browse files
committed
Updated phpunit bridge recipe
1 parent 5fa2167 commit 57dc424

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

bin/phpunit

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,4 @@
11
#!/usr/bin/env php
22
<?php
33

4-
if (!ini_get('date.timezone')) {
5-
ini_set('date.timezone', 'UTC');
6-
}
7-
8-
if (is_file(dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit')) {
9-
if (PHP_VERSION_ID >= 80000) {
10-
require dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit';
11-
} else {
12-
define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__).'/vendor/autoload.php');
13-
require PHPUNIT_COMPOSER_INSTALL;
14-
PHPUnit\TextUI\Command::main();
15-
}
16-
} else {
17-
if (!is_file(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {
18-
echo "Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\n";
19-
exit(1);
20-
}
21-
22-
require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';
23-
}
4+
require dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit';

symfony.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@
305305
"repo": "github.com/symfony/recipes",
306306
"branch": "main",
307307
"version": "11.1",
308-
"ref": "c6658a60fc9d594805370eacdf542c3d6b5c0869"
308+
"ref": "1117deb12541f35793eec9fff7494d7aa12283fc"
309309
},
310310
"files": [
311311
".env.test",

0 commit comments

Comments
 (0)