diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 3552597d1..91d1330a6 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: shivammathur/setup-php@v2 with: - php-version: '8.4.1' + php-version: '8.5' tools: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, phpunit - uses: actions/checkout@v3 - name: Copy .env diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2bee8bb0d..6268a107a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: shivammathur/setup-php@v2 with: - php-version: '8.4.1' + php-version: '8.5' tools: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, phpunit - uses: actions/checkout@v3 - name: Copy .env diff --git a/.styleci.yml b/.styleci.yml index 54293f494..994a99c67 100644 --- a/.styleci.yml +++ b/.styleci.yml @@ -1,4 +1,4 @@ -version: 8.4.1 +version: 8.5 preset: laravel finder: not-name: diff --git a/app/Actions/Models/Wiki/BackfillSongAction.php b/app/Actions/Models/Wiki/BackfillSongAction.php index c1421cbac..b17fa970a 100644 --- a/app/Actions/Models/Wiki/BackfillSongAction.php +++ b/app/Actions/Models/Wiki/BackfillSongAction.php @@ -45,7 +45,7 @@ class BackfillSongAction extends BackfillAction $pattern = '/]*class="[^"]*music-service-list__link[^"]*js-redirect[^"]*"[^>]*href="([^"]+)"[^>]*data-label="([^"]*)"[^>]*>/i'; - preg_match_all($pattern, $response->body(), $matches); + preg_match_all($pattern, (string) $response->body(), $matches); foreach ($matches[1] as $key => $link) { $label = $matches[2][$key]; diff --git a/composer.json b/composer.json index 628e9ee1c..331a1e5eb 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "php": "^8.4", + "php": "^8.5", "ext-fileinfo": "*", "ext-gd": "*", "ext-intl": "*", @@ -32,15 +32,15 @@ "filament/filament": "^4.3.1", "flowframe/laravel-trend": ">=0.4", "guzzlehttp/guzzle": "^7.10.0", - "larastan/larastan": "^3.8.0", + "larastan/larastan": "^3.8.1", "laravel-notification-channels/discord": "^1.7", - "laravel/fortify": "^1.32.1", - "laravel/framework": "^12.42.0", - "laravel/horizon": "^5.40.2", + "laravel/fortify": "^1.33.0", + "laravel/framework": "^12.43.1", + "laravel/horizon": "^5.41.0", "laravel/pennant": "^1.18.5", - "laravel/pulse": "^1.4.6", + "laravel/pulse": "^1.4.7", "laravel/sanctum": "^4.2.1", - "laravel/scout": "^10.22.1", + "laravel/scout": "^10.23.0", "laravel/tinker": "^2.10.2", "league/flysystem-aws-s3-v3": "^3.30.1", "leandrocfe/filament-apex-charts": "^4.0.0", @@ -50,7 +50,7 @@ "propaganistas/laravel-disposable-email": "^2.4.21", "rebing/graphql-laravel": "^9.14", "spatie/db-dumper": "^3.8.2", - "spatie/laravel-permission": "^6.23.0", + "spatie/laravel-permission": "^6.24.0", "staudenmeir/belongs-to-through": "^2.17", "staudenmeir/eloquent-has-many-deep": "1.21.1", "staudenmeir/laravel-adjacency-list": "^1.25.2", @@ -59,12 +59,12 @@ "vinkla/hashids": "^13.0" }, "require-dev": { - "barryvdh/laravel-debugbar": "^3.16.1", - "driftingly/rector-laravel": "^2.1.6", + "barryvdh/laravel-debugbar": "^3.16.2", + "driftingly/rector-laravel": "^2.1.8", "laravel/pint": "^1.26.0", "laravel/sail": "^1.51.0", "mockery/mockery": "^1.6.12", - "pestphp/pest": "^4.1.6", + "pestphp/pest": "^4.2.0", "pestphp/pest-plugin-laravel": "^4.0", "predis/predis": "^2.4.1", "rector/rector": "^2.2.14" @@ -72,8 +72,8 @@ "config": { "optimize-autoloader": true, "platform": { - "ext-pcntl": "8.4", - "ext-posix": "8.4" + "ext-pcntl": "8.5", + "ext-posix": "8.5" }, "preferred-install": "dist", "sort-packages": true, diff --git a/composer.lock b/composer.lock index 8e2365f55..50977faf4 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "26a90a7bedd9a292ee086513a242d12d", + "content-hash": "fe54e1252239db559e1fdb2353202228", "packages": [ { "name": "anourvalar/eloquent-serialize", @@ -205,16 +205,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.366.4", + "version": "3.368.1", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "1861cc8eede21cdaab0732fd44f43f19ddf1effd" + "reference": "f7916ea27b5214fa1b4b6ecfa0c3f549b388a70c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/1861cc8eede21cdaab0732fd44f43f19ddf1effd", - "reference": "1861cc8eede21cdaab0732fd44f43f19ddf1effd", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/f7916ea27b5214fa1b4b6ecfa0c3f549b388a70c", + "reference": "f7916ea27b5214fa1b4b6ecfa0c3f549b388a70c", "shasum": "" }, "require": { @@ -296,9 +296,9 @@ "support": { "forum": "https://github.com/aws/aws-sdk-php/discussions", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.366.4" + "source": "https://github.com/aws/aws-sdk-php/tree/3.368.1" }, - "time": "2025-12-09T19:21:22+00:00" + "time": "2025-12-17T19:06:44+00:00" }, { "name": "babenkoivan/elastic-adapter", @@ -3281,16 +3281,16 @@ }, { "name": "kirschbaum-development/eloquent-power-joins", - "version": "4.2.10", + "version": "4.2.11", "source": { "type": "git", "url": "https://github.com/kirschbaum-development/eloquent-power-joins.git", - "reference": "ccda351a75701f5b0a6f94586d9a40f1114302b4" + "reference": "0e3e3372992e4bf82391b3c7b84b435c3db73588" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/ccda351a75701f5b0a6f94586d9a40f1114302b4", - "reference": "ccda351a75701f5b0a6f94586d9a40f1114302b4", + "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/0e3e3372992e4bf82391b3c7b84b435c3db73588", + "reference": "0e3e3372992e4bf82391b3c7b84b435c3db73588", "shasum": "" }, "require": { @@ -3338,9 +3338,9 @@ ], "support": { "issues": "https://github.com/kirschbaum-development/eloquent-power-joins/issues", - "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/4.2.10" + "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/4.2.11" }, - "time": "2025-11-13T14:57:49+00:00" + "time": "2025-12-17T00:37:48+00:00" }, { "name": "laragraph/utils", @@ -3402,16 +3402,16 @@ }, { "name": "larastan/larastan", - "version": "v3.8.0", + "version": "v3.8.1", "source": { "type": "git", "url": "https://github.com/larastan/larastan.git", - "reference": "d13ef96d652d1b2a8f34f1760ba6bf5b9c98112e" + "reference": "ff3725291bc4c7e6032b5a54776e3e5104c86db9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/larastan/larastan/zipball/d13ef96d652d1b2a8f34f1760ba6bf5b9c98112e", - "reference": "d13ef96d652d1b2a8f34f1760ba6bf5b9c98112e", + "url": "https://api.github.com/repos/larastan/larastan/zipball/ff3725291bc4c7e6032b5a54776e3e5104c86db9", + "reference": "ff3725291bc4c7e6032b5a54776e3e5104c86db9", "shasum": "" }, "require": { @@ -3425,7 +3425,7 @@ "illuminate/pipeline": "^11.44.2 || ^12.4.1", "illuminate/support": "^11.44.2 || ^12.4.1", "php": "^8.2", - "phpstan/phpstan": "^2.1.29" + "phpstan/phpstan": "^2.1.32" }, "require-dev": { "doctrine/coding-standard": "^13", @@ -3480,7 +3480,7 @@ ], "support": { "issues": "https://github.com/larastan/larastan/issues", - "source": "https://github.com/larastan/larastan/tree/v3.8.0" + "source": "https://github.com/larastan/larastan/tree/v3.8.1" }, "funding": [ { @@ -3488,7 +3488,7 @@ "type": "github" } ], - "time": "2025-10-27T23:09:14+00:00" + "time": "2025-12-11T16:37:35+00:00" }, { "name": "laravel-notification-channels/discord", @@ -3560,16 +3560,16 @@ }, { "name": "laravel/fortify", - "version": "v1.32.1", + "version": "v1.33.0", "source": { "type": "git", "url": "https://github.com/laravel/fortify.git", - "reference": "26db37ed915770e5f0f91f6b7e153d9b3e6c09e8" + "reference": "e0666dabeec0b6428678af1d51f436dcfb24e3a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/fortify/zipball/26db37ed915770e5f0f91f6b7e153d9b3e6c09e8", - "reference": "26db37ed915770e5f0f91f6b7e153d9b3e6c09e8", + "url": "https://api.github.com/repos/laravel/fortify/zipball/e0666dabeec0b6428678af1d51f436dcfb24e3a9", + "reference": "e0666dabeec0b6428678af1d51f436dcfb24e3a9", "shasum": "" }, "require": { @@ -3619,20 +3619,20 @@ "issues": "https://github.com/laravel/fortify/issues", "source": "https://github.com/laravel/fortify" }, - "time": "2025-11-21T01:53:28+00:00" + "time": "2025-12-15T14:48:33+00:00" }, { "name": "laravel/framework", - "version": "v12.42.0", + "version": "v12.43.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "509b33095564c5165366d81bbaa0afaac28abe75" + "reference": "195b893593a9298edee177c0844132ebaa02102f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/509b33095564c5165366d81bbaa0afaac28abe75", - "reference": "509b33095564c5165366d81bbaa0afaac28abe75", + "url": "https://api.github.com/repos/laravel/framework/zipball/195b893593a9298edee177c0844132ebaa02102f", + "reference": "195b893593a9298edee177c0844132ebaa02102f", "shasum": "" }, "require": { @@ -3841,20 +3841,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2025-12-09T15:51:23+00:00" + "time": "2025-12-16T18:53:08+00:00" }, { "name": "laravel/horizon", - "version": "v5.40.2", + "version": "v5.41.0", "source": { "type": "git", "url": "https://github.com/laravel/horizon.git", - "reference": "005e5638478db9e25f7ae5cfb30c56846fbad793" + "reference": "eb6738246ab9d3450b705126b9794dfb0ea371b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/horizon/zipball/005e5638478db9e25f7ae5cfb30c56846fbad793", - "reference": "005e5638478db9e25f7ae5cfb30c56846fbad793", + "url": "https://api.github.com/repos/laravel/horizon/zipball/eb6738246ab9d3450b705126b9794dfb0ea371b3", + "reference": "eb6738246ab9d3450b705126b9794dfb0ea371b3", "shasum": "" }, "require": { @@ -3918,9 +3918,9 @@ ], "support": { "issues": "https://github.com/laravel/horizon/issues", - "source": "https://github.com/laravel/horizon/tree/v5.40.2" + "source": "https://github.com/laravel/horizon/tree/v5.41.0" }, - "time": "2025-11-28T20:12:12+00:00" + "time": "2025-12-14T15:55:28+00:00" }, { "name": "laravel/pennant", @@ -4059,16 +4059,16 @@ }, { "name": "laravel/pulse", - "version": "v1.4.6", + "version": "v1.4.7", "source": { "type": "git", "url": "https://github.com/laravel/pulse.git", - "reference": "d6b7de0b74376201ff35aad5ad2cfde1451f9654" + "reference": "7ace3d198283586f8dfaceb4dbe4045ee1affc21" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pulse/zipball/d6b7de0b74376201ff35aad5ad2cfde1451f9654", - "reference": "d6b7de0b74376201ff35aad5ad2cfde1451f9654", + "url": "https://api.github.com/repos/laravel/pulse/zipball/7ace3d198283586f8dfaceb4dbe4045ee1affc21", + "reference": "7ace3d198283586f8dfaceb4dbe4045ee1affc21", "shasum": "" }, "require": { @@ -4142,7 +4142,7 @@ "issues": "https://github.com/laravel/pulse/issues", "source": "https://github.com/laravel/pulse" }, - "time": "2025-12-08T15:52:47+00:00" + "time": "2025-12-16T15:02:29+00:00" }, { "name": "laravel/sanctum", @@ -4209,16 +4209,16 @@ }, { "name": "laravel/scout", - "version": "v10.22.1", + "version": "v10.23.0", "source": { "type": "git", "url": "https://github.com/laravel/scout.git", - "reference": "13ed8e0eeaddd894bf360b85cb873980de19dbaf" + "reference": "fb6d94cfc5708e4202dc00d46e61af0b9f35b03c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/scout/zipball/13ed8e0eeaddd894bf360b85cb873980de19dbaf", - "reference": "13ed8e0eeaddd894bf360b85cb873980de19dbaf", + "url": "https://api.github.com/repos/laravel/scout/zipball/fb6d94cfc5708e4202dc00d46e61af0b9f35b03c", + "reference": "fb6d94cfc5708e4202dc00d46e61af0b9f35b03c", "shasum": "" }, "require": { @@ -4285,7 +4285,7 @@ "issues": "https://github.com/laravel/scout/issues", "source": "https://github.com/laravel/scout" }, - "time": "2025-11-25T15:19:35+00:00" + "time": "2025-12-16T15:43:03+00:00" }, { "name": "laravel/serializable-closure", @@ -5281,16 +5281,16 @@ }, { "name": "livewire/livewire", - "version": "v3.7.1", + "version": "v3.7.2", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "214da8f3a1199a88b56ab2fe901d4a607f784805" + "reference": "b13a1e50aad156d382815c64e6c7da4a4fd08407" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/214da8f3a1199a88b56ab2fe901d4a607f784805", - "reference": "214da8f3a1199a88b56ab2fe901d4a607f784805", + "url": "https://api.github.com/repos/livewire/livewire/zipball/b13a1e50aad156d382815c64e6c7da4a4fd08407", + "reference": "b13a1e50aad156d382815c64e6c7da4a4fd08407", "shasum": "" }, "require": { @@ -5345,7 +5345,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v3.7.1" + "source": "https://github.com/livewire/livewire/tree/v3.7.2" }, "funding": [ { @@ -5353,7 +5353,7 @@ "type": "github" } ], - "time": "2025-12-03T22:41:13+00:00" + "time": "2025-12-17T01:53:59+00:00" }, { "name": "masterminds/html5", @@ -7490,16 +7490,16 @@ }, { "name": "psy/psysh", - "version": "v0.12.16", + "version": "v0.12.18", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "ee6d5028be4774f56c6c2c85ec4e6bc9acfe6b67" + "reference": "ddff0ac01beddc251786fe70367cd8bbdb258196" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/ee6d5028be4774f56c6c2c85ec4e6bc9acfe6b67", - "reference": "ee6d5028be4774f56c6c2c85ec4e6bc9acfe6b67", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/ddff0ac01beddc251786fe70367cd8bbdb258196", + "reference": "ddff0ac01beddc251786fe70367cd8bbdb258196", "shasum": "" }, "require": { @@ -7563,9 +7563,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.12.16" + "source": "https://github.com/bobthecow/psysh/tree/v0.12.18" }, - "time": "2025-12-07T03:39:01+00:00" + "time": "2025-12-17T14:35:46+00:00" }, { "name": "ralouphie/getallheaders", @@ -7689,20 +7689,20 @@ }, { "name": "ramsey/uuid", - "version": "4.9.1", + "version": "4.9.2", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440" + "reference": "8429c78ca35a09f27565311b98101e2826affde0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/81f941f6f729b1e3ceea61d9d014f8b6c6800440", - "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/8429c78ca35a09f27565311b98101e2826affde0", + "reference": "8429c78ca35a09f27565311b98101e2826affde0", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14", + "brick/math": "^0.8.16 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" }, @@ -7761,9 +7761,9 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.9.1" + "source": "https://github.com/ramsey/uuid/tree/4.9.2" }, - "time": "2025-09-04T20:59:21+00:00" + "time": "2025-12-14T04:43:48+00:00" }, { "name": "rebing/graphql-laravel", @@ -8216,16 +8216,16 @@ }, { "name": "spatie/laravel-permission", - "version": "6.23.0", + "version": "6.24.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-permission.git", - "reference": "9e41247bd512b1e6c229afbc1eb528f7565ae3bb" + "reference": "76adb1fc8d07c16a0721c35c4cc330b7a12598d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/9e41247bd512b1e6c229afbc1eb528f7565ae3bb", - "reference": "9e41247bd512b1e6c229afbc1eb528f7565ae3bb", + "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/76adb1fc8d07c16a0721c35c4cc330b7a12598d7", + "reference": "76adb1fc8d07c16a0721c35c4cc330b7a12598d7", "shasum": "" }, "require": { @@ -8287,7 +8287,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-permission/issues", - "source": "https://github.com/spatie/laravel-permission/tree/6.23.0" + "source": "https://github.com/spatie/laravel-permission/tree/6.24.0" }, "funding": [ { @@ -8295,7 +8295,7 @@ "type": "github" } ], - "time": "2025-11-03T20:16:13+00:00" + "time": "2025-12-13T21:45:21+00:00" }, { "name": "spatie/regex", @@ -8908,20 +8908,20 @@ }, { "name": "symfony/css-selector", - "version": "v7.4.0", + "version": "v8.0.0", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "ab862f478513e7ca2fe9ec117a6f01a8da6e1135" + "reference": "6225bd458c53ecdee056214cb4a2ffaf58bd592b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/ab862f478513e7ca2fe9ec117a6f01a8da6e1135", - "reference": "ab862f478513e7ca2fe9ec117a6f01a8da6e1135", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/6225bd458c53ecdee056214cb4a2ffaf58bd592b", + "reference": "6225bd458c53ecdee056214cb4a2ffaf58bd592b", "shasum": "" }, "require": { - "php": ">=8.2" + "php": ">=8.4" }, "type": "library", "autoload": { @@ -8953,7 +8953,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v7.4.0" + "source": "https://github.com/symfony/css-selector/tree/v8.0.0" }, "funding": [ { @@ -8973,7 +8973,7 @@ "type": "tidelift" } ], - "time": "2025-10-30T13:39:42+00:00" + "time": "2025-10-30T14:17:19+00:00" }, { "name": "symfony/deprecation-contracts", @@ -11886,23 +11886,23 @@ }, { "name": "tijsverkoyen/css-to-inline-styles", - "version": "v2.3.0", + "version": "v2.4.0", "source": { "type": "git", "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", - "reference": "0d72ac1c00084279c1816675284073c5a337c20d" + "reference": "f0292ccf0ec75843d65027214426b6b163b48b41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/0d72ac1c00084279c1816675284073c5a337c20d", - "reference": "0d72ac1c00084279c1816675284073c5a337c20d", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/f0292ccf0ec75843d65027214426b6b163b48b41", + "reference": "f0292ccf0ec75843d65027214426b6b163b48b41", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "php": "^7.4 || ^8.0", - "symfony/css-selector": "^5.4 || ^6.0 || ^7.0" + "symfony/css-selector": "^5.4 || ^6.0 || ^7.0 || ^8.0" }, "require-dev": { "phpstan/phpstan": "^2.0", @@ -11935,9 +11935,9 @@ "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", "support": { "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", - "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.3.0" + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.4.0" }, - "time": "2024-12-21T16:25:41+00:00" + "time": "2025-12-02T11:56:42+00:00" }, { "name": "ueberdosis/tiptap-php", @@ -12235,16 +12235,16 @@ }, { "name": "webonyx/graphql-php", - "version": "v15.27.2", + "version": "v15.28.0", "source": { "type": "git", "url": "https://github.com/webonyx/graphql-php.git", - "reference": "7fc996bb201ce3bf1d803b8e0336e8f2beb029e9" + "reference": "7eda5ab49f1f5e847e5c1a477b6b1b18a8fa2302" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webonyx/graphql-php/zipball/7fc996bb201ce3bf1d803b8e0336e8f2beb029e9", - "reference": "7fc996bb201ce3bf1d803b8e0336e8f2beb029e9", + "url": "https://api.github.com/repos/webonyx/graphql-php/zipball/7eda5ab49f1f5e847e5c1a477b6b1b18a8fa2302", + "reference": "7eda5ab49f1f5e847e5c1a477b6b1b18a8fa2302", "shasum": "" }, "require": { @@ -12257,7 +12257,7 @@ "amphp/http-server": "^2.1", "dms/phpunit-arraysubset-asserts": "dev-master", "ergebnis/composer-normalize": "^2.28", - "friendsofphp/php-cs-fixer": "3.91.3", + "friendsofphp/php-cs-fixer": "3.92.0", "mll-lab/php-cs-fixer-config": "5.11.0", "nyholm/psr7": "^1.5", "phpbench/phpbench": "^1.2", @@ -12298,7 +12298,7 @@ ], "support": { "issues": "https://github.com/webonyx/graphql-php/issues", - "source": "https://github.com/webonyx/graphql-php/tree/v15.27.2" + "source": "https://github.com/webonyx/graphql-php/tree/v15.28.0" }, "funding": [ { @@ -12306,22 +12306,22 @@ "type": "open_collective" } ], - "time": "2025-12-09T07:30:56+00:00" + "time": "2025-12-15T09:49:09+00:00" } ], "packages-dev": [ { "name": "barryvdh/laravel-debugbar", - "version": "v3.16.1", + "version": "v3.16.2", "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-debugbar.git", - "reference": "21b2c6fce05453efd4bceb34f9fddaa1cdb44090" + "reference": "730dbf8bf41f5691e026dd771e64dd54ad1b10b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/21b2c6fce05453efd4bceb34f9fddaa1cdb44090", - "reference": "21b2c6fce05453efd4bceb34f9fddaa1cdb44090", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/730dbf8bf41f5691e026dd771e64dd54ad1b10b3", + "reference": "730dbf8bf41f5691e026dd771e64dd54ad1b10b3", "shasum": "" }, "require": { @@ -12381,7 +12381,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-debugbar/issues", - "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.16.1" + "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.16.2" }, "funding": [ { @@ -12393,20 +12393,20 @@ "type": "github" } ], - "time": "2025-11-19T08:31:25+00:00" + "time": "2025-12-03T14:52:46+00:00" }, { "name": "brianium/paratest", - "version": "v7.15.0", + "version": "v7.16.0", "source": { "type": "git", "url": "https://github.com/paratestphp/paratest.git", - "reference": "272ff9d59b2ed0bd97c86c3cfe97c9784dabf786" + "reference": "a10878ed0fe0bbc2f57c980f7a08065338b970b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paratestphp/paratest/zipball/272ff9d59b2ed0bd97c86c3cfe97c9784dabf786", - "reference": "272ff9d59b2ed0bd97c86c3cfe97c9784dabf786", + "url": "https://api.github.com/repos/paratestphp/paratest/zipball/a10878ed0fe0bbc2f57c980f7a08065338b970b6", + "reference": "a10878ed0fe0bbc2f57c980f7a08065338b970b6", "shasum": "" }, "require": { @@ -12417,10 +12417,10 @@ "fidry/cpu-core-counter": "^1.3.0", "jean85/pretty-package-versions": "^2.1.1", "php": "~8.3.0 || ~8.4.0 || ~8.5.0", - "phpunit/php-code-coverage": "^12.5.0", + "phpunit/php-code-coverage": "^12.5.1", "phpunit/php-file-iterator": "^6", "phpunit/php-timer": "^8", - "phpunit/phpunit": "^12.4.4", + "phpunit/phpunit": "^12.5.2", "sebastian/environment": "^8.0.3", "symfony/console": "^7.3.4 || ^8.0.0", "symfony/process": "^7.3.4 || ^8.0.0" @@ -12430,9 +12430,9 @@ "ext-pcntl": "*", "ext-pcov": "*", "ext-posix": "*", - "phpstan/phpstan": "^2.1.32", + "phpstan/phpstan": "^2.1.33", "phpstan/phpstan-deprecation-rules": "^2.0.3", - "phpstan/phpstan-phpunit": "^2.0.8", + "phpstan/phpstan-phpunit": "^2.0.10", "phpstan/phpstan-strict-rules": "^2.0.7", "symfony/filesystem": "^7.3.2 || ^8.0.0" }, @@ -12474,7 +12474,7 @@ ], "support": { "issues": "https://github.com/paratestphp/paratest/issues", - "source": "https://github.com/paratestphp/paratest/tree/v7.15.0" + "source": "https://github.com/paratestphp/paratest/tree/v7.16.0" }, "funding": [ { @@ -12486,7 +12486,7 @@ "type": "paypal" } ], - "time": "2025-11-30T08:08:11+00:00" + "time": "2025-12-09T20:03:26+00:00" }, { "name": "doctrine/deprecations", @@ -12538,16 +12538,16 @@ }, { "name": "driftingly/rector-laravel", - "version": "2.1.6", + "version": "2.1.8", "source": { "type": "git", "url": "https://github.com/driftingly/rector-laravel.git", - "reference": "682d1e73ac79aced7e645141fd61a9ac468a0c44" + "reference": "5c5f97354e562b6742b2b7989959061bde60fa71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/driftingly/rector-laravel/zipball/682d1e73ac79aced7e645141fd61a9ac468a0c44", - "reference": "682d1e73ac79aced7e645141fd61a9ac468a0c44", + "url": "https://api.github.com/repos/driftingly/rector-laravel/zipball/5c5f97354e562b6742b2b7989959061bde60fa71", + "reference": "5c5f97354e562b6742b2b7989959061bde60fa71", "shasum": "" }, "require": { @@ -12568,9 +12568,9 @@ "description": "Rector upgrades rules for Laravel Framework", "support": { "issues": "https://github.com/driftingly/rector-laravel/issues", - "source": "https://github.com/driftingly/rector-laravel/tree/2.1.6" + "source": "https://github.com/driftingly/rector-laravel/tree/2.1.8" }, - "time": "2025-12-04T13:37:33+00:00" + "time": "2025-12-17T15:29:24+00:00" }, { "name": "fidry/cpu-core-counter", @@ -13189,33 +13189,33 @@ }, { "name": "pestphp/pest", - "version": "v4.1.6", + "version": "v4.2.0", "source": { "type": "git", "url": "https://github.com/pestphp/pest.git", - "reference": "ae419afd363299c29ad5b17e8b70d118b1068bb4" + "reference": "7c43c1c5834435ed9f4ad635e9cb1f0064f876bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/ae419afd363299c29ad5b17e8b70d118b1068bb4", - "reference": "ae419afd363299c29ad5b17e8b70d118b1068bb4", + "url": "https://api.github.com/repos/pestphp/pest/zipball/7c43c1c5834435ed9f4ad635e9cb1f0064f876bd", + "reference": "7c43c1c5834435ed9f4ad635e9cb1f0064f876bd", "shasum": "" }, "require": { - "brianium/paratest": "^7.14.2", + "brianium/paratest": "^7.16.0", "nunomaduro/collision": "^8.8.3", "nunomaduro/termwind": "^2.3.3", "pestphp/pest-plugin": "^4.0.0", "pestphp/pest-plugin-arch": "^4.0.0", "pestphp/pest-plugin-mutate": "^4.0.1", - "pestphp/pest-plugin-profanity": "^4.2.0", + "pestphp/pest-plugin-profanity": "^4.2.1", "php": "^8.3.0", - "phpunit/phpunit": "^12.4.4", + "phpunit/phpunit": "^12.5.3", "symfony/process": "^7.4.0|^8.0.0" }, "conflict": { "filp/whoops": "<2.18.3", - "phpunit/phpunit": ">12.4.4", + "phpunit/phpunit": ">12.5.3", "sebastian/exporter": "<7.0.0", "webmozart/assert": "<1.11.0" }, @@ -13223,7 +13223,7 @@ "pestphp/pest-dev-tools": "^4.0.0", "pestphp/pest-plugin-browser": "^4.1.1", "pestphp/pest-plugin-type-coverage": "^4.0.3", - "psy/psysh": "^0.12.15" + "psy/psysh": "^0.12.17" }, "bin": [ "bin/pest" @@ -13289,7 +13289,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v4.1.6" + "source": "https://github.com/pestphp/pest/tree/v4.2.0" }, "funding": [ { @@ -13301,7 +13301,7 @@ "type": "github" } ], - "time": "2025-11-28T12:04:48+00:00" + "time": "2025-12-15T11:49:28+00:00" }, { "name": "pestphp/pest-plugin", @@ -14398,16 +14398,16 @@ }, { "name": "phpunit/phpunit", - "version": "12.4.4", + "version": "12.5.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "9253ec75a672e39fcc9d85bdb61448215b8162c7" + "reference": "6dc2e076d09960efbb0c1272aa9bc156fc80955e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9253ec75a672e39fcc9d85bdb61448215b8162c7", - "reference": "9253ec75a672e39fcc9d85bdb61448215b8162c7", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6dc2e076d09960efbb0c1272aa9bc156fc80955e", + "reference": "6dc2e076d09960efbb0c1272aa9bc156fc80955e", "shasum": "" }, "require": { @@ -14421,7 +14421,7 @@ "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=8.3", - "phpunit/php-code-coverage": "^12.4.0", + "phpunit/php-code-coverage": "^12.5.1", "phpunit/php-file-iterator": "^6.0.0", "phpunit/php-invoker": "^6.0.0", "phpunit/php-text-template": "^5.0.0", @@ -14443,7 +14443,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "12.4-dev" + "dev-main": "12.5-dev" } }, "autoload": { @@ -14475,7 +14475,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/12.4.4" + "source": "https://github.com/sebastianbergmann/phpunit/tree/12.5.3" }, "funding": [ { @@ -14499,7 +14499,7 @@ "type": "tidelift" } ], - "time": "2025-11-21T07:39:11+00:00" + "time": "2025-12-11T08:52:59+00:00" }, { "name": "predis/predis", @@ -15822,7 +15822,7 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "^8.4", + "php": "^8.5", "ext-fileinfo": "*", "ext-gd": "*", "ext-intl": "*", diff --git a/config/database.php b/config/database.php index 7256a376c..a56548073 100644 --- a/config/database.php +++ b/config/database.php @@ -3,6 +3,7 @@ declare(strict_types=1); use Illuminate\Support\Str; +use Pdo\Mysql; return [ @@ -76,7 +77,7 @@ return [ 'strict' => true, 'engine' => null, 'options' => extension_loaded('pdo_mysql') ? array_filter([ - PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + Mysql::ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), ]) : [], ], @@ -96,7 +97,7 @@ return [ 'strict' => true, 'engine' => null, 'options' => extension_loaded('pdo_mysql') ? array_filter([ - PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + Mysql::ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), ]) : [], ], diff --git a/rector.php b/rector.php index 654f95dde..edb39e280 100644 --- a/rector.php +++ b/rector.php @@ -3,7 +3,8 @@ declare(strict_types=1); use Rector\Caching\ValueObject\Storage\FileCacheStorage; -use Rector\CodingStyle\Rector\FunctionLike\FunctionLikeToFirstClassCallableRector; +use Rector\CodingStyle\Rector\ArrowFunction\ArrowFunctionDelegatingCallToFirstClassCallableRector; +use Rector\CodingStyle\Rector\Closure\ClosureDelegatingCallToFirstClassCallableRector; use Rector\Config\RectorConfig; use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector; use Rector\Strict\Rector\Empty_\DisallowedEmptyRuleFixerRector; @@ -53,7 +54,8 @@ return RectorConfig::configure() DisallowedEmptyRuleFixerRector::class, DispatchToHelperFunctionsRector::class, ConvertEnumerableToArrayToAllRector::class, - FunctionLikeToFirstClassCallableRector::class, + ArrowFunctionDelegatingCallToFirstClassCallableRector::class, + ClosureDelegatingCallToFirstClassCallableRector::class, ]) ->withPreparedSets( deadCode: true,