Skip to content

Commit 274985c

Browse files
committed
tweak
- gh actions - static func
1 parent 6b64a38 commit 274985c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up PHP
1818
uses: shivammathur/setup-php@v2
1919
with:
20-
php-version: 8.1
20+
php-version: 8.2
2121

2222
- name: Install dependencies
2323
run: composer install --no-interaction --ignore-platform-reqs

.github/workflows/test_build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- main
88
jobs:
99
test:
10-
name: PHP 8.1, Laravel 9.*
10+
name: PHP 8.2, Laravel 9.*
1111
runs-on: ubuntu-latest
1212

1313
steps:
@@ -17,14 +17,14 @@ jobs:
1717
- name: Set up PHP
1818
uses: shivammathur/setup-php@v2
1919
with:
20-
php-version: 8.1
20+
php-version: 8.2
2121

2222
- name: Cache Composer dependencies
2323
uses: actions/cache@v1
2424
with:
2525
path: ~/.composer/cache/files
26-
key: php-8.1-laravel-9.*-composer-${{ hashFiles('**/composer.lock') }}
27-
restore-keys: php-8.1-laravel-9`.*-composer-
26+
key: php-8.2-laravel-9.*-composer-${{ hashFiles('**/composer.lock') }}
27+
restore-keys: php-8.2-laravel-9`.*-composer-
2828

2929
- name: Cache npm dependencies
3030
uses: actions/cache@v1

tests/Unit/PackageTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function it_returns_the_display_name_of_the_package($input, $expected): v
8989
}
9090

9191
/** Data Provider for the package name test. */
92-
public function packageNameProvider(): array
92+
public static function packageNameProvider(): array
9393
{
9494
return [
9595
[

0 commit comments

Comments
 (0)