From 98696fa7c181d4f2bf4d346fe17cf62c22998992 Mon Sep 17 00:00:00 2001 From: Dan Harrin Date: Tue, 13 Jun 2023 01:01:19 +0100 Subject: [PATCH] Various other upgrades --- composer.json | 23 +- composer.lock | 1519 +++++++++-------- .../app/resources/views/layouts/app.blade.php | 2 - packages/actions/composer.json | 2 - .../views/components/modals.blade.php | 45 +- .../resources/views/select-action.blade.php | 2 +- .../src/Concerns/InteractsWithActions.php | 19 +- packages/actions/src/Testing/TestsActions.php | 15 +- packages/forms/composer.json | 2 - packages/forms/dist/components/text-input.js | 2 +- .../forms/docs/03-fields/09-file-upload.md | 2 +- packages/forms/docs/03-fields/19-custom.md | 8 +- .../views/components/affixes.blade.php | 16 +- .../components/date-time-picker.blade.php | 4 +- .../views/components/rich-editor.blade.php | 4 +- .../views/components/select.blade.php | 2 +- .../views/components/text-input.blade.php | 4 +- .../forms/src/Components/BaseFileUpload.php | 2 +- .../Concerns/HasFileAttachments.php | 2 +- .../Contracts/HasFileAttachments.php | 2 +- packages/forms/src/Components/Select.php | 5 +- packages/forms/src/Components/Wizard.php | 4 +- .../src/Concerns/HasFormComponentActions.php | 27 +- .../src/Concerns/HasStateBindingModifiers.php | 17 +- .../forms/src/Concerns/InteractsWithForms.php | 18 +- packages/forms/src/Contracts/HasForms.php | 5 +- packages/forms/stubs/FieldView.stub | 2 +- packages/infolists/composer.json | 1 - .../src/Concerns/InteractsWithInfolists.php | 15 +- packages/notifications/composer.json | 2 - .../Http/Livewire/DatabaseNotifications.php | 4 +- .../src/NotificationsServiceProvider.php | 34 +- packages/panels/composer.json | 1 - packages/panels/dist/index.js | 18 +- packages/panels/resources/js/index.js | 6 - .../components/global-search/input.blade.php | 2 +- .../Auth/EmailVerificationResponse.php | 2 +- .../src/Http/Responses/Auth/LoginResponse.php | 2 +- .../Responses/Auth/PasswordResetResponse.php | 2 +- .../Responses/Auth/RegistrationResponse.php | 2 +- .../Auth/PasswordReset/ResetPassword.php | 24 +- .../Pages/Concerns/InteractsWithRecord.php | 13 +- .../panels/src/Resources/Pages/EditRecord.php | 7 - .../SpatieMediaLibraryFileUpload.php | 2 +- packages/support/composer.json | 3 +- packages/support/dist/index.js | 12 +- packages/support/resources/js/index.js | 2 - packages/support/src/Assets/Js.php | 2 +- .../support/src/Commands/UpgradeCommand.php | 2 - packages/tables/composer.json | 2 - packages/tables/dist/index.js | 2 +- .../docs/03-columns/01-getting-started.md | 8 +- packages/tables/resources/js/index.js | 5 - .../views/components/groups.blade.php | 4 +- .../records-per-page-selector.blade.php | 2 +- .../views/components/search-input.blade.php | 2 +- .../tables/resources/views/index.blade.php | 4 +- .../src/Concerns/CanPaginateRecords.php | 2 +- packages/tables/src/Concerns/HasActions.php | 15 +- .../tables/src/Concerns/HasBulkActions.php | 13 +- packages/tables/src/Testing/TestsActions.php | 15 +- .../tables/src/Testing/TestsBulkActions.php | 15 +- packages/tables/src/Testing/TestsRecords.php | 7 +- packages/widgets/composer.json | 2 - .../resources/views/chart-widget.blade.php | 2 +- packages/widgets/src/ChartWidget.php | 8 +- .../actions/fixtures/pages/actions.blade.php | 1 + .../app/fixtures/pages/settings.blade.php | 1 + .../views/forms/fixtures/form.blade.php | 1 + tests/src/Actions/ActionTest.php | 12 +- tests/src/Actions/Fixtures/Pages/Actions.php | 8 +- tests/src/Forms/Fixtures/Livewire.php | 5 + tests/src/Forms/FormsTest.php | 6 + tests/src/Forms/StateTest.php | 4 +- tests/src/Notifications/NotificationTest.php | 11 +- .../EmailVerificationPromptTest.php | 4 +- tests/src/Panels/Auth/LoginTest.php | 4 +- .../RequestPasswordResetTest.php | 4 +- .../Auth/PasswordReset/ResetPasswordTest.php | 44 +- tests/src/Panels/Auth/RegisterTest.php | 4 +- .../Panels/GlobalSearch/GlobalSearchTest.php | 11 +- tests/src/Panels/Pages/PageTest.php | 6 +- .../Resources/Pages/CreateRecordTest.php | 4 +- .../Panels/Resources/Pages/EditRecordTest.php | 7 +- .../Resources/Pages/ListRecordsTest.php | 8 +- .../Panels/Resources/Pages/ViewRecordTest.php | 7 +- tests/src/Tables/ActionTest.php | 8 +- tests/src/Tables/BulkActionTest.php | 8 +- tests/src/Tables/ColumnTest.php | 4 +- tests/src/Tables/Fixtures/PostsTable.php | 16 +- 90 files changed, 1120 insertions(+), 1089 deletions(-) diff --git a/composer.json b/composer.json index b111fa9a89..f9e0024b5f 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,6 @@ }, "require-dev": { "akaunting/laravel-money": "^1.2|^2.0|^3.0|^4.0", - "blade-ui-kit/blade-heroicons": "^2.0", "danharrin/livewire-rate-limiting": "^0.3|^1.0", "doctrine/dbal": "^3.2", "filament/support": "*", @@ -20,24 +19,18 @@ "nunomaduro/larastan": "^2.2", "nunomaduro/termwind": "^1.0", "orchestra/testbench": "^7.0|^8.0", - "pestphp/pest": "^1.17", - "pestphp/pest-plugin-laravel": "^1.0", - "pestphp/pest-plugin-livewire": "^1.0", - "pestphp/pest-plugin-parallel": "^0.3", + "pestphp/pest": "^2.0", + "pestphp/pest-plugin-laravel": "^2.0", + "pestphp/pest-plugin-livewire": "*", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^1.8", "rector/rector": "^0.15", - "ryangjchandler/blade-capture-directive": "^0.2|^0.3", - "spatie/color": "^1.5", - "spatie/invade": "^1.0", "spatie/laravel-medialibrary": "^9.11|^10.0", - "spatie/laravel-package-tools": "^1.9", "spatie/laravel-ray": "^1.29", "spatie/laravel-tags": "^4.2", "staudenmeir/belongs-to-through": "^2.5", "staudenmeir/eloquent-has-many-deep": "^1.7", - "symplify/monorepo-builder": "^10.0", - "tgalopin/html-sanitizer": "^1.5" + "symplify/monorepo-builder": "^10.0" }, "autoload": { "files": [ @@ -89,6 +82,14 @@ { "type": "path", "url": "packages/support" + }, + { + "type": "path", + "url": "../../livewire3" + }, + { + "type": "path", + "url": "../../pest-plugin-livewire" } ] } diff --git a/composer.lock b/composer.lock index b0b2468d58..f7ddacd27e 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": "ae6cb76b5cd1d6a69cd3abdab2b911a6", + "content-hash": "266884d1397b42cb03c49f3d3da6d57a", "packages": [], "packages-dev": [ { @@ -132,16 +132,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.271.8", + "version": "3.272.2", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "46250f9947768c102052a6650a0a09405e77ee0a" + "reference": "0c4cba74c79f9b44393c27721fa1fa9138c95387" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/46250f9947768c102052a6650a0a09405e77ee0a", - "reference": "46250f9947768c102052a6650a0a09405e77ee0a", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/0c4cba74c79f9b44393c27721fa1fa9138c95387", + "reference": "0c4cba74c79f9b44393c27721fa1fa9138c95387", "shasum": "" }, "require": { @@ -221,9 +221,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.271.8" + "source": "https://github.com/aws/aws-sdk-php/tree/3.272.2" }, - "time": "2023-06-05T18:20:21+00:00" + "time": "2023-06-12T18:21:59+00:00" }, { "name": "blade-ui-kit/blade-heroicons", @@ -296,16 +296,16 @@ }, { "name": "blade-ui-kit/blade-icons", - "version": "1.5.1", + "version": "1.5.2", "source": { "type": "git", "url": "https://github.com/blade-ui-kit/blade-icons.git", - "reference": "b2a80ff2a26641f64bfee48ad0d2a922ce781228" + "reference": "4d6b6b2548b1994a777211a985e18691701891e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/blade-ui-kit/blade-icons/zipball/b2a80ff2a26641f64bfee48ad0d2a922ce781228", - "reference": "b2a80ff2a26641f64bfee48ad0d2a922ce781228", + "url": "https://api.github.com/repos/blade-ui-kit/blade-icons/zipball/4d6b6b2548b1994a777211a985e18691701891e4", + "reference": "4d6b6b2548b1994a777211a985e18691701891e4", "shasum": "" }, "require": { @@ -365,28 +365,24 @@ }, "funding": [ { - "url": "https://github.com/caneco", - "type": "github" - }, - { - "url": "https://github.com/driesvints", + "url": "https://github.com/sponsors/driesvints", "type": "github" } ], - "time": "2023-02-15T16:30:12+00:00" + "time": "2023-06-09T15:47:26+00:00" }, { "name": "brianium/paratest", - "version": "v6.10.0", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/paratestphp/paratest.git", - "reference": "c2243b20bcd99c3f651018d1447144372f39b4fa" + "reference": "153e68eb9e697baa3acf1db1d8ae1d1eb19fb816" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paratestphp/paratest/zipball/c2243b20bcd99c3f651018d1447144372f39b4fa", - "reference": "c2243b20bcd99c3f651018d1447144372f39b4fa", + "url": "https://api.github.com/repos/paratestphp/paratest/zipball/153e68eb9e697baa3acf1db1d8ae1d1eb19fb816", + "reference": "153e68eb9e697baa3acf1db1d8ae1d1eb19fb816", "shasum": "" }, "require": { @@ -396,23 +392,26 @@ "ext-simplexml": "*", "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1", "jean85/pretty-package-versions": "^2.0.5", - "php": "^7.3 || ^8.0", - "phpunit/php-code-coverage": "^9.2.25", - "phpunit/php-file-iterator": "^3.0.6", - "phpunit/php-timer": "^5.0.3", - "phpunit/phpunit": "^9.6.4", - "sebastian/environment": "^5.1.5", - "symfony/console": "^5.4.21 || ^6.2.7", - "symfony/process": "^5.4.21 || ^6.2.7" + "php": "~8.1.0 || ~8.2.0", + "phpunit/php-code-coverage": "^10.1.1", + "phpunit/php-file-iterator": "^4.0.1", + "phpunit/php-timer": "^6.0", + "phpunit/phpunit": "^10.1.2", + "sebastian/environment": "^6.0.1", + "symfony/console": "^6.2.10", + "symfony/process": "^6.2.10" }, "require-dev": { - "doctrine/coding-standard": "^10.0.0", + "doctrine/coding-standard": "^12.0.0", "ext-pcov": "*", "ext-posix": "*", - "infection/infection": "^0.26.19", + "infection/infection": "^0.26.21", + "phpstan/phpstan": "^1.10.14", + "phpstan/phpstan-deprecation-rules": "^1.1.3", + "phpstan/phpstan-phpunit": "^1.3.11", + "phpstan/phpstan-strict-rules": "^1.5.1", "squizlabs/php_codesniffer": "^3.7.2", - "symfony/filesystem": "^5.4.21 || ^6.2.7", - "vimeo/psalm": "^5.7.7" + "symfony/filesystem": "^6.2.10" }, "bin": [ "bin/paratest", @@ -453,7 +452,7 @@ ], "support": { "issues": "https://github.com/paratestphp/paratest/issues", - "source": "https://github.com/paratestphp/paratest/tree/v6.10.0" + "source": "https://github.com/paratestphp/paratest/tree/v7.1.4" }, "funding": [ { @@ -465,7 +464,7 @@ "type": "paypal" } ], - "time": "2023-05-25T13:47:58+00:00" + "time": "2023-05-05T09:09:30+00:00" }, { "name": "brick/math", @@ -1084,76 +1083,6 @@ ], "time": "2022-10-20T09:10:12+00:00" }, - { - "name": "doctrine/instantiator", - "version": "2.0.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "shasum": "" - }, - "require": { - "php": "^8.1" - }, - "require-dev": { - "doctrine/coding-standard": "^11", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^1.9.4", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5.27", - "vimeo/psalm": "^5.4" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": [ - "constructor", - "instantiate" - ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/2.0.0" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2022-12-30T00:23:10+00:00" - }, { "name": "doctrine/lexer", "version": "3.0.0", @@ -1361,16 +1290,16 @@ }, { "name": "fakerphp/faker", - "version": "v1.22.0", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/FakerPHP/Faker.git", - "reference": "f85772abd508bd04e20bb4b1bbe260a68d0066d2" + "reference": "e3daa170d00fde61ea7719ef47bb09bb8f1d9b01" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/f85772abd508bd04e20bb4b1bbe260a68d0066d2", - "reference": "f85772abd508bd04e20bb4b1bbe260a68d0066d2", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/e3daa170d00fde61ea7719ef47bb09bb8f1d9b01", + "reference": "e3daa170d00fde61ea7719ef47bb09bb8f1d9b01", "shasum": "" }, "require": { @@ -1423,9 +1352,9 @@ ], "support": { "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/v1.22.0" + "source": "https://github.com/FakerPHP/Faker/tree/v1.23.0" }, - "time": "2023-05-14T12:31:37+00:00" + "time": "2023-06-12T08:44:38+00:00" }, { "name": "fidry/cpu-core-counter", @@ -1494,14 +1423,15 @@ "dist": { "type": "path", "url": "packages/support", - "reference": "2cf5399008d39c42f5eae11b664f3ce8ccde39c4" + "reference": "6cf5ac97a4027d6108c42d28179803059fef4d8d" }, "require": { - "blade-ui-kit/blade-icons": "^1.4", + "blade-ui-kit/blade-heroicons": "^2.0", "ext-intl": "*", "illuminate/contracts": "^9.0|^10.0", "illuminate/support": "^9.0|^10.0", "illuminate/view": "^9.0|^10.0", + "livewire/livewire": "*", "php": "^8.1", "ryangjchandler/blade-capture-directive": "^0.2|^0.3", "spatie/color": "^1.5", @@ -2492,16 +2422,16 @@ }, { "name": "laravel/framework", - "version": "v10.13.2", + "version": "v10.13.5", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "fd4619b56b56308e2c2c1840fedd0b8ebb73dfc5" + "reference": "03106ae9ba2ec4b36dc973b7bdca6fad81e032b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/fd4619b56b56308e2c2c1840fedd0b8ebb73dfc5", - "reference": "fd4619b56b56308e2c2c1840fedd0b8ebb73dfc5", + "url": "https://api.github.com/repos/laravel/framework/zipball/03106ae9ba2ec4b36dc973b7bdca6fad81e032b4", + "reference": "03106ae9ba2ec4b36dc973b7bdca6fad81e032b4", "shasum": "" }, "require": { @@ -2688,20 +2618,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-05T15:48:15+00:00" + "time": "2023-06-08T20:25:36+00:00" }, { "name": "laravel/pint", - "version": "v1.10.0", + "version": "v1.10.2", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "c7a01fa9bdd79819e7a2f1ba63ac1b02e6692dbc" + "reference": "f78de1a1bbab7aa41a6ea211c5962b0530d1a301" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/c7a01fa9bdd79819e7a2f1ba63ac1b02e6692dbc", - "reference": "c7a01fa9bdd79819e7a2f1ba63ac1b02e6692dbc", + "url": "https://api.github.com/repos/laravel/pint/zipball/f78de1a1bbab7aa41a6ea211c5962b0530d1a301", + "reference": "f78de1a1bbab7aa41a6ea211c5962b0530d1a301", "shasum": "" }, "require": { @@ -2712,7 +2642,7 @@ "php": "^8.1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.16.0", + "friendsofphp/php-cs-fixer": "^3.17.0", "illuminate/view": "^10.5.1", "laravel-zero/framework": "^10.0.2", "mockery/mockery": "^1.5.1", @@ -2754,7 +2684,7 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2023-04-25T14:52:30+00:00" + "time": "2023-06-12T10:50:04+00:00" }, { "name": "laravel/serializable-closure", @@ -3411,40 +3341,34 @@ }, { "name": "livewire/livewire", - "version": "v2.12.3", - "source": { - "type": "git", - "url": "https://github.com/livewire/livewire.git", - "reference": "019b1e69d8cd8c7e749eba7a38e4fa69ecbc8f74" - }, + "version": "2.99.99", "dist": { - "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/019b1e69d8cd8c7e749eba7a38e4fa69ecbc8f74", - "reference": "019b1e69d8cd8c7e749eba7a38e4fa69ecbc8f74", - "shasum": "" + "type": "path", + "url": "../../livewire3", + "reference": "5f08f3615a9dc11411ce15ad5cffe459330dee1c" }, "require": { - "illuminate/database": "^7.0|^8.0|^9.0|^10.0", - "illuminate/support": "^7.0|^8.0|^9.0|^10.0", - "illuminate/validation": "^7.0|^8.0|^9.0|^10.0", + "illuminate/database": "^9.0|^10.0", + "illuminate/support": "^9.0|^10.0", + "illuminate/validation": "^9.0|^10.0", "league/mime-type-detection": "^1.9", - "php": "^7.2.5|^8.0", + "php": "^8.0", "symfony/http-kernel": "^5.0|^6.0" }, "require-dev": { "calebporzio/sushi": "^2.1", - "laravel/framework": "^7.0|^8.0|^9.0|^10.0", + "laravel/framework": "^9.0|^10.0", "mockery/mockery": "^1.3.1", - "orchestra/testbench": "^5.0|^6.0|^7.0|^8.0", - "orchestra/testbench-dusk": "^5.2|^6.0|^7.0|^8.0", - "phpunit/phpunit": "^8.4|^9.0", + "orchestra/testbench": "^7.0|^8.0", + "orchestra/testbench-dusk": "^7.0|^8.0", + "phpunit/phpunit": "^9.0", "psy/psysh": "@stable" }, "type": "library", "extra": { "laravel": { "providers": [ - "Livewire\\LivewireServiceProvider" + "Livewire\\ServiceProvider" ], "aliases": { "Livewire": "Livewire\\Livewire" @@ -3459,7 +3383,13 @@ "Livewire\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", + "autoload-dev": { + "psr-4": { + "App\\": "vendor/orchestra/testbench-core/laravel/app", + "Tests\\": "tests/", + "LegacyTests\\": "legacy_tests/" + } + }, "license": [ "MIT" ], @@ -3470,17 +3400,9 @@ } ], "description": "A front-end framework for Laravel.", - "support": { - "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v2.12.3" - }, - "funding": [ - { - "url": "https://github.com/livewire", - "type": "github" - } - ], - "time": "2023-03-03T20:12:38+00:00" + "transport-options": { + "relative": true + } }, { "name": "maennchen/zipstream-php", @@ -3632,16 +3554,16 @@ }, { "name": "mockery/mockery", - "version": "1.6.1", + "version": "1.6.2", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "a8dd186f07ea667c1e3abd2176bfab0ab161ea94" + "reference": "13a7fa2642c76c58fa2806ef7f565344c817a191" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/a8dd186f07ea667c1e3abd2176bfab0ab161ea94", - "reference": "a8dd186f07ea667c1e3abd2176bfab0ab161ea94", + "url": "https://api.github.com/repos/mockery/mockery/zipball/13a7fa2642c76c58fa2806ef7f565344c817a191", + "reference": "13a7fa2642c76c58fa2806ef7f565344c817a191", "shasum": "" }, "require": { @@ -3660,7 +3582,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4.x-dev" + "dev-main": "1.6.x-dev" } }, "autoload": { @@ -3704,9 +3626,9 @@ ], "support": { "issues": "https://github.com/mockery/mockery/issues", - "source": "https://github.com/mockery/mockery/tree/1.6.1" + "source": "https://github.com/mockery/mockery/tree/1.6.2" }, - "time": "2023-06-05T13:59:03+00:00" + "time": "2023-06-07T09:07:52+00:00" }, { "name": "moneyphp/money", @@ -4327,38 +4249,43 @@ }, { "name": "nunomaduro/collision", - "version": "v6.4.0", + "version": "v7.5.2", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "f05978827b9343cba381ca05b8c7deee346b6015" + "reference": "76b3cabda0aabda455fc3b9db6c3615f5a87c7ff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/f05978827b9343cba381ca05b8c7deee346b6015", - "reference": "f05978827b9343cba381ca05b8c7deee346b6015", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/76b3cabda0aabda455fc3b9db6c3615f5a87c7ff", + "reference": "76b3cabda0aabda455fc3b9db6c3615f5a87c7ff", "shasum": "" }, "require": { - "filp/whoops": "^2.14.5", - "php": "^8.0.0", - "symfony/console": "^6.0.2" + "filp/whoops": "^2.15.2", + "nunomaduro/termwind": "^1.15.1", + "php": "^8.1.0", + "symfony/console": "^6.2.8" + }, + "conflict": { + "phpunit/phpunit": "<10.1.2" }, "require-dev": { - "brianium/paratest": "^6.4.1", - "laravel/framework": "^9.26.1", - "laravel/pint": "^1.1.1", - "nunomaduro/larastan": "^1.0.3", - "nunomaduro/mock-final-classes": "^1.1.0", - "orchestra/testbench": "^7.7", - "phpunit/phpunit": "^9.5.23", - "spatie/ignition": "^1.4.1" + "brianium/paratest": "^7.1.3", + "laravel/framework": "^10.8.0", + "laravel/pint": "^1.9.0", + "laravel/sail": "^1.21.4", + "laravel/sanctum": "^3.2.1", + "laravel/tinker": "^2.8.1", + "nunomaduro/larastan": "^2.6.0", + "orchestra/testbench-core": "^8.5.0", + "pestphp/pest": "^2.5.2", + "phpunit/phpunit": "^10.1.1", + "sebastian/environment": "^6.0.1", + "spatie/laravel-ignition": "^2.1.0" }, "type": "library", "extra": { - "branch-alias": { - "dev-develop": "6.x-dev" - }, "laravel": { "providers": [ "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" @@ -4366,6 +4293,9 @@ } }, "autoload": { + "files": [ + "./src/Adapters/Phpunit/Autoload.php" + ], "psr-4": { "NunoMaduro\\Collision\\": "src/" } @@ -4411,20 +4341,20 @@ "type": "patreon" } ], - "time": "2023-01-03T12:54:54+00:00" + "time": "2023-04-22T22:12:40+00:00" }, { "name": "nunomaduro/larastan", - "version": "v2.6.1", + "version": "v2.6.2", "source": { "type": "git", "url": "https://github.com/nunomaduro/larastan.git", - "reference": "7823bc1fdbd8e72fd1e9cd8d746e7e104bccf02c" + "reference": "fd1b5c2560ccf4a2a0075a30524b63ebb142cd6c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/larastan/zipball/7823bc1fdbd8e72fd1e9cd8d746e7e104bccf02c", - "reference": "7823bc1fdbd8e72fd1e9cd8d746e7e104bccf02c", + "url": "https://api.github.com/repos/nunomaduro/larastan/zipball/fd1b5c2560ccf4a2a0075a30524b63ebb142cd6c", + "reference": "fd1b5c2560ccf4a2a0075a30524b63ebb142cd6c", "shasum": "" }, "require": { @@ -4487,7 +4417,7 @@ ], "support": { "issues": "https://github.com/nunomaduro/larastan/issues", - "source": "https://github.com/nunomaduro/larastan/tree/v2.6.1" + "source": "https://github.com/nunomaduro/larastan/tree/v2.6.2" }, "funding": [ { @@ -4507,7 +4437,7 @@ "type": "patreon" } ], - "time": "2023-06-04T20:55:57+00:00" + "time": "2023-06-10T17:23:14+00:00" }, { "name": "nunomaduro/termwind", @@ -4597,24 +4527,24 @@ }, { "name": "orchestra/testbench", - "version": "v8.5.5", + "version": "v8.5.6", "source": { "type": "git", "url": "https://github.com/orchestral/testbench.git", - "reference": "f319dc0f866fcedde621e1150485d4e40516e88d" + "reference": "ad082f7dc468ffb879340421fc4d3db6cf5129b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench/zipball/f319dc0f866fcedde621e1150485d4e40516e88d", - "reference": "f319dc0f866fcedde621e1150485d4e40516e88d", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/ad082f7dc468ffb879340421fc4d3db6cf5129b6", + "reference": "ad082f7dc468ffb879340421fc4d3db6cf5129b6", "shasum": "" }, "require": { "composer-runtime-api": "^2.2", "fakerphp/faker": "^1.21", - "laravel/framework": ">=10.8.0 <10.14.0", + "laravel/framework": ">=10.10.0 <10.15.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": ">=8.5.0 <8.6.0", + "orchestra/testbench-core": ">=8.5.6 <8.6.0", "php": "^8.1", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", @@ -4646,22 +4576,22 @@ ], "support": { "issues": "https://github.com/orchestral/testbench/issues", - "source": "https://github.com/orchestral/testbench/tree/v8.5.5" + "source": "https://github.com/orchestral/testbench/tree/v8.5.6" }, - "time": "2023-05-30T08:19:18+00:00" + "time": "2023-06-11T12:51:04+00:00" }, { "name": "orchestra/testbench-core", - "version": "v8.5.3", + "version": "v8.5.6", "source": { "type": "git", "url": "https://github.com/orchestral/testbench-core.git", - "reference": "3575076c6b5115fe109f432652381d3f6b5fdfae" + "reference": "b9295f845d376d51e6a1629c116103e7a55c99c8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/3575076c6b5115fe109f432652381d3f6b5fdfae", - "reference": "3575076c6b5115fe109f432652381d3f6b5fdfae", + "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/b9295f845d376d51e6a1629c116103e7a55c99c8", + "reference": "b9295f845d376d51e6a1629c116103e7a55c99c8", "shasum": "" }, "require": { @@ -4730,54 +4660,60 @@ "issues": "https://github.com/orchestral/testbench/issues", "source": "https://github.com/orchestral/testbench-core" }, - "time": "2023-05-26T00:00:34+00:00" + "time": "2023-06-08T06:22:10+00:00" }, { "name": "pestphp/pest", - "version": "v1.23.0", + "version": "v2.6.3", "source": { "type": "git", "url": "https://github.com/pestphp/pest.git", - "reference": "061c9de301531e500a8157b476a5899361e60068" + "reference": "3c20e8114e5d2f5e39cf013f0f9b8ebc0ac1a6fa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/061c9de301531e500a8157b476a5899361e60068", - "reference": "061c9de301531e500a8157b476a5899361e60068", + "url": "https://api.github.com/repos/pestphp/pest/zipball/3c20e8114e5d2f5e39cf013f0f9b8ebc0ac1a6fa", + "reference": "3c20e8114e5d2f5e39cf013f0f9b8ebc0ac1a6fa", "shasum": "" }, "require": { - "nunomaduro/collision": "^5.11.0|^6.4.0", - "pestphp/pest-plugin": "^1.1.0", - "php": "^7.3 || ^8.0", - "phpunit/phpunit": "^9.6.7" + "brianium/paratest": "^7.1.4", + "nunomaduro/collision": "^7.5.2", + "nunomaduro/termwind": "^1.15.1", + "pestphp/pest-plugin": "^2.0.1", + "pestphp/pest-plugin-arch": "^2.2.0", + "php": "^8.1.0", + "phpunit/phpunit": "^10.2.1" + }, + "conflict": { + "phpunit/phpunit": ">10.2.1", + "webmozart/assert": "<1.11.0" }, "require-dev": { - "illuminate/console": "^8.83.27", - "illuminate/support": "^8.83.27", - "laravel/dusk": "^6.25.2", - "pestphp/pest-dev-tools": "^1.0.0", - "pestphp/pest-plugin-parallel": "^1.2.1" + "pestphp/pest-dev-tools": "^2.10.0", + "symfony/process": "^6.3.0" }, "bin": [ "bin/pest" ], "type": "library", "extra": { - "branch-alias": { - "dev-1.x": "1.x-dev" - }, "pest": { "plugins": [ + "Pest\\Plugins\\Bail", + "Pest\\Plugins\\Cache", "Pest\\Plugins\\Coverage", "Pest\\Plugins\\Init", + "Pest\\Plugins\\Environment", + "Pest\\Plugins\\Help", + "Pest\\Plugins\\Memory", + "Pest\\Plugins\\Only", + "Pest\\Plugins\\Printer", + "Pest\\Plugins\\ProcessIsolation", + "Pest\\Plugins\\Profile", + "Pest\\Plugins\\Retry", "Pest\\Plugins\\Version", - "Pest\\Plugins\\Environment" - ] - }, - "laravel": { - "providers": [ - "Pest\\Laravel\\PestServiceProvider" + "Pest\\Plugins\\Parallel" ] } }, @@ -4811,7 +4747,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v1.23.0" + "source": "https://github.com/pestphp/pest/tree/v2.6.3" }, "funding": [ { @@ -4823,39 +4759,36 @@ "type": "github" } ], - "time": "2023-04-19T20:10:22+00:00" + "time": "2023-06-07T19:19:04+00:00" }, { "name": "pestphp/pest-plugin", - "version": "v1.1.0", + "version": "v2.0.1", "source": { "type": "git", "url": "https://github.com/pestphp/pest-plugin.git", - "reference": "606c5f79c6a339b49838ffbee0151ca519efe378" + "reference": "e3a3da262b73bdcbf3fad4dc9846c3c4921f2147" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest-plugin/zipball/606c5f79c6a339b49838ffbee0151ca519efe378", - "reference": "606c5f79c6a339b49838ffbee0151ca519efe378", + "url": "https://api.github.com/repos/pestphp/pest-plugin/zipball/e3a3da262b73bdcbf3fad4dc9846c3c4921f2147", + "reference": "e3a3da262b73bdcbf3fad4dc9846c3c4921f2147", "shasum": "" }, "require": { - "composer-plugin-api": "^1.1.0 || ^2.0.0", - "php": "^7.3 || ^8.0" + "composer-plugin-api": "^2.0.0", + "php": "^8.1" }, "conflict": { - "pestphp/pest": "<1.0" + "pestphp/pest": "<2.2.3" }, "require-dev": { - "composer/composer": "^2.4.2", - "pestphp/pest": "^1.22.1", - "pestphp/pest-dev-tools": "^1.0.0" + "composer/composer": "^2.5.5", + "pestphp/pest": "^2.2.3", + "pestphp/pest-dev-tools": "^2.5.0" }, "type": "composer-plugin", "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - }, "class": "Pest\\Plugin\\Manager" }, "autoload": { @@ -4879,7 +4812,7 @@ "unit" ], "support": { - "source": "https://github.com/pestphp/pest-plugin/tree/v1.1.0" + "source": "https://github.com/pestphp/pest-plugin/tree/v2.0.1" }, "funding": [ { @@ -4895,32 +4828,104 @@ "type": "patreon" } ], - "time": "2022-09-18T13:18:17+00:00" + "time": "2023-03-24T11:21:05+00:00" }, { - "name": "pestphp/pest-plugin-laravel", - "version": "v1.4.0", + "name": "pestphp/pest-plugin-arch", + "version": "v2.2.0", "source": { "type": "git", - "url": "https://github.com/pestphp/pest-plugin-laravel.git", - "reference": "61935be0deae1732a3ead780fbd9277aa93e2f6d" + "url": "https://github.com/pestphp/pest-plugin-arch.git", + "reference": "88725fd0d6ae4025df39c27bd91e98d14b8f1916" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest-plugin-laravel/zipball/61935be0deae1732a3ead780fbd9277aa93e2f6d", - "reference": "61935be0deae1732a3ead780fbd9277aa93e2f6d", + "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/88725fd0d6ae4025df39c27bd91e98d14b8f1916", + "reference": "88725fd0d6ae4025df39c27bd91e98d14b8f1916", "shasum": "" }, "require": { - "laravel/framework": "^7.30.6 || ^8.83.27 || ^9.47.0 || ^10.0.0", - "pestphp/pest": "^1.22.1", - "php": "^7.3 || ^8.0" + "nunomaduro/collision": "^7.5.2", + "pestphp/pest-plugin": "^2.0.1", + "php": "^8.1", + "ta-tikoma/phpunit-architecture-test": "^0.7.3" }, "require-dev": { - "orchestra/testbench": "^5.20.0 || ^6.25.0 || ^7.7.0 || ^8.0", - "pestphp/pest-dev-tools": "^1.0.0" + "pestphp/pest": "dev-develop as 2.6.2", + "pestphp/pest-dev-tools": "^2.10.0" }, "type": "library", + "autoload": { + "files": [ + "src/Autoload.php" + ], + "psr-4": { + "Pest\\Arch\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "The Arch plugin for Pest PHP.", + "keywords": [ + "arch", + "architecture", + "framework", + "pest", + "php", + "plugin", + "test", + "testing", + "unit" + ], + "support": { + "source": "https://github.com/pestphp/pest-plugin-arch/tree/v2.2.0" + }, + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + } + ], + "time": "2023-06-02T23:15:55+00:00" + }, + { + "name": "pestphp/pest-plugin-laravel", + "version": "v2.0.0", + "source": { + "type": "git", + "url": "https://github.com/pestphp/pest-plugin-laravel.git", + "reference": "fc28f077fc3a461dfc11de4f50dbfef2aba1186d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pestphp/pest-plugin-laravel/zipball/fc28f077fc3a461dfc11de4f50dbfef2aba1186d", + "reference": "fc28f077fc3a461dfc11de4f50dbfef2aba1186d", + "shasum": "" + }, + "require": { + "laravel/framework": "^10.4.1", + "pestphp/pest": "^2.0.0", + "php": "^8.1.0" + }, + "require-dev": { + "laravel/dusk": "^7.7.0", + "orchestra/testbench": "^8.0.10", + "pestphp/pest-dev-tools": "^2.5.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Pest\\Laravel\\PestServiceProvider" + ] + } + }, "autoload": { "files": [ "src/Autoload.php" @@ -4944,7 +4949,7 @@ "unit" ], "support": { - "source": "https://github.com/pestphp/pest-plugin-laravel/tree/v1.4.0" + "source": "https://github.com/pestphp/pest-plugin-laravel/tree/v2.0.0" }, "funding": [ { @@ -4954,52 +4959,60 @@ { "url": "https://github.com/nunomaduro", "type": "github" - }, - { - "url": "https://www.patreon.com/nunomaduro", - "type": "patreon" } ], - "time": "2023-01-13T16:54:07+00:00" + "time": "2023-03-20T09:27:24+00:00" }, { "name": "pestphp/pest-plugin-livewire", - "version": "v1.0.0", - "source": { - "type": "git", - "url": "https://github.com/pestphp/pest-plugin-livewire.git", - "reference": "30e259e57c18dd40402e7fd29d46344a6cb9ff03" - }, + "version": "3.x-dev", "dist": { - "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest-plugin-livewire/zipball/30e259e57c18dd40402e7fd29d46344a6cb9ff03", - "reference": "30e259e57c18dd40402e7fd29d46344a6cb9ff03", - "shasum": "" + "type": "path", + "url": "../../pest-plugin-livewire", + "reference": "c191c992f9ce04ac520463cb448cfbafbcda750a" }, "require": { - "livewire/livewire": "^1.2|^2.0", - "pestphp/pest": "^1.0", - "php": "^7.3|^8.0" + "livewire/livewire": "*", + "pestphp/pest": "^2.0.0", + "php": "^8.1" }, "require-dev": { - "orchestra/testbench": "^6.4", - "pestphp/pest-dev-tools": "dev-master" + "orchestra/testbench": "^8.0.10", + "pestphp/pest-dev-tools": "^2.5.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, "autoload": { - "files": [ - "src/Autoload.php" - ], "psr-4": { "Pest\\Livewire\\": "src/" + }, + "files": [ + "src/Autoload.php" + ] + }, + "autoload-dev": { + "psr-4": { + "Tests\\": "tests/" } }, - "notification-url": "https://packagist.org/downloads/", + "scripts": { + "lint": [ + "pint" + ], + "test:lint": [ + "pint --test" + ], + "test:types": [ + "phpstan analyse --ansi" + ], + "test:unit": [ + "pest --colors=always" + ], + "test": [ + "@test:lint", + "@test:types", + "@test:unit" + ] + }, "license": [ "MIT" ], @@ -5014,127 +5027,9 @@ "testing", "unit" ], - "support": { - "source": "https://github.com/pestphp/pest-plugin-livewire/tree/v1.0.0" - }, - "funding": [ - { - "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L", - "type": "custom" - }, - { - "url": "https://github.com/nunomaduro", - "type": "github" - }, - { - "url": "https://www.patreon.com/nunomaduro", - "type": "patreon" - } - ], - "time": "2021-01-03T15:37:46+00:00" - }, - { - "name": "pestphp/pest-plugin-parallel", - "version": "v0.3.1", - "source": { - "type": "git", - "url": "https://github.com/pestphp/pest-plugin-parallel.git", - "reference": "67c0a49754e26cbe5ecd6965631351c0ede956fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest-plugin-parallel/zipball/67c0a49754e26cbe5ecd6965631351c0ede956fa", - "reference": "67c0a49754e26cbe5ecd6965631351c0ede956fa", - "shasum": "" - }, - "require": { - "brianium/paratest": "^6.3", - "pestphp/pest-plugin": "^1.0", - "php": "^7.3 || ^8.0" - }, - "conflict": { - "laravel/framework": "<8.55", - "nunomaduro/collision": "<5.8", - "pestphp/pest": "<1.16" - }, - "require-dev": { - "pestphp/pest": "dev-master", - "pestphp/pest-dev-tools": "dev-master" - }, - "type": "library", - "extra": { - "pest": { - "plugins": [ - "Pest\\Parallel\\Plugin" - ] - }, - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "files": [ - "src/Autoload.php", - "build/RunnerWorker.php", - "build/BaseRunner.php" - ], - "psr-4": { - "Pest\\Parallel\\": "src/" - }, - "exclude-from-classmap": [ - "ParaTest\\Runners\\PHPUnit\\Worker\\RunnerWorker", - "ParaTest\\Runners\\PHPUnit\\BaseRunner" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "The Pest Parallel Plugin", - "keywords": [ - "framework", - "parallel", - "pest", - "php", - "plugin", - "test", - "testing", - "unit" - ], - "support": { - "source": "https://github.com/pestphp/pest-plugin-parallel/tree/v0.3.1" - }, - "funding": [ - { - "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L", - "type": "custom" - }, - { - "url": "https://github.com/lukeraymonddowning", - "type": "github" - }, - { - "url": "https://github.com/nunomaduro", - "type": "github" - }, - { - "url": "https://github.com/octoper", - "type": "github" - }, - { - "url": "https://github.com/olivernybroe", - "type": "github" - }, - { - "url": "https://github.com/owenvoke", - "type": "github" - }, - { - "url": "https://www.patreon.com/nunomaduro", - "type": "patreon" - } - ], - "time": "2021-09-06T20:21:59+00:00" + "transport-options": { + "relative": true + } }, { "name": "phar-io/manifest", @@ -5247,6 +5142,174 @@ }, "time": "2022-02-21T01:04:05+00:00" }, + { + "name": "phpdocumentor/reflection-common", + "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-2.x": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", + "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" + }, + "time": "2020-06-27T09:03:43+00:00" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "5.3.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", + "shasum": "" + }, + "require": { + "ext-filter": "*", + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.2", + "phpdocumentor/type-resolver": "^1.3", + "webmozart/assert": "^1.9.1" + }, + "require-dev": { + "mockery/mockery": "~1.3.2", + "psalm/phar": "^4.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + }, + { + "name": "Jaap van Otterdijk", + "email": "account@ijaap.nl" + } + ], + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" + }, + "time": "2021-10-19T17:43:47+00:00" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "1.7.2", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "b2fe4d22a5426f38e014855322200b97b5362c0d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/b2fe4d22a5426f38e014855322200b97b5362c0d", + "reference": "b2fe4d22a5426f38e014855322200b97b5362c0d", + "shasum": "" + }, + "require": { + "doctrine/deprecations": "^1.0", + "php": "^7.4 || ^8.0", + "phpdocumentor/reflection-common": "^2.0", + "phpstan/phpdoc-parser": "^1.13" + }, + "require-dev": { + "ext-tokenizer": "*", + "phpbench/phpbench": "^1.2", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpunit/phpunit": "^9.5", + "rector/rector": "^0.13.9", + "vimeo/psalm": "^4.25" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-1.x": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", + "support": { + "issues": "https://github.com/phpDocumentor/TypeResolver/issues", + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.7.2" + }, + "time": "2023-05-30T18:13:47+00:00" + }, { "name": "phpmyadmin/sql-parser", "version": "5.8.0", @@ -5454,17 +5517,64 @@ "time": "2023-05-24T08:59:17+00:00" }, { - "name": "phpstan/phpstan", - "version": "1.10.16", + "name": "phpstan/phpdoc-parser", + "version": "1.22.0", "source": { "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "352bdbb960bb523e3d71b834862589f910921c23" + "url": "https://github.com/phpstan/phpdoc-parser.git", + "reference": "ec58baf7b3c7f1c81b3b00617c953249fb8cf30c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/352bdbb960bb523e3d71b834862589f910921c23", - "reference": "352bdbb960bb523e3d71b834862589f910921c23", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/ec58baf7b3c7f1c81b3b00617c953249fb8cf30c", + "reference": "ec58baf7b3c7f1c81b3b00617c953249fb8cf30c", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "doctrine/annotations": "^2.0", + "nikic/php-parser": "^4.15", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.5", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.0", + "phpunit/phpunit": "^9.5", + "symfony/process": "^5.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "PHPStan\\PhpDocParser\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPDoc parser with support for nullable, intersection and generic types", + "support": { + "issues": "https://github.com/phpstan/phpdoc-parser/issues", + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.22.0" + }, + "time": "2023-06-01T12:35:21+00:00" + }, + { + "name": "phpstan/phpstan", + "version": "1.10.18", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan.git", + "reference": "52b6416c579663eebdd2f1d97df21971daf3b43f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/52b6416c579663eebdd2f1d97df21971daf3b43f", + "reference": "52b6416c579663eebdd2f1d97df21971daf3b43f", "shasum": "" }, "require": { @@ -5513,20 +5623,20 @@ "type": "tidelift" } ], - "time": "2023-06-05T08:21:46+00:00" + "time": "2023-06-07T22:00:43+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.26", + "version": "10.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "443bc6912c9bd5b409254a40f4b0f4ced7c80ea1" + "reference": "db1497ec8dd382e82c962f7abbe0320e4882ee4e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/443bc6912c9bd5b409254a40f4b0f4ced7c80ea1", - "reference": "443bc6912c9bd5b409254a40f4b0f4ced7c80ea1", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/db1497ec8dd382e82c962f7abbe0320e4882ee4e", + "reference": "db1497ec8dd382e82c962f7abbe0320e4882ee4e", "shasum": "" }, "require": { @@ -5534,18 +5644,18 @@ "ext-libxml": "*", "ext-xmlwriter": "*", "nikic/php-parser": "^4.15", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", + "php": ">=8.1", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-text-template": "^3.0", + "sebastian/code-unit-reverse-lookup": "^3.0", + "sebastian/complexity": "^3.0", + "sebastian/environment": "^6.0", + "sebastian/lines-of-code": "^2.0", + "sebastian/version": "^4.0", "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.1" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -5554,7 +5664,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.2-dev" + "dev-main": "10.1-dev" } }, "autoload": { @@ -5582,7 +5692,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.26" + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.2" }, "funding": [ { @@ -5590,32 +5701,32 @@ "type": "github" } ], - "time": "2023-03-06T12:58:08+00:00" + "time": "2023-05-22T09:04:27+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "3.0.6", + "version": "4.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + "reference": "5647d65443818959172645e7ed999217360654b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/5647d65443818959172645e7ed999217360654b6", + "reference": "5647d65443818959172645e7ed999217360654b6", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -5642,7 +5753,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.0.2" }, "funding": [ { @@ -5650,28 +5762,28 @@ "type": "github" } ], - "time": "2021-12-02T12:48:52+00:00" + "time": "2023-05-07T09:13:23+00:00" }, { "name": "phpunit/php-invoker", - "version": "3.1.1", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-pcntl": "*" @@ -5679,7 +5791,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -5705,7 +5817,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" }, "funding": [ { @@ -5713,32 +5825,32 @@ "type": "github" } ], - "time": "2020-09-28T05:58:55+00:00" + "time": "2023-02-03T06:56:09+00:00" }, { "name": "phpunit/php-text-template", - "version": "2.0.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + "reference": "9f3d3709577a527025f55bcf0f7ab8052c8bb37d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/9f3d3709577a527025f55bcf0f7ab8052c8bb37d", + "reference": "9f3d3709577a527025f55bcf0f7ab8052c8bb37d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -5764,7 +5876,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.0" }, "funding": [ { @@ -5772,32 +5884,32 @@ "type": "github" } ], - "time": "2020-10-26T05:33:50+00:00" + "time": "2023-02-03T06:56:46+00:00" }, { "name": "phpunit/php-timer", - "version": "5.0.3", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -5823,7 +5935,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" }, "funding": [ { @@ -5831,24 +5943,23 @@ "type": "github" } ], - "time": "2020-10-26T13:16:10+00:00" + "time": "2023-02-03T06:57:52+00:00" }, { "name": "phpunit/phpunit", - "version": "9.6.8", + "version": "10.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "17d621b3aff84d0c8b62539e269e87d8d5baa76e" + "reference": "599b33294350e8f51163119d5670512f98b0490d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/17d621b3aff84d0c8b62539e269e87d8d5baa76e", - "reference": "17d621b3aff84d0c8b62539e269e87d8d5baa76e", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/599b33294350e8f51163119d5670512f98b0490d", + "reference": "599b33294350e8f51163119d5670512f98b0490d", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -5858,27 +5969,26 @@ "myclabs/deep-copy": "^1.10.1", "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", - "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.13", - "phpunit/php-file-iterator": "^3.0.5", - "phpunit/php-invoker": "^3.1.1", - "phpunit/php-text-template": "^2.0.3", - "phpunit/php-timer": "^5.0.2", - "sebastian/cli-parser": "^1.0.1", - "sebastian/code-unit": "^1.0.6", - "sebastian/comparator": "^4.0.8", - "sebastian/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.5", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.2", - "sebastian/version": "^3.0.2" + "php": ">=8.1", + "phpunit/php-code-coverage": "^10.1.1", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-invoker": "^4.0", + "phpunit/php-text-template": "^3.0", + "phpunit/php-timer": "^6.0", + "sebastian/cli-parser": "^2.0", + "sebastian/code-unit": "^2.0", + "sebastian/comparator": "^5.0", + "sebastian/diff": "^5.0", + "sebastian/environment": "^6.0", + "sebastian/exporter": "^5.0", + "sebastian/global-state": "^6.0", + "sebastian/object-enumerator": "^5.0", + "sebastian/recursion-context": "^5.0", + "sebastian/type": "^4.0", + "sebastian/version": "^4.0" }, "suggest": { - "ext-soap": "To be able to generate mocks based on WSDL files", - "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + "ext-soap": "To be able to generate mocks based on WSDL files" }, "bin": [ "phpunit" @@ -5886,7 +5996,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.6-dev" + "dev-main": "10.2-dev" } }, "autoload": { @@ -5918,7 +6028,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.8" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.2.1" }, "funding": [ { @@ -5934,7 +6044,7 @@ "type": "tidelift" } ], - "time": "2023-05-11T05:14:45+00:00" + "time": "2023-06-05T05:15:51+00:00" }, { "name": "pimple/pimple", @@ -6768,28 +6878,28 @@ }, { "name": "sebastian/cli-parser", - "version": "1.0.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/efdc130dbbbb8ef0b545a994fd811725c5282cae", + "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -6812,7 +6922,7 @@ "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.0" }, "funding": [ { @@ -6820,32 +6930,32 @@ "type": "github" } ], - "time": "2020-09-28T06:08:49+00:00" + "time": "2023-02-03T06:58:15+00:00" }, { "name": "sebastian/code-unit", - "version": "1.0.8", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -6868,7 +6978,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit", "support": { "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" }, "funding": [ { @@ -6876,32 +6986,32 @@ "type": "github" } ], - "time": "2020-10-26T13:08:54+00:00" + "time": "2023-02-03T06:58:43+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -6923,7 +7033,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" }, "funding": [ { @@ -6931,34 +7041,36 @@ "type": "github" } ], - "time": "2020-09-28T05:30:19+00:00" + "time": "2023-02-03T06:59:15+00:00" }, { "name": "sebastian/comparator", - "version": "4.0.8", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a" + "reference": "72f01e6586e0caf6af81297897bd112eb7e9627c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/72f01e6586e0caf6af81297897bd112eb7e9627c", + "reference": "72f01e6586e0caf6af81297897bd112eb7e9627c", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" + "ext-dom": "*", + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/diff": "^5.0", + "sebastian/exporter": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -6997,7 +7109,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.0" }, "funding": [ { @@ -7005,33 +7117,33 @@ "type": "github" } ], - "time": "2022-09-14T12:41:17+00:00" + "time": "2023-02-03T07:07:16+00:00" }, { "name": "sebastian/complexity", - "version": "2.0.2", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + "reference": "e67d240970c9dc7ea7b2123a6d520e334dd61dc6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/e67d240970c9dc7ea7b2123a6d520e334dd61dc6", + "reference": "e67d240970c9dc7ea7b2123a6d520e334dd61dc6", "shasum": "" }, "require": { - "nikic/php-parser": "^4.7", - "php": ">=7.3" + "nikic/php-parser": "^4.10", + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -7054,7 +7166,7 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/complexity/tree/3.0.0" }, "funding": [ { @@ -7062,33 +7174,33 @@ "type": "github" } ], - "time": "2020-10-26T15:52:27+00:00" + "time": "2023-02-03T06:59:47+00:00" }, { "name": "sebastian/diff", - "version": "4.0.5", + "version": "5.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" + "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/912dc2fbe3e3c1e7873313cc801b100b6c68c87b", + "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3", + "phpunit/phpunit": "^10.0", "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -7120,7 +7232,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" + "security": "https://github.com/sebastianbergmann/diff/security/policy", + "source": "https://github.com/sebastianbergmann/diff/tree/5.0.3" }, "funding": [ { @@ -7128,27 +7241,27 @@ "type": "github" } ], - "time": "2023-05-07T05:35:17+00:00" + "time": "2023-05-01T07:48:21+00:00" }, { "name": "sebastian/environment", - "version": "5.1.5", + "version": "6.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" + "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/43c751b41d74f96cbbd4e07b7aec9675651e2951", + "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-posix": "*" @@ -7156,7 +7269,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -7175,7 +7288,7 @@ } ], "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", + "homepage": "https://github.com/sebastianbergmann/environment", "keywords": [ "Xdebug", "environment", @@ -7183,7 +7296,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" + "security": "https://github.com/sebastianbergmann/environment/security/policy", + "source": "https://github.com/sebastianbergmann/environment/tree/6.0.1" }, "funding": [ { @@ -7191,34 +7305,34 @@ "type": "github" } ], - "time": "2023-02-03T06:03:51+00:00" + "time": "2023-04-11T05:39:26+00:00" }, { "name": "sebastian/exporter", - "version": "4.0.5", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + "reference": "f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0", + "reference": "f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -7260,7 +7374,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/exporter/tree/5.0.0" }, "funding": [ { @@ -7268,38 +7382,35 @@ "type": "github" } ], - "time": "2022-09-14T06:03:37+00:00" + "time": "2023-02-03T07:06:49+00:00" }, { "name": "sebastian/global-state", - "version": "5.0.5", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" + "reference": "aab257c712de87b90194febd52e4d184551c2d44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/aab257c712de87b90194febd52e4d184551c2d44", + "reference": "aab257c712de87b90194febd52e4d184551c2d44", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -7324,7 +7435,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" + "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.0" }, "funding": [ { @@ -7332,33 +7443,33 @@ "type": "github" } ], - "time": "2022-02-14T08:28:10+00:00" + "time": "2023-02-03T07:07:38+00:00" }, { "name": "sebastian/lines-of-code", - "version": "1.0.3", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + "reference": "17c4d940ecafb3d15d2cf916f4108f664e28b130" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/17c4d940ecafb3d15d2cf916f4108f664e28b130", + "reference": "17c4d940ecafb3d15d2cf916f4108f664e28b130", "shasum": "" }, "require": { - "nikic/php-parser": "^4.6", - "php": ">=7.3" + "nikic/php-parser": "^4.10", + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -7381,7 +7492,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.0" }, "funding": [ { @@ -7389,34 +7500,34 @@ "type": "github" } ], - "time": "2020-11-28T06:42:11+00:00" + "time": "2023-02-03T07:08:02+00:00" }, { "name": "sebastian/object-enumerator", - "version": "4.0.4", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -7438,7 +7549,7 @@ "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" }, "funding": [ { @@ -7446,32 +7557,32 @@ "type": "github" } ], - "time": "2020-10-26T13:12:34+00:00" + "time": "2023-02-03T07:08:32+00:00" }, { "name": "sebastian/object-reflector", - "version": "2.0.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -7493,7 +7604,7 @@ "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" }, "funding": [ { @@ -7501,32 +7612,32 @@ "type": "github" } ], - "time": "2020-10-26T13:14:26+00:00" + "time": "2023-02-03T07:06:18+00:00" }, { "name": "sebastian/recursion-context", - "version": "4.0.5", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" + "reference": "05909fb5bc7df4c52992396d0116aed689f93712" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", + "reference": "05909fb5bc7df4c52992396d0116aed689f93712", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -7556,7 +7667,7 @@ "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" }, "funding": [ { @@ -7564,87 +7675,32 @@ "type": "github" } ], - "time": "2023-02-03T06:07:39+00:00" - }, - { - "name": "sebastian/resource-operations", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:45:17+00:00" + "time": "2023-02-03T07:05:40+00:00" }, { "name": "sebastian/type", - "version": "3.2.1", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -7667,7 +7723,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" + "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" }, "funding": [ { @@ -7675,29 +7731,29 @@ "type": "github" } ], - "time": "2023-02-03T06:13:03+00:00" + "time": "2023-02-03T07:10:45+00:00" }, { "name": "sebastian/version", - "version": "3.0.2", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -7720,7 +7776,7 @@ "homepage": "https://github.com/sebastianbergmann/version", "support": { "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" }, "funding": [ { @@ -7728,7 +7784,7 @@ "type": "github" } ], - "time": "2020-09-28T06:39:44+00:00" + "time": "2023-02-07T11:34:05+00:00" }, { "name": "spatie/backtrace", @@ -8117,16 +8173,16 @@ }, { "name": "spatie/laravel-medialibrary", - "version": "10.9.3", + "version": "10.9.4", "source": { "type": "git", "url": "https://github.com/spatie/laravel-medialibrary.git", - "reference": "c7eae00741a571f5049f1f1c4090683de8df420c" + "reference": "22581bc5578bb7984ab025a41e33baf3f154d093" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/c7eae00741a571f5049f1f1c4090683de8df420c", - "reference": "c7eae00741a571f5049f1f1c4090683de8df420c", + "url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/22581bc5578bb7984ab025a41e33baf3f154d093", + "reference": "22581bc5578bb7984ab025a41e33baf3f154d093", "shasum": "" }, "require": { @@ -8210,7 +8266,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-medialibrary/issues", - "source": "https://github.com/spatie/laravel-medialibrary/tree/10.9.3" + "source": "https://github.com/spatie/laravel-medialibrary/tree/10.9.4" }, "funding": [ { @@ -8222,7 +8278,7 @@ "type": "github" } ], - "time": "2023-05-22T12:59:16+00:00" + "time": "2023-06-06T13:03:40+00:00" }, { "name": "spatie/laravel-package-tools", @@ -8860,16 +8916,16 @@ }, { "name": "stripe/stripe-php", - "version": "v10.14.0", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/stripe/stripe-php.git", - "reference": "c88a80fa7f361c2d30d6c81fb71f2bb30be1001f" + "reference": "d0e48cc85e1aa54cbff3644d1979a4a4c3fdd7bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stripe/stripe-php/zipball/c88a80fa7f361c2d30d6c81fb71f2bb30be1001f", - "reference": "c88a80fa7f361c2d30d6c81fb71f2bb30be1001f", + "url": "https://api.github.com/repos/stripe/stripe-php/zipball/d0e48cc85e1aa54cbff3644d1979a4a4c3fdd7bf", + "reference": "d0e48cc85e1aa54cbff3644d1979a4a4c3fdd7bf", "shasum": "" }, "require": { @@ -8915,9 +8971,9 @@ ], "support": { "issues": "https://github.com/stripe/stripe-php/issues", - "source": "https://github.com/stripe/stripe-php/tree/v10.14.0" + "source": "https://github.com/stripe/stripe-php/tree/v10.15.0" }, - "time": "2023-05-25T18:09:32+00:00" + "time": "2023-06-08T21:47:46+00:00" }, { "name": "symfony/console", @@ -11511,6 +11567,65 @@ ], "time": "2022-06-13T14:01:16+00:00" }, + { + "name": "ta-tikoma/phpunit-architecture-test", + "version": "0.7.3", + "source": { + "type": "git", + "url": "https://github.com/ta-tikoma/phpunit-architecture-test.git", + "reference": "90b2e1d53b2c09b6371f84476699b69b36e378fd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ta-tikoma/phpunit-architecture-test/zipball/90b2e1d53b2c09b6371f84476699b69b36e378fd", + "reference": "90b2e1d53b2c09b6371f84476699b69b36e378fd", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.15.4", + "php": "^8.1.0", + "phpdocumentor/reflection-docblock": "^5.3.0", + "phpunit/phpunit": "^10.1.1", + "symfony/finder": "^6.2.7" + }, + "require-dev": { + "laravel/pint": "^1.9.0", + "phpstan/phpstan": "^1.10.13" + }, + "type": "library", + "autoload": { + "psr-4": { + "PHPUnit\\Architecture\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ni Shi", + "email": "futik0ma011@gmail.com" + }, + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Methods for testing application architecture", + "keywords": [ + "architecture", + "phpunit", + "stucture", + "test", + "testing" + ], + "support": { + "issues": "https://github.com/ta-tikoma/phpunit-architecture-test/issues", + "source": "https://github.com/ta-tikoma/phpunit-architecture-test/tree/0.7.3" + }, + "time": "2023-04-19T08:46:06+00:00" + }, { "name": "tgalopin/html-sanitizer", "version": "1.5.0", diff --git a/docs-assets/app/resources/views/layouts/app.blade.php b/docs-assets/app/resources/views/layouts/app.blade.php index 02f0ae5144..1291d37068 100644 --- a/docs-assets/app/resources/views/layouts/app.blade.php +++ b/docs-assets/app/resources/views/layouts/app.blade.php @@ -10,7 +10,6 @@ {{ config('app.name') }} - @livewireStyles @filamentStyles @vite('resources/css/app.css') @@ -23,7 +22,6 @@ @livewire('notifications') - @livewireScripts @filamentScripts @vite('resources/js/app.js') diff --git a/packages/actions/composer.json b/packages/actions/composer.json index 55fa13fec9..5395003a00 100644 --- a/packages/actions/composer.json +++ b/packages/actions/composer.json @@ -9,7 +9,6 @@ }, "require": { "php": "^8.1", - "blade-ui-kit/blade-heroicons": "^2.0", "filament/forms": "self.version", "filament/infolists": "self.version", "filament/notifications": "self.version", @@ -17,7 +16,6 @@ "illuminate/contracts": "^9.0|^10.0", "illuminate/database": "^9.0|^10.0", "illuminate/support": "^9.0|^10.0", - "syntheticjs/support": "*", "spatie/laravel-package-tools": "^1.9" }, "autoload": { diff --git a/packages/actions/resources/views/components/modals.blade.php b/packages/actions/resources/views/components/modals.blade.php index faf88f8bbb..c3d31d594d 100644 --- a/packages/actions/resources/views/components/modals.blade.php +++ b/packages/actions/resources/views/components/modals.blade.php @@ -12,7 +12,6 @@ :slide-over="$action?->isModalSlideOver()" :close-by-clicking-away="$action?->isModalClosedByClickingAway()" display-classes="block" - x-init="livewire = $wire.__instance" x-on:opened-form-component-action-modal.window="if ($event.detail.id === '{{ $this->getId() }}') close()" x-on:closed-form-component-action-modal.window="if (($event.detail.id === '{{ $this->getId() }}') && $wire.mountedActions.length) open()" x-on:modal-closed.stop=" @@ -22,16 +21,11 @@ return } - if ( - ('mountedFormComponentActions' in livewire?.serverMemo.data) && - livewire.serverMemo.data.mountedFormComponentActions.length - ) { + if ($wire.mountedFormComponentActions.length) { return } - if ('mountedActions' in livewire?.serverMemo.data) { - livewire.call('unmountAction', false) - } + $wire.unmountAction(false) " > @if ($action) @@ -107,7 +101,6 @@ :slide-over="$action?->isModalSlideOver()" :close-by-clicking-away="$action?->isModalClosedByClickingAway()" display-classes="block" - x-init="livewire = $wire.__instance" x-on:opened-form-component-action-modal.window="if ($event.detail.id === '{{ $this->getId() }}') close()" x-on:closed-form-component-action-modal.window="if (($event.detail.id === '{{ $this->getId() }}') && $wire.mountedInfolistActions.length) open()" x-on:modal-closed.stop=" @@ -117,16 +110,11 @@ return } - if ( - ('mountedFormComponentActions' in livewire?.serverMemo.data) && - livewire.serverMemo.data.mountedFormComponentActions.length - ) { + if ($wire.mountedFormComponentActions.length) { return } - if ('mountedInfolistActions' in livewire?.serverMemo.data) { - livewire.call('unmountInfolistAction', false) - } + $wire.unmountInfolistAction(false) " > @if ($action) @@ -202,7 +190,6 @@ :slide-over="$action?->isModalSlideOver()" :close-by-clicking-away="$action?->isModalClosedByClickingAway()" display-classes="block" - x-init="livewire = $wire.__instance" x-on:opened-form-component-action-modal.window="if ($event.detail.id === '{{ $this->getId() }}') close()" x-on:closed-form-component-action-modal.window="if (($event.detail.id === '{{ $this->getId() }}') && $wire.mountedTableActions.length) open()" x-on:modal-closed.stop=" @@ -212,16 +199,11 @@ return } - if ( - ('mountedFormComponentActions' in livewire?.serverMemo.data) && - livewire.serverMemo.data.mountedFormComponentActions.length - ) { + if ($wire.mountedFormComponentActions.length) { return } - if ('mountedTableActions' in livewire?.serverMemo.data) { - livewire.call('unmountTableAction', false) - } + $wire.unmountTableAction(false) " > @if ($action) @@ -291,7 +273,6 @@ :slide-over="$action?->isModalSlideOver()" :close-by-clicking-away="$action?->isModalClosedByClickingAway()" display-classes="block" - x-init="livewire = $wire.__instance" x-on:opened-form-component-action-modal.window="if ($event.detail.id === '{{ $this->getId() }}') close()" x-on:closed-form-component-action-modal.window="if (($event.detail.id === '{{ $this->getId() }}') && $wire.mountedTableBulkAction) open()" x-on:modal-closed.stop=" @@ -301,16 +282,11 @@ return } - if ( - ('mountedFormComponentActions' in livewire?.serverMemo.data) && - livewire.serverMemo.data.mountedFormComponentActions.length - ) { + if ($wire.mountedFormComponentActions.length) { return } - if ('mountedTableBulkAction' in livewire?.serverMemo.data) { - livewire.set('mountedTableBulkAction', null) - } + $wire.mountedTableBulkAction = null " > @if ($action) @@ -386,12 +362,11 @@ :slide-over="$action?->isModalSlideOver()" :close-by-clicking-away="$action?->isModalClosedByClickingAway()" display-classes="block" - x-init="livewire = $wire.__instance" x-on:modal-closed.stop=" const mountedFormComponentActionShouldOpenModal = {{ \Illuminate\Support\Js::from($action && $this->mountedFormComponentActionShouldOpenModal()) }} - if (mountedFormComponentActionShouldOpenModal && 'mountedFormComponentActions' in livewire?.serverMemo.data) { - livewire.call('unmountFormComponentAction', false) + if (mountedFormComponentActionShouldOpenModal) { + $wire.unmountFormComponentAction(false) } " > diff --git a/packages/actions/resources/views/select-action.blade.php b/packages/actions/resources/views/select-action.blade.php index 76e4681eaa..1e47ffc787 100644 --- a/packages/actions/resources/views/select-action.blade.php +++ b/packages/actions/resources/views/select-action.blade.php @@ -5,7 +5,7 @@ + -
+
``` @@ -60,11 +60,11 @@ When the user types into the input field, the `$name` property is updated in the This is the basis of how fields work in Filament. Each field is assigned to a public property in the Livewire component class, which is where the state of the field is stored. We call the name of this property the "state path" of the field. You can access the state path of a field using the `$getStatePath()` function in the field's view: ```blade - + -
+
``` diff --git a/packages/forms/resources/views/components/affixes.blade.php b/packages/forms/resources/views/components/affixes.blade.php index b60cb2efe8..d233c7f8b9 100644 --- a/packages/forms/resources/views/components/affixes.blade.php +++ b/packages/forms/resources/views/components/affixes.blade.php @@ -41,8 +41,8 @@ ]) @if (filled($statePath)) x-bind:class="{ - 'text-gray-400': ! (@js($statePath) in $wire.__instance.serverMemo.errors), - 'text-danger-400': (@js($statePath) in $wire.__instance.serverMemo.errors), + 'text-gray-400': ! (@js($statePath) in $wire.__instance.snapshot.memo.errors), + 'text-danger-400': (@js($statePath) in $wire.__instance.snapshot.memo.errors), }" @endif > @@ -64,8 +64,8 @@ ]) @if (filled($statePath)) x-bind:class="{ - 'text-gray-400': ! (@js($statePath) in $wire.__instance.serverMemo.errors), - 'text-danger-400': (@js($statePath) in $wire.__instance.serverMemo.errors), + 'text-gray-400': ! (@js($statePath) in $wire.__instance.snapshot.memo.errors), + 'text-danger-400': (@js($statePath) in $wire.__instance.snapshot.memo.errors), }" @endif > @@ -86,8 +86,8 @@ ]) @if (filled($statePath)) x-bind:class="{ - 'text-gray-400': ! (@js($statePath) in $wire.__instance.serverMemo.errors), - 'text-danger-400': (@js($statePath) in $wire.__instance.serverMemo.errors), + 'text-gray-400': ! (@js($statePath) in $wire.__instance.snapshot.memo.errors), + 'text-danger-400': (@js($statePath) in $wire.__instance.snapshot.memo.errors), }" @endif > @@ -103,8 +103,8 @@ ]) @if (filled($statePath)) x-bind:class="{ - 'text-gray-400': ! (@js($statePath) in $wire.__instance.serverMemo.errors), - 'text-danger-400': (@js($statePath) in $wire.__instance.serverMemo.errors), + 'text-gray-400': ! (@js($statePath) in $wire.__instance.snapshot.memo.errors), + 'text-danger-400': (@js($statePath) in $wire.__instance.snapshot.memo.errors), }" @endif > diff --git a/packages/forms/resources/views/components/date-time-picker.blade.php b/packages/forms/resources/views/components/date-time-picker.blade.php index df5cca4d0a..e20996e942 100644 --- a/packages/forms/resources/views/components/date-time-picker.blade.php +++ b/packages/forms/resources/views/components/date-time-picker.blade.php @@ -26,8 +26,8 @@ class(['prose block w-full max-w-none break-words rounded-lg bg-white shadow-sm outline-none transition duration-75 dark:prose-invert focus:ring-1 focus:ring-inset dark:bg-gray-700']) }} x-bind:class="{ - 'border-gray-300 focus:border-primary-500 focus:ring-primary-500 dark:border-gray-600 dark:focus:border-primary-500': ! (@js($statePath) in $wire.__instance.serverMemo.errors), - 'border-danger-600 ring-danger-600 dark:border-danger-400 dark:ring-danger-400': (@js($statePath) in $wire.__instance.serverMemo.errors), + 'border-gray-300 focus:border-primary-500 focus:ring-primary-500 dark:border-gray-600 dark:focus:border-primary-500': ! (@js($statePath) in $wire.__instance.snapshot.memo.errors), + 'border-danger-600 ring-danger-600 dark:border-danger-400 dark:ring-danger-400': (@js($statePath) in $wire.__instance.snapshot.memo.errors), }" > @else diff --git a/packages/forms/resources/views/components/select.blade.php b/packages/forms/resources/views/components/select.blade.php index 92e9432cea..aac5ae5a44 100644 --- a/packages/forms/resources/views/components/select.blade.php +++ b/packages/forms/resources/views/components/select.blade.php @@ -108,7 +108,7 @@ x-on:keydown.esc="select.dropdown.isActive && $event.stopPropagation()" wire:ignore x-bind:class="{ - 'choices--error': (@js($statePath) in $wire.__instance.serverMemo.errors), + 'choices--error': (@js($statePath) in $wire.__instance.snapshot.memo.errors), }" {{ $attributes diff --git a/packages/forms/resources/views/components/text-input.blade.php b/packages/forms/resources/views/components/text-input.blade.php index 47cecd1c51..9854a15e28 100644 --- a/packages/forms/resources/views/components/text-input.blade.php +++ b/packages/forms/resources/views/components/text-input.blade.php @@ -38,8 +38,8 @@ x-data="{}" @endif x-bind:class="{ - 'border-gray-300 focus:border-primary-500 focus:ring-primary-500 dark:border-gray-600 dark:focus:border-primary-500': ! (@js($statePath) in $wire.__instance.serverMemo.errors), - 'border-danger-600 ring-danger-600 dark:border-danger-400 dark:ring-danger-400': (@js($statePath) in $wire.__instance.serverMemo.errors), + 'border-gray-300 focus:border-primary-500 focus:ring-primary-500 dark:border-gray-600 dark:focus:border-primary-500': ! (@js($statePath) in $wire.__instance.snapshot.memo.errors), + 'border-danger-600 ring-danger-600 dark:border-danger-400 dark:ring-danger-400': (@js($statePath) in $wire.__instance.snapshot.memo.errors), }" {{ $getExtraInputAttributeBag() diff --git a/packages/forms/src/Components/BaseFileUpload.php b/packages/forms/src/Components/BaseFileUpload.php index 9a911e8e98..a5c38ecce2 100644 --- a/packages/forms/src/Components/BaseFileUpload.php +++ b/packages/forms/src/Components/BaseFileUpload.php @@ -13,7 +13,7 @@ use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Str; use League\Flysystem\UnableToCheckFileExistence; -use Livewire\TemporaryUploadedFile; +use Livewire\Features\SupportFileUploads\TemporaryUploadedFile; use Throwable; class BaseFileUpload extends Field diff --git a/packages/forms/src/Components/Concerns/HasFileAttachments.php b/packages/forms/src/Components/Concerns/HasFileAttachments.php index 80e649133f..2cd12721d8 100644 --- a/packages/forms/src/Components/Concerns/HasFileAttachments.php +++ b/packages/forms/src/Components/Concerns/HasFileAttachments.php @@ -7,7 +7,7 @@ use Illuminate\Contracts\Filesystem\Filesystem; use Illuminate\Filesystem\FilesystemAdapter; use Illuminate\Support\Facades\Storage; use League\Flysystem\UnableToCheckFileExistence; -use Livewire\TemporaryUploadedFile; +use Livewire\Features\SupportFileUploads\TemporaryUploadedFile; use SplFileInfo; use Throwable; diff --git a/packages/forms/src/Components/Contracts/HasFileAttachments.php b/packages/forms/src/Components/Contracts/HasFileAttachments.php index 7dd8feccd7..71261f9eac 100644 --- a/packages/forms/src/Components/Contracts/HasFileAttachments.php +++ b/packages/forms/src/Components/Contracts/HasFileAttachments.php @@ -2,7 +2,7 @@ namespace Filament\Forms\Components\Contracts; -use Livewire\TemporaryUploadedFile; +use Livewire\Features\SupportFileUploads\TemporaryUploadedFile; interface HasFileAttachments { diff --git a/packages/forms/src/Components/Select.php b/packages/forms/src/Components/Select.php index 7f2c29b76c..951e5c58a3 100644 --- a/packages/forms/src/Components/Select.php +++ b/packages/forms/src/Components/Select.php @@ -389,10 +389,7 @@ class Select extends Field implements Contracts\HasAffixActions, Contracts\HasNe /** @var LivewireComponent $livewire */ $livewire = $component->getLivewire(); - $livewire->dispatch('filament-forms::select.refreshSelectedOptionLabel', [ - 'livewireId' => $livewire->id, - 'statePath' => $statePath, - ]); + $livewire->dispatch('filament-forms::select.refreshSelectedOptionLabel', livewireId: $livewire->getId(), statePath: $statePath); }) ->icon('heroicon-m-pencil-square') ->iconButton() diff --git a/packages/forms/src/Components/Wizard.php b/packages/forms/src/Components/Wizard.php index 42062c0ee0..b658ec619b 100644 --- a/packages/forms/src/Components/Wizard.php +++ b/packages/forms/src/Components/Wizard.php @@ -78,9 +78,7 @@ class Wizard extends Component /** @var LivewireComponent $livewire */ $livewire = $component->getLivewire(); - $livewire->dispatch('next-wizard-step', [ - 'statePath' => $statePath, - ]); + $livewire->dispatch('next-wizard-step', statePath: $statePath); }, ], ]); diff --git a/packages/forms/src/Concerns/HasFormComponentActions.php b/packages/forms/src/Concerns/HasFormComponentActions.php index 245257b4e0..4ad1250250 100644 --- a/packages/forms/src/Concerns/HasFormComponentActions.php +++ b/packages/forms/src/Concerns/HasFormComponentActions.php @@ -9,6 +9,7 @@ use Filament\Forms\Form; use Filament\Support\Exceptions\Cancel; use Filament\Support\Exceptions\Halt; use Illuminate\Support\Arr; +use function Livewire\store; /** * @property ComponentContainer $mountedFormComponentActionForm @@ -83,7 +84,7 @@ trait HasFormComponentActions $action->resetArguments(); $action->resetFormData(); - if (filled($this->redirectTo)) { + if (store($this)->has('redirect')) { return $result; } @@ -151,13 +152,9 @@ trait HasFormComponentActions $this->resetErrorBag(); - $this->dispatch('open-modal', [ - 'id' => "{$this->getId()}-form-component-action", - ]); + $this->dispatch('open-modal', id: "{$this->getId()}-form-component-action"); - $this->dispatch('opened-form-component-action-modal', [ - 'id' => $this->getId(), - ]); + $this->dispatch('opened-form-component-action-modal', id: $this->getId()); return null; } @@ -271,25 +268,17 @@ trait HasFormComponentActions } if (! count($this->mountedFormComponentActions)) { - $this->dispatch('close-modal', [ - 'id' => "{$this->getId()}-form-component-action", - ]); + $this->dispatch('close-modal', id: "{$this->getId()}-form-component-action"); - $this->dispatch('closed-form-component-action-modal', [ - 'id' => $this->getId(), - ]); + $this->dispatch('closed-form-component-action-modal', id: $this->getId()); return; } $this->resetErrorBag(); - $this->dispatch('open-modal', [ - 'id' => "{$this->getId()}-form-component-action", - ]); + $this->dispatch('open-modal', id: "{$this->getId()}-form-component-action"); - $this->dispatch('opened-form-component-action-modal', [ - 'id' => $this->getId(), - ]); + $this->dispatch('opened-form-component-action-modal', id: $this->getId()); } } diff --git a/packages/forms/src/Concerns/HasStateBindingModifiers.php b/packages/forms/src/Concerns/HasStateBindingModifiers.php index 3d968d7423..0556c3d97f 100644 --- a/packages/forms/src/Concerns/HasStateBindingModifiers.php +++ b/packages/forms/src/Concerns/HasStateBindingModifiers.php @@ -13,9 +13,16 @@ trait HasStateBindingModifiers protected string | int | null $debounce = null; + public function live(): static + { + $this->stateBindingModifiers(['live']); + + return $this; + } + public function reactive(): static { - $this->stateBindingModifiers([]); + $this->live(); return $this; } @@ -71,7 +78,7 @@ trait HasStateBindingModifiers } if ($debounce = $this->getDebounce()) { - return ['debounce', $debounce]; + return ['live', 'debounce', $debounce]; } if ($this instanceof Component) { @@ -82,12 +89,12 @@ trait HasStateBindingModifiers return $this->getParentComponent()->getStateBindingModifiers(); } - return ['defer']; + return []; } - public function isReactive(): bool + public function isLive(): bool { - return empty($this->getStateBindingModifiers()); + return in_array('live', $this->getStateBindingModifiers()); } public function isLazy(): bool diff --git a/packages/forms/src/Concerns/InteractsWithForms.php b/packages/forms/src/Concerns/InteractsWithForms.php index f0fd9df5ab..59bec67e26 100644 --- a/packages/forms/src/Concerns/InteractsWithForms.php +++ b/packages/forms/src/Concerns/InteractsWithForms.php @@ -10,7 +10,7 @@ use Filament\Support\Concerns\ResolvesDynamicLivewireProperties; use Filament\Support\Contracts\TranslatableContentDriver; use Illuminate\Database\Eloquent\Model; use Illuminate\Validation\ValidationException; -use Livewire\TemporaryUploadedFile; +use Livewire\Features\SupportFileUploads\TemporaryUploadedFile; use Livewire\WithFileUploads; trait InteractsWithForms @@ -162,13 +162,12 @@ trait InteractsWithForms * @param array> | null $rules * @param array $messages * @param array $attributes - * @param array $dataOverrides * @return array */ - public function validate($rules = null, $messages = [], $attributes = [], $dataOverrides = []): array + public function validate($rules = null, $messages = [], $attributes = []): array { try { - return parent::validate($rules, $messages, $attributes, $dataOverrides); + return parent::validate($rules, $messages, $attributes); } catch (ValidationException $exception) { $this->onValidationError($exception); @@ -227,17 +226,10 @@ trait InteractsWithForms return null; } - /** - * @param string $name - * @param mixed $value - * @param Closure $callback - */ - protected function callBeforeAndAfterSyncHooks($name, $value, $callback): void + public function updatedInteractsWithForms(string $statePath): void { - parent::callBeforeAndAfterSyncHooks($name, $value, $callback); - foreach ($this->getCachedForms() as $form) { - $form->callAfterStateUpdated($name); + $form->callAfterStateUpdated($statePath); } } diff --git a/packages/forms/src/Contracts/HasForms.php b/packages/forms/src/Contracts/HasForms.php index 66ea233451..3f24bc3d72 100644 --- a/packages/forms/src/Contracts/HasForms.php +++ b/packages/forms/src/Contracts/HasForms.php @@ -4,7 +4,7 @@ namespace Filament\Forms\Contracts; use Filament\Forms\Form; use Filament\Support\Contracts\TranslatableContentDriver; -use Livewire\TemporaryUploadedFile; +use Livewire\Features\SupportFileUploads\TemporaryUploadedFile; interface HasForms { @@ -55,8 +55,7 @@ interface HasForms * @param array> | null $rules * @param array $messages * @param array $attributes - * @param array $dataOverrides * @return array */ - public function validate($rules = null, $messages = [], $attributes = [], $dataOverrides = []); + public function validate($rules = null, $messages = [], $attributes = []); } diff --git a/packages/forms/stubs/FieldView.stub b/packages/forms/stubs/FieldView.stub index 52ebb77456..2361c8cd24 100644 --- a/packages/forms/stubs/FieldView.stub +++ b/packages/forms/stubs/FieldView.stub @@ -2,7 +2,7 @@ :component="$getFieldWrapperView()" :field="$field" > -
+
diff --git a/packages/infolists/composer.json b/packages/infolists/composer.json index 6d5de1291f..0fce0f2ef3 100644 --- a/packages/infolists/composer.json +++ b/packages/infolists/composer.json @@ -9,7 +9,6 @@ }, "require": { "php": "^8.1", - "blade-ui-kit/blade-heroicons": "^2.0", "filament/actions": "self.version", "filament/support": "self.version", "illuminate/console": "^9.0|^10.0", diff --git a/packages/infolists/src/Concerns/InteractsWithInfolists.php b/packages/infolists/src/Concerns/InteractsWithInfolists.php index 4055da3565..53cc772013 100644 --- a/packages/infolists/src/Concerns/InteractsWithInfolists.php +++ b/packages/infolists/src/Concerns/InteractsWithInfolists.php @@ -9,6 +9,7 @@ use Filament\Infolists\Components\Component; use Filament\Infolists\Infolist; use Filament\Support\Exceptions\Cancel; use Filament\Support\Exceptions\Halt; +use function Livewire\store; trait InteractsWithInfolists { @@ -115,7 +116,7 @@ trait InteractsWithInfolists $action->resetArguments(); $action->resetFormData(); - if (filled($this->redirectTo)) { + if (store($this)->has('redirect')) { return $result; } @@ -184,9 +185,7 @@ trait InteractsWithInfolists $this->resetErrorBag(); - $this->dispatch('open-modal', [ - 'id' => "{$this->getId()}-infolist-action", - ]); + $this->dispatch('open-modal', id: "{$this->getId()}-infolist-action"); return null; } @@ -281,9 +280,7 @@ trait InteractsWithInfolists $this->mountedInfolistActionsComponent = null; $this->mountedInfolistActionsInfolist = null; - $this->dispatch('close-modal', [ - 'id' => "{$this->getId()}-infolist-action", - ]); + $this->dispatch('close-modal', id: "{$this->getId()}-infolist-action"); return; } @@ -295,9 +292,7 @@ trait InteractsWithInfolists $this->resetErrorBag(); - $this->dispatch('open-modal', [ - 'id' => "{$this->getId()}-infolist-action", - ]); + $this->dispatch('open-modal', id: "{$this->getId()}-infolist-action"); } protected function makeInfolist(): Infolist diff --git a/packages/notifications/composer.json b/packages/notifications/composer.json index 1378227ab1..5367044dae 100644 --- a/packages/notifications/composer.json +++ b/packages/notifications/composer.json @@ -9,14 +9,12 @@ }, "require": { "php": "^8.1", - "blade-ui-kit/blade-heroicons": "^2.0", "filament/actions": "self.version", "filament/support": "self.version", "illuminate/contracts": "^9.0|^10.0", "illuminate/filesystem": "^9.0|^10.0", "illuminate/notifications": "^9.0|^10.0", "illuminate/support": "^9.0|^10.0", - "syntheticjs/support": "*", "spatie/laravel-package-tools": "^1.9" }, "autoload": { diff --git a/packages/notifications/src/Http/Livewire/DatabaseNotifications.php b/packages/notifications/src/Http/Livewire/DatabaseNotifications.php index b80b3e019a..fab3b23a06 100644 --- a/packages/notifications/src/Http/Livewire/DatabaseNotifications.php +++ b/packages/notifications/src/Http/Livewire/DatabaseNotifications.php @@ -155,9 +155,9 @@ class DatabaseNotifications extends Component } // @todo Replace this method for LW3 to ensure pagination query string is not used. - public function queryStringWithPagination(): array + public function queryStringWithPagination(): void { - return []; + return; } public function render(): View diff --git a/packages/notifications/src/NotificationsServiceProvider.php b/packages/notifications/src/NotificationsServiceProvider.php index 44dbcc2547..dac2a47810 100644 --- a/packages/notifications/src/NotificationsServiceProvider.php +++ b/packages/notifications/src/NotificationsServiceProvider.php @@ -10,9 +10,10 @@ use Filament\Support\Facades\FilamentAsset; use Livewire\Component; use Livewire\Features\SupportUnitTesting\Testable; use Livewire\Livewire; -use Livewire\Response; use Spatie\LaravelPackageTools\Package; use Spatie\LaravelPackageTools\PackageServiceProvider; +use function Livewire\on; +use function Livewire\store; class NotificationsServiceProvider extends PackageServiceProvider { @@ -34,22 +35,21 @@ class NotificationsServiceProvider extends PackageServiceProvider Livewire::component('notifications', Notifications::class); - // @todo Listen for notifications -// Livewire::listen('component.dehydrate', function (Component $component, Response $response): Response { -// if (! Livewire::isLivewireRequest()) { -// return $response; -// } -// -// if ($component->redirectTo !== null) { -// return $response; -// } -// -// if (count(session()->get('filament.notifications') ?? []) > 0) { -// $component->emit('notificationsSent'); -// } -// -// return $response; -// }); + on('dehydrate', function (Component $component) { + if (! Livewire::isLivewireRequest()) { + return; + } + + if (store($component)->has('redirect')) { + return; + } + + if (count(session()->get('filament.notifications') ?? []) <= 0) { + return; + } + + $component->dispatch('notificationsSent'); + }); Testable::mixin(new TestsNotifications()); } diff --git a/packages/panels/composer.json b/packages/panels/composer.json index 1ca97e7f42..ce226d4365 100644 --- a/packages/panels/composer.json +++ b/packages/panels/composer.json @@ -27,7 +27,6 @@ "illuminate/session": "^9.0|^10.0", "illuminate/support": "^9.0|^10.0", "illuminate/view": "^9.0|^10.0", - "syntheticjs/support": "*", "spatie/laravel-package-tools": "^1.9" }, "autoload": { diff --git a/packages/panels/dist/index.js b/packages/panels/dist/index.js index dbd87e63ad..d02e498db7 100644 --- a/packages/panels/dist/index.js +++ b/packages/panels/dist/index.js @@ -1,29 +1,25 @@ -(()=>{var _n=!1,wn=!1,Ut=[],xn=-1;function Vo(e){qo(e)}function qo(e){Ut.includes(e)||Ut.push(e),Wo()}function hi(e){let t=Ut.indexOf(e);t!==-1&&t>xn&&Ut.splice(t,1)}function Wo(){!wn&&!_n&&(_n=!0,queueMicrotask(Ko))}function Ko(){_n=!1,wn=!0;for(let e=0;ee.effect(t,{scheduler:r=>{On?Vo(r):r()}}),gi=e.raw}function si(e){ur=e}function Yo(e){let t=()=>{};return[n=>{let i=ur(n);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(o=>o())}),e._x_effects.add(i),t=()=>{i!==void 0&&(e._x_effects.delete(i),Ar(i))},i},()=>{t()}]}var mi=[],yi=[],bi=[];function Go(e){bi.push(e)}function _i(e,t){typeof t=="function"?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,yi.push(t))}function Xo(e){mi.push(e)}function Jo(e,t,r){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(r)}function wi(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([r,n])=>{(t===void 0||t.includes(r))&&(n.forEach(i=>i()),delete e._x_attributeCleanups[r])})}var $n=new MutationObserver(Hn),Nn=!1;function Bn(){$n.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Nn=!0}function xi(){Zo(),$n.disconnect(),Nn=!1}var _r=[],gn=!1;function Zo(){_r=_r.concat($n.takeRecords()),_r.length&&!gn&&(gn=!0,queueMicrotask(()=>{Qo(),gn=!1}))}function Qo(){Hn(_r),_r.length=0}function He(e){if(!Nn)return e();xi();let t=e();return Bn(),t}var Fn=!1,Hr=[];function ea(){Fn=!0}function ta(){Fn=!1,Hn(Hr),Hr=[]}function Hn(e){if(Fn){Hr=Hr.concat(e);return}let t=[],r=[],n=new Map,i=new Map;for(let o=0;ou.nodeType===1&&t.push(u)),e[o].removedNodes.forEach(u=>u.nodeType===1&&r.push(u))),e[o].type==="attributes")){let u=e[o].target,f=e[o].attributeName,m=e[o].oldValue,_=()=>{n.has(u)||n.set(u,[]),n.get(u).push({name:f,value:u.getAttribute(f)})},w=()=>{i.has(u)||i.set(u,[]),i.get(u).push(f)};u.hasAttribute(f)&&m===null?_():u.hasAttribute(f)?(w(),_()):w()}i.forEach((o,u)=>{wi(u,o)}),n.forEach((o,u)=>{mi.forEach(f=>f(u,o))});for(let o of r)if(!t.includes(o)&&(yi.forEach(u=>u(o)),o._x_cleanups))for(;o._x_cleanups.length;)o._x_cleanups.pop()();t.forEach(o=>{o._x_ignoreSelf=!0,o._x_ignore=!0});for(let o of t)r.includes(o)||o.isConnected&&(delete o._x_ignoreSelf,delete o._x_ignore,bi.forEach(u=>u(o)),o._x_ignore=!0,o._x_ignoreSelf=!0);t.forEach(o=>{delete o._x_ignoreSelf,delete o._x_ignore}),t=null,r=null,n=null,i=null}function Oi(e){return Cr(or(e))}function Sr(e,t,r){return e._x_dataStack=[t,...or(r||e)],()=>{e._x_dataStack=e._x_dataStack.filter(n=>n!==t)}}function or(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot=="function"&&e instanceof ShadowRoot?or(e.host):e.parentNode?or(e.parentNode):[]}function Cr(e){let t=new Proxy({},{ownKeys:()=>Array.from(new Set(e.flatMap(r=>Object.keys(r)))),has:(r,n)=>e.some(i=>i.hasOwnProperty(n)),get:(r,n)=>(e.find(i=>{if(i.hasOwnProperty(n)){let o=Object.getOwnPropertyDescriptor(i,n);if(o.get&&o.get._x_alreadyBound||o.set&&o.set._x_alreadyBound)return!0;if((o.get||o.set)&&o.enumerable){let u=o.get,f=o.set,m=o;u=u&&u.bind(t),f=f&&f.bind(t),u&&(u._x_alreadyBound=!0),f&&(f._x_alreadyBound=!0),Object.defineProperty(i,n,{...m,get:u,set:f})}return!0}return!1})||{})[n],set:(r,n,i)=>{let o=e.find(u=>u.hasOwnProperty(n));return o?o[n]=i:e[e.length-1][n]=i,!0}});return t}function Ei(e){let t=n=>typeof n=="object"&&!Array.isArray(n)&&n!==null,r=(n,i="")=>{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach(([o,{value:u,enumerable:f}])=>{if(f===!1||u===void 0)return;let m=i===""?o:`${i}.${o}`;typeof u=="object"&&u!==null&&u._x_interceptor?n[o]=u.initialize(e,m,o):t(u)&&u!==n&&!(u instanceof Element)&&r(u,m)})};return r(e)}function Ai(e,t=()=>{}){let r={initialValue:void 0,_x_interceptor:!0,initialize(n,i,o){return e(this.initialValue,()=>ra(n,i),u=>En(n,i,u),i,o)}};return t(r),n=>{if(typeof n=="object"&&n!==null&&n._x_interceptor){let i=r.initialize.bind(r);r.initialize=(o,u,f)=>{let m=n.initialize(o,u,f);return r.initialValue=m,i(o,u,f)}}else r.initialValue=n;return r}}function ra(e,t){return t.split(".").reduce((r,n)=>r[n],e)}function En(e,t,r){if(typeof t=="string"&&(t=t.split(".")),t.length===1)e[t[0]]=r;else{if(t.length===0)throw error;return e[t[0]]||(e[t[0]]={}),En(e[t[0]],t.slice(1),r)}}var Si={};function st(e,t){Si[e]=t}function An(e,t){return Object.entries(Si).forEach(([r,n])=>{let i=null;function o(){if(i)return i;{let[u,f]=Ri(t);return i={interceptor:Ai,...u},_i(t,f),i}}Object.defineProperty(e,`$${r}`,{get(){return n(t,o())},enumerable:!1})}),e}function na(e,t,r,...n){try{return r(...n)}catch(i){Or(i,e,t)}}function Or(e,t,r=void 0){Object.assign(e,{el:t,expression:r}),console.warn(`Alpine Expression Error: ${e.message} - -${r?'Expression: "'+r+`" - -`:""}`,t),setTimeout(()=>{throw e},0)}var Fr=!0;function ia(e){let t=Fr;Fr=!1,e(),Fr=t}function ir(e,t,r={}){let n;return ze(e,t)(i=>n=i,r),n}function ze(...e){return Ci(...e)}var Ci=Ti;function oa(e){Ci=e}function Ti(e,t){let r={};An(r,e);let n=[r,...or(e)],i=typeof t=="function"?aa(n,t):ua(n,t,e);return na.bind(null,e,t,i)}function aa(e,t){return(r=()=>{},{scope:n={},params:i=[]}={})=>{let o=t.apply(Cr([n,...e]),i);Vr(r,o)}}var mn={};function sa(e,t){if(mn[e])return mn[e];let r=Object.getPrototypeOf(async function(){}).constructor,n=/^[\n\s]*if.*\(.*\)/.test(e)||/^(let|const)\s/.test(e)?`(async()=>{ ${e} })()`:e,o=(()=>{try{return new r(["__self","scope"],`with (scope) { __self.result = ${n} }; __self.finished = true; return __self.result;`)}catch(u){return Or(u,t,e),Promise.resolve()}})();return mn[e]=o,o}function ua(e,t,r){let n=sa(t,r);return(i=()=>{},{scope:o={},params:u=[]}={})=>{n.result=void 0,n.finished=!1;let f=Cr([o,...e]);if(typeof n=="function"){let m=n(n,f).catch(_=>Or(_,r,t));n.finished?(Vr(i,n.result,f,u,r),n.result=void 0):m.then(_=>{Vr(i,_,f,u,r)}).catch(_=>Or(_,r,t)).finally(()=>n.result=void 0)}}}function Vr(e,t,r,n,i){if(Fr&&typeof t=="function"){let o=t.apply(r,n);o instanceof Promise?o.then(u=>Vr(e,u,r,n)).catch(u=>Or(u,i,t)):e(o)}else typeof t=="object"&&t instanceof Promise?t.then(o=>e(o)):e(t)}var Vn="x-";function fr(e=""){return Vn+e}function fa(e){Vn=e}var Sn={};function ke(e,t){return Sn[e]=t,{before(r){if(!Sn[r]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}let n=Kt.indexOf(r);Kt.splice(n>=0?n:Kt.indexOf("DEFAULT"),0,e)}}}function qn(e,t,r){if(t=Array.from(t),e._x_virtualDirectives){let o=Object.entries(e._x_virtualDirectives).map(([f,m])=>({name:f,value:m})),u=Mi(o);o=o.map(f=>u.find(m=>m.name===f.name)?{name:`x-bind:${f.name}`,value:`"${f.value}"`}:f),t=t.concat(o)}let n={};return t.map(Ii((o,u)=>n[o]=u)).filter(ki).map(pa(n,r)).sort(da).map(o=>la(e,o))}function Mi(e){return Array.from(e).map(Ii()).filter(t=>!ki(t))}var Cn=!1,br=new Map,Pi=Symbol();function ca(e){Cn=!0;let t=Symbol();Pi=t,br.set(t,[]);let r=()=>{for(;br.get(t).length;)br.get(t).shift()();br.delete(t)},n=()=>{Cn=!1,r()};e(r),n()}function Ri(e){let t=[],r=f=>t.push(f),[n,i]=Yo(e);return t.push(i),[{Alpine:Mr,effect:n,cleanup:r,evaluateLater:ze.bind(ze,e),evaluate:ir.bind(ir,e)},()=>t.forEach(f=>f())]}function la(e,t){let r=()=>{},n=Sn[t.type]||r,[i,o]=Ri(e);Jo(e,t.original,o);let u=()=>{e._x_ignore||e._x_ignoreSelf||(n.inline&&n.inline(e,t,i),n=n.bind(n,e,t,i),Cn?br.get(Pi).push(n):n())};return u.runCleanups=o,u}var Di=(e,t)=>({name:r,value:n})=>(r.startsWith(e)&&(r=r.replace(e,t)),{name:r,value:n}),Li=e=>e;function Ii(e=()=>{}){return({name:t,value:r})=>{let{name:n,value:i}=ji.reduce((o,u)=>u(o),{name:t,value:r});return n!==t&&e(n,t),{name:n,value:i}}}var ji=[];function Wn(e){ji.push(e)}function ki({name:e}){return $i().test(e)}var $i=()=>new RegExp(`^${Vn}([^:^.]+)\\b`);function pa(e,t){return({name:r,value:n})=>{let i=r.match($i()),o=r.match(/:([a-zA-Z0-9\-:]+)/),u=r.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],f=t||e[r]||r;return{type:i?i[1]:null,value:o?o[1]:null,modifiers:u.map(m=>m.replace(".","")),expression:n,original:f}}}var Tn="DEFAULT",Kt=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",Tn,"teleport"];function da(e,t){let r=Kt.indexOf(e.type)===-1?Tn:e.type,n=Kt.indexOf(t.type)===-1?Tn:t.type;return Kt.indexOf(r)-Kt.indexOf(n)}function wr(e,t,r={}){e.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0,cancelable:!0}))}function Rt(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(i=>Rt(i,t));return}let r=!1;if(t(e,()=>r=!0),r)return;let n=e.firstElementChild;for(;n;)Rt(n,t,!1),n=n.nextElementSibling}function Dt(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var ui=!1;function va(){ui&&Dt("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),ui=!0,document.body||Dt("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `