File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 4
4
- 5.4
5
5
- 5.5
6
6
- 5.6
7
+ - 7.0
8
+ - 7.1
7
9
- hhvm
8
10
9
11
env :
@@ -15,6 +17,9 @@ matrix:
15
17
include :
16
18
- php : 5.3
17
19
env : PACKAGE_VERSION=low
20
+ allow_failures :
21
+ - php : 7.0
22
+ - php : 7.1
18
23
19
24
before_script :
20
25
- composer selfupdate
Original file line number Diff line number Diff line change 27
27
}
28
28
],
29
29
"require" : {
30
- "php" : " >= 5.3.3" ,
30
+ "php" : " ^ 5.3.3|7.0.x|7.1.x " ,
31
31
"phpcr/phpcr" : " ~2.1.0" ,
32
32
"symfony/console" : " ~2.3|~3.0"
33
33
},
Original file line number Diff line number Diff line change @@ -159,12 +159,12 @@ protected function scan($sql2)
159
159
$ token = strtok (" \n\t" );
160
160
}
161
161
162
- $ regexp = '' ;
162
+ $ regexpTokens = array () ;
163
163
foreach ($ tokens as $ token ) {
164
- $ regexp [] = preg_quote ($ token , '/ ' );
164
+ $ regexpTokens [] = preg_quote ($ token , '/ ' );
165
165
}
166
166
167
- $ regexp = '/^ ' .implode ('([ \t\n]+) ' , $ regexp ).'$/ ' ;
167
+ $ regexp = '/^ ' .implode ('([ \t\n]+) ' , $ regexpTokens ).'$/ ' ;
168
168
preg_match ($ regexp , $ sql2 , $ this ->delimiters );
169
169
$ this ->delimiters [0 ] = '' ;
170
170
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function dataConversionMatrix()
52
52
;
53
53
$ nodemock
54
54
->expects ($ this ->any ())
55
- ->method ('isNodetype ' )
55
+ ->method ('isNodeType ' )
56
56
->with ('mix:referenceable ' )
57
57
->will ($ this ->returnValue (true ))
58
58
;
@@ -406,7 +406,7 @@ public function testConvertNonrefNode()
406
406
;
407
407
$ nodemock
408
408
->expects ($ this ->once ())
409
- ->method ('isNodetype ' )
409
+ ->method ('isNodeType ' )
410
410
->with ('mix:referenceable ' )
411
411
->will ($ this ->returnValue (false ))
412
412
;
You can’t perform that action at this time.
0 commit comments