Skip to content
Snippets Groups Projects

Bump to PHPStan v2 + ensure PHP 8.4 compatibility

Merged James Walker requested to merge phpstan2 into master
10 files
+ 118
27
Compare changes
  • Side-by-side
  • Inline
Files
10
+ 1
1
@@ -4,7 +4,7 @@ namespace Trainline\Assertions;
use Trainline\Exceptions\AssertionThrownException;
use Trainline\Exceptions\AssertionThrowsException;
function throws(callable $callback, string $expect=null) : \Throwable {
function throws(callable $callback, ?string $expect=null) : \Throwable {
try {
$callback();
}
Loading