diff --git a/.github/workflows/phpstan-types.yml b/.github/workflows/phpstan-types.yml index a6accba..308cfb6 100644 --- a/.github/workflows/phpstan-types.yml +++ b/.github/workflows/phpstan-types.yml @@ -16,7 +16,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.4' + php-version: '8.5' coverage: none - name: Install composer dependencies diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index b0cde6a..b65a6a9 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -16,7 +16,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.4' + php-version: '8.5' coverage: none - name: Install composer dependencies diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index a14fa67..99800ca 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,7 +13,7 @@ jobs: fail-fast: true matrix: os: [ ubuntu-latest ] - php: [ 8.3, 8.4 ] + php: [ 8.3, 8.4, 8.5 ] laravel: [ ^11.0, ^12.0 ] stability: [ prefer-lowest, prefer-stable ] include: @@ -25,6 +25,9 @@ jobs: - php: 8.4 laravel: ^11.0 stability: prefer-lowest + - php: 8.5 + laravel: ^11.0 + stability: prefer-lowest name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index d4e2609..0d86b43 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "require-dev": { "friendsofphp/php-cs-fixer": "^3.10", "orchestra/testbench": "^9.0|^10.0", - "pestphp/pest": "^3.0", + "pestphp/pest": "^3.0|^4.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^2.0", "phpstan/phpstan-deprecation-rules": "^2.0", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 79cb322..5483f08 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -3,39 +3,33 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" backupGlobals="false" - backupStaticAttributes="false" + backupStaticProperties="false" bootstrap="vendor/autoload.php" colors="true" - convertErrorsToExceptions="true" - convertNoticesToExceptions="true" - convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" executionOrder="random" failOnWarning="true" failOnRisky="true" failOnEmptyTestSuite="true" - beStrictAboutOutputDuringTests="false" - verbose="true" + beStrictAboutOutputDuringTests="true" + displayDetailsOnTestsThatTriggerDeprecations="true" + displayDetailsOnTestsThatTriggerWarnings="true" > - - - tests - - - - - - - - ./src - - - - - - - - - + + + tests + + + + + + + + ./src + + + + +