diff --git a/composer.lock b/composer.lock index 861cb0c87f5..c25fbf4e620 100644 --- a/composer.lock +++ b/composer.lock @@ -1123,11 +1123,11 @@ }, { "name": "hyde/framework", - "version": "dev-main", + "version": "dev-master", "dist": { "type": "path", "url": "./packages/framework", - "reference": "784479be93b9882e4416fcec249de2e839f72df4" + "reference": "4512c1ec8a45b9ab81ab3f97efb1c1184e91ced6" }, "require": { "illuminate/support": "^10.0", @@ -1173,7 +1173,7 @@ }, { "name": "hyde/publications", - "version": "dev-main", + "version": "dev-master", "dist": { "type": "path", "url": "./packages/publications", @@ -1220,7 +1220,7 @@ }, { "name": "hyde/ui-kit", - "version": "dev-main", + "version": "dev-master", "dist": { "type": "path", "url": "./packages/ui-kit", @@ -7857,7 +7857,7 @@ }, { "name": "hyde/monorepo-dev-tools", - "version": "dev-main", + "version": "dev-master", "dist": { "type": "path", "url": "./monorepo/DevTools", @@ -7883,11 +7883,11 @@ }, { "name": "hyde/realtime-compiler", - "version": "dev-main", + "version": "dev-master", "dist": { "type": "path", "url": "./packages/realtime-compiler", - "reference": "6a68a736b9cb318aaaa6ee9c82ea508b0d45a985" + "reference": "8dede06db83f19a82dd542ca52504a8f2327acfa" }, "require": { "desilva/microserve": "^2.0", @@ -7939,17 +7939,17 @@ }, { "name": "hyde/testing", - "version": "dev-main", + "version": "dev-master", "dist": { "type": "path", "url": "./packages/testing", - "reference": "6045add11858adac154af6f4c782e1df3a3458b2" + "reference": "5ea9a00cc9a4698e45070d884500b613b12c2e5e" }, "require": { "ext-dom": "*", "ext-libxml": "*", "illuminate/support": "^10.0", - "laravel/dusk": "^7.11.3", + "laravel/dusk": "^8.2.2", "mockery/mockery": "^1.4.4", "pestphp/pest": "^v2.1.0", "php": "^8.0" @@ -8228,47 +8228,43 @@ }, { "name": "laravel/dusk", - "version": "v7.13.0", + "version": "v8.2.2", "source": { "type": "git", "url": "https://github.com/laravel/dusk.git", - "reference": "dce7c4cc1c308bb18e95b2b3bf7d06d3f040a1f6" + "reference": "c7c1702324b40272eaca6519c573555a03faf3d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/dusk/zipball/dce7c4cc1c308bb18e95b2b3bf7d06d3f040a1f6", - "reference": "dce7c4cc1c308bb18e95b2b3bf7d06d3f040a1f6", + "url": "https://api.github.com/repos/laravel/dusk/zipball/c7c1702324b40272eaca6519c573555a03faf3d7", + "reference": "c7c1702324b40272eaca6519c573555a03faf3d7", "shasum": "" }, "require": { "ext-json": "*", "ext-zip": "*", - "guzzlehttp/guzzle": "^7.2", - "illuminate/console": "^9.0|^10.0", - "illuminate/support": "^9.0|^10.0", - "nesbot/carbon": "^2.0", - "php": "^8.0", + "guzzlehttp/guzzle": "^7.5", + "illuminate/console": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0", + "php": "^8.1", "php-webdriver/webdriver": "^1.9.0", - "symfony/console": "^6.0", - "symfony/finder": "^6.0", - "symfony/process": "^6.0", + "symfony/console": "^6.2|^7.0", + "symfony/finder": "^6.2|^7.0", + "symfony/process": "^6.2|^7.0", "vlucas/phpdotenv": "^5.2" }, "require-dev": { - "mockery/mockery": "^1.4.2", - "orchestra/testbench": "^7.33|^8.13", + "mockery/mockery": "^1.6", + "orchestra/testbench": "^8.19|^9.0", "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^9.5.10|^10.0.1", - "psy/psysh": "^0.11.12" + "phpunit/phpunit": "^10.1|^11.0", + "psy/psysh": "^0.11.12|^0.12" }, "suggest": { "ext-pcntl": "Used to gracefully terminate Dusk when tests are running." }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "7.x-dev" - }, "laravel": { "providers": [ "Laravel\\Dusk\\DuskServiceProvider" @@ -8298,9 +8294,9 @@ ], "support": { "issues": "https://github.com/laravel/dusk/issues", - "source": "https://github.com/laravel/dusk/tree/v7.13.0" + "source": "https://github.com/laravel/dusk/tree/v8.2.2" }, - "time": "2024-02-23T22:29:53+00:00" + "time": "2024-07-24T15:46:41+00:00" }, { "name": "laravel/tinker", @@ -8712,21 +8708,21 @@ }, { "name": "pestphp/pest", - "version": "v2.34.9", + "version": "v2.35.0", "source": { "type": "git", "url": "https://github.com/pestphp/pest.git", - "reference": "ef120125e036bf84c9e46a9e62219702f5b92e16" + "reference": "d0ff2c8ec294b7aa7fcb0f3ddc4fdec864234646" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/ef120125e036bf84c9e46a9e62219702f5b92e16", - "reference": "ef120125e036bf84c9e46a9e62219702f5b92e16", + "url": "https://api.github.com/repos/pestphp/pest/zipball/d0ff2c8ec294b7aa7fcb0f3ddc4fdec864234646", + "reference": "d0ff2c8ec294b7aa7fcb0f3ddc4fdec864234646", "shasum": "" }, "require": { "brianium/paratest": "^7.3.1", - "nunomaduro/collision": "^7.10.0|^8.1.1", + "nunomaduro/collision": "^7.10.0|^8.3.0", "nunomaduro/termwind": "^1.15.1|^2.0.1", "pestphp/pest-plugin": "^2.1.1", "pestphp/pest-plugin-arch": "^2.7.0", @@ -8740,8 +8736,8 @@ }, "require-dev": { "pestphp/pest-dev-tools": "^2.16.0", - "pestphp/pest-plugin-type-coverage": "^2.8.4", - "symfony/process": "^6.4.0|^7.1.1" + "pestphp/pest-plugin-type-coverage": "^2.8.5", + "symfony/process": "^6.4.0|^7.1.3" }, "bin": [ "bin/pest" @@ -8804,7 +8800,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v2.34.9" + "source": "https://github.com/pestphp/pest/tree/v2.35.0" }, "funding": [ { @@ -8816,7 +8812,7 @@ "type": "github" } ], - "time": "2024-07-11T08:36:26+00:00" + "time": "2024-08-02T10:57:29+00:00" }, { "name": "pestphp/pest-plugin", @@ -9441,16 +9437,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.11.9", + "version": "1.11.8", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "e370bcddadaede0c1716338b262346f40d296f82" + "reference": "6adbd118e6c0515dd2f36b06cde1d6da40f1b8ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e370bcddadaede0c1716338b262346f40d296f82", - "reference": "e370bcddadaede0c1716338b262346f40d296f82", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/6adbd118e6c0515dd2f36b06cde1d6da40f1b8ec", + "reference": "6adbd118e6c0515dd2f36b06cde1d6da40f1b8ec", "shasum": "" }, "require": { @@ -9495,7 +9491,7 @@ "type": "github" } ], - "time": "2024-08-01T16:25:18+00:00" + "time": "2024-07-24T07:01:22+00:00" }, { "name": "phpunit/php-code-coverage", diff --git a/packages/testing/composer.json b/packages/testing/composer.json index 15e2bd0714a..3306c81eaeb 100644 --- a/packages/testing/composer.json +++ b/packages/testing/composer.json @@ -19,7 +19,7 @@ "require": { "php": "^8.0", "illuminate/support": "^10.0", - "laravel/dusk": "^7.11.3", + "laravel/dusk": "^8.2.2", "mockery/mockery": "^1.4.4", "pestphp/pest": "^v2.1.0", "ext-dom": "*", diff --git a/packages/testing/src/DuskTestCase.php b/packages/testing/src/DuskTestCase.php index 2ec58dec95d..4e57386fdb1 100644 --- a/packages/testing/src/DuskTestCase.php +++ b/packages/testing/src/DuskTestCase.php @@ -137,10 +137,8 @@ protected function driver() /** * Determine whether the Dusk command has disabled headless mode. - * - * @return bool */ - protected function hasHeadlessDisabled() + protected function hasHeadlessDisabled(): bool { return isset($_SERVER['DUSK_HEADLESS_DISABLED']) || isset($_ENV['DUSK_HEADLESS_DISABLED']); @@ -148,10 +146,8 @@ protected function hasHeadlessDisabled() /** * Determine if the browser window should start maximized. - * - * @return bool */ - protected function shouldStartMaximized() + protected function shouldStartMaximized(): bool { return isset($_SERVER['DUSK_START_MAXIMIZED']) || isset($_ENV['DUSK_START_MAXIMIZED']);