Skip to content

Commit 6366156

Browse files
committed
up: upgrade support php8.4
1 parent 59db6ee commit 6366156

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/php.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: true
1717
matrix:
18-
php: [8.0, 8.1, 8.2]
18+
php: [8.1, 8.2, 8.3, 8.4]
1919
os: [ubuntu-latest, macOS-latest] # windows-latest,
2020
# include:
2121
# - os: 'ubuntu-latest'

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: [8.1]
16+
php: [8.2]
1717

1818
steps:
1919
- name: Checkout
@@ -58,4 +58,4 @@ jobs:
5858
body_path: changelog.md
5959
# files: kite-${{ env.RELEASE_TAG }}.phar
6060
env:
61-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

src/Cli.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public static function style(): Style
140140
*
141141
* @return string
142142
*/
143-
public static function color(string $text, array|string $style = null): string
143+
public static function color(string $text, array|string|null $style = null): string
144144
{
145145
return Color::render($text, $style);
146146
}

src/Color.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public static function addTag(string $text, string $tag = 'info'): string
257257
*
258258
* @return string
259259
*/
260-
public static function render(string $text, array|string $style = null): string
260+
public static function render(string $text, array|string|null $style = null): string
261261
{
262262
if (!$text) {
263263
return $text;

0 commit comments

Comments
 (0)