File tree Expand file tree Collapse file tree 6 files changed +16
-6
lines changed Expand file tree Collapse file tree 6 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -20,20 +20,20 @@ jobs:
2020
2121 steps :
2222 - name : Checkout code
23- uses : actions/checkout@v4
23+ uses : actions/checkout@v5
2424 with :
2525 ref : ${{ github.head_ref || github.sha }}
2626
2727 - name : Check PHP code style issues
2828 if : github.event_name == 'push'
29- uses : aglipanci/laravel-pint-action@2.5
29+ uses : aglipanci/laravel-pint-action@2.6
3030 with :
3131 verboseMode : true
3232 testMode : true
3333
3434 - name : Fix PHP code style issues
3535 if : github.event_name == 'pull_request'
36- uses : aglipanci/laravel-pint-action@2.5
36+ uses : aglipanci/laravel-pint-action@2.6
3737
3838 - name : Commit changes
3939 if : github.event_name == 'pull_request'
Original file line number Diff line number Diff line change 1818 steps :
1919
2020 - name : Checkout code
21- uses : actions/checkout@v4
21+ uses : actions/checkout@v5
2222
2323 - name : Setup PHP
2424 uses : shivammathur/setup-php@v2
Original file line number Diff line number Diff line change 2121
2222 steps :
2323 - name : Checkout code
24- uses : actions/checkout@v4
24+ uses : actions/checkout@v5
2525
2626 - name : Setup PHP
2727 uses : shivammathur/setup-php@v2
Original file line number Diff line number Diff line change 1313
1414 steps :
1515 - name : Checkout code
16- uses : actions/checkout@v4
16+ uses : actions/checkout@v5
1717 with :
1818 ref : main
1919
Original file line number Diff line number Diff line change 2020 * @method static void zoomFactor(float $zoomFactor = 1.0)
2121 * @method static void preventLeaveDomain(bool $preventLeaveDomain = true)
2222 * @method static void preventLeavePage(bool $preventLeavePage = true): self
23+ * @method static void suppressNewWindows()
2324 */
2425class Window extends Facade
2526{
Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ class Window
7474
7575 protected bool $ preventLeavePage = false ;
7676
77+ protected bool $ suppressNewWindows = false ;
78+
7779 public function __construct (string $ id )
7880 {
7981 $ this ->id = $ id ;
@@ -357,6 +359,12 @@ public function preventLeavePage(bool $preventLeavePage = true): self
357359 {
358360 $ this ->preventLeavePage = $ preventLeavePage ;
359361
362+ }
363+
364+ public function suppressNewWindows (): self
365+ {
366+ $ this ->suppressNewWindows = true ;
367+
360368 return $ this ;
361369 }
362370
@@ -401,6 +409,7 @@ public function toArray()
401409 'zoomFactor ' => $ this ->zoomFactor ,
402410 'preventLeaveDomain ' => $ this ->preventLeaveDomain ,
403411 'preventLeavePage ' => $ this ->preventLeavePage ,
412+ 'suppressNewWindows ' => $ this ->suppressNewWindows ,
404413 ];
405414 }
406415
You can’t perform that action at this time.
0 commit comments