Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
trainline
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
James Walker
trainline
Merge requests
!12
Bump to PHPStan v2 + ensure PHP 8.4 compatibility
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Bump to PHPStan v2 + ensure PHP 8.4 compatibility
phpstan2
into
master
Overview
0
Commits
5
Pipelines
2
Changes
10
Merged
James Walker
requested to merge
phpstan2
into
master
2 months ago
Overview
0
Commits
5
Pipelines
2
Changes
10
Expand
0
0
Merge request reports
Compare
master
version 1
a3f3be73
2 months ago
master (base)
and
latest version
latest version
7cbdbea8
5 commits,
2 months ago
version 1
a3f3be73
4 commits,
2 months ago
10 files
+
118
−
27
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
src/Assertions/throws.php
+
1
−
1
Options
@@ -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