Skip to content

Commit c29e9ab

Browse files
committed
Avoid usages of deprecated methods
1 parent b05ebd7 commit c29e9ab

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"spatie/array-to-xml": "^2.7"
2626
},
2727
"require-dev": {
28-
"phpunit/phpunit": "^8.4|^9.0",
28+
"phpunit/phpunit": "^9.0",
2929
"mockery/mockery": "^1.3.1",
3030
"illuminated/testing-tools": "^8.0"
3131
},

tests/debug/BacktraceAsStringTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function it_returns_backtrace_as_string_without_args()
1212
$pattern = file_get_contents(__DIR__ . '/BacktraceAsStringTest/pattern.txt');
1313
$backtrace = $this->getBacktrace();
1414

15-
$this->assertRegExp("/{$pattern}/m", $backtrace);
15+
$this->assertMatchesRegularExpression("/{$pattern}/m", $backtrace);
1616
}
1717

1818
/**

tests/debug/MinimizedBacktraceAsStringTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function it_returns_minimized_backtrace_as_string()
1212
$pattern = file_get_contents(__DIR__ . '/MinimizedBacktraceAsStringTest/pattern.txt');
1313
$backtrace = $this->getBacktrace();
1414

15-
$this->assertRegExp("/{$pattern}/m", $backtrace);
15+
$this->assertMatchesRegularExpression("/{$pattern}/m", $backtrace);
1616
}
1717

1818
/**

0 commit comments

Comments
 (0)