From 274985cc56a63884915ab615b2b7e6f3c4115c8d Mon Sep 17 00:00:00 2001 From: Guillermo Cava Date: Mon, 27 Jan 2025 17:28:40 -0500 Subject: [PATCH] tweak - gh actions - static func --- .github/workflows/lint.yml | 2 +- .github/workflows/test_build.yml | 8 ++++---- tests/Unit/PackageTest.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7905ad2..2d7a400 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/.github/workflows/test_build.yml b/.github/workflows/test_build.yml index 7117353..82ee1f0 100644 --- a/.github/workflows/test_build.yml +++ b/.github/workflows/test_build.yml @@ -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: @@ -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 diff --git a/tests/Unit/PackageTest.php b/tests/Unit/PackageTest.php index edf7f3a..64c000c 100644 --- a/tests/Unit/PackageTest.php +++ b/tests/Unit/PackageTest.php @@ -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 [ [