Skip to content

Commit c8b52a5

Browse files
authored
Merge pull request #79 from daun/chore/laravel-13
Laravel 13
2 parents 39ea34c + 0b16eea commit c8b52a5

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
php: [8.5, 8.4, 8.3]
16-
laravel: [12.*]
16+
laravel: [12.*, 13.*]
1717
statamic: [6.*]
1818
include:
1919
- laravel: 12.*
2020
testbench: 10.*
21-
pest: 3.*
22-
snapshots: 2.*
21+
- laravel: 13.*
22+
testbench: 11.*
2323

2424
name: PHP ${{ matrix.php }} / Laravel ${{ matrix.laravel }} / Statamic ${{ matrix.statamic }}
2525

@@ -41,7 +41,7 @@ jobs:
4141

4242
- name: Install dependencies
4343
run: |
44-
composer require "statamic/cms:${{ matrix.statamic }}" "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "pestphp/pest:${{ matrix.pest }}" "pestphp/pest-plugin-laravel:${{ matrix.pest }}" "spatie/pest-plugin-snapshots:${{ matrix.snapshots }}" --no-interaction --no-update
44+
composer require "statamic/cms:${{ matrix.statamic }}" "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4545
composer update --prefer-dist --no-interaction --no-progress
4646
4747
- name: Check code style

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"php": "^8.3",
2727
"firebase/php-jwt": "^6.10 || ^7.0",
2828
"guzzlehttp/guzzle": "^7.8",
29-
"laravel/framework": "^12.0",
3029
"leocavalcante/redact-sensitive": "^0.4.1",
3130
"muxinc/mux-php": "^5.0",
3231
"srwiez/thumbhash": "^1.2",
@@ -38,7 +37,7 @@
3837
"laravel/facade-documenter": "dev-main",
3938
"laravel/pint": "^1.14",
4039
"mockery/mockery": "^1.6",
41-
"orchestra/testbench": "^10.0",
40+
"orchestra/testbench": "^10.0 || ^11.0",
4241
"pestphp/pest": "^4.1",
4342
"pestphp/pest-plugin-laravel": "^4.0",
4443
"spatie/pest-plugin-snapshots": "^2.1",

src/Concerns/HasCommandOutputStyles.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
trait HasCommandOutputStyles
1010
{
11-
protected function initialize(InputInterface $input, OutputInterface $output)
11+
protected function initialize(InputInterface $input, OutputInterface $output): void
1212
{
1313
$this->registerStyles();
1414
}
1515

16-
protected function registerStyles()
16+
protected function registerStyles(): void
1717
{
1818
$this->output->getFormatter()->setStyle('bold', new OutputFormatterStyle(options: ['bold']));
1919
$this->output->getFormatter()->setStyle('success', new OutputFormatterStyle('green', options: ['bold']));

0 commit comments

Comments
 (0)