Skip to content

Commit 5218963

Browse files
committed
Updated for Laravel 11 and Pest
1 parent 88b73e9 commit 5218963

File tree

4 files changed

+66
-88
lines changed

4 files changed

+66
-88
lines changed

composer.json

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,11 @@
2020
}
2121
],
2222
"require": {
23-
"php": "^7.2",
23+
"php": "^8.2",
2424
"browserstack/browserstack-local": "^1.1",
25-
"guzzlehttp/guzzle": "^6.5|^7.0",
26-
"illuminate/support": "~5.8.0|^6.0|^7.0|^8.0",
27-
"laravel/dusk": "^5.9|^6.0"
28-
},
29-
"require-dev": {
30-
"orchestra/testbench": "3.8.*",
31-
"phpunit/phpunit": "^8.0"
25+
"guzzlehttp/guzzle": "^7.2",
26+
"illuminate/support": "^11.0",
27+
"laravel/dusk": "^8.2"
3228
},
3329
"autoload": {
3430
"psr-4": {
@@ -43,7 +39,6 @@
4339
"scripts": {
4440
"test": "vendor/bin/phpunit",
4541
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
46-
4742
},
4843
"config": {
4944
"sort-packages": true

config/config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
|--------------------------------------------------------------------------
4545
|
4646
| The configuration for capabilities of the browser.
47+
|
4748
| https://www.browserstack.com/automate/capabilities
4849
|
4950
*/

src/BrowserStackServiceProvider.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ class BrowserStackServiceProvider extends ServiceProvider
88
{
99
/**
1010
* Bootstrap the application services.
11-
*
12-
* @return void
1311
*/
14-
public function boot()
12+
public function boot(): void
1513
{
1614
if ($this->app->runningInConsole()) {
1715
$this->publishes([
@@ -22,10 +20,8 @@ public function boot()
2220

2321
/**
2422
* Register the application services.
25-
*
26-
* @return void
2723
*/
28-
public function register()
24+
public function register(): void
2925
{
3026
$this->mergeConfigFrom(__DIR__.'/../config/config.php', 'browserstack');
3127
}

0 commit comments

Comments
 (0)