From 21d06aeca30dd129cb35d4e499339a03039998d8 Mon Sep 17 00:00:00 2001 From: Arthur Monney Date: Mon, 26 Feb 2024 05:15:18 +0100 Subject: [PATCH 1/4] Remobe final on model (#234) * Remove final keyword on model --------- Co-authored-by: mckenziearts --- .github/FUNDING.yml | 2 +- .github/workflows/phpstan.yml | 57 +- .gitignore | 21 +- composer.lock | 793 +++++++++--------- monorepo-builder.php | 15 + packages/core/composer.json | 1 + packages/core/src/Models/Address.php | 2 +- packages/core/src/Models/Attribute.php | 2 +- packages/core/src/Models/AttributeProduct.php | 2 +- packages/core/src/Models/AttributeValue.php | 2 +- packages/core/src/Models/Carrier.php | 2 +- packages/core/src/Models/Country.php | 2 +- packages/core/src/Models/Currency.php | 2 +- packages/core/src/Models/Discount.php | 2 +- packages/core/src/Models/DiscountDetail.php | 2 +- packages/core/src/Models/Geolocation.php | 2 +- packages/core/src/Models/Inventory.php | 2 +- packages/core/src/Models/InventoryHistory.php | 2 +- packages/core/src/Models/Legal.php | 2 +- packages/core/src/Models/Order.php | 2 +- packages/core/src/Models/OrderItem.php | 2 +- packages/core/src/Models/OrderRefund.php | 2 +- packages/core/src/Models/OrderShipping.php | 2 +- packages/core/src/Models/PaymentMethod.php | 2 +- packages/core/src/Models/Review.php | 2 +- packages/core/src/Models/Setting.php | 2 +- packages/core/src/helpers.php | 7 - phpstan.neon | 1 - 28 files changed, 488 insertions(+), 449 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index baa2db7e2..2cd8474c0 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,2 +1,2 @@ # These are supported funding model platforms -github: mckenziearts +github: [mckenziearts, shopperlabs] diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index f9f93fc56..56b0db2d6 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -1,4 +1,4 @@ -name: phpstan +name: "phpstan Static Analysis" on: push: @@ -6,35 +6,36 @@ on: jobs: phpstan: - runs-on: ubuntu-latest strategy: fail-fast: false matrix: - php: [8.2, 8.1] - laravel: [10.*, 9.*] - dependency-version: [prefer-stable] - include: - - laravel: 10.* - testbench: 8.* - - laravel: 9.* - testbench: 7.* - name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} + php: ["8.1", "8.2"] + laravel: ["^9.0", "^10.0"] + dependencies: ["highest"] + + name: "PHP ${{ matrix.php }} - L${{ matrix.laravel }} ${{ matrix.dependencies == 'highest' && '↑' || '↓' }}" + + runs-on: "ubuntu-latest" + steps: - - uses: actions/checkout@v3 - - name: Cache dependencies - uses: actions/cache@v3 - with: - path: ~/.composer/cache/files - key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} - - name: Setup PHP - uses: shivammathur/setup-php@v2 + - name: "Checkout code" + uses: "actions/checkout@v3" + + - name: "Setup PHP" + uses: "shivammathur/setup-php@v2" with: - php-version: ${{ matrix.php }} - extensions: mbstring, pdo, pdo_sqlite - coverage: none - - name: Install dependencies - run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update - composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction - - name: Run PHPStan - run: ./vendor/bin/phpstan analyse + php-version: "${{ matrix.php }}" + extensions: "dom, curl, libxml, mbstring, zip, fileinfo" + tools: "composer:v2" + coverage: "none" + + - name: "Install dependencies from composer.json" + if: "matrix.dependencies != 'lowest'" + run: "composer update --with='laravel/framework:${{ matrix.laravel }}' --no-interaction --no-progress" + + - name: "Install lowest dependencies from composer.json" + if: "matrix.dependencies == 'lowest'" + run: "composer update --with='laravel/framework:${{ matrix.laravel }}' --no-interaction --no-progress --prefer-lowest" + + - name: "Run PHPStan" + run: ./vendor/bin/phpstan diff --git a/.gitignore b/.gitignore index e90125dab..fb04d0e84 100644 --- a/.gitignore +++ b/.gitignore @@ -1,19 +1,14 @@ -# Node.js -/node_modules -npm-debug.log -yarn-error.log - -# Composer -/vendor -composer.phar - -# IDE /.idea /.vscode - -# Laravel +/**/node_modules +/node_modules.nosync +yarn-error.log +/**/vendor +/**/composer.lock +/vendor.nosync +composer.phar phpunit.xml .phpunit.result.cache .php-cs-fixer.cache build - +Thumbs.db diff --git a/composer.lock b/composer.lock index 48ae3c1b2..b01bf10c2 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": "59658a19412536d3fa229e89a4bcbb0d", + "content-hash": "c12b3d9dd12be5bb15e95c5af682755e", "packages": [], "packages-dev": [ { @@ -78,31 +78,31 @@ }, { "name": "blade-ui-kit/blade-icons", - "version": "1.5.3", + "version": "1.6.0", "source": { "type": "git", "url": "https://github.com/blade-ui-kit/blade-icons.git", - "reference": "b5e6603218e2347ac81cb780bc6f71c8c3b31f5b" + "reference": "89660d93f9897d231e9113ba203cd17f4c5efade" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/blade-ui-kit/blade-icons/zipball/b5e6603218e2347ac81cb780bc6f71c8c3b31f5b", - "reference": "b5e6603218e2347ac81cb780bc6f71c8c3b31f5b", + "url": "https://api.github.com/repos/blade-ui-kit/blade-icons/zipball/89660d93f9897d231e9113ba203cd17f4c5efade", + "reference": "89660d93f9897d231e9113ba203cd17f4c5efade", "shasum": "" }, "require": { - "illuminate/contracts": "^8.0|^9.0|^10.0", - "illuminate/filesystem": "^8.0|^9.0|^10.0", - "illuminate/support": "^8.0|^9.0|^10.0", - "illuminate/view": "^8.0|^9.0|^10.0", + "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0", + "illuminate/filesystem": "^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", + "illuminate/view": "^8.0|^9.0|^10.0|^11.0", "php": "^7.4|^8.0", - "symfony/console": "^5.3|^6.0", - "symfony/finder": "^5.3|^6.0" + "symfony/console": "^5.3|^6.0|^7.0", + "symfony/finder": "^5.3|^6.0|^7.0" }, "require-dev": { - "mockery/mockery": "^1.3", - "orchestra/testbench": "^6.0|^7.0|^8.0", - "phpunit/phpunit": "^9.0" + "mockery/mockery": "^1.5.1", + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0", + "phpunit/phpunit": "^9.0|^10.5|^11.0" }, "bin": [ "bin/blade-icons-generate" @@ -155,7 +155,7 @@ "type": "paypal" } ], - "time": "2023-10-18T10:50:13+00:00" + "time": "2024-02-07T16:09:20+00:00" }, { "name": "brianium/paratest", @@ -456,26 +456,26 @@ }, { "name": "danharrin/livewire-rate-limiting", - "version": "v1.2.0", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/danharrin/livewire-rate-limiting.git", - "reference": "bc2cc0a0b5b517fdc5bba8671013dd71081f70a8" + "reference": "bf16003f0d977b5a41071526d697eec94ac41735" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/danharrin/livewire-rate-limiting/zipball/bc2cc0a0b5b517fdc5bba8671013dd71081f70a8", - "reference": "bc2cc0a0b5b517fdc5bba8671013dd71081f70a8", + "url": "https://api.github.com/repos/danharrin/livewire-rate-limiting/zipball/bf16003f0d977b5a41071526d697eec94ac41735", + "reference": "bf16003f0d977b5a41071526d697eec94ac41735", "shasum": "" }, "require": { - "illuminate/support": "^9.0|^10.0", + "illuminate/support": "^9.0|^10.0|^11.0", "php": "^8.0" }, "require-dev": { "livewire/livewire": "^3.0", "livewire/volt": "^1.3", - "orchestra/testbench": "^7.0|^8.0", + "orchestra/testbench": "^7.0|^8.0|^9.0", "phpunit/phpunit": "^9.0|^10.0" }, "type": "library", @@ -506,7 +506,7 @@ "type": "github" } ], - "time": "2023-10-27T15:01:19+00:00" + "time": "2024-01-21T14:53:34+00:00" }, { "name": "dflydev/dot-access-data", @@ -678,16 +678,16 @@ }, { "name": "doctrine/dbal", - "version": "3.7.2", + "version": "3.8.2", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "0ac3c270590e54910715e9a1a044cc368df282b2" + "reference": "a19a1d05ca211f41089dffcc387733a6875196cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/0ac3c270590e54910715e9a1a044cc368df282b2", - "reference": "0ac3c270590e54910715e9a1a044cc368df282b2", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/a19a1d05ca211f41089dffcc387733a6875196cb", + "reference": "a19a1d05ca211f41089dffcc387733a6875196cb", "shasum": "" }, "require": { @@ -703,14 +703,14 @@ "doctrine/coding-standard": "12.0.0", "fig/log-test": "^1", "jetbrains/phpstorm-stubs": "2023.1", - "phpstan/phpstan": "1.10.42", + "phpstan/phpstan": "1.10.57", "phpstan/phpstan-strict-rules": "^1.5", - "phpunit/phpunit": "9.6.13", + "phpunit/phpunit": "9.6.16", "psalm/plugin-phpunit": "0.18.4", "slevomat/coding-standard": "8.13.1", - "squizlabs/php_codesniffer": "3.7.2", - "symfony/cache": "^5.4|^6.0", - "symfony/console": "^4.4|^5.4|^6.0", + "squizlabs/php_codesniffer": "3.8.1", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/console": "^4.4|^5.4|^6.0|^7.0", "vimeo/psalm": "4.30.0" }, "suggest": { @@ -771,7 +771,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.7.2" + "source": "https://github.com/doctrine/dbal/tree/3.8.2" }, "funding": [ { @@ -787,20 +787,20 @@ "type": "tidelift" } ], - "time": "2023-11-19T08:06:58+00:00" + "time": "2024-02-12T18:36:36+00:00" }, { "name": "doctrine/deprecations", - "version": "1.1.2", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931" + "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931", - "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", + "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", "shasum": "" }, "require": { @@ -832,9 +832,9 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/1.1.2" + "source": "https://github.com/doctrine/deprecations/tree/1.1.3" }, - "time": "2023-09-27T20:04:15+00:00" + "time": "2024-01-30T19:34:25+00:00" }, { "name": "doctrine/event-manager", @@ -929,16 +929,16 @@ }, { "name": "doctrine/inflector", - "version": "2.0.9", + "version": "2.0.10", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "2930cd5ef353871c821d5c43ed030d39ac8cfe65" + "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/2930cd5ef353871c821d5c43ed030d39ac8cfe65", - "reference": "2930cd5ef353871c821d5c43ed030d39ac8cfe65", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/5817d0659c5b50c9b950feb9af7b9668e2c436bc", + "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc", "shasum": "" }, "require": { @@ -1000,7 +1000,7 @@ ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.9" + "source": "https://github.com/doctrine/inflector/tree/2.0.10" }, "funding": [ { @@ -1016,7 +1016,7 @@ "type": "tidelift" } ], - "time": "2024-01-15T18:05:13+00:00" + "time": "2024-02-18T20:23:39+00:00" }, { "name": "doctrine/instantiator", @@ -1090,27 +1090,27 @@ }, { "name": "doctrine/lexer", - "version": "3.0.0", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/doctrine/lexer.git", - "reference": "84a527db05647743d50373e0ec53a152f2cde568" + "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/84a527db05647743d50373e0ec53a152f2cde568", - "reference": "84a527db05647743d50373e0ec53a152f2cde568", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd", + "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd", "shasum": "" }, "require": { "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^10", - "phpstan/phpstan": "^1.9", - "phpunit/phpunit": "^9.5", + "doctrine/coding-standard": "^12", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.5", "psalm/plugin-phpunit": "^0.18.3", - "vimeo/psalm": "^5.0" + "vimeo/psalm": "^5.21" }, "type": "library", "autoload": { @@ -1147,7 +1147,7 @@ ], "support": { "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/3.0.0" + "source": "https://github.com/doctrine/lexer/tree/3.0.1" }, "funding": [ { @@ -1163,7 +1163,7 @@ "type": "tidelift" } ], - "time": "2022-12-15T16:57:16+00:00" + "time": "2024-02-05T11:56:58+00:00" }, { "name": "dragonmantank/cron-expression", @@ -1358,16 +1358,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "1.0.0", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077" + "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/85193c0b0cb5c47894b5eaec906e946f054e7077", - "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/f92996c4d5c1a696a6a970e20f7c4216200fcc42", + "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42", "shasum": "" }, "require": { @@ -1407,7 +1407,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/1.0.0" + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.1.0" }, "funding": [ { @@ -1415,7 +1415,7 @@ "type": "github" } ], - "time": "2023-09-17T21:38:23+00:00" + "time": "2024-02-07T09:43:46+00:00" }, { "name": "filp/whoops", @@ -1935,16 +1935,16 @@ }, { "name": "larastan/larastan", - "version": "v2.8.1", + "version": "v2.9.0", "source": { "type": "git", "url": "https://github.com/larastan/larastan.git", - "reference": "b7cc6a29c457a7d4f3de90466392ae9ad3e17022" + "reference": "35fa9cbe1895e76215bbe74571a344f2705fbe01" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/larastan/larastan/zipball/b7cc6a29c457a7d4f3de90466392ae9ad3e17022", - "reference": "b7cc6a29c457a7d4f3de90466392ae9ad3e17022", + "url": "https://api.github.com/repos/larastan/larastan/zipball/35fa9cbe1895e76215bbe74571a344f2705fbe01", + "reference": "35fa9cbe1895e76215bbe74571a344f2705fbe01", "shasum": "" }, "require": { @@ -2012,7 +2012,7 @@ ], "support": { "issues": "https://github.com/larastan/larastan/issues", - "source": "https://github.com/larastan/larastan/tree/v2.8.1" + "source": "https://github.com/larastan/larastan/tree/v2.9.0" }, "funding": [ { @@ -2032,24 +2032,24 @@ "type": "patreon" } ], - "time": "2024-01-08T09:11:17+00:00" + "time": "2024-02-13T11:49:22+00:00" }, { "name": "laravel/framework", - "version": "v10.41.0", + "version": "v10.45.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "da31969bd35e6ee0bbcd9e876f88952dc754b012" + "reference": "dcf5d1d722b84ad38a5e053289130b6962f830bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/da31969bd35e6ee0bbcd9e876f88952dc754b012", - "reference": "da31969bd35e6ee0bbcd9e876f88952dc754b012", + "url": "https://api.github.com/repos/laravel/framework/zipball/dcf5d1d722b84ad38a5e053289130b6962f830bd", + "reference": "dcf5d1d722b84ad38a5e053289130b6962f830bd", "shasum": "" }, "require": { - "brick/math": "^0.9.3|^0.10.2|^0.11", + "brick/math": "^0.9.3|^0.10.2|^0.11|^0.12", "composer-runtime-api": "^2.2", "doctrine/inflector": "^2.0.5", "dragonmantank/cron-expression": "^3.3.2", @@ -2093,6 +2093,7 @@ "conflict": { "carbonphp/carbon-doctrine-types": ">=3.0", "doctrine/dbal": ">=4.0", + "phpunit/phpunit": ">=11.0.0", "tightenco/collect": "<5.5.33" }, "provide": { @@ -2237,20 +2238,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-01-16T15:23:58+00:00" + "time": "2024-02-21T14:07:36+00:00" }, { "name": "laravel/pint", - "version": "v1.13.9", + "version": "v1.14.0", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "e3e269cc5d874c8efd2dc7962b1c7ff2585fe525" + "reference": "6b127276e3f263f7bb17d5077e9e0269e61b2a0e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/e3e269cc5d874c8efd2dc7962b1c7ff2585fe525", - "reference": "e3e269cc5d874c8efd2dc7962b1c7ff2585fe525", + "url": "https://api.github.com/repos/laravel/pint/zipball/6b127276e3f263f7bb17d5077e9e0269e61b2a0e", + "reference": "6b127276e3f263f7bb17d5077e9e0269e61b2a0e", "shasum": "" }, "require": { @@ -2261,13 +2262,13 @@ "php": "^8.1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.47.0", - "illuminate/view": "^10.40.0", + "friendsofphp/php-cs-fixer": "^3.49.0", + "illuminate/view": "^10.43.0", "larastan/larastan": "^2.8.1", "laravel-zero/framework": "^10.3.0", "mockery/mockery": "^1.6.7", "nunomaduro/termwind": "^1.15.1", - "pestphp/pest": "^2.31.0" + "pestphp/pest": "^2.33.6" }, "bin": [ "builds/pint" @@ -2303,7 +2304,7 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2024-01-16T17:39:29+00:00" + "time": "2024-02-20T17:38:05+00:00" }, { "name": "laravel/prompts", @@ -2490,16 +2491,16 @@ }, { "name": "league/commonmark", - "version": "2.4.1", + "version": "2.4.2", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "3669d6d5f7a47a93c08ddff335e6d945481a1dd5" + "reference": "91c24291965bd6d7c46c46a12ba7492f83b1cadf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/3669d6d5f7a47a93c08ddff335e6d945481a1dd5", - "reference": "3669d6d5f7a47a93c08ddff335e6d945481a1dd5", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/91c24291965bd6d7c46c46a12ba7492f83b1cadf", + "reference": "91c24291965bd6d7c46c46a12ba7492f83b1cadf", "shasum": "" }, "require": { @@ -2512,7 +2513,7 @@ }, "require-dev": { "cebe/markdown": "^1.0", - "commonmark/cmark": "0.30.0", + "commonmark/cmark": "0.30.3", "commonmark/commonmark.js": "0.30.0", "composer/package-versions-deprecated": "^1.8", "embed/embed": "^4.4", @@ -2522,10 +2523,10 @@ "michelf/php-markdown": "^1.4 || ^2.0", "nyholm/psr7": "^1.5", "phpstan/phpstan": "^1.8.2", - "phpunit/phpunit": "^9.5.21", + "phpunit/phpunit": "^9.5.21 || ^10.5.9 || ^11.0.0", "scrutinizer/ocular": "^1.8.1", - "symfony/finder": "^5.3 | ^6.0", - "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0", + "symfony/finder": "^5.3 | ^6.0 || ^7.0", + "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 || ^7.0", "unleashedtech/php-coding-standard": "^3.1.1", "vimeo/psalm": "^4.24.0 || ^5.0.0" }, @@ -2592,7 +2593,7 @@ "type": "tidelift" } ], - "time": "2023-08-30T16:55:00+00:00" + "time": "2024-02-02T11:59:32+00:00" }, { "name": "league/config", @@ -2678,16 +2679,16 @@ }, { "name": "league/flysystem", - "version": "3.23.0", + "version": "3.24.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "d4ad81e2b67396e33dc9d7e54ec74ccf73151dcc" + "reference": "b25a361508c407563b34fac6f64a8a17a8819675" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/d4ad81e2b67396e33dc9d7e54ec74ccf73151dcc", - "reference": "d4ad81e2b67396e33dc9d7e54ec74ccf73151dcc", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/b25a361508c407563b34fac6f64a8a17a8819675", + "reference": "b25a361508c407563b34fac6f64a8a17a8819675", "shasum": "" }, "require": { @@ -2707,7 +2708,7 @@ "require-dev": { "async-aws/s3": "^1.5 || ^2.0", "async-aws/simple-s3": "^1.1 || ^2.0", - "aws/aws-sdk-php": "^3.220.0", + "aws/aws-sdk-php": "^3.295.10", "composer/semver": "^3.0", "ext-fileinfo": "*", "ext-ftp": "*", @@ -2718,7 +2719,7 @@ "phpseclib/phpseclib": "^3.0.34", "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.5.11|^10.0", - "sabre/dav": "^4.3.1" + "sabre/dav": "^4.6.0" }, "type": "library", "autoload": { @@ -2752,7 +2753,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.23.0" + "source": "https://github.com/thephpleague/flysystem/tree/3.24.0" }, "funding": [ { @@ -2764,20 +2765,20 @@ "type": "github" } ], - "time": "2023-12-04T10:16:17+00:00" + "time": "2024-02-04T12:10:17+00:00" }, { "name": "league/flysystem-local", - "version": "3.23.0", + "version": "3.23.1", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem-local.git", - "reference": "5cf046ba5f059460e86a997c504dd781a39a109b" + "reference": "b884d2bf9b53bb4804a56d2df4902bb51e253f00" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/5cf046ba5f059460e86a997c504dd781a39a109b", - "reference": "5cf046ba5f059460e86a997c504dd781a39a109b", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/b884d2bf9b53bb4804a56d2df4902bb51e253f00", + "reference": "b884d2bf9b53bb4804a56d2df4902bb51e253f00", "shasum": "" }, "require": { @@ -2812,7 +2813,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem-local/issues", - "source": "https://github.com/thephpleague/flysystem-local/tree/3.23.0" + "source": "https://github.com/thephpleague/flysystem-local/tree/3.23.1" }, "funding": [ { @@ -2824,20 +2825,20 @@ "type": "github" } ], - "time": "2023-12-04T10:14:46+00:00" + "time": "2024-01-26T18:25:23+00:00" }, { "name": "league/mime-type-detection", - "version": "1.14.0", + "version": "1.15.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "b6a5854368533df0295c5761a0253656a2e52d9e" + "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/b6a5854368533df0295c5761a0253656a2e52d9e", - "reference": "b6a5854368533df0295c5761a0253656a2e52d9e", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", + "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", "shasum": "" }, "require": { @@ -2868,7 +2869,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.14.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.15.0" }, "funding": [ { @@ -2880,7 +2881,7 @@ "type": "tidelift" } ], - "time": "2023-10-17T14:13:20+00:00" + "time": "2024-01-28T23:22:08+00:00" }, { "name": "livewire/livewire", @@ -3200,16 +3201,16 @@ }, { "name": "nesbot/carbon", - "version": "2.72.1", + "version": "2.72.3", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "2b3b3db0a2d0556a177392ff1a3bf5608fa09f78" + "reference": "0c6fd108360c562f6e4fd1dedb8233b423e91c83" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/2b3b3db0a2d0556a177392ff1a3bf5608fa09f78", - "reference": "2b3b3db0a2d0556a177392ff1a3bf5608fa09f78", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/0c6fd108360c562f6e4fd1dedb8233b423e91c83", + "reference": "0c6fd108360c562f6e4fd1dedb8233b423e91c83", "shasum": "" }, "require": { @@ -3303,35 +3304,35 @@ "type": "tidelift" } ], - "time": "2023-12-08T23:47:49+00:00" + "time": "2024-01-25T10:35:09+00:00" }, { "name": "nette/schema", - "version": "v1.2.5", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/nette/schema.git", - "reference": "0462f0166e823aad657c9224d0f849ecac1ba10a" + "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/0462f0166e823aad657c9224d0f849ecac1ba10a", - "reference": "0462f0166e823aad657c9224d0f849ecac1ba10a", + "url": "https://api.github.com/repos/nette/schema/zipball/a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", + "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", "shasum": "" }, "require": { - "nette/utils": "^2.5.7 || ^3.1.5 || ^4.0", - "php": "7.1 - 8.3" + "nette/utils": "^4.0", + "php": "8.1 - 8.3" }, "require-dev": { - "nette/tester": "^2.3 || ^2.4", + "nette/tester": "^2.4", "phpstan/phpstan-nette": "^1.0", - "tracy/tracy": "^2.7" + "tracy/tracy": "^2.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2-dev" + "dev-master": "1.3-dev" } }, "autoload": { @@ -3363,9 +3364,9 @@ ], "support": { "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.2.5" + "source": "https://github.com/nette/schema/tree/v1.3.0" }, - "time": "2023-10-05T20:37:59+00:00" + "time": "2023-12-11T11:54:22+00:00" }, { "name": "nette/utils", @@ -3455,16 +3456,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.0.0", + "version": "v5.0.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc" + "reference": "2218c2252c874a4624ab2f613d86ac32d227bc69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4a21235f7e56e713259a6f76bf4b5ea08502b9dc", - "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/2218c2252c874a4624ab2f613d86ac32d227bc69", + "reference": "2218c2252c874a4624ab2f613d86ac32d227bc69", "shasum": "" }, "require": { @@ -3507,9 +3508,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.1" }, - "time": "2024-01-07T17:17:35+00:00" + "time": "2024-02-21T19:24:10+00:00" }, { "name": "nunomaduro/collision", @@ -3687,16 +3688,16 @@ }, { "name": "orchestra/canvas", - "version": "v8.11.6", + "version": "v8.11.7", "source": { "type": "git", "url": "https://github.com/orchestral/canvas.git", - "reference": "6ab236c7a190f7f53ce2e9c65fd9ee781e5aeb6c" + "reference": "e4a0157f522222725f1559bde0da1091a91542fb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/canvas/zipball/6ab236c7a190f7f53ce2e9c65fd9ee781e5aeb6c", - "reference": "6ab236c7a190f7f53ce2e9c65fd9ee781e5aeb6c", + "url": "https://api.github.com/repos/orchestral/canvas/zipball/e4a0157f522222725f1559bde0da1091a91542fb", + "reference": "e4a0157f522222725f1559bde0da1091a91542fb", "shasum": "" }, "require": { @@ -3756,9 +3757,9 @@ "description": "Code Generators for Laravel Applications and Packages", "support": { "issues": "https://github.com/orchestral/canvas/issues", - "source": "https://github.com/orchestral/canvas/tree/v8.11.6" + "source": "https://github.com/orchestral/canvas/tree/v8.11.7" }, - "time": "2023-12-28T15:08:19+00:00" + "time": "2024-02-07T10:29:23+00:00" }, { "name": "orchestra/canvas-core", @@ -3834,16 +3835,16 @@ }, { "name": "orchestra/testbench", - "version": "v8.20.0", + "version": "v8.21.1", "source": { "type": "git", "url": "https://github.com/orchestral/testbench.git", - "reference": "533df85bd4a084b5f505ad9182cc9031b2f81a03" + "reference": "c22a81802a68e746e032edf65cbb68af28a52670" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench/zipball/533df85bd4a084b5f505ad9182cc9031b2f81a03", - "reference": "533df85bd4a084b5f505ad9182cc9031b2f81a03", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/c22a81802a68e746e032edf65cbb68af28a52670", + "reference": "c22a81802a68e746e032edf65cbb68af28a52670", "shasum": "" }, "require": { @@ -3851,7 +3852,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.40", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.20", + "orchestra/testbench-core": "^8.21.1", "orchestra/workbench": "^1.2 || ^8.2", "php": "^8.1", "phpunit/phpunit": "^9.6 || ^10.1", @@ -3883,22 +3884,22 @@ ], "support": { "issues": "https://github.com/orchestral/testbench/issues", - "source": "https://github.com/orchestral/testbench/tree/v8.20.0" + "source": "https://github.com/orchestral/testbench/tree/v8.21.1" }, - "time": "2024-01-10T04:33:51+00:00" + "time": "2024-01-22T03:22:22+00:00" }, { "name": "orchestra/testbench-core", - "version": "v8.20.0", + "version": "v8.22.1", "source": { "type": "git", "url": "https://github.com/orchestral/testbench-core.git", - "reference": "beb3af0737b0ac49c29b4bc26de548845f097abc" + "reference": "b0006c092694828f4b0fa409a369b798e5e26f8d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/beb3af0737b0ac49c29b4bc26de548845f097abc", - "reference": "beb3af0737b0ac49c29b4bc26de548845f097abc", + "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/b0006c092694828f4b0fa409a369b798e5e26f8d", + "reference": "b0006c092694828f4b0fa409a369b798e5e26f8d", "shasum": "" }, "require": { @@ -3910,6 +3911,7 @@ "brianium/paratest": "<6.4.0 || >=7.0.0 <7.1.4 || >=8.0.0", "laravel/framework": "<10.40 || >=11.0.0", "nunomaduro/collision": "<6.4.0 || >=7.0.0 <7.4.0 || >=8.0.0", + "orchestra/testbench-dusk": "<8.21.0 || >=9.0.0", "orchestra/workbench": "<1.0.0", "phpunit/phpunit": "<9.6.0 || >=10.6.0" }, @@ -3976,7 +3978,7 @@ "issues": "https://github.com/orchestral/testbench/issues", "source": "https://github.com/orchestral/testbench-core" }, - "time": "2024-01-10T03:05:52+00:00" + "time": "2024-02-21T23:33:22+00:00" }, { "name": "orchestra/workbench", @@ -4565,16 +4567,16 @@ }, { "name": "phpmyadmin/sql-parser", - "version": "5.8.2", + "version": "5.9.0", "source": { "type": "git", "url": "https://github.com/phpmyadmin/sql-parser.git", - "reference": "f1720ae19abe6294cb5599594a8a57bc3c8cc287" + "reference": "011fa18a4e55591fac6545a821921dd1d61c6984" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpmyadmin/sql-parser/zipball/f1720ae19abe6294cb5599594a8a57bc3c8cc287", - "reference": "f1720ae19abe6294cb5599594a8a57bc3c8cc287", + "url": "https://api.github.com/repos/phpmyadmin/sql-parser/zipball/011fa18a4e55591fac6545a821921dd1d61c6984", + "reference": "011fa18a4e55591fac6545a821921dd1d61c6984", "shasum": "" }, "require": { @@ -4605,6 +4607,7 @@ "bin": [ "bin/highlight-query", "bin/lint-query", + "bin/sql-parser", "bin/tokenize-query" ], "type": "library", @@ -4648,7 +4651,7 @@ "type": "other" } ], - "time": "2023-09-19T12:34:29+00:00" + "time": "2024-01-20T20:34:02+00:00" }, { "name": "phpoption/phpoption", @@ -4727,16 +4730,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.56", + "version": "1.10.59", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "27816a01aea996191ee14d010f325434c0ee76fa" + "reference": "e607609388d3a6d418a50a49f7940e8086798281" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/27816a01aea996191ee14d010f325434c0ee76fa", - "reference": "27816a01aea996191ee14d010f325434c0ee76fa", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e607609388d3a6d418a50a49f7940e8086798281", + "reference": "e607609388d3a6d418a50a49f7940e8086798281", "shasum": "" }, "require": { @@ -4785,7 +4788,7 @@ "type": "tidelift" } ], - "time": "2024-01-15T10:43:00+00:00" + "time": "2024-02-20T13:59:13+00:00" }, { "name": "phpunit/php-code-coverage", @@ -5108,16 +5111,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.6.16", + "version": "9.6.17", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f" + "reference": "1a156980d78a6666721b7e8e8502fe210b587fcd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3767b2c56ce02d01e3491046f33466a1ae60a37f", - "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1a156980d78a6666721b7e8e8502fe210b587fcd", + "reference": "1a156980d78a6666721b7e8e8502fe210b587fcd", "shasum": "" }, "require": { @@ -5191,7 +5194,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.16" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.17" }, "funding": [ { @@ -5207,7 +5210,7 @@ "type": "tidelift" } ], - "time": "2024-01-19T07:03:14+00:00" + "time": "2024-02-23T13:14:51+00:00" }, { "name": "pimple/pimple", @@ -5975,6 +5978,62 @@ ], "time": "2023-11-08T05:53:05+00:00" }, + { + "name": "rector/rector", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector.git", + "reference": "258b775511e62a7188f8ce114d44acaf244d9a7d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/258b775511e62a7188f8ce114d44acaf244d9a7d", + "reference": "258b775511e62a7188f8ce114d44acaf244d9a7d", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0", + "phpstan/phpstan": "^1.10.57" + }, + "conflict": { + "rector/rector-doctrine": "*", + "rector/rector-downgrade-php": "*", + "rector/rector-phpunit": "*", + "rector/rector-symfony": "*" + }, + "bin": [ + "bin/rector" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Instant Upgrade and Automated Refactoring of any PHP code", + "keywords": [ + "automation", + "dev", + "migration", + "refactoring" + ], + "support": { + "issues": "https://github.com/rectorphp/rector/issues", + "source": "https://github.com/rectorphp/rector/tree/1.0.1" + }, + "funding": [ + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2024-02-16T07:53:23+00:00" + }, { "name": "reecem/mocker", "version": "v1.2.1", @@ -7132,38 +7191,40 @@ }, { "name": "spatie/laravel-ray", - "version": "1.33.1", + "version": "1.35.1", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ray.git", - "reference": "b9574cec543b932d99e68247eaeb37876c71c8eb" + "reference": "f504d3787d88c7e5de7a4290658f7ad9b1352f22" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/b9574cec543b932d99e68247eaeb37876c71c8eb", - "reference": "b9574cec543b932d99e68247eaeb37876c71c8eb", + "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/f504d3787d88c7e5de7a4290658f7ad9b1352f22", + "reference": "f504d3787d88c7e5de7a4290658f7ad9b1352f22", "shasum": "" }, "require": { "ext-json": "*", - "illuminate/contracts": "^7.20|^8.19|^9.0|^10.0", - "illuminate/database": "^7.20|^8.19|^9.0|^10.0", - "illuminate/queue": "^7.20|^8.19|^9.0|^10.0", - "illuminate/support": "^7.20|^8.19|^9.0|^10.0", + "illuminate/contracts": "^7.20|^8.19|^9.0|^10.0|^11.0", + "illuminate/database": "^7.20|^8.19|^9.0|^10.0|^11.0", + "illuminate/queue": "^7.20|^8.19|^9.0|^10.0|^11.0", + "illuminate/support": "^7.20|^8.19|^9.0|^10.0|^11.0", "php": "^7.4|^8.0", + "rector/rector": "^0.19.2|^1.0", "spatie/backtrace": "^1.0", - "spatie/ray": "^1.37", + "spatie/ray": "^1.41.1", "symfony/stopwatch": "4.2|^5.1|^6.0|^7.0", "zbateson/mail-mime-parser": "^1.3.1|^2.0" }, "require-dev": { "guzzlehttp/guzzle": "^7.3", - "laravel/framework": "^7.20|^8.19|^9.0|^10.0", - "orchestra/testbench-core": "^5.0|^6.0|^7.0|^8.0", - "pestphp/pest": "^1.22", - "phpstan/phpstan": "^0.12.93", - "phpunit/phpunit": "^9.3", - "spatie/pest-plugin-snapshots": "^1.1" + "laravel/framework": "^7.20|^8.19|^9.0|^10.0|^11.0", + "orchestra/testbench-core": "^5.0|^6.0|^7.0|^8.0|^9.0", + "pestphp/pest": "^1.22|^2.0", + "phpstan/phpstan": "^1.10.57", + "phpunit/phpunit": "^9.3|^10.1", + "spatie/pest-plugin-snapshots": "^1.1|^2.0", + "symfony/var-dumper": "^4.2|^5.1|^6.0|^7.0.3" }, "type": "library", "extra": { @@ -7201,7 +7262,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-ray/issues", - "source": "https://github.com/spatie/laravel-ray/tree/1.33.1" + "source": "https://github.com/spatie/laravel-ray/tree/1.35.1" }, "funding": [ { @@ -7213,7 +7274,7 @@ "type": "other" } ], - "time": "2024-01-04T21:36:17+00:00" + "time": "2024-02-13T14:19:41+00:00" }, { "name": "spatie/macroable", @@ -7267,16 +7328,16 @@ }, { "name": "spatie/ray", - "version": "1.40.1", + "version": "1.41.1", "source": { "type": "git", "url": "https://github.com/spatie/ray.git", - "reference": "8e6547ff47aae2e4f615a5dcea1e5e4911b1dc9f" + "reference": "051a0facb1d2462fafef87ff77eb74d6f2d12944" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ray/zipball/8e6547ff47aae2e4f615a5dcea1e5e4911b1dc9f", - "reference": "8e6547ff47aae2e4f615a5dcea1e5e4911b1dc9f", + "url": "https://api.github.com/repos/spatie/ray/zipball/051a0facb1d2462fafef87ff77eb74d6f2d12944", + "reference": "051a0facb1d2462fafef87ff77eb74d6f2d12944", "shasum": "" }, "require": { @@ -7286,8 +7347,8 @@ "ramsey/uuid": "^3.0|^4.1", "spatie/backtrace": "^1.1", "spatie/macroable": "^1.0|^2.0", - "symfony/stopwatch": "^4.0|^5.1|^6.0", - "symfony/var-dumper": "^4.2|^5.1|^6.0" + "symfony/stopwatch": "^4.0|^5.1|^6.0|^7.0", + "symfony/var-dumper": "^4.2|^5.1|^6.0|^7.0" }, "require-dev": { "illuminate/support": "6.x|^8.18|^9.0", @@ -7295,9 +7356,13 @@ "pestphp/pest": "^1.22", "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.5", + "rector/rector": "^0.19.2", "spatie/phpunit-snapshot-assertions": "^4.2", "spatie/test-time": "^1.2" }, + "bin": [ + "bin/remove-ray.sh" + ], "type": "library", "autoload": { "files": [ @@ -7327,7 +7392,7 @@ ], "support": { "issues": "https://github.com/spatie/ray/issues", - "source": "https://github.com/spatie/ray/tree/1.40.1" + "source": "https://github.com/spatie/ray/tree/1.41.1" }, "funding": [ { @@ -7339,20 +7404,20 @@ "type": "other" } ], - "time": "2023-11-20T08:20:15+00:00" + "time": "2024-01-25T10:15:50+00:00" }, { "name": "symfony/console", - "version": "v6.4.2", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "0254811a143e6bc6c8deea08b589a7e68a37f625" + "reference": "2aaf83b4de5b9d43b93e4aec6f2f8b676f7c567e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/0254811a143e6bc6c8deea08b589a7e68a37f625", - "reference": "0254811a143e6bc6c8deea08b589a7e68a37f625", + "url": "https://api.github.com/repos/symfony/console/zipball/2aaf83b4de5b9d43b93e4aec6f2f8b676f7c567e", + "reference": "2aaf83b4de5b9d43b93e4aec6f2f8b676f7c567e", "shasum": "" }, "require": { @@ -7417,7 +7482,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.2" + "source": "https://github.com/symfony/console/tree/v6.4.3" }, "funding": [ { @@ -7433,20 +7498,20 @@ "type": "tidelift" } ], - "time": "2023-12-10T16:15:48+00:00" + "time": "2024-01-23T14:51:35+00:00" }, { "name": "symfony/css-selector", - "version": "v7.0.0", + "version": "v7.0.3", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "bb51d46e53ef8d50d523f0c5faedba056a27943e" + "reference": "ec60a4edf94e63b0556b6a0888548bb400a3a3be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/bb51d46e53ef8d50d523f0c5faedba056a27943e", - "reference": "bb51d46e53ef8d50d523f0c5faedba056a27943e", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/ec60a4edf94e63b0556b6a0888548bb400a3a3be", + "reference": "ec60a4edf94e63b0556b6a0888548bb400a3a3be", "shasum": "" }, "require": { @@ -7482,7 +7547,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v7.0.0" + "source": "https://github.com/symfony/css-selector/tree/v7.0.3" }, "funding": [ { @@ -7498,7 +7563,7 @@ "type": "tidelift" } ], - "time": "2023-10-31T17:59:56+00:00" + "time": "2024-01-23T15:02:46+00:00" }, { "name": "symfony/deprecation-contracts", @@ -7569,16 +7634,16 @@ }, { "name": "symfony/error-handler", - "version": "v6.4.0", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "c873490a1c97b3a0a4838afc36ff36c112d02788" + "reference": "6dc3c76a278b77f01d864a6005d640822c6f26a6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/c873490a1c97b3a0a4838afc36ff36c112d02788", - "reference": "c873490a1c97b3a0a4838afc36ff36c112d02788", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/6dc3c76a278b77f01d864a6005d640822c6f26a6", + "reference": "6dc3c76a278b77f01d864a6005d640822c6f26a6", "shasum": "" }, "require": { @@ -7624,7 +7689,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v6.4.0" + "source": "https://github.com/symfony/error-handler/tree/v6.4.3" }, "funding": [ { @@ -7640,20 +7705,20 @@ "type": "tidelift" } ], - "time": "2023-10-18T09:43:34+00:00" + "time": "2024-01-29T15:40:36+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v7.0.2", + "version": "v7.0.3", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "098b62ae81fdd6cbf941f355059f617db28f4f9a" + "reference": "834c28d533dd0636f910909d01b9ff45cc094b5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/098b62ae81fdd6cbf941f355059f617db28f4f9a", - "reference": "098b62ae81fdd6cbf941f355059f617db28f4f9a", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/834c28d533dd0636f910909d01b9ff45cc094b5e", + "reference": "834c28d533dd0636f910909d01b9ff45cc094b5e", "shasum": "" }, "require": { @@ -7704,7 +7769,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v7.0.2" + "source": "https://github.com/symfony/event-dispatcher/tree/v7.0.3" }, "funding": [ { @@ -7720,7 +7785,7 @@ "type": "tidelift" } ], - "time": "2023-12-27T22:24:19+00:00" + "time": "2024-01-23T15:02:46+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -7864,16 +7929,16 @@ }, { "name": "symfony/http-foundation", - "version": "v6.4.2", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "172d807f9ef3fc3fbed8377cc57c20d389269271" + "reference": "5677bdf7cade4619cb17fc9e1e7b31ec392244a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/172d807f9ef3fc3fbed8377cc57c20d389269271", - "reference": "172d807f9ef3fc3fbed8377cc57c20d389269271", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/5677bdf7cade4619cb17fc9e1e7b31ec392244a9", + "reference": "5677bdf7cade4619cb17fc9e1e7b31ec392244a9", "shasum": "" }, "require": { @@ -7921,7 +7986,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.4.2" + "source": "https://github.com/symfony/http-foundation/tree/v6.4.3" }, "funding": [ { @@ -7937,20 +8002,20 @@ "type": "tidelift" } ], - "time": "2023-12-27T22:16:42+00:00" + "time": "2024-01-23T14:51:35+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.4.2", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "13e8387320b5942d0dc408440c888e2d526efef4" + "reference": "9c6ec4e543044f7568a53a76ab1484ecd30637a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/13e8387320b5942d0dc408440c888e2d526efef4", - "reference": "13e8387320b5942d0dc408440c888e2d526efef4", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/9c6ec4e543044f7568a53a76ab1484ecd30637a2", + "reference": "9c6ec4e543044f7568a53a76ab1484ecd30637a2", "shasum": "" }, "require": { @@ -8034,7 +8099,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v6.4.2" + "source": "https://github.com/symfony/http-kernel/tree/v6.4.3" }, "funding": [ { @@ -8050,20 +8115,20 @@ "type": "tidelift" } ], - "time": "2023-12-30T15:31:44+00:00" + "time": "2024-01-31T07:21:29+00:00" }, { "name": "symfony/mailer", - "version": "v6.4.2", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "6da89e5c9202f129717a770a03183fb140720168" + "reference": "74412c62f88a85a41b61f0b71ab0afcaad6f03ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/6da89e5c9202f129717a770a03183fb140720168", - "reference": "6da89e5c9202f129717a770a03183fb140720168", + "url": "https://api.github.com/repos/symfony/mailer/zipball/74412c62f88a85a41b61f0b71ab0afcaad6f03ee", + "reference": "74412c62f88a85a41b61f0b71ab0afcaad6f03ee", "shasum": "" }, "require": { @@ -8114,7 +8179,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v6.4.2" + "source": "https://github.com/symfony/mailer/tree/v6.4.3" }, "funding": [ { @@ -8130,20 +8195,20 @@ "type": "tidelift" } ], - "time": "2023-12-19T09:12:31+00:00" + "time": "2024-01-29T15:01:07+00:00" }, { "name": "symfony/mime", - "version": "v6.4.0", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "ca4f58b2ef4baa8f6cecbeca2573f88cd577d205" + "reference": "5017e0a9398c77090b7694be46f20eb796262a34" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/ca4f58b2ef4baa8f6cecbeca2573f88cd577d205", - "reference": "ca4f58b2ef4baa8f6cecbeca2573f88cd577d205", + "url": "https://api.github.com/repos/symfony/mime/zipball/5017e0a9398c77090b7694be46f20eb796262a34", + "reference": "5017e0a9398c77090b7694be46f20eb796262a34", "shasum": "" }, "require": { @@ -8198,7 +8263,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v6.4.0" + "source": "https://github.com/symfony/mime/tree/v6.4.3" }, "funding": [ { @@ -8214,20 +8279,20 @@ "type": "tidelift" } ], - "time": "2023-10-17T11:49:05+00:00" + "time": "2024-01-30T08:32:12+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" + "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4", + "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4", "shasum": "" }, "require": { @@ -8241,9 +8306,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -8280,7 +8342,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0" }, "funding": [ { @@ -8296,20 +8358,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-iconv", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-iconv.git", - "reference": "6de50471469b8c9afc38164452ab2b6170ee71c1" + "reference": "cd4226d140ecd3d0f13d32ed0a4a095ffe871d2f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/6de50471469b8c9afc38164452ab2b6170ee71c1", - "reference": "6de50471469b8c9afc38164452ab2b6170ee71c1", + "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/cd4226d140ecd3d0f13d32ed0a4a095ffe871d2f", + "reference": "cd4226d140ecd3d0f13d32ed0a4a095ffe871d2f", "shasum": "" }, "require": { @@ -8323,9 +8385,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -8363,7 +8422,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-iconv/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-iconv/tree/v1.29.0" }, "funding": [ { @@ -8379,20 +8438,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "875e90aeea2777b6f135677f618529449334a612" + "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612", - "reference": "875e90aeea2777b6f135677f618529449334a612", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/32a9da87d7b3245e09ac426c83d334ae9f06f80f", + "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f", "shasum": "" }, "require": { @@ -8403,9 +8462,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -8444,7 +8500,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.29.0" }, "funding": [ { @@ -8460,20 +8516,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "ecaafce9f77234a6a449d29e49267ba10499116d" + "reference": "a287ed7475f85bf6f61890146edbc932c0fff919" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/ecaafce9f77234a6a449d29e49267ba10499116d", - "reference": "ecaafce9f77234a6a449d29e49267ba10499116d", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a287ed7475f85bf6f61890146edbc932c0fff919", + "reference": "a287ed7475f85bf6f61890146edbc932c0fff919", "shasum": "" }, "require": { @@ -8486,9 +8542,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -8531,7 +8584,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.29.0" }, "funding": [ { @@ -8547,20 +8600,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:30:37+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92" + "reference": "bc45c394692b948b4d383a08d7753968bed9a83d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", - "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/bc45c394692b948b4d383a08d7753968bed9a83d", + "reference": "bc45c394692b948b4d383a08d7753968bed9a83d", "shasum": "" }, "require": { @@ -8571,9 +8624,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -8615,7 +8665,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.29.0" }, "funding": [ { @@ -8631,20 +8681,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "42292d99c55abe617799667f454222c54c60e229" + "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", - "reference": "42292d99c55abe617799667f454222c54c60e229", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec", + "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec", "shasum": "" }, "require": { @@ -8658,9 +8708,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -8698,7 +8745,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0" }, "funding": [ { @@ -8714,20 +8761,20 @@ "type": "tidelift" } ], - "time": "2023-07-28T09:04:16+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-php72", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "70f4aebd92afca2f865444d30a4d2151c13c3179" + "reference": "861391a8da9a04cbad2d232ddd9e4893220d6e25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/70f4aebd92afca2f865444d30a4d2151c13c3179", - "reference": "70f4aebd92afca2f865444d30a4d2151c13c3179", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/861391a8da9a04cbad2d232ddd9e4893220d6e25", + "reference": "861391a8da9a04cbad2d232ddd9e4893220d6e25", "shasum": "" }, "require": { @@ -8735,9 +8782,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -8774,7 +8818,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-php72/tree/v1.29.0" }, "funding": [ { @@ -8790,20 +8834,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" + "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", + "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", "shasum": "" }, "require": { @@ -8811,9 +8855,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -8857,7 +8898,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.29.0" }, "funding": [ { @@ -8873,20 +8914,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-php83", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php83.git", - "reference": "b0f46ebbeeeda3e9d2faebdfbf4b4eae9b59fa11" + "reference": "86fcae159633351e5fd145d1c47de6c528f8caff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/b0f46ebbeeeda3e9d2faebdfbf4b4eae9b59fa11", - "reference": "b0f46ebbeeeda3e9d2faebdfbf4b4eae9b59fa11", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/86fcae159633351e5fd145d1c47de6c528f8caff", + "reference": "86fcae159633351e5fd145d1c47de6c528f8caff", "shasum": "" }, "require": { @@ -8895,9 +8936,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -8937,7 +8975,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-php83/tree/v1.29.0" }, "funding": [ { @@ -8953,20 +8991,20 @@ "type": "tidelift" } ], - "time": "2023-08-16T06:22:46+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-uuid", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-uuid.git", - "reference": "9c44518a5aff8da565c8a55dbe85d2769e6f630e" + "reference": "3abdd21b0ceaa3000ee950097bc3cf9efc137853" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/9c44518a5aff8da565c8a55dbe85d2769e6f630e", - "reference": "9c44518a5aff8da565c8a55dbe85d2769e6f630e", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/3abdd21b0ceaa3000ee950097bc3cf9efc137853", + "reference": "3abdd21b0ceaa3000ee950097bc3cf9efc137853", "shasum": "" }, "require": { @@ -8980,9 +9018,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -9019,7 +9054,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.29.0" }, "funding": [ { @@ -9035,20 +9070,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/process", - "version": "v6.4.2", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "c4b1ef0bc80533d87a2e969806172f1c2a980241" + "reference": "31642b0818bfcff85930344ef93193f8c607e0a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/c4b1ef0bc80533d87a2e969806172f1c2a980241", - "reference": "c4b1ef0bc80533d87a2e969806172f1c2a980241", + "url": "https://api.github.com/repos/symfony/process/zipball/31642b0818bfcff85930344ef93193f8c607e0a3", + "reference": "31642b0818bfcff85930344ef93193f8c607e0a3", "shasum": "" }, "require": { @@ -9080,7 +9115,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.2" + "source": "https://github.com/symfony/process/tree/v6.4.3" }, "funding": [ { @@ -9096,20 +9131,20 @@ "type": "tidelift" } ], - "time": "2023-12-22T16:42:54+00:00" + "time": "2024-01-23T14:51:35+00:00" }, { "name": "symfony/routing", - "version": "v6.4.2", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "98eab13a07fddc85766f1756129c69f207ffbc21" + "reference": "3b2957ad54902f0f544df83e3d58b38d7e8e5842" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/98eab13a07fddc85766f1756129c69f207ffbc21", - "reference": "98eab13a07fddc85766f1756129c69f207ffbc21", + "url": "https://api.github.com/repos/symfony/routing/zipball/3b2957ad54902f0f544df83e3d58b38d7e8e5842", + "reference": "3b2957ad54902f0f544df83e3d58b38d7e8e5842", "shasum": "" }, "require": { @@ -9163,7 +9198,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.4.2" + "source": "https://github.com/symfony/routing/tree/v6.4.3" }, "funding": [ { @@ -9179,7 +9214,7 @@ "type": "tidelift" } ], - "time": "2023-12-29T15:34:34+00:00" + "time": "2024-01-30T13:55:02+00:00" }, { "name": "symfony/service-contracts", @@ -9265,20 +9300,20 @@ }, { "name": "symfony/stopwatch", - "version": "v6.4.0", + "version": "v7.0.3", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2" + "reference": "983900d6fddf2b0cbaacacbbad07610854bd8112" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2", - "reference": "fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/983900d6fddf2b0cbaacacbbad07610854bd8112", + "reference": "983900d6fddf2b0cbaacacbbad07610854bd8112", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "symfony/service-contracts": "^2.5|^3" }, "type": "library", @@ -9307,7 +9342,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.4.0" + "source": "https://github.com/symfony/stopwatch/tree/v7.0.3" }, "funding": [ { @@ -9323,20 +9358,20 @@ "type": "tidelift" } ], - "time": "2023-02-16T10:14:28+00:00" + "time": "2024-01-23T15:02:46+00:00" }, { "name": "symfony/string", - "version": "v7.0.2", + "version": "v7.0.3", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "cc78f14f91f5e53b42044d0620961c48028ff9f5" + "reference": "524aac4a280b90a4420d8d6a040718d0586505ac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/cc78f14f91f5e53b42044d0620961c48028ff9f5", - "reference": "cc78f14f91f5e53b42044d0620961c48028ff9f5", + "url": "https://api.github.com/repos/symfony/string/zipball/524aac4a280b90a4420d8d6a040718d0586505ac", + "reference": "524aac4a280b90a4420d8d6a040718d0586505ac", "shasum": "" }, "require": { @@ -9393,7 +9428,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.0.2" + "source": "https://github.com/symfony/string/tree/v7.0.3" }, "funding": [ { @@ -9409,20 +9444,20 @@ "type": "tidelift" } ], - "time": "2023-12-10T16:54:46+00:00" + "time": "2024-01-29T15:41:16+00:00" }, { "name": "symfony/translation", - "version": "v6.4.2", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "a2ab2ec1a462e53016de8e8d5e8912bfd62ea681" + "reference": "637c51191b6b184184bbf98937702bcf554f7d04" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/a2ab2ec1a462e53016de8e8d5e8912bfd62ea681", - "reference": "a2ab2ec1a462e53016de8e8d5e8912bfd62ea681", + "url": "https://api.github.com/repos/symfony/translation/zipball/637c51191b6b184184bbf98937702bcf554f7d04", + "reference": "637c51191b6b184184bbf98937702bcf554f7d04", "shasum": "" }, "require": { @@ -9445,7 +9480,7 @@ "symfony/translation-implementation": "2.3|3.0" }, "require-dev": { - "nikic/php-parser": "^4.13", + "nikic/php-parser": "^4.18|^5.0", "psr/log": "^1|^2|^3", "symfony/config": "^5.4|^6.0|^7.0", "symfony/console": "^5.4|^6.0|^7.0", @@ -9488,7 +9523,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.4.2" + "source": "https://github.com/symfony/translation/tree/v6.4.3" }, "funding": [ { @@ -9504,7 +9539,7 @@ "type": "tidelift" } ], - "time": "2023-12-18T09:25:29+00:00" + "time": "2024-01-29T13:11:52+00:00" }, { "name": "symfony/translation-contracts", @@ -9586,16 +9621,16 @@ }, { "name": "symfony/uid", - "version": "v6.4.0", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/uid.git", - "reference": "8092dd1b1a41372110d06374f99ee62f7f0b9a92" + "reference": "1d31267211cc3a2fff32bcfc7c1818dac41b6fc0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/8092dd1b1a41372110d06374f99ee62f7f0b9a92", - "reference": "8092dd1b1a41372110d06374f99ee62f7f0b9a92", + "url": "https://api.github.com/repos/symfony/uid/zipball/1d31267211cc3a2fff32bcfc7c1818dac41b6fc0", + "reference": "1d31267211cc3a2fff32bcfc7c1818dac41b6fc0", "shasum": "" }, "require": { @@ -9640,7 +9675,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/uid/tree/v6.4.0" + "source": "https://github.com/symfony/uid/tree/v6.4.3" }, "funding": [ { @@ -9656,20 +9691,20 @@ "type": "tidelift" } ], - "time": "2023-10-31T08:18:17+00:00" + "time": "2024-01-23T14:51:35+00:00" }, { "name": "symfony/var-dumper", - "version": "v6.4.2", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "68d6573ec98715ddcae5a0a85bee3c1c27a4c33f" + "reference": "0435a08f69125535336177c29d56af3abc1f69da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/68d6573ec98715ddcae5a0a85bee3c1c27a4c33f", - "reference": "68d6573ec98715ddcae5a0a85bee3c1c27a4c33f", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/0435a08f69125535336177c29d56af3abc1f69da", + "reference": "0435a08f69125535336177c29d56af3abc1f69da", "shasum": "" }, "require": { @@ -9725,7 +9760,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.4.2" + "source": "https://github.com/symfony/var-dumper/tree/v6.4.3" }, "funding": [ { @@ -9741,20 +9776,20 @@ "type": "tidelift" } ], - "time": "2023-12-28T19:16:56+00:00" + "time": "2024-01-23T14:53:30+00:00" }, { "name": "symfony/yaml", - "version": "v6.4.0", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "4f9237a1bb42455d609e6687d2613dde5b41a587" + "reference": "d75715985f0f94f978e3a8fa42533e10db921b90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/4f9237a1bb42455d609e6687d2613dde5b41a587", - "reference": "4f9237a1bb42455d609e6687d2613dde5b41a587", + "url": "https://api.github.com/repos/symfony/yaml/zipball/d75715985f0f94f978e3a8fa42533e10db921b90", + "reference": "d75715985f0f94f978e3a8fa42533e10db921b90", "shasum": "" }, "require": { @@ -9797,7 +9832,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v6.4.0" + "source": "https://github.com/symfony/yaml/tree/v6.4.3" }, "funding": [ { @@ -9813,7 +9848,7 @@ "type": "tidelift" } ], - "time": "2023-11-06T11:00:25+00:00" + "time": "2024-01-23T14:51:35+00:00" }, { "name": "symplify/monorepo-builder", diff --git a/monorepo-builder.php b/monorepo-builder.php index a50cbe430..46cea61ce 100644 --- a/monorepo-builder.php +++ b/monorepo-builder.php @@ -3,6 +3,7 @@ declare(strict_types=1); use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; +use Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection; use Symplify\MonorepoBuilder\Release\ReleaseWorker\PushNextDevReleaseWorker; use Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker; use Symplify\MonorepoBuilder\Release\ReleaseWorker\SetCurrentMutualDependenciesReleaseWorker; @@ -10,8 +11,10 @@ use Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker; use Symplify\MonorepoBuilder\Release\ReleaseWorker\UpdateBranchAliasReleaseWorker; use Symplify\MonorepoBuilder\Release\ReleaseWorker\UpdateReplaceReleaseWorker; +use Symplify\MonorepoBuilder\ValueObject\Option; return static function (ContainerConfigurator $containerConfigurator): void { + $parameters = $containerConfigurator->parameters(); $services = $containerConfigurator->services(); // Release workers - in order to execute @@ -22,4 +25,16 @@ $services->set(SetNextMutualDependenciesReleaseWorker::class); $services->set(UpdateBranchAliasReleaseWorker::class); $services->set(PushNextDevReleaseWorker::class); + + $parameters->set(Option::PACKAGE_DIRECTORIES, [ + __DIR__ . '/packages', + ]); + + // for "merge" command + $parameters->set(Option::DATA_TO_APPEND, [ + ComposerJsonSection::REQUIRE_DEV => [ + 'phpunit/phpunit' => '^9.5', + 'symplify/monorepo-builder' => '^10.0', + ], + ]); }; diff --git a/packages/core/composer.json b/packages/core/composer.json index a5091c0a6..7d8294bfa 100644 --- a/packages/core/composer.json +++ b/packages/core/composer.json @@ -3,6 +3,7 @@ "description": "Laravel Shopper e-commerce core functionality", "license": "MIT", "require": { + "ext-intl": "*", "php": "^8.1", "spatie/laravel-medialibrary": "^10.4.1", "spatie/laravel-permission": "^5.5.2", diff --git a/packages/core/src/Models/Address.php b/packages/core/src/Models/Address.php index 6b4e883bc..c6049cc3d 100644 --- a/packages/core/src/Models/Address.php +++ b/packages/core/src/Models/Address.php @@ -15,7 +15,7 @@ * @property string|null $first_name * @property bool $is_default */ -final class Address extends Model +class Address extends Model { use HasFactory; diff --git a/packages/core/src/Models/Attribute.php b/packages/core/src/Models/Attribute.php index 7c3c6cbc9..98fffc46b 100644 --- a/packages/core/src/Models/Attribute.php +++ b/packages/core/src/Models/Attribute.php @@ -22,7 +22,7 @@ * @property string|null $icon * @property \Illuminate\Database\Eloquent\Collection|array $values */ -final class Attribute extends Model +class Attribute extends Model { use HasFactory; use HasSlug; diff --git a/packages/core/src/Models/AttributeProduct.php b/packages/core/src/Models/AttributeProduct.php index 4cd011767..39eaa2ab4 100644 --- a/packages/core/src/Models/AttributeProduct.php +++ b/packages/core/src/Models/AttributeProduct.php @@ -14,7 +14,7 @@ * @property string|null $attribute_custom_value * @property AttributeValue|null $value */ -final class AttributeProduct extends Model +class AttributeProduct extends Model { use HasFactory; diff --git a/packages/core/src/Models/AttributeValue.php b/packages/core/src/Models/AttributeValue.php index 9328827e9..5992416ec 100644 --- a/packages/core/src/Models/AttributeValue.php +++ b/packages/core/src/Models/AttributeValue.php @@ -14,7 +14,7 @@ * @property string $key * @property int $position */ -final class AttributeValue extends Model +class AttributeValue extends Model { use HasFactory; diff --git a/packages/core/src/Models/Carrier.php b/packages/core/src/Models/Carrier.php index 5d73303c3..504b9d0ba 100644 --- a/packages/core/src/Models/Carrier.php +++ b/packages/core/src/Models/Carrier.php @@ -8,7 +8,7 @@ use Illuminate\Database\Eloquent\Model; use Shopper\Core\Traits\HasSlug; -final class Carrier extends Model +class Carrier extends Model { use HasSlug; diff --git a/packages/core/src/Models/Country.php b/packages/core/src/Models/Country.php index e120f432a..9e3e9c407 100644 --- a/packages/core/src/Models/Country.php +++ b/packages/core/src/Models/Country.php @@ -6,7 +6,7 @@ use Illuminate\Database\Eloquent\Model; -final class Country extends Model +class Country extends Model { public $timestamps = false; diff --git a/packages/core/src/Models/Currency.php b/packages/core/src/Models/Currency.php index 7b221e5cb..c421581d0 100644 --- a/packages/core/src/Models/Currency.php +++ b/packages/core/src/Models/Currency.php @@ -6,7 +6,7 @@ use Illuminate\Database\Eloquent\Model; -final class Currency extends Model +class Currency extends Model { public $timestamps = false; diff --git a/packages/core/src/Models/Discount.php b/packages/core/src/Models/Discount.php index b397064d0..d85c91ded 100644 --- a/packages/core/src/Models/Discount.php +++ b/packages/core/src/Models/Discount.php @@ -22,7 +22,7 @@ * @property \Illuminate\Support\Carbon $start_at * @property \Illuminate\Support\Carbon|null $end_at */ -final class Discount extends Model +class Discount extends Model { use HasFactory; diff --git a/packages/core/src/Models/DiscountDetail.php b/packages/core/src/Models/DiscountDetail.php index 4dbb4fdcb..b36139f03 100644 --- a/packages/core/src/Models/DiscountDetail.php +++ b/packages/core/src/Models/DiscountDetail.php @@ -9,7 +9,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\MorphTo; -final class DiscountDetail extends Model +class DiscountDetail extends Model { use HasFactory; diff --git a/packages/core/src/Models/Geolocation.php b/packages/core/src/Models/Geolocation.php index 8eba627d2..8c739e0f3 100644 --- a/packages/core/src/Models/Geolocation.php +++ b/packages/core/src/Models/Geolocation.php @@ -7,7 +7,7 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -final class Geolocation extends Model +class Geolocation extends Model { protected $guarded = []; diff --git a/packages/core/src/Models/Inventory.php b/packages/core/src/Models/Inventory.php index 54a36f673..56cf5bc63 100644 --- a/packages/core/src/Models/Inventory.php +++ b/packages/core/src/Models/Inventory.php @@ -23,7 +23,7 @@ * @property string|null $phone_number * @property bool $is_default */ -final class Inventory extends Model +class Inventory extends Model { use HasFactory; diff --git a/packages/core/src/Models/InventoryHistory.php b/packages/core/src/Models/InventoryHistory.php index 3a902326b..5d4b19810 100644 --- a/packages/core/src/Models/InventoryHistory.php +++ b/packages/core/src/Models/InventoryHistory.php @@ -19,7 +19,7 @@ * @property int $user_id * @property int $inventory_id */ -final class InventoryHistory extends Model +class InventoryHistory extends Model { use HasFactory; diff --git a/packages/core/src/Models/Legal.php b/packages/core/src/Models/Legal.php index 4aea5c7bb..bcbcca6dc 100644 --- a/packages/core/src/Models/Legal.php +++ b/packages/core/src/Models/Legal.php @@ -8,7 +8,7 @@ use Illuminate\Database\Eloquent\Model; use Shopper\Core\Traits\HasSlug; -final class Legal extends Model +class Legal extends Model { use HasSlug; diff --git a/packages/core/src/Models/Order.php b/packages/core/src/Models/Order.php index 0b1d9f64e..8387fccd5 100644 --- a/packages/core/src/Models/Order.php +++ b/packages/core/src/Models/Order.php @@ -20,7 +20,7 @@ * @property OrderStatus $status * @property int $shipping_total */ -final class Order extends Model +class Order extends Model { use HasFactory; use HasPrice; diff --git a/packages/core/src/Models/OrderItem.php b/packages/core/src/Models/OrderItem.php index b2c2cd3e1..b86bab99a 100644 --- a/packages/core/src/Models/OrderItem.php +++ b/packages/core/src/Models/OrderItem.php @@ -14,7 +14,7 @@ * @property int $quantity * @property int $unit_price_amount */ -final class OrderItem extends Model +class OrderItem extends Model { use HasFactory; diff --git a/packages/core/src/Models/OrderRefund.php b/packages/core/src/Models/OrderRefund.php index 9a3cb48ae..070ce358a 100644 --- a/packages/core/src/Models/OrderRefund.php +++ b/packages/core/src/Models/OrderRefund.php @@ -9,7 +9,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo; use Shopper\Core\Enum\OrderRefundStatus; -final class OrderRefund extends Model +class OrderRefund extends Model { use HasFactory; diff --git a/packages/core/src/Models/OrderShipping.php b/packages/core/src/Models/OrderShipping.php index bf2d903d7..979705b95 100644 --- a/packages/core/src/Models/OrderShipping.php +++ b/packages/core/src/Models/OrderShipping.php @@ -8,7 +8,7 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -final class OrderShipping extends Model +class OrderShipping extends Model { use HasFactory; diff --git a/packages/core/src/Models/PaymentMethod.php b/packages/core/src/Models/PaymentMethod.php index c7a3078e5..0580a4e1a 100644 --- a/packages/core/src/Models/PaymentMethod.php +++ b/packages/core/src/Models/PaymentMethod.php @@ -18,7 +18,7 @@ * @property string|null $link_url * @property string|null $instructions */ -final class PaymentMethod extends Model +class PaymentMethod extends Model { use HasFactory; use HasSlug; diff --git a/packages/core/src/Models/Review.php b/packages/core/src/Models/Review.php index 7129dd777..3ae778745 100644 --- a/packages/core/src/Models/Review.php +++ b/packages/core/src/Models/Review.php @@ -14,7 +14,7 @@ * @property-read int $id * @property bool $approved */ -final class Review extends Model +class Review extends Model { use HasFactory; diff --git a/packages/core/src/Models/Setting.php b/packages/core/src/Models/Setting.php index 652e0eca8..54eab17ec 100644 --- a/packages/core/src/Models/Setting.php +++ b/packages/core/src/Models/Setting.php @@ -12,7 +12,7 @@ * @property string $display_name * @property mixed $value */ -final class Setting extends Model +class Setting extends Model { protected $guarded = []; diff --git a/packages/core/src/helpers.php b/packages/core/src/helpers.php index 870aa9188..5dc84bb12 100644 --- a/packages/core/src/helpers.php +++ b/packages/core/src/helpers.php @@ -38,13 +38,6 @@ function generate_number(): string } } -if (! function_exists('shopper_version')) { - function shopper_version(): string - { - return Shopper::version(); - } -} - if (! function_exists('shopper_table')) { function shopper_table(string $table): string { diff --git a/phpstan.neon b/phpstan.neon index 8f1c87001..6c088369d 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -12,6 +12,5 @@ parameters: - packages/core/src/Traits/ ignoreErrors: - "#Called 'take' on Laravel collection, but could have been retrieved as a query.#" - - "#^Call to an undefined method Shopper\\\\Core\\\\Repositories\\\\BaseRepository\\:\\:whereNull\\(\\)\\.$#" checkMissingIterableValueType: true treatPhpDocTypesAsCertain: false From f1bbd292c39c0a380c3a20be96df84dc7b1703c2 Mon Sep 17 00:00:00 2001 From: Arthur Monney Date: Tue, 27 Feb 2024 12:24:55 +0100 Subject: [PATCH 2/4] Remove final key word on class name (#235) * Remove final key word on class name * Analytics github actions workflow --- .github/workflows/phpstan.yml | 2 ++ packages/admin/src/Actions/AttemptToAuthenticate.php | 2 +- packages/admin/src/Actions/ConfirmPassword.php | 2 +- .../admin/src/Actions/DisableTwoFactorAuthentication.php | 2 +- .../admin/src/Actions/EnableTwoFactorAuthentication.php | 2 +- packages/admin/src/Actions/GenerateNewRecoveryCodes.php | 2 +- packages/admin/src/Actions/RecoveryCode.php | 2 +- .../src/Actions/RedirectIfTwoFactorAuthenticatable.php | 8 +++----- packages/admin/src/Events/CatalogSidebar.php | 2 +- packages/admin/src/Events/CustomerSidebar.php | 2 +- packages/admin/src/Events/DashboardSidebar.php | 2 +- packages/admin/src/Events/SalesSidebar.php | 2 +- packages/admin/src/Exports/ProductInventoryExport.php | 2 +- .../src/Http/Livewire/Components/Forms/IconPicker.php | 2 +- .../admin/src/Http/Livewire/Components/Forms/Trix.php | 2 +- .../Http/Livewire/Components/Forms/Uploads/Multiple.php | 2 +- .../src/Http/Livewire/Components/Forms/Uploads/Single.php | 2 +- .../Components/Products/Attributes/MultipleChoice.php | 2 +- .../Components/Products/Attributes/SingleChoice.php | 2 +- .../Http/Livewire/Components/Products/Attributes/Text.php | 2 +- .../admin/src/Http/Livewire/Pages/Auth/ForgotPassword.php | 2 +- packages/admin/src/Http/Livewire/Pages/Auth/Login.php | 2 +- .../admin/src/Http/Livewire/Pages/Auth/ResetPassword.php | 4 ++-- packages/admin/src/Http/Livewire/Pages/Dashboard.php | 2 +- packages/admin/src/Http/Livewire/Pages/Initialization.php | 2 +- packages/admin/src/Http/Middleware/Authenticate.php | 2 +- packages/admin/src/Http/Middleware/Dashboard.php | 2 +- packages/admin/src/Http/Middleware/DispatchShopper.php | 2 +- packages/admin/src/Http/Middleware/HasConfiguration.php | 2 +- .../admin/src/Http/Middleware/RedirectIfAuthenticated.php | 6 ++---- .../admin/src/Http/Requests/TwoFactorLoginRequest.php | 2 +- .../src/Http/Responses/FailedTwoFactorLoginResponse.php | 5 ++--- packages/admin/src/Http/Responses/LoginResponse.php | 6 ++---- .../src/Http/Responses/TwoFactorDisabledResponse.php | 5 ++--- .../admin/src/Http/Responses/TwoFactorEnabledResponse.php | 5 ++--- .../admin/src/Http/Responses/TwoFactorLoginResponse.php | 5 ++--- packages/core/src/Events/Orders/AddNote.php | 2 +- packages/core/src/Events/Orders/Cancel.php | 2 +- packages/core/src/Events/Orders/Completed.php | 2 +- packages/core/src/Events/Orders/Create.php | 2 +- packages/core/src/Events/Orders/Delete.php | 2 +- packages/core/src/Events/Orders/Paid.php | 2 +- packages/core/src/Events/Orders/Registered.php | 2 +- packages/core/src/Events/Products/Created.php | 2 +- packages/core/src/Events/Products/Deleted.php | 2 +- packages/core/src/Events/Products/Updated.php | 2 +- packages/core/src/Helpers/Price.php | 2 +- packages/core/src/Repositories/ChannelRepository.php | 2 +- packages/core/src/Repositories/Store/BrandRepository.php | 2 +- .../core/src/Repositories/Store/CategoryRepository.php | 2 +- .../core/src/Repositories/Store/CollectionRepository.php | 2 +- .../core/src/Repositories/Store/ProductRepository.php | 2 +- packages/core/src/Repositories/UserRepository.php | 2 +- packages/core/src/Rules/Phone.php | 2 +- packages/core/src/Rules/RealEmailValidator.php | 2 +- packages/sidebar/src/Middleware/ResolveSidebars.php | 5 ++--- packages/sidebar/src/SidebarManager.php | 2 +- 57 files changed, 68 insertions(+), 77 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 56b0db2d6..45a794cd4 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -3,6 +3,8 @@ name: "phpstan Static Analysis" on: push: pull_request: + branches: + - main jobs: phpstan: diff --git a/packages/admin/src/Actions/AttemptToAuthenticate.php b/packages/admin/src/Actions/AttemptToAuthenticate.php index cb84c6d8b..925bb2ea2 100644 --- a/packages/admin/src/Actions/AttemptToAuthenticate.php +++ b/packages/admin/src/Actions/AttemptToAuthenticate.php @@ -8,7 +8,7 @@ use Illuminate\Validation\ValidationException; use Shopper\Facades\Shopper; -final class AttemptToAuthenticate +class AttemptToAuthenticate { public function handle(array $request, Closure $next) { diff --git a/packages/admin/src/Actions/ConfirmPassword.php b/packages/admin/src/Actions/ConfirmPassword.php index 54f7f015d..d8ce32292 100644 --- a/packages/admin/src/Actions/ConfirmPassword.php +++ b/packages/admin/src/Actions/ConfirmPassword.php @@ -6,7 +6,7 @@ use Illuminate\Contracts\Auth\StatefulGuard; -final class ConfirmPassword +class ConfirmPassword { public function __invoke(StatefulGuard $guard, $user, string $password): bool { diff --git a/packages/admin/src/Actions/DisableTwoFactorAuthentication.php b/packages/admin/src/Actions/DisableTwoFactorAuthentication.php index 05806afd3..f8ede3502 100644 --- a/packages/admin/src/Actions/DisableTwoFactorAuthentication.php +++ b/packages/admin/src/Actions/DisableTwoFactorAuthentication.php @@ -4,7 +4,7 @@ namespace Shopper\Actions; -final class DisableTwoFactorAuthentication +class DisableTwoFactorAuthentication { public function __invoke($user): void { diff --git a/packages/admin/src/Actions/EnableTwoFactorAuthentication.php b/packages/admin/src/Actions/EnableTwoFactorAuthentication.php index 62928b7e1..3bf077309 100644 --- a/packages/admin/src/Actions/EnableTwoFactorAuthentication.php +++ b/packages/admin/src/Actions/EnableTwoFactorAuthentication.php @@ -8,7 +8,7 @@ use Shopper\Contracts\TwoFactorAuthenticationProvider; use Shopper\Events\TwoFactor\TwoFactorAuthenticationEnabled; -final class EnableTwoFactorAuthentication +class EnableTwoFactorAuthentication { public function __construct(protected TwoFactorAuthenticationProvider $provider) { diff --git a/packages/admin/src/Actions/GenerateNewRecoveryCodes.php b/packages/admin/src/Actions/GenerateNewRecoveryCodes.php index e405ea12b..116e7cffd 100644 --- a/packages/admin/src/Actions/GenerateNewRecoveryCodes.php +++ b/packages/admin/src/Actions/GenerateNewRecoveryCodes.php @@ -6,7 +6,7 @@ use Illuminate\Support\Collection; -final class GenerateNewRecoveryCodes +class GenerateNewRecoveryCodes { public function __invoke($user): void { diff --git a/packages/admin/src/Actions/RecoveryCode.php b/packages/admin/src/Actions/RecoveryCode.php index 4c0e6f679..a314265c4 100644 --- a/packages/admin/src/Actions/RecoveryCode.php +++ b/packages/admin/src/Actions/RecoveryCode.php @@ -6,7 +6,7 @@ use Illuminate\Support\Str; -final class RecoveryCode +class RecoveryCode { public static function generate(): string { diff --git a/packages/admin/src/Actions/RedirectIfTwoFactorAuthenticatable.php b/packages/admin/src/Actions/RedirectIfTwoFactorAuthenticatable.php index 940ce474d..fe529f656 100644 --- a/packages/admin/src/Actions/RedirectIfTwoFactorAuthenticatable.php +++ b/packages/admin/src/Actions/RedirectIfTwoFactorAuthenticatable.php @@ -7,14 +7,12 @@ use Closure; use Illuminate\Support\Facades\Hash; use Illuminate\Validation\ValidationException; -use Livewire\Redirector; use Shopper\Facades\Shopper; use Shopper\Traits\TwoFactorAuthenticatable; -use Symfony\Component\HttpFoundation\Response; -final class RedirectIfTwoFactorAuthenticatable +class RedirectIfTwoFactorAuthenticatable { - public function handle(array $data, Closure $next): Response|Redirector + public function handle(array $data, Closure $next) { $user = $this->validateCredentials($data); @@ -44,7 +42,7 @@ protected function throwFailedAuthenticationException(): void ]); } - protected function twoFactorChallengeResponse($user, bool $remember): Redirector|Response + protected function twoFactorChallengeResponse($user, bool $remember) { request()->session()->put([ 'login.id' => $user->getKey(), diff --git a/packages/admin/src/Events/CatalogSidebar.php b/packages/admin/src/Events/CatalogSidebar.php index 156cff59a..29d3b92fd 100644 --- a/packages/admin/src/Events/CatalogSidebar.php +++ b/packages/admin/src/Events/CatalogSidebar.php @@ -9,7 +9,7 @@ use Shopper\Sidebar\Contracts\Builder\Item; use Shopper\Sidebar\Contracts\Builder\Menu; -final class CatalogSidebar extends AbstractAdminSidebar +class CatalogSidebar extends AbstractAdminSidebar { public function extendWith(Menu $menu): Menu { diff --git a/packages/admin/src/Events/CustomerSidebar.php b/packages/admin/src/Events/CustomerSidebar.php index 22a42b4a7..080086317 100644 --- a/packages/admin/src/Events/CustomerSidebar.php +++ b/packages/admin/src/Events/CustomerSidebar.php @@ -9,7 +9,7 @@ use Shopper\Sidebar\Contracts\Builder\Item; use Shopper\Sidebar\Contracts\Builder\Menu; -final class CustomerSidebar extends AbstractAdminSidebar +class CustomerSidebar extends AbstractAdminSidebar { public function extendWith(Menu $menu): Menu { diff --git a/packages/admin/src/Events/DashboardSidebar.php b/packages/admin/src/Events/DashboardSidebar.php index 68db19dcf..9219961e1 100644 --- a/packages/admin/src/Events/DashboardSidebar.php +++ b/packages/admin/src/Events/DashboardSidebar.php @@ -9,7 +9,7 @@ use Shopper\Sidebar\Contracts\Builder\Item; use Shopper\Sidebar\Contracts\Builder\Menu; -final class DashboardSidebar extends AbstractAdminSidebar +class DashboardSidebar extends AbstractAdminSidebar { public function extendWith(Menu $menu): Menu { diff --git a/packages/admin/src/Events/SalesSidebar.php b/packages/admin/src/Events/SalesSidebar.php index 5b1c09e59..6a9ba3961 100644 --- a/packages/admin/src/Events/SalesSidebar.php +++ b/packages/admin/src/Events/SalesSidebar.php @@ -11,7 +11,7 @@ use Shopper\Sidebar\Contracts\Builder\Item; use Shopper\Sidebar\Contracts\Builder\Menu; -final class SalesSidebar extends AbstractAdminSidebar +class SalesSidebar extends AbstractAdminSidebar { public function extendWith(Menu $menu): Menu { diff --git a/packages/admin/src/Exports/ProductInventoryExport.php b/packages/admin/src/Exports/ProductInventoryExport.php index d5e8c9fc4..10e16706d 100644 --- a/packages/admin/src/Exports/ProductInventoryExport.php +++ b/packages/admin/src/Exports/ProductInventoryExport.php @@ -11,7 +11,7 @@ use Maatwebsite\Excel\Concerns\WithMapping; use Shopper\Core\Models\InventoryHistory; -final class ProductInventoryExport implements FromQuery, WithHeadings, WithMapping +class ProductInventoryExport implements FromQuery, WithHeadings, WithMapping { use Exportable; diff --git a/packages/admin/src/Http/Livewire/Components/Forms/IconPicker.php b/packages/admin/src/Http/Livewire/Components/Forms/IconPicker.php index 60aee6dbd..92053ca9d 100644 --- a/packages/admin/src/Http/Livewire/Components/Forms/IconPicker.php +++ b/packages/admin/src/Http/Livewire/Components/Forms/IconPicker.php @@ -13,7 +13,7 @@ use Shopper\Traits\CanBeCacheable; use Shopper\Traits\HasCollectionPaginate; -final class IconPicker extends Component +class IconPicker extends Component { use CanBeCacheable; use HasCollectionPaginate; diff --git a/packages/admin/src/Http/Livewire/Components/Forms/Trix.php b/packages/admin/src/Http/Livewire/Components/Forms/Trix.php index 03994f202..f066a6ce9 100644 --- a/packages/admin/src/Http/Livewire/Components/Forms/Trix.php +++ b/packages/admin/src/Http/Livewire/Components/Forms/Trix.php @@ -7,7 +7,7 @@ use Illuminate\Contracts\View\View; use Livewire\Component; -final class Trix extends Component +class Trix extends Component { public string $trixId; diff --git a/packages/admin/src/Http/Livewire/Components/Forms/Uploads/Multiple.php b/packages/admin/src/Http/Livewire/Components/Forms/Uploads/Multiple.php index 9df21546d..80cb51362 100644 --- a/packages/admin/src/Http/Livewire/Components/Forms/Uploads/Multiple.php +++ b/packages/admin/src/Http/Livewire/Components/Forms/Uploads/Multiple.php @@ -10,7 +10,7 @@ use Livewire\WithFileUploads; use Spatie\MediaLibrary\MediaCollections\Models\Media; -final class Multiple extends Component +class Multiple extends Component { use WithFileUploads; diff --git a/packages/admin/src/Http/Livewire/Components/Forms/Uploads/Single.php b/packages/admin/src/Http/Livewire/Components/Forms/Uploads/Single.php index 116bf69ec..5776e80d6 100644 --- a/packages/admin/src/Http/Livewire/Components/Forms/Uploads/Single.php +++ b/packages/admin/src/Http/Livewire/Components/Forms/Uploads/Single.php @@ -10,7 +10,7 @@ use Livewire\WithFileUploads; use Spatie\MediaLibrary\MediaCollections\Models\Media; -final class Single extends Component +class Single extends Component { use WithFileUploads; diff --git a/packages/admin/src/Http/Livewire/Components/Products/Attributes/MultipleChoice.php b/packages/admin/src/Http/Livewire/Components/Products/Attributes/MultipleChoice.php index 6c7142cd6..08e4367b4 100644 --- a/packages/admin/src/Http/Livewire/Components/Products/Attributes/MultipleChoice.php +++ b/packages/admin/src/Http/Livewire/Components/Products/Attributes/MultipleChoice.php @@ -12,7 +12,7 @@ use Shopper\Core\Models\AttributeProduct; use Shopper\Core\Repositories\Store\ProductRepository; -final class MultipleChoice extends Component +class MultipleChoice extends Component { public Collection $values; diff --git a/packages/admin/src/Http/Livewire/Components/Products/Attributes/SingleChoice.php b/packages/admin/src/Http/Livewire/Components/Products/Attributes/SingleChoice.php index 57d43ec50..633c95c3d 100644 --- a/packages/admin/src/Http/Livewire/Components/Products/Attributes/SingleChoice.php +++ b/packages/admin/src/Http/Livewire/Components/Products/Attributes/SingleChoice.php @@ -10,7 +10,7 @@ use Livewire\Component; use Shopper\Core\Models\AttributeProduct; -final class SingleChoice extends Component +class SingleChoice extends Component { use Actions; diff --git a/packages/admin/src/Http/Livewire/Components/Products/Attributes/Text.php b/packages/admin/src/Http/Livewire/Components/Products/Attributes/Text.php index b21f7b0e0..fd28d710b 100644 --- a/packages/admin/src/Http/Livewire/Components/Products/Attributes/Text.php +++ b/packages/admin/src/Http/Livewire/Components/Products/Attributes/Text.php @@ -9,7 +9,7 @@ use Livewire\Component; use Shopper\Core\Models\AttributeProduct; -final class Text extends Component +class Text extends Component { use Actions; diff --git a/packages/admin/src/Http/Livewire/Pages/Auth/ForgotPassword.php b/packages/admin/src/Http/Livewire/Pages/Auth/ForgotPassword.php index a6b9be68b..f57f63590 100644 --- a/packages/admin/src/Http/Livewire/Pages/Auth/ForgotPassword.php +++ b/packages/admin/src/Http/Livewire/Pages/Auth/ForgotPassword.php @@ -10,7 +10,7 @@ use Livewire\Component; use Shopper\Core\Rules\RealEmailValidator; -final class ForgotPassword extends Component +class ForgotPassword extends Component { public string $email = ''; diff --git a/packages/admin/src/Http/Livewire/Pages/Auth/Login.php b/packages/admin/src/Http/Livewire/Pages/Auth/Login.php index 836b41f45..d4ca0b222 100644 --- a/packages/admin/src/Http/Livewire/Pages/Auth/Login.php +++ b/packages/admin/src/Http/Livewire/Pages/Auth/Login.php @@ -15,7 +15,7 @@ use Shopper\Contracts\LoginResponse; use Shopper\Core\Rules\RealEmailValidator; -final class Login extends Component +class Login extends Component { use WithRateLimiting; diff --git a/packages/admin/src/Http/Livewire/Pages/Auth/ResetPassword.php b/packages/admin/src/Http/Livewire/Pages/Auth/ResetPassword.php index 27aef378c..193bd6888 100644 --- a/packages/admin/src/Http/Livewire/Pages/Auth/ResetPassword.php +++ b/packages/admin/src/Http/Livewire/Pages/Auth/ResetPassword.php @@ -11,9 +11,9 @@ use Illuminate\Validation\Rules\Password as PasswordRule; use Livewire\Component; use Shopper\Core\Rules\RealEmailValidator; -use Shopper\Core\Shopper; +use Shopper\Facades\Shopper; -final class ResetPassword extends Component +class ResetPassword extends Component { public ?string $token = null; diff --git a/packages/admin/src/Http/Livewire/Pages/Dashboard.php b/packages/admin/src/Http/Livewire/Pages/Dashboard.php index e72e709cc..28ad4d4ab 100644 --- a/packages/admin/src/Http/Livewire/Pages/Dashboard.php +++ b/packages/admin/src/Http/Livewire/Pages/Dashboard.php @@ -7,7 +7,7 @@ use Illuminate\Contracts\View\View; use Livewire\Component; -final class Dashboard extends Component +class Dashboard extends Component { public function render(): View { diff --git a/packages/admin/src/Http/Livewire/Pages/Initialization.php b/packages/admin/src/Http/Livewire/Pages/Initialization.php index 3c1728ce2..d9bc6b960 100644 --- a/packages/admin/src/Http/Livewire/Pages/Initialization.php +++ b/packages/admin/src/Http/Livewire/Pages/Initialization.php @@ -15,7 +15,7 @@ use Shopper\Core\Repositories\ChannelRepository; use Shopper\Traits\HasAuthenticated; -final class Initialization extends Component +class Initialization extends Component { use HasAuthenticated; diff --git a/packages/admin/src/Http/Middleware/Authenticate.php b/packages/admin/src/Http/Middleware/Authenticate.php index b7c5a710d..fd976a2f2 100644 --- a/packages/admin/src/Http/Middleware/Authenticate.php +++ b/packages/admin/src/Http/Middleware/Authenticate.php @@ -6,7 +6,7 @@ use Illuminate\Auth\Middleware\Authenticate as Middleware; -final class Authenticate extends Middleware +class Authenticate extends Middleware { protected function authenticate($request, array $guards): void { diff --git a/packages/admin/src/Http/Middleware/Dashboard.php b/packages/admin/src/Http/Middleware/Dashboard.php index c39db68c9..daa2bda5a 100644 --- a/packages/admin/src/Http/Middleware/Dashboard.php +++ b/packages/admin/src/Http/Middleware/Dashboard.php @@ -11,7 +11,7 @@ use Shopper\Core\Models\User; use Shopper\Facades\Shopper; -final class Dashboard +class Dashboard { public function handle(Request $request, Closure $next) { diff --git a/packages/admin/src/Http/Middleware/DispatchShopper.php b/packages/admin/src/Http/Middleware/DispatchShopper.php index a2736eec7..9c912eb1c 100644 --- a/packages/admin/src/Http/Middleware/DispatchShopper.php +++ b/packages/admin/src/Http/Middleware/DispatchShopper.php @@ -8,7 +8,7 @@ use Illuminate\Http\Request; use Shopper\Events\LoadShopper; -final class DispatchShopper +class DispatchShopper { public function handle(Request $request, Closure $next) { diff --git a/packages/admin/src/Http/Middleware/HasConfiguration.php b/packages/admin/src/Http/Middleware/HasConfiguration.php index 8673451bd..41ba2d3b6 100644 --- a/packages/admin/src/Http/Middleware/HasConfiguration.php +++ b/packages/admin/src/Http/Middleware/HasConfiguration.php @@ -8,7 +8,7 @@ use Illuminate\Http\Request; use Shopper\Core\Models\Setting; -final class HasConfiguration +class HasConfiguration { public function handle(Request $request, Closure $next) { diff --git a/packages/admin/src/Http/Middleware/RedirectIfAuthenticated.php b/packages/admin/src/Http/Middleware/RedirectIfAuthenticated.php index 01000255c..21a9eddad 100644 --- a/packages/admin/src/Http/Middleware/RedirectIfAuthenticated.php +++ b/packages/admin/src/Http/Middleware/RedirectIfAuthenticated.php @@ -5,14 +5,12 @@ namespace Shopper\Http\Middleware; use Closure; -use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; -use Illuminate\Http\Response; use Shopper\Facades\Shopper; -final class RedirectIfAuthenticated +class RedirectIfAuthenticated { - public function handle(Request $request, Closure $next): RedirectResponse|Response + public function handle(Request $request, Closure $next) { if (Shopper::auth()->check()) { return redirect()->route('shopper.dashboard'); diff --git a/packages/admin/src/Http/Requests/TwoFactorLoginRequest.php b/packages/admin/src/Http/Requests/TwoFactorLoginRequest.php index 3eaf4292c..8b2c2366c 100644 --- a/packages/admin/src/Http/Requests/TwoFactorLoginRequest.php +++ b/packages/admin/src/Http/Requests/TwoFactorLoginRequest.php @@ -10,7 +10,7 @@ use Shopper\Facades\Shopper; use Shopper\Http\Responses\FailedTwoFactorLoginResponse; -final class TwoFactorLoginRequest extends FormRequest +class TwoFactorLoginRequest extends FormRequest { protected $challengedUser; diff --git a/packages/admin/src/Http/Responses/FailedTwoFactorLoginResponse.php b/packages/admin/src/Http/Responses/FailedTwoFactorLoginResponse.php index 8f7a9fbb1..1ad8891a6 100644 --- a/packages/admin/src/Http/Responses/FailedTwoFactorLoginResponse.php +++ b/packages/admin/src/Http/Responses/FailedTwoFactorLoginResponse.php @@ -4,13 +4,12 @@ namespace Shopper\Http\Responses; -use Illuminate\Http\RedirectResponse; use Illuminate\Validation\ValidationException; use Shopper\Contracts\FailedTwoFactorLoginResponse as FailedTwoFactorLoginResponseContract; -final class FailedTwoFactorLoginResponse implements FailedTwoFactorLoginResponseContract +class FailedTwoFactorLoginResponse implements FailedTwoFactorLoginResponseContract { - public function toResponse($request): RedirectResponse + public function toResponse($request) { [$key, $message] = $request->filled('recovery_code') ? ['recovery_code', __('The provided two factor recovery code was invalid.')] diff --git a/packages/admin/src/Http/Responses/LoginResponse.php b/packages/admin/src/Http/Responses/LoginResponse.php index eb4fcbe9a..cc9610880 100644 --- a/packages/admin/src/Http/Responses/LoginResponse.php +++ b/packages/admin/src/Http/Responses/LoginResponse.php @@ -4,13 +4,11 @@ namespace Shopper\Http\Responses; -use Illuminate\Http\RedirectResponse; -use Livewire\Redirector; use Shopper\Contracts\LoginResponse as Responsable; -final class LoginResponse implements Responsable +class LoginResponse implements Responsable { - public function toResponse($request): Redirector|RedirectResponse + public function toResponse($request) { return redirect()->intended(route('shopper.dashboard')); } diff --git a/packages/admin/src/Http/Responses/TwoFactorDisabledResponse.php b/packages/admin/src/Http/Responses/TwoFactorDisabledResponse.php index 1aee1cc09..f08130ecb 100644 --- a/packages/admin/src/Http/Responses/TwoFactorDisabledResponse.php +++ b/packages/admin/src/Http/Responses/TwoFactorDisabledResponse.php @@ -6,11 +6,10 @@ use Illuminate\Http\JsonResponse; use Shopper\Contracts\TwoFactorLoginResponse as TwoFactorLoginResponseContract; -use Symfony\Component\HttpFoundation\Response; -final class TwoFactorDisabledResponse implements TwoFactorLoginResponseContract +class TwoFactorDisabledResponse implements TwoFactorLoginResponseContract { - public function toResponse($request): Response + public function toResponse($request) { return $request->wantsJson() ? new JsonResponse('', 200) diff --git a/packages/admin/src/Http/Responses/TwoFactorEnabledResponse.php b/packages/admin/src/Http/Responses/TwoFactorEnabledResponse.php index 76d388220..6eced5f07 100644 --- a/packages/admin/src/Http/Responses/TwoFactorEnabledResponse.php +++ b/packages/admin/src/Http/Responses/TwoFactorEnabledResponse.php @@ -6,11 +6,10 @@ use Illuminate\Http\JsonResponse; use Shopper\Contracts\TwoFactorLoginResponse as TwoFactorLoginResponseContract; -use Symfony\Component\HttpFoundation\Response; -final class TwoFactorEnabledResponse implements TwoFactorLoginResponseContract +class TwoFactorEnabledResponse implements TwoFactorLoginResponseContract { - public function toResponse($request): Response + public function toResponse($request) { return $request->wantsJson() ? new JsonResponse('', 200) diff --git a/packages/admin/src/Http/Responses/TwoFactorLoginResponse.php b/packages/admin/src/Http/Responses/TwoFactorLoginResponse.php index a9f3a095d..c29c22f4f 100644 --- a/packages/admin/src/Http/Responses/TwoFactorLoginResponse.php +++ b/packages/admin/src/Http/Responses/TwoFactorLoginResponse.php @@ -6,11 +6,10 @@ use Illuminate\Http\JsonResponse; use Shopper\Contracts\TwoFactorLoginResponse as TwoFactorLoginResponseContract; -use Symfony\Component\HttpFoundation\Response; -final class TwoFactorLoginResponse implements TwoFactorLoginResponseContract +class TwoFactorLoginResponse implements TwoFactorLoginResponseContract { - public function toResponse($request): Response + public function toResponse($request) { return $request->wantsJson() ? new JsonResponse('', 204) diff --git a/packages/core/src/Events/Orders/AddNote.php b/packages/core/src/Events/Orders/AddNote.php index 6d7544f2e..7a47de4c3 100644 --- a/packages/core/src/Events/Orders/AddNote.php +++ b/packages/core/src/Events/Orders/AddNote.php @@ -7,7 +7,7 @@ use Illuminate\Queue\SerializesModels; use Shopper\Core\Models\Order; -final class AddNote +class AddNote { use SerializesModels; diff --git a/packages/core/src/Events/Orders/Cancel.php b/packages/core/src/Events/Orders/Cancel.php index b0fe90d8b..d82ab3a80 100644 --- a/packages/core/src/Events/Orders/Cancel.php +++ b/packages/core/src/Events/Orders/Cancel.php @@ -7,7 +7,7 @@ use Illuminate\Queue\SerializesModels; use Shopper\Core\Models\Order; -final class Cancel +class Cancel { use SerializesModels; diff --git a/packages/core/src/Events/Orders/Completed.php b/packages/core/src/Events/Orders/Completed.php index 99c3c532d..8b88f900a 100644 --- a/packages/core/src/Events/Orders/Completed.php +++ b/packages/core/src/Events/Orders/Completed.php @@ -7,7 +7,7 @@ use Illuminate\Queue\SerializesModels; use Shopper\Core\Models\Order; -final class Completed +class Completed { use SerializesModels; diff --git a/packages/core/src/Events/Orders/Create.php b/packages/core/src/Events/Orders/Create.php index 04c056ccd..45e78f200 100644 --- a/packages/core/src/Events/Orders/Create.php +++ b/packages/core/src/Events/Orders/Create.php @@ -7,7 +7,7 @@ use Illuminate\Queue\SerializesModels; use Shopper\Core\Models\Order; -final class Create +class Create { use SerializesModels; diff --git a/packages/core/src/Events/Orders/Delete.php b/packages/core/src/Events/Orders/Delete.php index de85899d9..2c777c78b 100644 --- a/packages/core/src/Events/Orders/Delete.php +++ b/packages/core/src/Events/Orders/Delete.php @@ -7,7 +7,7 @@ use Illuminate\Queue\SerializesModels; use Shopper\Core\Models\Order; -final class Delete +class Delete { use SerializesModels; diff --git a/packages/core/src/Events/Orders/Paid.php b/packages/core/src/Events/Orders/Paid.php index 6978af81e..0cea6f727 100644 --- a/packages/core/src/Events/Orders/Paid.php +++ b/packages/core/src/Events/Orders/Paid.php @@ -7,7 +7,7 @@ use Illuminate\Queue\SerializesModels; use Shopper\Core\Models\Order; -final class Paid +class Paid { use SerializesModels; diff --git a/packages/core/src/Events/Orders/Registered.php b/packages/core/src/Events/Orders/Registered.php index 673eab655..eb03ad182 100644 --- a/packages/core/src/Events/Orders/Registered.php +++ b/packages/core/src/Events/Orders/Registered.php @@ -7,7 +7,7 @@ use Illuminate\Queue\SerializesModels; use Shopper\Core\Models\Order; -final class Registered +class Registered { use SerializesModels; diff --git a/packages/core/src/Events/Products/Created.php b/packages/core/src/Events/Products/Created.php index a65f9f4fa..38d404cd5 100644 --- a/packages/core/src/Events/Products/Created.php +++ b/packages/core/src/Events/Products/Created.php @@ -6,7 +6,7 @@ use Illuminate\Queue\SerializesModels; -final class Created +class Created { use SerializesModels; diff --git a/packages/core/src/Events/Products/Deleted.php b/packages/core/src/Events/Products/Deleted.php index fa64d20f8..253fc9f72 100644 --- a/packages/core/src/Events/Products/Deleted.php +++ b/packages/core/src/Events/Products/Deleted.php @@ -6,7 +6,7 @@ use Illuminate\Queue\SerializesModels; -final class Deleted +class Deleted { use SerializesModels; diff --git a/packages/core/src/Events/Products/Updated.php b/packages/core/src/Events/Products/Updated.php index e2cdf4f29..c3a4ae321 100644 --- a/packages/core/src/Events/Products/Updated.php +++ b/packages/core/src/Events/Products/Updated.php @@ -6,7 +6,7 @@ use Illuminate\Queue\SerializesModels; -final class Updated +class Updated { use SerializesModels; diff --git a/packages/core/src/Helpers/Price.php b/packages/core/src/Helpers/Price.php index 7afb2ca8d..eaae47de0 100644 --- a/packages/core/src/Helpers/Price.php +++ b/packages/core/src/Helpers/Price.php @@ -6,7 +6,7 @@ use Shopper\Core\Traits\HasPrice; -final class Price +class Price { use HasPrice; diff --git a/packages/core/src/Repositories/ChannelRepository.php b/packages/core/src/Repositories/ChannelRepository.php index 0b588746f..e72d0308a 100644 --- a/packages/core/src/Repositories/ChannelRepository.php +++ b/packages/core/src/Repositories/ChannelRepository.php @@ -4,7 +4,7 @@ namespace Shopper\Core\Repositories; -final class ChannelRepository extends BaseRepository +class ChannelRepository extends BaseRepository { public function model(): string { diff --git a/packages/core/src/Repositories/Store/BrandRepository.php b/packages/core/src/Repositories/Store/BrandRepository.php index b32d5fbef..f6009b7bd 100644 --- a/packages/core/src/Repositories/Store/BrandRepository.php +++ b/packages/core/src/Repositories/Store/BrandRepository.php @@ -6,7 +6,7 @@ use Shopper\Core\Repositories\BaseRepository; -final class BrandRepository extends BaseRepository +class BrandRepository extends BaseRepository { public function model(): string { diff --git a/packages/core/src/Repositories/Store/CategoryRepository.php b/packages/core/src/Repositories/Store/CategoryRepository.php index d884f32e7..449c1b114 100644 --- a/packages/core/src/Repositories/Store/CategoryRepository.php +++ b/packages/core/src/Repositories/Store/CategoryRepository.php @@ -6,7 +6,7 @@ use Shopper\Core\Repositories\BaseRepository; -final class CategoryRepository extends BaseRepository +class CategoryRepository extends BaseRepository { public function model(): string { diff --git a/packages/core/src/Repositories/Store/CollectionRepository.php b/packages/core/src/Repositories/Store/CollectionRepository.php index 3975a95d6..8895a72c1 100644 --- a/packages/core/src/Repositories/Store/CollectionRepository.php +++ b/packages/core/src/Repositories/Store/CollectionRepository.php @@ -6,7 +6,7 @@ use Shopper\Core\Repositories\BaseRepository; -final class CollectionRepository extends BaseRepository +class CollectionRepository extends BaseRepository { public function model(): string { diff --git a/packages/core/src/Repositories/Store/ProductRepository.php b/packages/core/src/Repositories/Store/ProductRepository.php index 7e4f72e4f..bb2b73ca9 100644 --- a/packages/core/src/Repositories/Store/ProductRepository.php +++ b/packages/core/src/Repositories/Store/ProductRepository.php @@ -6,7 +6,7 @@ use Shopper\Core\Repositories\BaseRepository; -final class ProductRepository extends BaseRepository +class ProductRepository extends BaseRepository { public function model(): string { diff --git a/packages/core/src/Repositories/UserRepository.php b/packages/core/src/Repositories/UserRepository.php index a5c299a1f..7f9d2aff3 100644 --- a/packages/core/src/Repositories/UserRepository.php +++ b/packages/core/src/Repositories/UserRepository.php @@ -6,7 +6,7 @@ use Shopper\Core\Models\User; -final class UserRepository extends BaseRepository +class UserRepository extends BaseRepository { public function model(): string { diff --git a/packages/core/src/Rules/Phone.php b/packages/core/src/Rules/Phone.php index 2b6db3209..9cbac8c26 100644 --- a/packages/core/src/Rules/Phone.php +++ b/packages/core/src/Rules/Phone.php @@ -6,7 +6,7 @@ use Illuminate\Contracts\Validation\Rule; -final class Phone implements Rule +class Phone implements Rule { public function passes($attribute, $value): bool { diff --git a/packages/core/src/Rules/RealEmailValidator.php b/packages/core/src/Rules/RealEmailValidator.php index 38ca8bf22..c14660b1a 100644 --- a/packages/core/src/Rules/RealEmailValidator.php +++ b/packages/core/src/Rules/RealEmailValidator.php @@ -6,7 +6,7 @@ use Illuminate\Contracts\Validation\Rule; -final class RealEmailValidator implements Rule +class RealEmailValidator implements Rule { /** * Determine if the validation rule passes. diff --git a/packages/sidebar/src/Middleware/ResolveSidebars.php b/packages/sidebar/src/Middleware/ResolveSidebars.php index 88ced03e1..222922e25 100644 --- a/packages/sidebar/src/Middleware/ResolveSidebars.php +++ b/packages/sidebar/src/Middleware/ResolveSidebars.php @@ -6,16 +6,15 @@ use Closure; use Illuminate\Http\Request; -use Illuminate\Http\Response; use Shopper\Sidebar\SidebarManager; -final class ResolveSidebars +class ResolveSidebars { public function __construct(protected SidebarManager $sidebarManager) { } - public function handle(Request $request, Closure $next): Response + public function handle(Request $request, Closure $next) { $this->sidebarManager->resolve(); diff --git a/packages/sidebar/src/SidebarManager.php b/packages/sidebar/src/SidebarManager.php index e00564fa4..3a914430f 100644 --- a/packages/sidebar/src/SidebarManager.php +++ b/packages/sidebar/src/SidebarManager.php @@ -9,7 +9,7 @@ use Shopper\Sidebar\Infrastructure\SidebarFlusher; use Shopper\Sidebar\Infrastructure\SidebarResolver; -final class SidebarManager +class SidebarManager { protected array $sidebars = []; From a1608d43381bb8a89e0916d398f7841a6d9ba936 Mon Sep 17 00:00:00 2001 From: Arthur Monney Date: Tue, 27 Feb 2024 12:38:23 +0100 Subject: [PATCH 3/4] Update dependencies --- composer.lock | 122 +++++++++++++++++++++++++------------------------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/composer.lock b/composer.lock index b01bf10c2..02c10f934 100644 --- a/composer.lock +++ b/composer.lock @@ -1935,16 +1935,16 @@ }, { "name": "larastan/larastan", - "version": "v2.9.0", + "version": "v2.9.1", "source": { "type": "git", "url": "https://github.com/larastan/larastan.git", - "reference": "35fa9cbe1895e76215bbe74571a344f2705fbe01" + "reference": "467113c58d110ad617cf9e07ff49b0948d1c03cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/larastan/larastan/zipball/35fa9cbe1895e76215bbe74571a344f2705fbe01", - "reference": "35fa9cbe1895e76215bbe74571a344f2705fbe01", + "url": "https://api.github.com/repos/larastan/larastan/zipball/467113c58d110ad617cf9e07ff49b0948d1c03cc", + "reference": "467113c58d110ad617cf9e07ff49b0948d1c03cc", "shasum": "" }, "require": { @@ -2012,7 +2012,7 @@ ], "support": { "issues": "https://github.com/larastan/larastan/issues", - "source": "https://github.com/larastan/larastan/tree/v2.9.0" + "source": "https://github.com/larastan/larastan/tree/v2.9.1" }, "funding": [ { @@ -2032,7 +2032,7 @@ "type": "patreon" } ], - "time": "2024-02-13T11:49:22+00:00" + "time": "2024-02-26T14:10:20+00:00" }, { "name": "laravel/framework", @@ -7408,16 +7408,16 @@ }, { "name": "symfony/console", - "version": "v6.4.3", + "version": "v6.4.4", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "2aaf83b4de5b9d43b93e4aec6f2f8b676f7c567e" + "reference": "0d9e4eb5ad413075624378f474c4167ea202de78" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/2aaf83b4de5b9d43b93e4aec6f2f8b676f7c567e", - "reference": "2aaf83b4de5b9d43b93e4aec6f2f8b676f7c567e", + "url": "https://api.github.com/repos/symfony/console/zipball/0d9e4eb5ad413075624378f474c4167ea202de78", + "reference": "0d9e4eb5ad413075624378f474c4167ea202de78", "shasum": "" }, "require": { @@ -7482,7 +7482,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.3" + "source": "https://github.com/symfony/console/tree/v6.4.4" }, "funding": [ { @@ -7498,7 +7498,7 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-02-22T20:27:10+00:00" }, { "name": "symfony/css-selector", @@ -7634,16 +7634,16 @@ }, { "name": "symfony/error-handler", - "version": "v6.4.3", + "version": "v6.4.4", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "6dc3c76a278b77f01d864a6005d640822c6f26a6" + "reference": "c725219bdf2afc59423c32793d5019d2a904e13a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/6dc3c76a278b77f01d864a6005d640822c6f26a6", - "reference": "6dc3c76a278b77f01d864a6005d640822c6f26a6", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/c725219bdf2afc59423c32793d5019d2a904e13a", + "reference": "c725219bdf2afc59423c32793d5019d2a904e13a", "shasum": "" }, "require": { @@ -7689,7 +7689,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v6.4.3" + "source": "https://github.com/symfony/error-handler/tree/v6.4.4" }, "funding": [ { @@ -7705,7 +7705,7 @@ "type": "tidelift" } ], - "time": "2024-01-29T15:40:36+00:00" + "time": "2024-02-22T20:27:10+00:00" }, { "name": "symfony/event-dispatcher", @@ -7929,16 +7929,16 @@ }, { "name": "symfony/http-foundation", - "version": "v6.4.3", + "version": "v6.4.4", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "5677bdf7cade4619cb17fc9e1e7b31ec392244a9" + "reference": "ebc713bc6e6f4b53f46539fc158be85dfcd77304" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/5677bdf7cade4619cb17fc9e1e7b31ec392244a9", - "reference": "5677bdf7cade4619cb17fc9e1e7b31ec392244a9", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/ebc713bc6e6f4b53f46539fc158be85dfcd77304", + "reference": "ebc713bc6e6f4b53f46539fc158be85dfcd77304", "shasum": "" }, "require": { @@ -7986,7 +7986,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.4.3" + "source": "https://github.com/symfony/http-foundation/tree/v6.4.4" }, "funding": [ { @@ -8002,20 +8002,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-02-08T15:01:18+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.4.3", + "version": "v6.4.4", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "9c6ec4e543044f7568a53a76ab1484ecd30637a2" + "reference": "7a186f64a7f02787c04e8476538624d6aa888e42" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/9c6ec4e543044f7568a53a76ab1484ecd30637a2", - "reference": "9c6ec4e543044f7568a53a76ab1484ecd30637a2", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/7a186f64a7f02787c04e8476538624d6aa888e42", + "reference": "7a186f64a7f02787c04e8476538624d6aa888e42", "shasum": "" }, "require": { @@ -8064,7 +8064,7 @@ "symfony/process": "^5.4|^6.0|^7.0", "symfony/property-access": "^5.4.5|^6.0.5|^7.0", "symfony/routing": "^5.4|^6.0|^7.0", - "symfony/serializer": "^6.3|^7.0", + "symfony/serializer": "^6.4.4|^7.0.4", "symfony/stopwatch": "^5.4|^6.0|^7.0", "symfony/translation": "^5.4|^6.0|^7.0", "symfony/translation-contracts": "^2.5|^3", @@ -8099,7 +8099,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v6.4.3" + "source": "https://github.com/symfony/http-kernel/tree/v6.4.4" }, "funding": [ { @@ -8115,20 +8115,20 @@ "type": "tidelift" } ], - "time": "2024-01-31T07:21:29+00:00" + "time": "2024-02-27T06:32:13+00:00" }, { "name": "symfony/mailer", - "version": "v6.4.3", + "version": "v6.4.4", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "74412c62f88a85a41b61f0b71ab0afcaad6f03ee" + "reference": "791c5d31a8204cf3db0c66faab70282307f4376b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/74412c62f88a85a41b61f0b71ab0afcaad6f03ee", - "reference": "74412c62f88a85a41b61f0b71ab0afcaad6f03ee", + "url": "https://api.github.com/repos/symfony/mailer/zipball/791c5d31a8204cf3db0c66faab70282307f4376b", + "reference": "791c5d31a8204cf3db0c66faab70282307f4376b", "shasum": "" }, "require": { @@ -8179,7 +8179,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v6.4.3" + "source": "https://github.com/symfony/mailer/tree/v6.4.4" }, "funding": [ { @@ -8195,7 +8195,7 @@ "type": "tidelift" } ], - "time": "2024-01-29T15:01:07+00:00" + "time": "2024-02-03T21:33:47+00:00" }, { "name": "symfony/mime", @@ -9074,16 +9074,16 @@ }, { "name": "symfony/process", - "version": "v6.4.3", + "version": "v6.4.4", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "31642b0818bfcff85930344ef93193f8c607e0a3" + "reference": "710e27879e9be3395de2b98da3f52a946039f297" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/31642b0818bfcff85930344ef93193f8c607e0a3", - "reference": "31642b0818bfcff85930344ef93193f8c607e0a3", + "url": "https://api.github.com/repos/symfony/process/zipball/710e27879e9be3395de2b98da3f52a946039f297", + "reference": "710e27879e9be3395de2b98da3f52a946039f297", "shasum": "" }, "require": { @@ -9115,7 +9115,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.3" + "source": "https://github.com/symfony/process/tree/v6.4.4" }, "funding": [ { @@ -9131,7 +9131,7 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-02-20T12:31:00+00:00" }, { "name": "symfony/routing", @@ -9362,16 +9362,16 @@ }, { "name": "symfony/string", - "version": "v7.0.3", + "version": "v7.0.4", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "524aac4a280b90a4420d8d6a040718d0586505ac" + "reference": "f5832521b998b0bec40bee688ad5de98d4cf111b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/524aac4a280b90a4420d8d6a040718d0586505ac", - "reference": "524aac4a280b90a4420d8d6a040718d0586505ac", + "url": "https://api.github.com/repos/symfony/string/zipball/f5832521b998b0bec40bee688ad5de98d4cf111b", + "reference": "f5832521b998b0bec40bee688ad5de98d4cf111b", "shasum": "" }, "require": { @@ -9428,7 +9428,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.0.3" + "source": "https://github.com/symfony/string/tree/v7.0.4" }, "funding": [ { @@ -9444,20 +9444,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T15:41:16+00:00" + "time": "2024-02-01T13:17:36+00:00" }, { "name": "symfony/translation", - "version": "v6.4.3", + "version": "v6.4.4", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "637c51191b6b184184bbf98937702bcf554f7d04" + "reference": "bce6a5a78e94566641b2594d17e48b0da3184a8e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/637c51191b6b184184bbf98937702bcf554f7d04", - "reference": "637c51191b6b184184bbf98937702bcf554f7d04", + "url": "https://api.github.com/repos/symfony/translation/zipball/bce6a5a78e94566641b2594d17e48b0da3184a8e", + "reference": "bce6a5a78e94566641b2594d17e48b0da3184a8e", "shasum": "" }, "require": { @@ -9523,7 +9523,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.4.3" + "source": "https://github.com/symfony/translation/tree/v6.4.4" }, "funding": [ { @@ -9539,7 +9539,7 @@ "type": "tidelift" } ], - "time": "2024-01-29T13:11:52+00:00" + "time": "2024-02-20T13:16:58+00:00" }, { "name": "symfony/translation-contracts", @@ -9695,16 +9695,16 @@ }, { "name": "symfony/var-dumper", - "version": "v6.4.3", + "version": "v6.4.4", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "0435a08f69125535336177c29d56af3abc1f69da" + "reference": "b439823f04c98b84d4366c79507e9da6230944b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/0435a08f69125535336177c29d56af3abc1f69da", - "reference": "0435a08f69125535336177c29d56af3abc1f69da", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/b439823f04c98b84d4366c79507e9da6230944b1", + "reference": "b439823f04c98b84d4366c79507e9da6230944b1", "shasum": "" }, "require": { @@ -9760,7 +9760,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.4.3" + "source": "https://github.com/symfony/var-dumper/tree/v6.4.4" }, "funding": [ { @@ -9776,7 +9776,7 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:53:30+00:00" + "time": "2024-02-15T11:23:52+00:00" }, { "name": "symfony/yaml", From bd40dc6daa4aa1ca5c31323e4830cdc6912e1a94 Mon Sep 17 00:00:00 2001 From: Carmine Di Gruttola Date: Tue, 5 Mar 2024 17:56:18 +0100 Subject: [PATCH 4/4] make symlink using prefix (#239) Co-authored-by: Carmine Di Gruttola --- packages/admin/src/Console/SymlinkCommand.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/admin/src/Console/SymlinkCommand.php b/packages/admin/src/Console/SymlinkCommand.php index a2a02c244..206418752 100644 --- a/packages/admin/src/Console/SymlinkCommand.php +++ b/packages/admin/src/Console/SymlinkCommand.php @@ -5,6 +5,7 @@ namespace Shopper\Console; use Illuminate\Console\Command; +use Shopper\Shopper; final class SymlinkCommand extends Command { @@ -14,14 +15,15 @@ final class SymlinkCommand extends Command public function handle(): void { - $link = public_path('shopper'); + $prefix = Shopper::prefix(); + $link = public_path($prefix); $target = realpath(__DIR__ . '/../../public/'); if (file_exists($link)) { - $this->error('The "public/shopper" directory already exists.'); + $this->error('The "public/' . $prefix . '" directory already exists.'); } else { $this->laravel->make('files')->link($target, $link); - $this->info('The [public/shopper] directory has been linked.'); + $this->info('The [public/' . $prefix . '] directory has been linked.'); } $this->info('The link have been created.');