File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 26
26
"files" : [ " src/functions.php" ]
27
27
},
28
28
"autoload-dev" : {
29
- "psr-4" : { "MongoDB\\ Tests\\ " : " tests/" }
29
+ "psr-4" : { "MongoDB\\ Tests\\ " : " tests/" },
30
+ "// Manually include assertion functions for PHPUnit 8.x and earlier " :" " ,
31
+ "// See: https://github.com/sebastianbergmann/phpunit/issues/3746 " :" " ,
32
+ "files" : [ " vendor/phpunit/phpunit/src/Framework/Assert/Functions.php" ]
30
33
},
31
34
"extra" : {
32
35
"branch-alias" : {
Original file line number Diff line number Diff line change 10
10
throw new Exception ('Can \'t find autoload.php. Did you install dependencies with Composer? ' );
11
11
}
12
12
13
- /* Manually include assertion functions for PHPUnit 8.x and earlier.
14
- * See: https://github.com/sebastianbergmann/phpunit/issues/3746 */
15
- require_once (__DIR__ . '/../vendor/phpunit/phpunit/src/Framework/Assert/Functions.php ' );
16
-
17
13
if (! class_exists (PHPUnit \Framework \Error \Warning::class)) {
18
14
class_alias (PHPUnit_Framework_Error_Warning::class, PHPUnit \Framework \Error \Warning::class);
19
15
}
You can’t perform that action at this time.
0 commit comments