Skip to content

Commit a6ac397

Browse files
author
github-actions
committed
Merge pull request #1929 from hydephp/dusk-testing
Internal: Upgrade to use Dusk 8 hydephp/develop@5d6ae26
1 parent fcdd17e commit a6ac397

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"require": {
2020
"php": "^8.0",
2121
"illuminate/support": "^10.0",
22-
"laravel/dusk": "^7.11.3",
22+
"laravel/dusk": "^8.2.2",
2323
"mockery/mockery": "^1.4.4",
2424
"pestphp/pest": "^v2.1.0",
2525
"ext-dom": "*",

src/DuskTestCase.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,21 +137,17 @@ protected function driver()
137137

138138
/**
139139
* Determine whether the Dusk command has disabled headless mode.
140-
*
141-
* @return bool
142140
*/
143-
protected function hasHeadlessDisabled()
141+
protected function hasHeadlessDisabled(): bool
144142
{
145143
return isset($_SERVER['DUSK_HEADLESS_DISABLED']) ||
146144
isset($_ENV['DUSK_HEADLESS_DISABLED']);
147145
}
148146

149147
/**
150148
* Determine if the browser window should start maximized.
151-
*
152-
* @return bool
153149
*/
154-
protected function shouldStartMaximized()
150+
protected function shouldStartMaximized(): bool
155151
{
156152
return isset($_SERVER['DUSK_START_MAXIMIZED']) ||
157153
isset($_ENV['DUSK_START_MAXIMIZED']);

0 commit comments

Comments
 (0)