From 7b840c9c521653cfe451f4550c1eb83f0110a498 Mon Sep 17 00:00:00 2001 From: Francisco Madeira Date: Tue, 17 Dec 2024 20:12:43 +0000 Subject: [PATCH] chore: Update `pest/pestphp` to version 3 fallback --- .github/workflows/cs.yml | 3 +++ .github/workflows/static.yml | 3 +++ .github/workflows/tests.yml | 3 +++ .gitignore | 1 + composer.json | 2 +- phpunit.xml.dist | 25 +++++++++++-------------- 6 files changed, 22 insertions(+), 15 deletions(-) diff --git a/.github/workflows/cs.yml b/.github/workflows/cs.yml index 824637a..1571a46 100644 --- a/.github/workflows/cs.yml +++ b/.github/workflows/cs.yml @@ -23,6 +23,9 @@ jobs: tools: composer:v2 coverage: none + - name: Set Version + run: composer config version "2.x-dev" + - name: Install PHP dependencies run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 058225e..0e0e210 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -22,6 +22,9 @@ jobs: tools: composer:v2 coverage: none + - name: Set Version + run: composer config version "2.x-dev" + - name: Install Dependencies run: composer update --prefer-stable --no-interaction --no-progress diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a62428c..eef913e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,6 +28,9 @@ jobs: echo "::add-matcher::${{ runner.tool_cache }}/php.json" echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" + - name: Set Version + run: composer config version "2.x-dev" + - name: Install PHP dependencies run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress diff --git a/.gitignore b/.gitignore index 2a1d68f..97030f9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/.phpunit.cache /.phpunit.result.cache /.php-cs-fixer.cache /.php-cs-fixer.php diff --git a/composer.json b/composer.json index 353ed7d..54b8be1 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "illuminate/console": "^11.33.2", "laravel/pint": "^1.18.2", "mockery/mockery": "^1.6.12", - "pestphp/pest": "^2.36.0", + "pestphp/pest": "^3.0", "phpstan/phpstan": "^1.12.11", "phpstan/phpstan-strict-rules": "^1.6.1", "symfony/var-dumper": "^7.1.8", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 368f6bd..d6c3f6a 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,16 +1,13 @@ - - - - ./tests - - - - - ./src - - + + + + ./tests + + + + + ./src + +