File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1515 ],
1616 "minimum-stability" : " RC" ,
1717 "require" : {
18- "php" : " ^7.4 || ^8.0" ,
19- "codeception/codeception" : " *@dev" ,
20- "symfony/finder" : " >=3 .4 < 6.0"
18+ "php" : " ^7.4 | ^8.0" ,
19+ "codeception/codeception" : " ^4.1 | *@dev" ,
20+ "symfony/finder" : " ^4 .4 | ^5.4 | ^ 6.0"
2121 },
2222 "conflict" : {
23- "codeception/codeception" : " <4.0 "
23+ "codeception/codeception" : " <4.1 "
2424 },
2525 "autoload" : {
2626 "classmap" : [
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class Filesystem extends Module
3232
3333 protected string $ path = '' ;
3434
35- public function _before (TestInterface $ test ): void
35+ public function _before (TestInterface $ test )
3636 {
3737 $ this ->path = Configuration::projectDir ();
3838 }
@@ -154,7 +154,7 @@ public function seeInThisFile(string $text): void
154154 */
155155 public function seeNumberNewLines (int $ number ): void
156156 {
157- $ lines = preg_split ('#\n|\r # ' , $ this ->file );
157+ $ lines = preg_split ('#[\n\r] # ' , $ this ->file );
158158
159159 $ this ->assertTrue (
160160 $ number === count ($ lines ),
You can’t perform that action at this time.
0 commit comments