Skip to content

Commit

Permalink
Update dependencies (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
TavoNiievez authored Dec 18, 2021
1 parent 9236f49 commit ae1fa5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
],
"minimum-stability": "RC",
"require": {
"php": "^7.4 || ^8.0",
"codeception/codeception": "*@dev",
"symfony/finder": ">=3.4 <6.0"
"php": "^7.4 | ^8.0",
"codeception/codeception": "^4.1 | *@dev",
"symfony/finder": "^4.4 | ^5.4 | ^6.0"
},
"conflict": {
"codeception/codeception": "<4.0"
"codeception/codeception": "<4.1"
},
"autoload": {
"classmap": [
Expand Down
4 changes: 2 additions & 2 deletions src/Codeception/Module/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Filesystem extends Module

protected string $path = '';

public function _before(TestInterface $test): void
public function _before(TestInterface $test)
{
$this->path = Configuration::projectDir();
}
Expand Down Expand Up @@ -154,7 +154,7 @@ public function seeInThisFile(string $text): void
*/
public function seeNumberNewLines(int $number): void
{
$lines = preg_split('#\n|\r#', $this->file);
$lines = preg_split('#[\n\r]#', $this->file);

$this->assertTrue(
$number === count($lines),
Expand Down

0 comments on commit ae1fa5f

Please sign in to comment.