File tree Expand file tree Collapse file tree 6 files changed +8
-20
lines changed Expand file tree Collapse file tree 6 files changed +8
-20
lines changed Original file line number Diff line number Diff line change 11
11
strategy :
12
12
matrix :
13
13
php :
14
+ - 8.1
14
15
- 8.0
15
16
- 7.4
16
17
- 7.3
Original file line number Diff line number Diff line change 9
9
"react/event-loop" : " ^1.2" ,
10
10
"react/promise" : " ^2.7" ,
11
11
"react/promise-stream" : " ^1.1" ,
12
- "react/promise-timer" : " ^1.5 " ,
12
+ "react/promise-timer" : " ^1.8 " ,
13
13
"react/socket" : " ^1.9"
14
14
},
15
15
"require-dev" : {
Original file line number Diff line number Diff line change 2
2
3
3
<!-- PHPUnit configuration file with new format for PHPUnit 9.3+ -->
4
4
<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
- backupGlobals =" false"
6
- backupStaticAttributes =" false"
5
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd"
7
6
bootstrap =" vendor/autoload.php"
8
7
cacheResult =" false"
9
- convertErrorsToExceptions =" true"
10
- convertNoticesToExceptions =" true"
11
- convertWarningsToExceptions =" true"
12
8
colors =" true"
13
- processIsolation =" false"
14
- stopOnFailure =" false"
15
- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
9
+ convertDeprecationsToExceptions =" true" >
16
10
<testsuites >
17
11
<testsuite name =" React.MySQL Test Suite" >
18
12
<directory >./tests/</directory >
Original file line number Diff line number Diff line change 2
2
3
3
<!-- PHPUnit configuration file with old format for PHPUnit 9.2 or older -->
4
4
<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
- backupGlobals =" false"
6
- backupStaticAttributes =" false"
5
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/4.8/phpunit.xsd"
7
6
bootstrap =" vendor/autoload.php"
8
- colors =" true"
9
- convertErrorsToExceptions =" true"
10
- convertNoticesToExceptions =" true"
11
- convertWarningsToExceptions =" true"
12
- processIsolation =" false"
13
- stopOnFailure =" false"
14
- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/4.8/phpunit.xsd" >
7
+ colors =" true" >
15
8
<testsuites >
16
9
<testsuite name =" React.MySQL Test Suite" >
17
10
<directory >./tests/</directory >
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class LazyConnection extends EventEmitter implements ConnectionInterface
34
34
public function __construct (Factory $ factory , $ uri , LoopInterface $ loop )
35
35
{
36
36
$ args = [];
37
- \parse_str (\parse_url ($ uri , \PHP_URL_QUERY ), $ args );
37
+ \parse_str (( string ) \parse_url ($ uri , \PHP_URL_QUERY ), $ args );
38
38
if (isset ($ args ['idle ' ])) {
39
39
$ this ->idlePeriod = (float )$ args ['idle ' ];
40
40
}
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function testSelectStaticValueWillBeReturnedAsIs($value)
68
68
*/
69
69
public function testSelectStaticValueWillBeReturnedAsIsWithNoBackslashEscapesSqlMode ($ value )
70
70
{
71
- if (strpos ($ value , '\\' ) !== false ) {
71
+ if ($ value !== null && strpos ($ value , '\\' ) !== false ) {
72
72
// TODO: strings such as '%\\' work as-is when string contains percent?!
73
73
$ this ->markTestIncomplete ('Escaping backslash not supported when using NO_BACKSLASH_ESCAPES SQL mode ' );
74
74
}
You can’t perform that action at this time.
0 commit comments