From 7546e0699a931ca92721b8d15d190b11384b9c9f Mon Sep 17 00:00:00 2001 From: Joan Miquel Date: Thu, 7 Nov 2024 12:51:29 +0100 Subject: [PATCH 1/4] Update composer.json to use Mockery 1.6.x --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4afb589e0..43f44584d 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ }, "require-dev": { "pestphp/pest": "2.x-dev", - "mockery/mockery": "2.0.x-dev", + "mockery/mockery": "^1.6", "guzzlehttp/guzzle": "^7.0", "phpstan/phpstan": "1.11.x-dev" }, From 02c1ab6180922fc28224711406723318d608b866 Mon Sep 17 00:00:00 2001 From: Joan Miquel Date: Thu, 7 Nov 2024 12:55:49 +0100 Subject: [PATCH 2/4] Update test.yml to show composer color It's easier to check the files installed. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ca57a9a8..fcaa4346a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,7 @@ jobs: with: timeout_minutes: 5 max_attempts: 5 - command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress + command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --ansi - name: Static analysis run: composer analyze From 177dacfd77a6a9be33448aba497bcac0d5c737a1 Mon Sep 17 00:00:00 2001 From: Joan Miquel Date: Thu, 7 Nov 2024 13:12:01 +0100 Subject: [PATCH 3/4] Update test.yml to actions/checkout@v4 It's deprecated in github actions. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fcaa4346a..e9dd4f9eb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 From 9d53a73aa107d07db17f3ddeb85cb1bccbe56469 Mon Sep 17 00:00:00 2001 From: Joan Miquel Date: Thu, 7 Nov 2024 13:15:14 +0100 Subject: [PATCH 4/4] Update test.yml with nick-fields/retry@v3 Upgrades action to node 20 to fix warnings --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e9dd4f9eb..ca86088cf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,7 +37,7 @@ jobs: coverage: xdebug - name: Install dependencies - uses: nick-fields/retry@v2 + uses: nick-fields/retry@v3 with: timeout_minutes: 5 max_attempts: 5