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 44 - 5.4
55 - 5.5
66 - 5.6
7+ - 7.0
8+ - 7.1
79 - hhvm
810
911env :
@@ -15,6 +17,9 @@ matrix:
1517 include :
1618 - php : 5.3
1719 env : PACKAGE_VERSION=low
20+ allow_failures :
21+ - php : 7.0
22+ - php : 7.1
1823
1924before_script :
2025 - composer selfupdate
Original file line number Diff line number Diff line change 2727 }
2828 ],
2929 "require" : {
30- "php" : " >= 5.3.3" ,
30+ "php" : " ^ 5.3.3|7.0.x|7.1.x " ,
3131 "phpcr/phpcr" : " ~2.1.0" ,
3232 "symfony/console" : " ~2.3|~3.0"
3333 },
Original file line number Diff line number Diff line change @@ -159,12 +159,12 @@ protected function scan($sql2)
159159 $ token = strtok (" \n\t" );
160160 }
161161
162- $ regexp = '' ;
162+ $ regexpTokens = array () ;
163163 foreach ($ tokens as $ token ) {
164- $ regexp [] = preg_quote ($ token , '/ ' );
164+ $ regexpTokens [] = preg_quote ($ token , '/ ' );
165165 }
166166
167- $ regexp = '/^ ' .implode ('([ \t\n]+) ' , $ regexp ).'$/ ' ;
167+ $ regexp = '/^ ' .implode ('([ \t\n]+) ' , $ regexpTokens ).'$/ ' ;
168168 preg_match ($ regexp , $ sql2 , $ this ->delimiters );
169169 $ this ->delimiters [0 ] = '' ;
170170
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function dataConversionMatrix()
5252 ;
5353 $ nodemock
5454 ->expects ($ this ->any ())
55- ->method ('isNodetype ' )
55+ ->method ('isNodeType ' )
5656 ->with ('mix:referenceable ' )
5757 ->will ($ this ->returnValue (true ))
5858 ;
@@ -406,7 +406,7 @@ public function testConvertNonrefNode()
406406 ;
407407 $ nodemock
408408 ->expects ($ this ->once ())
409- ->method ('isNodetype ' )
409+ ->method ('isNodeType ' )
410410 ->with ('mix:referenceable ' )
411411 ->will ($ this ->returnValue (false ))
412412 ;
You can’t perform that action at this time.
0 commit comments