File tree Expand file tree Collapse file tree 7 files changed +2
-12
lines changed Expand file tree Collapse file tree 7 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Laravel \BrowserKitTesting \Constraints \Concerns ;
4
4
5
- use Laravel \BrowserKitTesting \Constraints \FormFieldConstraint ;
6
-
7
5
trait IsChecked
8
6
{
9
7
/**
Original file line number Diff line number Diff line change 3
3
namespace Laravel \BrowserKitTesting \Constraints \Concerns ;
4
4
5
5
use DOMElement ;
6
- use Laravel \BrowserKitTesting \Constraints \FormFieldConstraint ;
7
6
use Symfony \Component \DomCrawler \Crawler ;
8
7
9
8
trait IsSelected
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ abstract class FormFieldConstraint extends PageConstraint
10
10
use Concerns \FormFieldConstraint;
11
11
}
12
12
} else {
13
- readonly abstract class FormFieldConstraint extends PageConstraint
13
+ abstract readonly class FormFieldConstraint extends PageConstraint
14
14
{
15
15
use Concerns \FormFieldConstraint;
16
16
}
Original file line number Diff line number Diff line change 2
2
3
3
namespace Laravel \BrowserKitTesting \Constraints ;
4
4
5
- use PHPUnit \Framework \Constraint \Constraint ;
6
-
7
5
use PHPUnit \Runner \Version ;
8
6
9
7
if (str_starts_with (Version::series (), '10 ' )) {
Original file line number Diff line number Diff line change 2
2
3
3
namespace Laravel \BrowserKitTesting \Constraints ;
4
4
5
- use PHPUnit \Framework \Constraint \Constraint ;
6
-
7
5
use PHPUnit \Runner \Version ;
8
6
9
7
if (str_starts_with (Version::series (), '10 ' )) {
Original file line number Diff line number Diff line change 2
2
3
3
namespace Laravel \BrowserKitTesting \Constraints ;
4
4
5
- use PHPUnit \Framework \Constraint \Constraint ;
6
-
7
5
use PHPUnit \Runner \Version ;
8
6
9
7
if (str_starts_with (Version::series (), '10 ' )) {
Original file line number Diff line number Diff line change 3
3
namespace Laravel \BrowserKitTesting \Constraints ;
4
4
5
5
use PHPUnit \Framework \Constraint \Constraint ;
6
-
7
6
use PHPUnit \Runner \Version ;
8
7
9
8
if (str_starts_with (Version::series (), '10 ' )) {
@@ -12,7 +11,7 @@ abstract class PageConstraint extends Constraint
12
11
use Concerns \PageConstraint;
13
12
}
14
13
} else {
15
- readonly abstract class PageConstraint extends Constraint
14
+ abstract readonly class PageConstraint extends Constraint
16
15
{
17
16
use Concerns \PageConstraint;
18
17
}
You can’t perform that action at this time.
0 commit comments