From c939e69f047a41b239a38aeb7324ce62096ec6dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sinnbeck?= Date: Wed, 3 Jan 2024 10:35:47 +0100 Subject: [PATCH 1/2] allow using css selector 7 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e834a9a..f302e68 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "ext-dom": "*", "ext-libxml": "*", "illuminate/testing": "^9.0|^10.0", - "symfony/css-selector": "^6.0" + "symfony/css-selector": "^6.0|^7.0" }, "require-dev": { "laravel/pint": "^1.2", From 562c513722c5e93e091133bd11367b475528744f Mon Sep 17 00:00:00 2001 From: sinnbeck Date: Wed, 3 Jan 2024 09:36:21 +0000 Subject: [PATCH 2/2] Fix styling --- src/Asserts/BaseAssert.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Asserts/BaseAssert.php b/src/Asserts/BaseAssert.php index b2fd472..96cba2a 100644 --- a/src/Asserts/BaseAssert.php +++ b/src/Asserts/BaseAssert.php @@ -16,13 +16,13 @@ */ abstract class BaseAssert { - use UsesElementAsserts; use CanGatherAttributes; - use InteractsWithParser; use Debugging; + use InteractsWithParser; use Macroable { __call as protected callMacro; } + use UsesElementAsserts; protected array $attributes = [];