Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jan 10, 2024
1 parent 47d16ad commit fe9e1a4
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 12 deletions.
2 changes: 0 additions & 2 deletions src/Constraints/Concerns/IsChecked.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Laravel\BrowserKitTesting\Constraints\Concerns;

use Laravel\BrowserKitTesting\Constraints\FormFieldConstraint;

trait IsChecked
{
/**
Expand Down
1 change: 0 additions & 1 deletion src/Constraints/Concerns/IsSelected.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Laravel\BrowserKitTesting\Constraints\Concerns;

use DOMElement;
use Laravel\BrowserKitTesting\Constraints\FormFieldConstraint;
use Symfony\Component\DomCrawler\Crawler;

trait IsSelected
Expand Down
2 changes: 1 addition & 1 deletion src/Constraints/FormFieldConstraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ abstract class FormFieldConstraint extends PageConstraint
use Concerns\FormFieldConstraint;
}
} else {
readonly abstract class FormFieldConstraint extends PageConstraint
abstract readonly class FormFieldConstraint extends PageConstraint
{
use Concerns\FormFieldConstraint;
}
Expand Down
2 changes: 0 additions & 2 deletions src/Constraints/HasElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Laravel\BrowserKitTesting\Constraints;

use PHPUnit\Framework\Constraint\Constraint;

use PHPUnit\Runner\Version;

if (str_starts_with(Version::series(), '10')) {
Expand Down
2 changes: 0 additions & 2 deletions src/Constraints/HasInElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Laravel\BrowserKitTesting\Constraints;

use PHPUnit\Framework\Constraint\Constraint;

use PHPUnit\Runner\Version;

if (str_starts_with(Version::series(), '10')) {
Expand Down
2 changes: 0 additions & 2 deletions src/Constraints/HasLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Laravel\BrowserKitTesting\Constraints;

use PHPUnit\Framework\Constraint\Constraint;

use PHPUnit\Runner\Version;

if (str_starts_with(Version::series(), '10')) {
Expand Down
3 changes: 1 addition & 2 deletions src/Constraints/PageConstraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Laravel\BrowserKitTesting\Constraints;

use PHPUnit\Framework\Constraint\Constraint;

use PHPUnit\Runner\Version;

if (str_starts_with(Version::series(), '10')) {
Expand All @@ -12,7 +11,7 @@ abstract class PageConstraint extends Constraint
use Concerns\PageConstraint;
}
} else {
readonly abstract class PageConstraint extends Constraint
abstract readonly class PageConstraint extends Constraint
{
use Concerns\PageConstraint;
}
Expand Down

0 comments on commit fe9e1a4

Please sign in to comment.