Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
- gh actions
- static func
  • Loading branch information
gcavanunez committed Jan 27, 2025
1 parent 6b64a38 commit 274985c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2

- name: Install dependencies
run: composer install --no-interaction --ignore-platform-reqs
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main
jobs:
test:
name: PHP 8.1, Laravel 9.*
name: PHP 8.2, Laravel 9.*
runs-on: ubuntu-latest

steps:
Expand All @@ -17,14 +17,14 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2

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

- name: Cache npm dependencies
uses: actions/cache@v1
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/PackageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function it_returns_the_display_name_of_the_package($input, $expected): v
}

/** Data Provider for the package name test. */
public function packageNameProvider(): array
public static function packageNameProvider(): array
{
return [
[
Expand Down

0 comments on commit 274985c

Please sign in to comment.