diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index baa2db7e2..2cd8474c0 100755 --- 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 49b3a16b9..476539c5d 100755 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -1,17 +1,18 @@ -name: phpstan +name: "phpstan Static Analysis" on: push: pull_request: + branches: + - main jobs: phpstan: - runs-on: ubuntu-latest strategy: fail-fast: false matrix: php: [8.2] - laravel: [10.*, 11.*] + laravel: [10.*] dependencies: ["highest"] name: "PHP ${{ matrix.php }} - L${{ matrix.laravel }} ${{ matrix.dependencies == 'highest' && '↑' || '↓' }}" diff --git a/.gitignore b/.gitignore index c56dcf042..54fc65724 100755 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,3 @@ phpunit.xml .php-cs-fixer.cache build Thumbs.db - diff --git a/composer.lock b/composer.lock index b118e0bd8..d993af729 100755 --- a/composer.lock +++ b/composer.lock @@ -159,16 +159,16 @@ }, { "name": "brianium/paratest", - "version": "v6.11.0", + "version": "v6.11.1", "source": { "type": "git", "url": "https://github.com/paratestphp/paratest.git", - "reference": "8083a421cee7dad847ee7c464529043ba30de380" + "reference": "78e297a969049ca7cc370e80ff5e102921ef39a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paratestphp/paratest/zipball/8083a421cee7dad847ee7c464529043ba30de380", - "reference": "8083a421cee7dad847ee7c464529043ba30de380", + "url": "https://api.github.com/repos/paratestphp/paratest/zipball/78e297a969049ca7cc370e80ff5e102921ef39a3", + "reference": "78e297a969049ca7cc370e80ff5e102921ef39a3", "shasum": "" }, "require": { @@ -235,7 +235,7 @@ ], "support": { "issues": "https://github.com/paratestphp/paratest/issues", - "source": "https://github.com/paratestphp/paratest/tree/v6.11.0" + "source": "https://github.com/paratestphp/paratest/tree/v6.11.1" }, "funding": [ { @@ -247,7 +247,7 @@ "type": "paypal" } ], - "time": "2023-10-31T09:13:57+00:00" + "time": "2024-03-13T06:54:29+00:00" }, { "name": "brick/math", @@ -678,16 +678,16 @@ }, { "name": "doctrine/dbal", - "version": "3.8.1", + "version": "3.8.3", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "c9ea252cdce4da324ede3d6c5913dd89f769afd2" + "reference": "db922ba9436b7b18a23d1653a0b41ff2369ca41c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/c9ea252cdce4da324ede3d6c5913dd89f769afd2", - "reference": "c9ea252cdce4da324ede3d6c5913dd89f769afd2", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/db922ba9436b7b18a23d1653a0b41ff2369ca41c", + "reference": "db922ba9436b7b18a23d1653a0b41ff2369ca41c", "shasum": "" }, "require": { @@ -703,12 +703,12 @@ "doctrine/coding-standard": "12.0.0", "fig/log-test": "^1", "jetbrains/phpstorm-stubs": "2023.1", - "phpstan/phpstan": "1.10.57", + "phpstan/phpstan": "1.10.58", "phpstan/phpstan-strict-rules": "^1.5", "phpunit/phpunit": "9.6.16", "psalm/plugin-phpunit": "0.18.4", "slevomat/coding-standard": "8.13.1", - "squizlabs/php_codesniffer": "3.8.1", + "squizlabs/php_codesniffer": "3.9.0", "symfony/cache": "^5.4|^6.0|^7.0", "symfony/console": "^4.4|^5.4|^6.0|^7.0", "vimeo/psalm": "4.30.0" @@ -771,7 +771,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.8.1" + "source": "https://github.com/doctrine/dbal/tree/3.8.3" }, "funding": [ { @@ -787,7 +787,7 @@ "type": "tidelift" } ], - "time": "2024-02-03T17:33:49+00:00" + "time": "2024-03-03T15:55:06+00:00" }, { "name": "doctrine/deprecations", @@ -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", @@ -1876,16 +1876,16 @@ }, { "name": "jean85/pretty-package-versions", - "version": "2.0.5", + "version": "2.0.6", "source": { "type": "git", "url": "https://github.com/Jean85/pretty-package-versions.git", - "reference": "ae547e455a3d8babd07b96966b17d7fd21d9c6af" + "reference": "f9fdd29ad8e6d024f52678b570e5593759b550b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/ae547e455a3d8babd07b96966b17d7fd21d9c6af", - "reference": "ae547e455a3d8babd07b96966b17d7fd21d9c6af", + "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/f9fdd29ad8e6d024f52678b570e5593759b550b4", + "reference": "f9fdd29ad8e6d024f52678b570e5593759b550b4", "shasum": "" }, "require": { @@ -1893,9 +1893,9 @@ "php": "^7.1|^8.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.17", + "friendsofphp/php-cs-fixer": "^3.2", "jean85/composer-provided-replaced-stub-package": "^1.0", - "phpstan/phpstan": "^0.12.66", + "phpstan/phpstan": "^1.4", "phpunit/phpunit": "^7.5|^8.5|^9.4", "vimeo/psalm": "^4.3" }, @@ -1929,22 +1929,22 @@ ], "support": { "issues": "https://github.com/Jean85/pretty-package-versions/issues", - "source": "https://github.com/Jean85/pretty-package-versions/tree/2.0.5" + "source": "https://github.com/Jean85/pretty-package-versions/tree/2.0.6" }, - "time": "2021-10-08T21:21:46+00:00" + "time": "2024-03-08T09:58:59+00:00" }, { "name": "larastan/larastan", - "version": "v2.8.1", + "version": "v2.9.2", "source": { "type": "git", "url": "https://github.com/larastan/larastan.git", - "reference": "b7cc6a29c457a7d4f3de90466392ae9ad3e17022" + "reference": "a79b46b96060504b400890674b83f66aa7f5db6d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/larastan/larastan/zipball/b7cc6a29c457a7d4f3de90466392ae9ad3e17022", - "reference": "b7cc6a29c457a7d4f3de90466392ae9ad3e17022", + "url": "https://api.github.com/repos/larastan/larastan/zipball/a79b46b96060504b400890674b83f66aa7f5db6d", + "reference": "a79b46b96060504b400890674b83f66aa7f5db6d", "shasum": "" }, "require": { @@ -1961,6 +1961,7 @@ "phpstan/phpstan": "^1.10.50" }, "require-dev": { + "doctrine/coding-standard": "^12.0", "nikic/php-parser": "^4.17.1", "orchestra/canvas": "^7.11.1 || ^8.11.0 || ^9.0.0", "orchestra/testbench": "^7.33.0 || ^8.13.0 || ^9.0.0", @@ -2012,7 +2013,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.2" }, "funding": [ { @@ -2032,20 +2033,20 @@ "type": "patreon" } ], - "time": "2024-01-08T09:11:17+00:00" + "time": "2024-02-27T03:16:03+00:00" }, { "name": "laravel/framework", - "version": "v10.43.0", + "version": "v10.48.4", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "4f7802dfc9993cb57cf69615491ce1a7eb2e9529" + "reference": "7e0701bf59cb76a51f7c1f7bea51c0c0c29c0b72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/4f7802dfc9993cb57cf69615491ce1a7eb2e9529", - "reference": "4f7802dfc9993cb57cf69615491ce1a7eb2e9529", + "url": "https://api.github.com/repos/laravel/framework/zipball/7e0701bf59cb76a51f7c1f7bea51c0c0c29c0b72", + "reference": "7e0701bf59cb76a51f7c1f7bea51c0c0c29c0b72", "shasum": "" }, "require": { @@ -2093,6 +2094,8 @@ "conflict": { "carbonphp/carbon-doctrine-types": ">=3.0", "doctrine/dbal": ">=4.0", + "mockery/mockery": "1.6.8", + "phpunit/phpunit": ">=11.0.0", "tightenco/collect": "<5.5.33" }, "provide": { @@ -2148,7 +2151,7 @@ "league/flysystem-sftp-v3": "^3.0", "mockery/mockery": "^1.5.1", "nyholm/psr7": "^1.2", - "orchestra/testbench-core": "^8.18", + "orchestra/testbench-core": "^8.23.4", "pda/pheanstalk": "^4.0", "phpstan/phpstan": "^1.4.7", "phpunit/phpunit": "^10.0.7", @@ -2237,20 +2240,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-01-30T16:25:02+00:00" + "time": "2024-03-21T13:36:36+00:00" }, { "name": "laravel/pint", - "version": "v1.13.10", + "version": "v1.15.0", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "e2b5060885694ca30ac008c05dc9d47f10ed1abf" + "reference": "c52de679b3ac01207016c179d7ce173e4be128c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/e2b5060885694ca30ac008c05dc9d47f10ed1abf", - "reference": "e2b5060885694ca30ac008c05dc9d47f10ed1abf", + "url": "https://api.github.com/repos/laravel/pint/zipball/c52de679b3ac01207016c179d7ce173e4be128c4", + "reference": "c52de679b3ac01207016c179d7ce173e4be128c4", "shasum": "" }, "require": { @@ -2261,13 +2264,13 @@ "php": "^8.1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.47.1", - "illuminate/view": "^10.41.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,20 +2306,20 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2024-01-22T09:04:15+00:00" + "time": "2024-03-26T16:40:24+00:00" }, { "name": "laravel/prompts", - "version": "v0.1.15", + "version": "v0.1.17", "source": { "type": "git", "url": "https://github.com/laravel/prompts.git", - "reference": "d814a27514d99b03c85aa42b22cfd946568636c1" + "reference": "8ee9f87f7f9eadcbe21e9e72cd4176b2f06cd5b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/d814a27514d99b03c85aa42b22cfd946568636c1", - "reference": "d814a27514d99b03c85aa42b22cfd946568636c1", + "url": "https://api.github.com/repos/laravel/prompts/zipball/8ee9f87f7f9eadcbe21e9e72cd4176b2f06cd5b5", + "reference": "8ee9f87f7f9eadcbe21e9e72cd4176b2f06cd5b5", "shasum": "" }, "require": { @@ -2358,9 +2361,9 @@ ], "support": { "issues": "https://github.com/laravel/prompts/issues", - "source": "https://github.com/laravel/prompts/tree/v0.1.15" + "source": "https://github.com/laravel/prompts/tree/v0.1.17" }, - "time": "2023-12-29T22:37:42+00:00" + "time": "2024-03-13T16:05:43+00:00" }, { "name": "laravel/serializable-closure", @@ -2678,16 +2681,16 @@ }, { "name": "league/flysystem", - "version": "3.24.0", + "version": "3.26.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "b25a361508c407563b34fac6f64a8a17a8819675" + "reference": "072735c56cc0da00e10716dd90d5a7f7b40b36be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/b25a361508c407563b34fac6f64a8a17a8819675", - "reference": "b25a361508c407563b34fac6f64a8a17a8819675", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/072735c56cc0da00e10716dd90d5a7f7b40b36be", + "reference": "072735c56cc0da00e10716dd90d5a7f7b40b36be", "shasum": "" }, "require": { @@ -2715,7 +2718,7 @@ "friendsofphp/php-cs-fixer": "^3.5", "google/cloud-storage": "^1.23", "microsoft/azure-storage-blob": "^1.1", - "phpseclib/phpseclib": "^3.0.34", + "phpseclib/phpseclib": "^3.0.36", "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.5.11|^10.0", "sabre/dav": "^4.6.0" @@ -2752,7 +2755,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.24.0" + "source": "https://github.com/thephpleague/flysystem/tree/3.26.0" }, "funding": [ { @@ -2764,20 +2767,20 @@ "type": "github" } ], - "time": "2024-02-04T12:10:17+00:00" + "time": "2024-03-25T11:49:53+00:00" }, { "name": "league/flysystem-local", - "version": "3.23.1", + "version": "3.25.1", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem-local.git", - "reference": "b884d2bf9b53bb4804a56d2df4902bb51e253f00" + "reference": "61a6a90d6e999e4ddd9ce5adb356de0939060b92" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/b884d2bf9b53bb4804a56d2df4902bb51e253f00", - "reference": "b884d2bf9b53bb4804a56d2df4902bb51e253f00", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/61a6a90d6e999e4ddd9ce5adb356de0939060b92", + "reference": "61a6a90d6e999e4ddd9ce5adb356de0939060b92", "shasum": "" }, "require": { @@ -2811,8 +2814,7 @@ "local" ], "support": { - "issues": "https://github.com/thephpleague/flysystem-local/issues", - "source": "https://github.com/thephpleague/flysystem-local/tree/3.23.1" + "source": "https://github.com/thephpleague/flysystem-local/tree/3.25.1" }, "funding": [ { @@ -2824,7 +2826,7 @@ "type": "github" } ], - "time": "2024-01-26T18:25:23+00:00" + "time": "2024-03-15T19:58:44+00:00" }, { "name": "league/mime-type-detection", @@ -2957,16 +2959,16 @@ }, { "name": "mockery/mockery", - "version": "1.6.7", + "version": "1.6.11", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06" + "reference": "81a161d0b135df89951abd52296adf97deb0723d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06", - "reference": "0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06", + "url": "https://api.github.com/repos/mockery/mockery/zipball/81a161d0b135df89951abd52296adf97deb0723d", + "reference": "81a161d0b135df89951abd52296adf97deb0723d", "shasum": "" }, "require": { @@ -2978,8 +2980,8 @@ "phpunit/phpunit": "<8.0" }, "require-dev": { - "phpunit/phpunit": "^8.5 || ^9.6.10", - "symplify/easy-coding-standard": "^12.0.8" + "phpunit/phpunit": "^8.5 || ^9.6.17", + "symplify/easy-coding-standard": "^12.1.14" }, "type": "library", "autoload": { @@ -3036,7 +3038,7 @@ "security": "https://github.com/mockery/mockery/security/advisories", "source": "https://github.com/mockery/mockery" }, - "time": "2023-12-10T02:24:34+00:00" + "time": "2024-03-21T18:34:15+00:00" }, { "name": "monolog/monolog", @@ -3455,16 +3457,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.0.0", + "version": "v5.0.2", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc" + "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13" }, "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/139676794dc1e9231bf7bcd123cfc0c99182cb13", + "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13", "shasum": "" }, "require": { @@ -3507,9 +3509,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.2" }, - "time": "2024-01-07T17:17:35+00:00" + "time": "2024-03-05T20:51:40+00:00" }, { "name": "nunomaduro/collision", @@ -3687,25 +3689,25 @@ }, { "name": "orchestra/canvas", - "version": "v8.11.7", + "version": "v8.11.8", "source": { "type": "git", "url": "https://github.com/orchestral/canvas.git", - "reference": "e4a0157f522222725f1559bde0da1091a91542fb" + "reference": "31b1f338fb9d2f3c97ccbc62b27d3e5bf86a02e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/canvas/zipball/e4a0157f522222725f1559bde0da1091a91542fb", - "reference": "e4a0157f522222725f1559bde0da1091a91542fb", + "url": "https://api.github.com/repos/orchestral/canvas/zipball/31b1f338fb9d2f3c97ccbc62b27d3e5bf86a02e5", + "reference": "31b1f338fb9d2f3c97ccbc62b27d3e5bf86a02e5", "shasum": "" }, "require": { "composer-runtime-api": "^2.2", "composer/semver": "^3.0", - "illuminate/console": "^10.39", - "illuminate/database": "^10.39", - "illuminate/filesystem": "^10.39", - "illuminate/support": "^10.39", + "illuminate/console": "^10.48.4", + "illuminate/database": "^10.48.4", + "illuminate/filesystem": "^10.48.4", + "illuminate/support": "^10.48.4", "orchestra/canvas-core": "^8.10.2", "orchestra/testbench-core": "^8.19", "php": "^8.1", @@ -3713,12 +3715,12 @@ "symfony/yaml": "^6.2" }, "require-dev": { - "laravel/framework": "^10.39", + "laravel/framework": "^10.48.4", "laravel/pint": "^1.6", "mockery/mockery": "^1.5.1", - "phpstan/phpstan": "^1.10.5", - "phpunit/phpunit": "^10.1", - "spatie/laravel-ray": "^1.32.4" + "phpstan/phpstan": "^1.10.56", + "phpunit/phpunit": "^10.5", + "spatie/laravel-ray": "^1.33" }, "bin": [ "canvas" @@ -3756,9 +3758,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.7" + "source": "https://github.com/orchestral/canvas/tree/v8.11.8" }, - "time": "2024-02-07T10:29:23+00:00" + "time": "2024-03-21T14:41:18+00:00" }, { "name": "orchestra/canvas-core", @@ -3834,16 +3836,16 @@ }, { "name": "orchestra/testbench", - "version": "v8.21.1", + "version": "v8.22.2", "source": { "type": "git", "url": "https://github.com/orchestral/testbench.git", - "reference": "c22a81802a68e746e032edf65cbb68af28a52670" + "reference": "d08b40877714370c8788ff1d9813d9fc9c6c55b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench/zipball/c22a81802a68e746e032edf65cbb68af28a52670", - "reference": "c22a81802a68e746e032edf65cbb68af28a52670", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/d08b40877714370c8788ff1d9813d9fc9c6c55b2", + "reference": "d08b40877714370c8788ff1d9813d9fc9c6c55b2", "shasum": "" }, "require": { @@ -3851,8 +3853,8 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.40", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.21.1", - "orchestra/workbench": "^1.2 || ^8.2", + "orchestra/testbench-core": "^8.23.5", + "orchestra/workbench": "^1.4 || ^8.4", "php": "^8.1", "phpunit/phpunit": "^9.6 || ^10.1", "symfony/process": "^6.2", @@ -3883,22 +3885,22 @@ ], "support": { "issues": "https://github.com/orchestral/testbench/issues", - "source": "https://github.com/orchestral/testbench/tree/v8.21.1" + "source": "https://github.com/orchestral/testbench/tree/v8.22.2" }, - "time": "2024-01-22T03:22:22+00:00" + "time": "2024-03-25T10:09:14+00:00" }, { "name": "orchestra/testbench-core", - "version": "v8.21.1", + "version": "v8.23.5", "source": { "type": "git", "url": "https://github.com/orchestral/testbench-core.git", - "reference": "c6bf49a1b7ef4afe58e5bda676158c4de41f9a81" + "reference": "0e5c930d247f50d1d6d5997441e57891af862634" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/c6bf49a1b7ef4afe58e5bda676158c4de41f9a81", - "reference": "c6bf49a1b7ef4afe58e5bda676158c4de41f9a81", + "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/0e5c930d247f50d1d6d5997441e57891af862634", + "reference": "0e5c930d247f50d1d6d5997441e57891af862634", "shasum": "" }, "require": { @@ -3908,7 +3910,7 @@ }, "conflict": { "brianium/paratest": "<6.4.0 || >=7.0.0 <7.1.4 || >=8.0.0", - "laravel/framework": "<10.40 || >=11.0.0", + "laravel/framework": "<10.48.2 || >=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", @@ -3916,7 +3918,7 @@ }, "require-dev": { "fakerphp/faker": "^1.21", - "laravel/framework": "^10.40", + "laravel/framework": "^10.48.2", "laravel/pint": "^1.6", "mockery/mockery": "^1.5.1", "phpstan/phpstan": "^1.10.7", @@ -3930,7 +3932,7 @@ "brianium/paratest": "Allow using parallel testing (^6.4 || ^7.1.4).", "ext-pcntl": "Required to use all features of the console signal trapping.", "fakerphp/faker": "Allow using Faker for testing (^1.21).", - "laravel/framework": "Required for testing (^10.40).", + "laravel/framework": "Required for testing (^10.48.2).", "mockery/mockery": "Allow using Mockery for testing (^1.5.1).", "nunomaduro/collision": "Allow using Laravel style tests output and parallel testing (^6.4 || ^7.4).", "orchestra/testbench-browser-kit": "Allow using legacy Laravel BrowserKit for testing (^8.0).", @@ -3977,20 +3979,20 @@ "issues": "https://github.com/orchestral/testbench/issues", "source": "https://github.com/orchestral/testbench-core" }, - "time": "2024-01-22T01:45:47+00:00" + "time": "2024-03-25T04:32:37+00:00" }, { "name": "orchestra/workbench", - "version": "v8.2.1", + "version": "v8.4.0", "source": { "type": "git", "url": "https://github.com/orchestral/workbench.git", - "reference": "e8e6e4dcf6fb26ea1924c3581e49aa347691a8ea" + "reference": "7db7009377fd1afe25c783e9092af911cd04b3a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/workbench/zipball/e8e6e4dcf6fb26ea1924c3581e49aa347691a8ea", - "reference": "e8e6e4dcf6fb26ea1924c3581e49aa347691a8ea", + "url": "https://api.github.com/repos/orchestral/workbench/zipball/7db7009377fd1afe25c783e9092af911cd04b3a9", + "reference": "7db7009377fd1afe25c783e9092af911cd04b3a9", "shasum": "" }, "require": { @@ -3999,7 +4001,7 @@ "laravel/framework": "^10.38.1", "laravel/tinker": "^2.8.2", "orchestra/canvas": "^8.11.4", - "orchestra/testbench-core": "^8.17", + "orchestra/testbench-core": "^8.22", "php": "^8.1", "spatie/laravel-ray": "^1.32.4", "symfony/polyfill-php83": "^1.28", @@ -4045,9 +4047,9 @@ ], "support": { "issues": "https://github.com/orchestral/workbench/issues", - "source": "https://github.com/orchestral/workbench/tree/v8.2.1" + "source": "https://github.com/orchestral/workbench/tree/v8.4.0" }, - "time": "2023-12-28T15:15:44+00:00" + "time": "2024-03-13T06:02:29+00:00" }, { "name": "pestphp/pest", @@ -4455,20 +4457,21 @@ }, { "name": "phar-io/manifest", - "version": "2.0.3", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + "reference": "54750ef60c58e43759730615a392c31c80e23176" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176", + "reference": "54750ef60c58e43759730615a392c31c80e23176", "shasum": "" }, "require": { "ext-dom": "*", + "ext-libxml": "*", "ext-phar": "*", "ext-xmlwriter": "*", "phar-io/version": "^3.0.1", @@ -4509,9 +4512,15 @@ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", "support": { "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/2.0.3" + "source": "https://github.com/phar-io/manifest/tree/2.0.4" }, - "time": "2021-07-20T11:28:43+00:00" + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:33:53+00:00" }, { "name": "phar-io/version", @@ -4729,16 +4738,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.57", + "version": "1.10.65", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "1627b1d03446904aaa77593f370c5201d2ecc34e" + "reference": "3c657d057a0b7ecae19cb12db446bbc99d8839c6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/1627b1d03446904aaa77593f370c5201d2ecc34e", - "reference": "1627b1d03446904aaa77593f370c5201d2ecc34e", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/3c657d057a0b7ecae19cb12db446bbc99d8839c6", + "reference": "3c657d057a0b7ecae19cb12db446bbc99d8839c6", "shasum": "" }, "require": { @@ -4787,20 +4796,20 @@ "type": "tidelift" } ], - "time": "2024-01-24T11:51:34+00:00" + "time": "2024-03-23T10:30:26+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.30", + "version": "9.2.31", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089" + "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca2bd87d2f9215904682a9cb9bb37dda98e76089", - "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/48c34b5d8d983006bd2adc2d0de92963b9155965", + "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965", "shasum": "" }, "require": { @@ -4857,7 +4866,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.30" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.31" }, "funding": [ { @@ -4865,7 +4874,7 @@ "type": "github" } ], - "time": "2023-12-22T06:47:57+00:00" + "time": "2024-03-02T06:37:42+00:00" }, { "name": "phpunit/php-file-iterator", @@ -5110,16 +5119,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.6.16", + "version": "9.6.18", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f" + "reference": "32c2c2d6580b1d8ab3c10b1e9e4dc263cc69bb04" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3767b2c56ce02d01e3491046f33466a1ae60a37f", - "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/32c2c2d6580b1d8ab3c10b1e9e4dc263cc69bb04", + "reference": "32c2c2d6580b1d8ab3c10b1e9e4dc263cc69bb04", "shasum": "" }, "require": { @@ -5193,7 +5202,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.18" }, "funding": [ { @@ -5209,7 +5218,7 @@ "type": "tidelift" } ], - "time": "2024-01-19T07:03:14+00:00" + "time": "2024-03-21T12:07:32+00:00" }, { "name": "pimple/pimple", @@ -5675,16 +5684,16 @@ }, { "name": "psy/psysh", - "version": "v0.12.0", + "version": "v0.12.2", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "750bf031a48fd07c673dbe3f11f72362ea306d0d" + "reference": "9185c66c2165bbf4d71de78a69dccf4974f9538d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/750bf031a48fd07c673dbe3f11f72362ea306d0d", - "reference": "750bf031a48fd07c673dbe3f11f72362ea306d0d", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/9185c66c2165bbf4d71de78a69dccf4974f9538d", + "reference": "9185c66c2165bbf4d71de78a69dccf4974f9538d", "shasum": "" }, "require": { @@ -5748,9 +5757,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.12.0" + "source": "https://github.com/bobthecow/psysh/tree/v0.12.2" }, - "time": "2023-12-20T15:28:09+00:00" + "time": "2024-03-17T01:53:00+00:00" }, { "name": "ralouphie/getallheaders", @@ -5979,21 +5988,21 @@ }, { "name": "rector/rector", - "version": "0.19.8", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "de3b3bb159abd704b144aa86fb244f7f1f4ac947" + "reference": "c59507a9090b465d65e1aceed91e5b81986e375b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/de3b3bb159abd704b144aa86fb244f7f1f4ac947", - "reference": "de3b3bb159abd704b144aa86fb244f7f1f4ac947", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/c59507a9090b465d65e1aceed91e5b81986e375b", + "reference": "c59507a9090b465d65e1aceed91e5b81986e375b", "shasum": "" }, "require": { "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.10.56" + "phpstan/phpstan": "^1.10.57" }, "conflict": { "rector/rector-doctrine": "*", @@ -6023,7 +6032,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.19.8" + "source": "https://github.com/rectorphp/rector/tree/1.0.3" }, "funding": [ { @@ -6031,7 +6040,7 @@ "type": "github" } ], - "time": "2024-02-05T10:59:13+00:00" + "time": "2024-03-14T15:04:18+00:00" }, { "name": "reecem/mocker", @@ -6104,16 +6113,16 @@ }, { "name": "sebastian/cli-parser", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/2b56bea83a09de3ac06bb18b92f068e60cc6f50b", + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b", "shasum": "" }, "require": { @@ -6148,7 +6157,7 @@ "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.2" }, "funding": [ { @@ -6156,7 +6165,7 @@ "type": "github" } ], - "time": "2020-09-28T06:08:49+00:00" + "time": "2024-03-02T06:27:43+00:00" }, { "name": "sebastian/code-unit", @@ -6402,16 +6411,16 @@ }, { "name": "sebastian/diff", - "version": "4.0.5", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc", + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc", "shasum": "" }, "require": { @@ -6456,7 +6465,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.6" }, "funding": [ { @@ -6464,7 +6473,7 @@ "type": "github" } ], - "time": "2023-05-07T05:35:17+00:00" + "time": "2024-03-02T06:30:58+00:00" }, { "name": "sebastian/environment", @@ -6531,16 +6540,16 @@ }, { "name": "sebastian/exporter", - "version": "4.0.5", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/78c00df8f170e02473b682df15bfcdacc3d32d72", + "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72", "shasum": "" }, "require": { @@ -6596,7 +6605,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.6" }, "funding": [ { @@ -6604,20 +6613,20 @@ "type": "github" } ], - "time": "2022-09-14T06:03:37+00:00" + "time": "2024-03-02T06:33:00+00:00" }, { "name": "sebastian/global-state", - "version": "5.0.6", + "version": "5.0.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bde739e7565280bda77be70044ac1047bc007e34" + "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", - "reference": "bde739e7565280bda77be70044ac1047bc007e34", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", + "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", "shasum": "" }, "require": { @@ -6660,7 +6669,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.7" }, "funding": [ { @@ -6668,7 +6677,7 @@ "type": "github" } ], - "time": "2023-08-02T09:26:13+00:00" + "time": "2024-03-02T06:35:11+00:00" }, { "name": "sebastian/lines-of-code", @@ -6904,16 +6913,16 @@ }, { "name": "sebastian/resource-operations", - "version": "3.0.3", + "version": "3.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/05d5692a7993ecccd56a03e40cd7e5b09b1d404e", + "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e", "shasum": "" }, "require": { @@ -6925,7 +6934,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -6946,8 +6955,7 @@ "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.4" }, "funding": [ { @@ -6955,7 +6963,7 @@ "type": "github" } ], - "time": "2020-09-28T06:45:17+00:00" + "time": "2024-03-14T16:00:52+00:00" }, { "name": "sebastian/type", @@ -7130,16 +7138,16 @@ }, { "name": "spatie/laravel-package-tools", - "version": "1.16.2", + "version": "1.16.4", "source": { "type": "git", "url": "https://github.com/spatie/laravel-package-tools.git", - "reference": "e62eeb1fe8a8a0b2e83227a6c279c8c59f7d3a15" + "reference": "ddf678e78d7f8b17e5cdd99c0c3413a4a6592e53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/e62eeb1fe8a8a0b2e83227a6c279c8c59f7d3a15", - "reference": "e62eeb1fe8a8a0b2e83227a6c279c8c59f7d3a15", + "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/ddf678e78d7f8b17e5cdd99c0c3413a4a6592e53", + "reference": "ddf678e78d7f8b17e5cdd99c0c3413a4a6592e53", "shasum": "" }, "require": { @@ -7178,7 +7186,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-package-tools/issues", - "source": "https://github.com/spatie/laravel-package-tools/tree/1.16.2" + "source": "https://github.com/spatie/laravel-package-tools/tree/1.16.4" }, "funding": [ { @@ -7186,20 +7194,20 @@ "type": "github" } ], - "time": "2024-01-11T08:43:00+00:00" + "time": "2024-03-20T07:29:11+00:00" }, { "name": "spatie/laravel-ray", - "version": "1.35.0", + "version": "1.35.1", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ray.git", - "reference": "29298a4bc2038ba108abc283e96fb74991644774" + "reference": "f504d3787d88c7e5de7a4290658f7ad9b1352f22" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/29298a4bc2038ba108abc283e96fb74991644774", - "reference": "29298a4bc2038ba108abc283e96fb74991644774", + "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/f504d3787d88c7e5de7a4290658f7ad9b1352f22", + "reference": "f504d3787d88c7e5de7a4290658f7ad9b1352f22", "shasum": "" }, "require": { @@ -7209,7 +7217,7 @@ "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", + "rector/rector": "^0.19.2|^1.0", "spatie/backtrace": "^1.0", "spatie/ray": "^1.41.1", "symfony/stopwatch": "4.2|^5.1|^6.0|^7.0", @@ -7261,7 +7269,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-ray/issues", - "source": "https://github.com/spatie/laravel-ray/tree/1.35.0" + "source": "https://github.com/spatie/laravel-ray/tree/1.35.1" }, "funding": [ { @@ -7273,7 +7281,7 @@ "type": "other" } ], - "time": "2024-02-03T10:04:50+00:00" + "time": "2024-02-13T14:19:41+00:00" }, { "name": "spatie/macroable", @@ -8118,16 +8126,16 @@ }, { "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": { @@ -8178,7 +8186,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": [ { @@ -8194,7 +8202,7 @@ "type": "tidelift" } ], - "time": "2024-01-29T15:01:07+00:00" + "time": "2024-02-03T21:33:47+00:00" }, { "name": "symfony/mime", @@ -9073,16 +9081,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": { @@ -9114,7 +9122,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": [ { @@ -9130,20 +9138,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-02-20T12:31:00+00:00" }, { "name": "symfony/routing", - "version": "v6.4.3", + "version": "v6.4.5", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "3b2957ad54902f0f544df83e3d58b38d7e8e5842" + "reference": "7fe30068e207d9c31c0138501ab40358eb2d49a4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/3b2957ad54902f0f544df83e3d58b38d7e8e5842", - "reference": "3b2957ad54902f0f544df83e3d58b38d7e8e5842", + "url": "https://api.github.com/repos/symfony/routing/zipball/7fe30068e207d9c31c0138501ab40358eb2d49a4", + "reference": "7fe30068e207d9c31c0138501ab40358eb2d49a4", "shasum": "" }, "require": { @@ -9197,7 +9205,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.4.3" + "source": "https://github.com/symfony/routing/tree/v6.4.5" }, "funding": [ { @@ -9213,7 +9221,7 @@ "type": "tidelift" } ], - "time": "2024-01-30T13:55:02+00:00" + "time": "2024-02-27T12:33:30+00:00" }, { "name": "symfony/service-contracts", @@ -9447,16 +9455,16 @@ }, { "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": { @@ -9522,7 +9530,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": [ { @@ -9538,7 +9546,7 @@ "type": "tidelift" } ], - "time": "2024-01-29T13:11:52+00:00" + "time": "2024-02-20T13:16:58+00:00" }, { "name": "symfony/translation-contracts", @@ -9897,16 +9905,16 @@ }, { "name": "theseer/tokenizer", - "version": "1.2.2", + "version": "1.2.3", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96" + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96", - "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", "shasum": "" }, "require": { @@ -9935,7 +9943,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.2" + "source": "https://github.com/theseer/tokenizer/tree/1.2.3" }, "funding": [ { @@ -9943,7 +9951,7 @@ "type": "github" } ], - "time": "2023-11-20T00:12:19+00:00" + "time": "2024-03-03T12:36:25+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -10291,16 +10299,16 @@ }, { "name": "zbateson/mb-wrapper", - "version": "1.2.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/zbateson/mb-wrapper.git", - "reference": "faf35dddfacfc5d4d5f9210143eafd7a7fe74334" + "reference": "09a8b77eb94af3823a9a6623dcc94f8d988da67f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zbateson/mb-wrapper/zipball/faf35dddfacfc5d4d5f9210143eafd7a7fe74334", - "reference": "faf35dddfacfc5d4d5f9210143eafd7a7fe74334", + "url": "https://api.github.com/repos/zbateson/mb-wrapper/zipball/09a8b77eb94af3823a9a6623dcc94f8d988da67f", + "reference": "09a8b77eb94af3823a9a6623dcc94f8d988da67f", "shasum": "" }, "require": { @@ -10311,7 +10319,7 @@ "require-dev": { "friendsofphp/php-cs-fixer": "*", "phpstan/phpstan": "*", - "phpunit/phpunit": "<=9.0" + "phpunit/phpunit": "<10.0" }, "suggest": { "ext-iconv": "For best support/performance", @@ -10348,7 +10356,7 @@ ], "support": { "issues": "https://github.com/zbateson/mb-wrapper/issues", - "source": "https://github.com/zbateson/mb-wrapper/tree/1.2.0" + "source": "https://github.com/zbateson/mb-wrapper/tree/1.2.1" }, "funding": [ { @@ -10356,7 +10364,7 @@ "type": "github" } ], - "time": "2023-01-11T23:05:44+00:00" + "time": "2024-03-18T04:31:04+00:00" }, { "name": "zbateson/stream-decorators", diff --git a/monorepo-builder.php b/monorepo-builder.php index a50cbe430..46cea61ce 100755 --- 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/admin/src/Actions/AttemptToAuthenticate.php b/packages/admin/src/Actions/AttemptToAuthenticate.php index cb84c6d8b..925bb2ea2 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 d99dbd64b..fe529f656 100755 --- a/packages/admin/src/Actions/RedirectIfTwoFactorAuthenticatable.php +++ b/packages/admin/src/Actions/RedirectIfTwoFactorAuthenticatable.php @@ -10,7 +10,7 @@ use Shopper\Facades\Shopper; use Shopper\Traits\TwoFactorAuthenticatable; -final class RedirectIfTwoFactorAuthenticatable +class RedirectIfTwoFactorAuthenticatable { public function handle(array $data, Closure $next) { diff --git a/packages/admin/src/Console/SymlinkCommand.php b/packages/admin/src/Console/SymlinkCommand.php index a2a02c244..206418752 100755 --- 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.'); diff --git a/packages/admin/src/Events/CatalogSidebar.php b/packages/admin/src/Events/CatalogSidebar.php index 28f3bf6f2..c934f3f21 100755 --- a/packages/admin/src/Events/CatalogSidebar.php +++ b/packages/admin/src/Events/CatalogSidebar.php @@ -10,7 +10,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 2b306c408..839c1b32e 100755 --- a/packages/admin/src/Events/CustomerSidebar.php +++ b/packages/admin/src/Events/CustomerSidebar.php @@ -10,7 +10,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 cb5d91cfc..65ea3a1a1 100755 --- 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 ae2fdf206..e11a3d3cd 100755 --- a/packages/admin/src/Events/SalesSidebar.php +++ b/packages/admin/src/Events/SalesSidebar.php @@ -12,7 +12,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 100755 --- 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/Controllers/SettingController.php b/packages/admin/src/Http/Controllers/SettingController.php deleted file mode 100755 index 26ee0490a..000000000 --- a/packages/admin/src/Http/Controllers/SettingController.php +++ /dev/null @@ -1,17 +0,0 @@ -check()) { + 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 100755 --- 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 100755 --- 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 f6df5d382..cc9610880 100755 --- a/packages/admin/src/Http/Responses/LoginResponse.php +++ b/packages/admin/src/Http/Responses/LoginResponse.php @@ -6,7 +6,7 @@ use Shopper\Contracts\LoginResponse as Responsable; -final class LoginResponse implements Responsable +class LoginResponse implements Responsable { public function toResponse($request) { diff --git a/packages/admin/src/Http/Responses/TwoFactorDisabledResponse.php b/packages/admin/src/Http/Responses/TwoFactorDisabledResponse.php index 1aee1cc09..f08130ecb 100755 --- 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 100755 --- 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 100755 --- 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/admin/src/Livewire/Components/Forms/IconPicker.php b/packages/admin/src/Livewire/Components/Forms/IconPicker.php index e5307fc07..8873096a7 100755 --- a/packages/admin/src/Livewire/Components/Forms/IconPicker.php +++ b/packages/admin/src/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/Livewire/Components/Forms/Trix.php b/packages/admin/src/Livewire/Components/Forms/Trix.php index 986b621da..a5452de59 100755 --- a/packages/admin/src/Livewire/Components/Forms/Trix.php +++ b/packages/admin/src/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/Livewire/Components/Forms/Uploads/Multiple.php b/packages/admin/src/Livewire/Components/Forms/Uploads/Multiple.php index 5e4bca75d..0aa90f569 100755 --- a/packages/admin/src/Livewire/Components/Forms/Uploads/Multiple.php +++ b/packages/admin/src/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/Livewire/Components/Forms/Uploads/Single.php b/packages/admin/src/Livewire/Components/Forms/Uploads/Single.php index 6e5614813..3759a61fe 100755 --- a/packages/admin/src/Livewire/Components/Forms/Uploads/Single.php +++ b/packages/admin/src/Livewire/Components/Forms/Uploads/Single.php @@ -11,7 +11,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/Livewire/Components/Products/Attributes/MultipleChoice.php b/packages/admin/src/Livewire/Components/Products/Attributes/MultipleChoice.php index d13b87527..de525f640 100755 --- a/packages/admin/src/Livewire/Components/Products/Attributes/MultipleChoice.php +++ b/packages/admin/src/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/Livewire/Components/Products/Attributes/SingleChoice.php b/packages/admin/src/Livewire/Components/Products/Attributes/SingleChoice.php index 8e070857d..3b43ba988 100755 --- a/packages/admin/src/Livewire/Components/Products/Attributes/SingleChoice.php +++ b/packages/admin/src/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/Livewire/Components/Products/Attributes/Text.php b/packages/admin/src/Livewire/Components/Products/Attributes/Text.php index 1a04cb4b5..283467fe1 100755 --- a/packages/admin/src/Livewire/Components/Products/Attributes/Text.php +++ b/packages/admin/src/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/Livewire/Pages/Auth/ForgotPassword.php b/packages/admin/src/Livewire/Pages/Auth/ForgotPassword.php index 96aafb81d..3a8240bdd 100755 --- a/packages/admin/src/Livewire/Pages/Auth/ForgotPassword.php +++ b/packages/admin/src/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/Livewire/Pages/Auth/ResetPassword.php b/packages/admin/src/Livewire/Pages/Auth/ResetPassword.php index 426bc4d7a..395d800cc 100755 --- a/packages/admin/src/Livewire/Pages/Auth/ResetPassword.php +++ b/packages/admin/src/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/core/composer.json b/packages/core/composer.json index d42ba7ed7..953c6a4ba 100755 --- a/packages/core/composer.json +++ b/packages/core/composer.json @@ -3,8 +3,8 @@ "description": "Laravel Shopper e-commerce core functionality", "license": "MIT", "require": { - "php": "^8.2", "ext-intl": "*", + "php": "^8.2", "spatie/laravel-medialibrary": "^10.4.1", "spatie/laravel-permission": "^5.5.2", "staudenmeir/laravel-adjacency-list": "^1.0" diff --git a/packages/core/src/Events/Orders/AddNote.php b/packages/core/src/Events/Orders/AddNote.php index 6d7544f2e..7a47de4c3 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 612301984..14e586fa2 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 100755 --- 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 = []; diff --git a/phpstan.neon b/phpstan.neon index 8f1c87001..6c088369d 100755 --- 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