From 6c3287f98486b0c76df0497c8caf06bb2b5b1d2f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 23:58:13 +0000 Subject: [PATCH 01/13] Bump ramsey/composer-install from 2 to 3 Bumps [ramsey/composer-install](https://github.com/ramsey/composer-install) from 2 to 3. - [Release notes](https://github.com/ramsey/composer-install/releases) - [Commits](https://github.com/ramsey/composer-install/compare/v2...v3) --- updated-dependencies: - dependency-name: ramsey/composer-install dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/phpstan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index a44548b..d2c2852 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -15,7 +15,7 @@ jobs: php-version: 8.3 - name: Install composer dependencies - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 - name: Run PHPStan run: vendor/bin/phpstan --error-format=github From 855dac8e59580c1cac577181deb65c29740bc2f7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 23:42:38 +0000 Subject: [PATCH 02/13] Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.6.0 to 2.0.0. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.6.0...v2.0.0) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 60183c5..ecf4195 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -13,7 +13,7 @@ jobs: - name: Dependabot metadata id: metadata - uses: dependabot/fetch-metadata@v1.6.0 + uses: dependabot/fetch-metadata@v2.0.0 with: github-token: "${{ secrets.GITHUB_TOKEN }}" compat-lookup: true From 571f06ad8f75bcc6f7854cbc5694b415c1ae3e8d Mon Sep 17 00:00:00 2001 From: Freek Van der Herten Date: Fri, 29 Mar 2024 09:46:00 +0100 Subject: [PATCH 03/13] support context --- .gitignore | 1 + phpunit.xml.dist | 48 +++++++++++--------------- src/Ray.php | 54 +++++++++++++++++++++++++++++ tests/Pest.php | 9 +++++ tests/Unit/ContextTest.php | 70 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 153 insertions(+), 29 deletions(-) create mode 100644 tests/Unit/ContextTest.php diff --git a/.gitignore b/.gitignore index 3c6e908..3e217f1 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ docs phpunit.xml psalm.xml vendor +.phpunit.cache diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 56f8617..b84cb97 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,31 +1,21 @@ - - - - tests - - - - - ./src - - - - - - - - - - + + + + tests + + + + + + + + + + + + + ./src + + diff --git a/src/Ray.php b/src/Ray.php index 75cdc81..0c4a19c 100644 --- a/src/Ray.php +++ b/src/Ray.php @@ -10,6 +10,7 @@ use Illuminate\Mail\Mailable; use Illuminate\Mail\MailManager; use Illuminate\Support\Collection; +use Illuminate\Support\Facades\Context; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Mail; use Illuminate\Support\Testing\Fakes\MailFake; @@ -37,6 +38,7 @@ use Spatie\LaravelRay\Watchers\Watcher; use Spatie\Ray\Client; use Spatie\Ray\Payloads\ExceptionPayload; +use Spatie\Ray\Payloads\LogPayload; use Spatie\Ray\Ray as BaseRay; use Spatie\Ray\Settings\Settings; use Throwable; @@ -85,6 +87,58 @@ public function mailable(Mailable ...$mailables): self return $this; } + /** + * @param array|string ...$keys + * + * @return $this + */ + public function context(...$keys): self + { + if (! class_exists(Context::class)) { + return $this; + } + + if (isset($keys[0]) && is_array($keys[0])) { + $keys = $keys[0]; + } + + $context = count($keys) + ? Context::only($keys) + : Context::all(); + + $this + ->send($context) + ->label('Context'); + + return $this; + } + + /** + * @param array|string ...$keys + * + * @return $this + */ + public function hiddenContext(...$keys): self + { + if (! class_exists(Context::class)) { + return $this; + } + + if (isset($keys[0]) && is_array($keys[0])) { + $keys = $keys[0]; + } + + $hiddenContext = count($keys) + ? Context::onlyHidden($keys) + : Context::allHidden(); + + $this + ->send($hiddenContext) + ->label('Hidden Context'); + + return $this; + } + /** * @param Model|iterable ...$model * diff --git a/tests/Pest.php b/tests/Pest.php index 4d5dfd6..c4697db 100644 --- a/tests/Pest.php +++ b/tests/Pest.php @@ -6,6 +6,7 @@ |-------------------------------------------------------------------------- */ +use Illuminate\Support\Facades\Context; use Spatie\LaravelRay\Tests\TestCase; uses(TestCase::class)->in('.'); @@ -32,3 +33,11 @@ function assertMatchesOsSafeSnapshot($data): void test()->expect($json)->toMatchJsonSnapshot(); } + +function onlyIfContextSupported() +{ + + if (!class_exists(Context::class)) { + test()->skip('Context is not supported for this Laravel version'); + } +} diff --git a/tests/Unit/ContextTest.php b/tests/Unit/ContextTest.php new file mode 100644 index 0000000..b724cd3 --- /dev/null +++ b/tests/Unit/ContextTest.php @@ -0,0 +1,70 @@ +context(); + + expect($this->client->sentRequests())->toHaveCount(2); + + $requests = $this->client->sentRequests(); + + $clipboardData = $requests[0]['payloads'][0]['content']['meta']['0']['clipboard_data']; + + expect($clipboardData)->toContain('key', 'value'); +})->onlyIfContextSupported(); + + +it('can send specific context keys variadic', function () { + Context::add('key1', 'value1'); + Context::add('key2', 'value2'); + Context::add('key3', 'value3'); + + ray()->context('key1', 'key3'); + + expect($this->client->sentRequests())->toHaveCount(2); + + $requests = $this->client->sentRequests(); + + $clipboardData = $requests[0]['payloads'][0]['content']['meta']['0']['clipboard_data']; + + expect($clipboardData)->toContain('key1', 'key3'); + expect($clipboardData)->not()->toContain('key2'); +})->onlyIfContextSupported(); + +it('can send specific context keys using an array', function () { + Context::add('key1', 'value1'); + Context::add('key2', 'value2'); + Context::add('key3', 'value3'); + + ray()->context(['key1', 'key3']); + + expect($this->client->sentRequests())->toHaveCount(2); + + $requests = $this->client->sentRequests(); + + $clipboardData = $requests[0]['payloads'][0]['content']['meta']['0']['clipboard_data']; + + expect($clipboardData)->toContain('key1', 'key3'); + expect($clipboardData)->not()->toContain('key2'); +})->onlyIfContextSupported(); + +it('can send all hidden context', function () { + Context::addHidden('hidden-key', 'hidden-value'); + Context::add('visible-key', 'visible-value'); + + ray()->hiddenContext(); + + expect($this->client->sentRequests())->toHaveCount(2); + + $requests = $this->client->sentRequests(); + + $clipboardData = $requests[0]['payloads'][0]['content']['meta']['0']['clipboard_data']; + + expect($clipboardData)->toContain('hidden-key'); + expect($clipboardData)->not()->toContain('visible-key'); +})->onlyIfContextSupported(); From 70761b25548361fa860d462589a8153333218ca1 Mon Sep 17 00:00:00 2001 From: freekmurze Date: Fri, 29 Mar 2024 08:48:12 +0000 Subject: [PATCH 04/13] Fix styling --- src/Ray.php | 1 - tests/Pest.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Ray.php b/src/Ray.php index 0c4a19c..b1331e2 100644 --- a/src/Ray.php +++ b/src/Ray.php @@ -38,7 +38,6 @@ use Spatie\LaravelRay\Watchers\Watcher; use Spatie\Ray\Client; use Spatie\Ray\Payloads\ExceptionPayload; -use Spatie\Ray\Payloads\LogPayload; use Spatie\Ray\Ray as BaseRay; use Spatie\Ray\Settings\Settings; use Throwable; diff --git a/tests/Pest.php b/tests/Pest.php index c4697db..efa4299 100644 --- a/tests/Pest.php +++ b/tests/Pest.php @@ -37,7 +37,7 @@ function assertMatchesOsSafeSnapshot($data): void function onlyIfContextSupported() { - if (!class_exists(Context::class)) { + if (! class_exists(Context::class)) { test()->skip('Context is not supported for this Laravel version'); } } From eddcb604ae6bba88d94e576f57e14fe393285f51 Mon Sep 17 00:00:00 2001 From: Freek Van der Herten Date: Fri, 29 Mar 2024 09:51:47 +0100 Subject: [PATCH 05/13] fix tests --- tests/Pest.php | 7 ++----- tests/Unit/ContextTest.php | 24 ++++++++++++++++++++---- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/tests/Pest.php b/tests/Pest.php index c4697db..1687b9f 100644 --- a/tests/Pest.php +++ b/tests/Pest.php @@ -34,10 +34,7 @@ function assertMatchesOsSafeSnapshot($data): void test()->expect($json)->toMatchJsonSnapshot(); } -function onlyIfContextSupported() +function contextSupported(): bool { - - if (!class_exists(Context::class)) { - test()->skip('Context is not supported for this Laravel version'); - } + return class_exists(Context::class); } diff --git a/tests/Unit/ContextTest.php b/tests/Unit/ContextTest.php index b724cd3..7c61878 100644 --- a/tests/Unit/ContextTest.php +++ b/tests/Unit/ContextTest.php @@ -5,6 +5,10 @@ use Illuminate\Support\Facades\Context; it('can send all context', function () { + if (! contextSupported()) { + return; + } + Context::add('key', 'value'); ray()->context(); @@ -16,10 +20,14 @@ $clipboardData = $requests[0]['payloads'][0]['content']['meta']['0']['clipboard_data']; expect($clipboardData)->toContain('key', 'value'); -})->onlyIfContextSupported(); +}); it('can send specific context keys variadic', function () { + if (! contextSupported()) { + return; + } + Context::add('key1', 'value1'); Context::add('key2', 'value2'); Context::add('key3', 'value3'); @@ -34,9 +42,13 @@ expect($clipboardData)->toContain('key1', 'key3'); expect($clipboardData)->not()->toContain('key2'); -})->onlyIfContextSupported(); +}); it('can send specific context keys using an array', function () { + if (! contextSupported()) { + return; + } + Context::add('key1', 'value1'); Context::add('key2', 'value2'); Context::add('key3', 'value3'); @@ -51,9 +63,13 @@ expect($clipboardData)->toContain('key1', 'key3'); expect($clipboardData)->not()->toContain('key2'); -})->onlyIfContextSupported(); +}); it('can send all hidden context', function () { + if (! contextSupported()) { + return; + } + Context::addHidden('hidden-key', 'hidden-value'); Context::add('visible-key', 'visible-value'); @@ -67,4 +83,4 @@ expect($clipboardData)->toContain('hidden-key'); expect($clipboardData)->not()->toContain('visible-key'); -})->onlyIfContextSupported(); +}); From 630e270bfc7a684cca987d869a93a0b70bb6b688 Mon Sep 17 00:00:00 2001 From: freekmurze Date: Fri, 29 Mar 2024 09:10:58 +0000 Subject: [PATCH 06/13] Update CHANGELOG --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae6ab7e..da1ebd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to `laravel-ray` will be documented in this file +## 1.36.0 - 2024-03-29 + +### What's Changed + +* Bump shivammathur/setup-php from 2.29.0 to 2.30.0 by @dependabot in https://github.com/spatie/laravel-ray/pull/334 +* Bump shivammathur/setup-php from 2.30.0 to 2.30.1 by @dependabot in https://github.com/spatie/laravel-ray/pull/335 +* Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 by @dependabot in https://github.com/spatie/laravel-ray/pull/336 +* Bump ramsey/composer-install from 2 to 3 by @dependabot in https://github.com/spatie/laravel-ray/pull/333 +* Support context by @freekmurze in https://github.com/spatie/laravel-ray/pull/337 + +**Full Changelog**: https://github.com/spatie/laravel-ray/compare/1.35.1...1.36.0 + ## 1.35.1 - 2024-02-13 **Full Changelog**: https://github.com/spatie/laravel-ray/compare/1.35.0...1.35.1 From f03956107ad6008149ea1800dbe80a223e196a6b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 23:25:33 +0000 Subject: [PATCH 07/13] Bump shivammathur/setup-php from 2.30.1 to 2.30.2 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.30.1 to 2.30.2. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.30.1...2.30.2) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/phpstan.yml | 2 +- .github/workflows/run-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 2116b96..62e0605 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup PHP - uses: shivammathur/setup-php@2.30.1 + uses: shivammathur/setup-php@2.30.2 with: php-version: 8.3 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 22b8371..676f9fc 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -54,7 +54,7 @@ jobs: uses: actions/checkout@v4 - name: Setup PHP - uses: shivammathur/setup-php@2.30.1 + uses: shivammathur/setup-php@2.30.2 with: php-version: ${{ matrix.php }} extensions: fileinfo, dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick From a6685e57e0e81f65bb93aafde4c0621fbf184863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Wed, 10 Apr 2024 17:36:31 +0200 Subject: [PATCH 08/13] Make implicit nullable param to explicit --- src/DumpRecorder/MultiDumpHandler.php | 2 +- src/Payloads/CachePayload.php | 2 +- src/Payloads/MailablePayload.php | 2 +- src/Ray.php | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/DumpRecorder/MultiDumpHandler.php b/src/DumpRecorder/MultiDumpHandler.php index dd341f3..93c08c6 100644 --- a/src/DumpRecorder/MultiDumpHandler.php +++ b/src/DumpRecorder/MultiDumpHandler.php @@ -14,7 +14,7 @@ public function dump($value) } } - public function addHandler(callable $callable = null): self + public function addHandler(?callable $callable = null): self { $this->handlers[] = $callable; diff --git a/src/Payloads/CachePayload.php b/src/Payloads/CachePayload.php index bcc92b3..c77adde 100644 --- a/src/Payloads/CachePayload.php +++ b/src/Payloads/CachePayload.php @@ -22,7 +22,7 @@ class CachePayload extends Payload /** @var int|null */ protected $expirationInSeconds; - public function __construct(string $type, string $key, $tags, $value = null, int $expirationInSeconds = null) + public function __construct(string $type, string $key, $tags, $value = null, ?int $expirationInSeconds = null) { $this->type = $type; diff --git a/src/Payloads/MailablePayload.php b/src/Payloads/MailablePayload.php index 69b7623..bc548e4 100644 --- a/src/Payloads/MailablePayload.php +++ b/src/Payloads/MailablePayload.php @@ -19,7 +19,7 @@ public static function forMailable(Mailable $mailable) return new self(self::renderMailable($mailable), $mailable); } - public function __construct(string $html, Mailable $mailable = null) + public function __construct(string $html, ?Mailable $mailable = null) { $this->html = $html; diff --git a/src/Ray.php b/src/Ray.php index b1331e2..7f4ac17 100644 --- a/src/Ray.php +++ b/src/Ray.php @@ -44,7 +44,7 @@ class Ray extends BaseRay { - public function __construct(Settings $settings, Client $client = null, string $uuid = null) + public function __construct(Settings $settings, ?Client $client = null, ?string $uuid = null) { // persist the enabled setting across multiple instantiations $enabled = static::$enabled; @@ -487,7 +487,7 @@ public function stopShowingHttpClientRequests(): self return $this; } - protected function handleWatcherCallable(Watcher $watcher, Closure $callable = null) + protected function handleWatcherCallable(Watcher $watcher, ?Closure $callable = null) { $rayProxy = new RayProxy(); From 36064e2475974d72fd98add005fb3487fa9f83fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Fri, 12 Apr 2024 11:40:05 +0200 Subject: [PATCH 09/13] Update branch alias for version 1.x Instead of having to update the branch alias for each release, the branch `main` can be an alias for all upcoming `1.x` versions. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4977457..18ff603 100644 --- a/composer.json +++ b/composer.json @@ -62,7 +62,7 @@ }, "extra": { "branch-alias": { - "dev-main": "1.29.x-dev" + "dev-main": "1.x-dev" }, "laravel": { "providers": [ From f26b4c9f072320c021091719fd03e1ff6f47bcba Mon Sep 17 00:00:00 2001 From: freekmurze Date: Fri, 12 Apr 2024 12:19:22 +0000 Subject: [PATCH 10/13] Update CHANGELOG --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index da1ebd4..84c11b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ All notable changes to `laravel-ray` will be documented in this file +## 1.36.1 - 2024-04-12 + +### What's Changed + +* Bump shivammathur/setup-php from 2.30.1 to 2.30.2 by @dependabot in https://github.com/spatie/laravel-ray/pull/338 +* Make implicit nullable param to explicit (PHP 8.4 compatibility) by @GromNaN in https://github.com/spatie/laravel-ray/pull/340 +* Update branch alias for version 1.x by @GromNaN in https://github.com/spatie/laravel-ray/pull/341 + +### New Contributors + +* @GromNaN made their first contribution in https://github.com/spatie/laravel-ray/pull/340 + +**Full Changelog**: https://github.com/spatie/laravel-ray/compare/1.36.0...1.36.1 + ## 1.36.0 - 2024-03-29 ### What's Changed From 9181e119f4fce6d2d6bada69d9496fecf2e0bc8f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 23:37:11 +0000 Subject: [PATCH 11/13] Bump shivammathur/setup-php from 2.30.2 to 2.30.3 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.30.2 to 2.30.3. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.30.2...2.30.3) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/phpstan.yml | 2 +- .github/workflows/run-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 62e0605..25060cf 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup PHP - uses: shivammathur/setup-php@2.30.2 + uses: shivammathur/setup-php@2.30.3 with: php-version: 8.3 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 676f9fc..44774d9 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -54,7 +54,7 @@ jobs: uses: actions/checkout@v4 - name: Setup PHP - uses: shivammathur/setup-php@2.30.2 + uses: shivammathur/setup-php@2.30.3 with: php-version: ${{ matrix.php }} extensions: fileinfo, dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick From 24c6f9a6bedd14b28a52c7ba2db430b3524ceeec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 23:46:55 +0000 Subject: [PATCH 12/13] Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.0.0 to 2.1.0. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/v2.0.0...v2.1.0) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index ecf4195..c09678f 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -13,7 +13,7 @@ jobs: - name: Dependabot metadata id: metadata - uses: dependabot/fetch-metadata@v2.0.0 + uses: dependabot/fetch-metadata@v2.1.0 with: github-token: "${{ secrets.GITHUB_TOKEN }}" compat-lookup: true From c7e8f2efef23500c55a1e28953d927d8cbe67a5c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 23:46:59 +0000 Subject: [PATCH 13/13] Bump shivammathur/setup-php from 2.30.3 to 2.30.4 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.30.3 to 2.30.4. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.30.3...2.30.4) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/phpstan.yml | 2 +- .github/workflows/run-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 25060cf..b4dce06 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup PHP - uses: shivammathur/setup-php@2.30.3 + uses: shivammathur/setup-php@2.30.4 with: php-version: 8.3 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 44774d9..15e2749 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -54,7 +54,7 @@ jobs: uses: actions/checkout@v4 - name: Setup PHP - uses: shivammathur/setup-php@2.30.3 + uses: shivammathur/setup-php@2.30.4 with: php-version: ${{ matrix.php }} extensions: fileinfo, dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick