File tree Expand file tree Collapse file tree 4 files changed +19
-11
lines changed Expand file tree Collapse file tree 4 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 88/vendor
99composer.lock
1010composer.phar
11- phpunit.phar
1211phpunit.xml
Original file line number Diff line number Diff line change 3131 "mongodb/mongodb" : " ^1.15"
3232 },
3333 "require-dev" : {
34- "phpunit/phpunit" : " ^9.5.10 " ,
34+ "phpunit/phpunit" : " ^10.3 " ,
3535 "orchestra/testbench" : " ^8.0" ,
3636 "mockery/mockery" : " ^1.4.4" ,
3737 "doctrine/coding-standard" : " 12.0.x-dev"
6060 ]
6161 }
6262 },
63- "minimum-stability" : " dev" ,
6463 "config" : {
6564 "platform" : {
6665 "php" : " 8.1"
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" backupGlobals =" false" backupStaticAttributes =" false" bootstrap =" vendor/autoload.php" colors =" true" convertErrorsToExceptions =" true" convertNoticesToExceptions =" true" convertWarningsToExceptions =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
3- <coverage processUncoveredFiles =" true" >
4- <include >
5- <directory suffix =" .php" >./src</directory >
6- </include >
7- </coverage >
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.4/phpunit.xsd"
4+ backupGlobals =" false"
5+ bootstrap =" vendor/autoload.php"
6+ colors =" true"
7+ processIsolation =" false"
8+ stopOnFailure =" false"
9+ cacheDirectory =" .phpunit.cache"
10+ backupStaticProperties =" false"
11+ >
12+ <coverage />
813 <testsuites >
914 <testsuite name =" all" >
1015 <directory >tests/</directory >
3843 </testsuite >
3944 </testsuites >
4045 <php >
41- <env name =" MONGODB_URI" value =" mongodb://mongodb/" />
46+ <env name =" MONGODB_URI" value =" mongodb://mongodb/" />
4247 <env name =" MONGODB_DATABASE" value =" unittest" />
4348 <env name =" MYSQL_HOST" value =" mysql" />
4449 <env name =" MYSQL_PORT" value =" 3306" />
4550 <env name =" MYSQL_DATABASE" value =" unittest" />
4651 <env name =" MYSQL_USERNAME" value =" root" />
4752 <env name =" QUEUE_CONNECTION" value =" database" />
4853 </php >
54+ <source >
55+ <include >
56+ <directory suffix =" .php" >./src</directory >
57+ </include >
58+ </source >
4959</phpunit >
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public function testDb()
4343 $ this ->assertInstanceOf (Client::class, $ connection ->getMongoClient ());
4444 }
4545
46- public function dataConnectionConfig (): Generator
46+ public static function dataConnectionConfig (): Generator
4747 {
4848 yield 'Single host ' => [
4949 'expectedUri ' => 'mongodb://some-host ' ,
You can’t perform that action at this time.
0 commit comments