diff --git a/composer.lock b/composer.lock index a6c35ed..ae0f9c2 100644 --- a/composer.lock +++ b/composer.lock @@ -71,16 +71,16 @@ }, { "name": "brick/math", - "version": "0.12.1", + "version": "0.12.3", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "f510c0a40911935b77b86859eb5223d58d660df1" + "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1", - "reference": "f510c0a40911935b77b86859eb5223d58d660df1", + "url": "https://api.github.com/repos/brick/math/zipball/866551da34e9a618e64a819ee1e01c20d8a588ba", + "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba", "shasum": "" }, "require": { @@ -89,7 +89,7 @@ "require-dev": { "php-coveralls/php-coveralls": "^2.2", "phpunit/phpunit": "^10.1", - "vimeo/psalm": "5.16.0" + "vimeo/psalm": "6.8.8" }, "type": "library", "autoload": { @@ -119,7 +119,7 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.12.1" + "source": "https://github.com/brick/math/tree/0.12.3" }, "funding": [ { @@ -127,7 +127,7 @@ "type": "github" } ], - "time": "2023-11-29T23:19:16+00:00" + "time": "2025-02-28T13:11:00+00:00" }, { "name": "carbonphp/carbon-doctrine-types", @@ -589,16 +589,16 @@ }, { "name": "egulias/email-validator", - "version": "4.0.3", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "b115554301161fa21467629f1e1391c1936de517" + "reference": "d42c8731f0624ad6bdc8d3e5e9a4524f68801cfa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/b115554301161fa21467629f1e1391c1936de517", - "reference": "b115554301161fa21467629f1e1391c1936de517", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/d42c8731f0624ad6bdc8d3e5e9a4524f68801cfa", + "reference": "d42c8731f0624ad6bdc8d3e5e9a4524f68801cfa", "shasum": "" }, "require": { @@ -644,7 +644,7 @@ ], "support": { "issues": "https://github.com/egulias/EmailValidator/issues", - "source": "https://github.com/egulias/EmailValidator/tree/4.0.3" + "source": "https://github.com/egulias/EmailValidator/tree/4.0.4" }, "funding": [ { @@ -652,7 +652,7 @@ "type": "github" } ], - "time": "2024-12-27T00:36:43+00:00" + "time": "2025-03-06T22:45:56+00:00" }, { "name": "fruitcake/php-cors", @@ -1409,16 +1409,16 @@ }, { "name": "laravel/framework", - "version": "v11.43.2", + "version": "v11.44.2", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "99d1573698abc42222f04d25fcd5b213d0eedf21" + "reference": "f85216c82cbd38b66d67ebd20ea762cb3751a4b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/99d1573698abc42222f04d25fcd5b213d0eedf21", - "reference": "99d1573698abc42222f04d25fcd5b213d0eedf21", + "url": "https://api.github.com/repos/laravel/framework/zipball/f85216c82cbd38b66d67ebd20ea762cb3751a4b4", + "reference": "f85216c82cbd38b66d67ebd20ea762cb3751a4b4", "shasum": "" }, "require": { @@ -1526,7 +1526,7 @@ "league/flysystem-read-only": "^3.25.1", "league/flysystem-sftp-v3": "^3.25.1", "mockery/mockery": "^1.6.10", - "orchestra/testbench-core": "^9.9.4", + "orchestra/testbench-core": "^9.11.2", "pda/pheanstalk": "^5.0.6", "php-http/discovery": "^1.15", "phpstan/phpstan": "^2.0", @@ -1620,7 +1620,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2025-02-19T21:53:48+00:00" + "time": "2025-03-12T14:34:30+00:00" }, { "name": "laravel/prompts", @@ -1933,16 +1933,16 @@ }, { "name": "league/csv", - "version": "9.21.0", + "version": "9.22.0", "source": { "type": "git", "url": "https://github.com/thephpleague/csv.git", - "reference": "72196d11ebba22d868954cb39c0c7346207430cc" + "reference": "afc109aa11f3086b8be8dfffa04ac31480b36b76" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/csv/zipball/72196d11ebba22d868954cb39c0c7346207430cc", - "reference": "72196d11ebba22d868954cb39c0c7346207430cc", + "url": "https://api.github.com/repos/thephpleague/csv/zipball/afc109aa11f3086b8be8dfffa04ac31480b36b76", + "reference": "afc109aa11f3086b8be8dfffa04ac31480b36b76", "shasum": "" }, "require": { @@ -1952,19 +1952,23 @@ "require-dev": { "ext-dom": "*", "ext-xdebug": "*", - "friendsofphp/php-cs-fixer": "^3.64.0", - "phpbench/phpbench": "^1.3.1", - "phpstan/phpstan": "^1.12.11", + "friendsofphp/php-cs-fixer": "^3.69.0", + "phpbench/phpbench": "^1.4.0", + "phpstan/phpstan": "^1.12.18", "phpstan/phpstan-deprecation-rules": "^1.2.1", - "phpstan/phpstan-phpunit": "^1.4.1", - "phpstan/phpstan-strict-rules": "^1.6.1", - "phpunit/phpunit": "^10.5.16 || ^11.4.3", - "symfony/var-dumper": "^6.4.8 || ^7.1.8" + "phpstan/phpstan-phpunit": "^1.4.2", + "phpstan/phpstan-strict-rules": "^1.6.2", + "phpunit/phpunit": "^10.5.16 || ^11.5.7", + "symfony/var-dumper": "^6.4.8 || ^7.2.3" }, "suggest": { "ext-dom": "Required to use the XMLConverter and the HTMLConverter classes", "ext-iconv": "Needed to ease transcoding CSV using iconv stream filters", - "ext-mbstring": "Needed to ease transcoding CSV using mb stream filters" + "ext-mbstring": "Needed to ease transcoding CSV using mb stream filters", + "ext-mysqli": "Requiered to use the package with the MySQLi extension", + "ext-pdo": "Required to use the package with the PDO extension", + "ext-pgsql": "Requiered to use the package with the PgSQL extension", + "ext-sqlite3": "Required to use the package with the SQLite3 extension" }, "type": "library", "extra": { @@ -1977,7 +1981,7 @@ "src/functions_include.php" ], "psr-4": { - "League\\Csv\\": "src/" + "League\\Csv\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -2016,7 +2020,7 @@ "type": "github" } ], - "time": "2025-01-08T19:27:58+00:00" + "time": "2025-02-28T10:00:39+00:00" }, { "name": "league/flysystem", @@ -2152,16 +2156,16 @@ }, { "name": "league/glide", - "version": "2.3.1", + "version": "2.3.2", "source": { "type": "git", "url": "https://github.com/thephpleague/glide.git", - "reference": "62fc5ebd579e013e7573c00d1fb7e083ed395f00" + "reference": "b8e946dd87c79a9dce3290707ab90b5b52602813" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/glide/zipball/62fc5ebd579e013e7573c00d1fb7e083ed395f00", - "reference": "62fc5ebd579e013e7573c00d1fb7e083ed395f00", + "url": "https://api.github.com/repos/thephpleague/glide/zipball/b8e946dd87c79a9dce3290707ab90b5b52602813", + "reference": "b8e946dd87c79a9dce3290707ab90b5b52602813", "shasum": "" }, "require": { @@ -2211,9 +2215,9 @@ ], "support": { "issues": "https://github.com/thephpleague/glide/issues", - "source": "https://github.com/thephpleague/glide/tree/2.3.1" + "source": "https://github.com/thephpleague/glide/tree/2.3.2" }, - "time": "2024-12-17T05:40:16+00:00" + "time": "2025-03-21T13:48:39+00:00" }, { "name": "league/mime-type-detection", @@ -2579,16 +2583,16 @@ }, { "name": "monolog/monolog", - "version": "3.8.1", + "version": "3.9.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "aef6ee73a77a66e404dd6540934a9ef1b3c855b4" + "reference": "10d85740180ecba7896c87e06a166e0c95a0e3b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/aef6ee73a77a66e404dd6540934a9ef1b3c855b4", - "reference": "aef6ee73a77a66e404dd6540934a9ef1b3c855b4", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/10d85740180ecba7896c87e06a166e0c95a0e3b6", + "reference": "10d85740180ecba7896c87e06a166e0c95a0e3b6", "shasum": "" }, "require": { @@ -2666,7 +2670,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/3.8.1" + "source": "https://github.com/Seldaek/monolog/tree/3.9.0" }, "funding": [ { @@ -2678,7 +2682,7 @@ "type": "tidelift" } ], - "time": "2024-12-05T17:15:07+00:00" + "time": "2025-03-24T10:02:05+00:00" }, { "name": "nesbot/carbon", @@ -3660,16 +3664,16 @@ }, { "name": "ramsey/collection", - "version": "2.0.0", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/ramsey/collection.git", - "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5" + "reference": "344572933ad0181accbf4ba763e85a0306a8c5e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", - "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "url": "https://api.github.com/repos/ramsey/collection/zipball/344572933ad0181accbf4ba763e85a0306a8c5e2", + "reference": "344572933ad0181accbf4ba763e85a0306a8c5e2", "shasum": "" }, "require": { @@ -3677,25 +3681,22 @@ }, "require-dev": { "captainhook/plugin-composer": "^5.3", - "ergebnis/composer-normalize": "^2.28.3", - "fakerphp/faker": "^1.21", + "ergebnis/composer-normalize": "^2.45", + "fakerphp/faker": "^1.24", "hamcrest/hamcrest-php": "^2.0", - "jangregor/phpstan-prophecy": "^1.0", - "mockery/mockery": "^1.5", + "jangregor/phpstan-prophecy": "^2.1", + "mockery/mockery": "^1.6", "php-parallel-lint/php-console-highlighter": "^1.0", - "php-parallel-lint/php-parallel-lint": "^1.3", - "phpcsstandards/phpcsutils": "^1.0.0-rc1", - "phpspec/prophecy-phpunit": "^2.0", - "phpstan/extension-installer": "^1.2", - "phpstan/phpstan": "^1.9", - "phpstan/phpstan-mockery": "^1.1", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5", - "psalm/plugin-mockery": "^1.1", - "psalm/plugin-phpunit": "^0.18.4", - "ramsey/coding-standard": "^2.0.3", - "ramsey/conventional-commits": "^1.3", - "vimeo/psalm": "^5.4" + "php-parallel-lint/php-parallel-lint": "^1.4", + "phpspec/prophecy-phpunit": "^2.3", + "phpstan/extension-installer": "^1.4", + "phpstan/phpstan": "^2.1", + "phpstan/phpstan-mockery": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^10.5", + "ramsey/coding-standard": "^2.3", + "ramsey/conventional-commits": "^1.6", + "roave/security-advisories": "dev-latest" }, "type": "library", "extra": { @@ -3733,19 +3734,9 @@ ], "support": { "issues": "https://github.com/ramsey/collection/issues", - "source": "https://github.com/ramsey/collection/tree/2.0.0" + "source": "https://github.com/ramsey/collection/tree/2.1.1" }, - "funding": [ - { - "url": "https://github.com/ramsey", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/ramsey/collection", - "type": "tidelift" - } - ], - "time": "2022-12-31T21:50:55+00:00" + "time": "2025-03-22T05:38:12+00:00" }, { "name": "ramsey/uuid", @@ -3841,38 +3832,38 @@ }, { "name": "rebing/graphql-laravel", - "version": "9.7.0", + "version": "9.9.0", "source": { "type": "git", "url": "https://github.com/rebing/graphql-laravel.git", - "reference": "5383117756a982eb23de6bb63c39da3c4622e224" + "reference": "602a656c426d359ebdd74761d2f2385b09ae6602" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rebing/graphql-laravel/zipball/5383117756a982eb23de6bb63c39da3c4622e224", - "reference": "5383117756a982eb23de6bb63c39da3c4622e224", + "url": "https://api.github.com/repos/rebing/graphql-laravel/zipball/602a656c426d359ebdd74761d2f2385b09ae6602", + "reference": "602a656c426d359ebdd74761d2f2385b09ae6602", "shasum": "" }, "require": { "ext-json": "*", - "illuminate/contracts": "^10.0|^11.0", - "illuminate/support": "^10.0|^11.0", + "illuminate/contracts": "^11.0 || ^12.0", + "illuminate/support": "^11.0 || ^12.0", "laragraph/utils": "^2.0.1", - "php": "^8.1", - "thecodingmachine/safe": "^2.4", + "php": "^8.2", + "thecodingmachine/safe": "^3.0", "webonyx/graphql-php": "^15.0.3" }, "require-dev": { "ext-pdo_sqlite": "*", "fakerphp/faker": "^1.6", "friendsofphp/php-cs-fixer": "^3", - "larastan/larastan": "^2", - "laravel/framework": "^10.0|^11.0", + "larastan/larastan": "^3", + "laravel/framework": "^11.0 || ^12.0", "mfn/php-cs-fixer-config": "^2", "mockery/mockery": "^1.5", - "orchestra/testbench-core": "^8.0|^9.0", - "phpstan/phpstan": "^1", - "phpunit/phpunit": "^10.5.32", + "orchestra/testbench": "^9.0 || ^10.0", + "phpstan/phpstan": "^2", + "phpunit/phpunit": "^10.5.32 || ^11.0", "thecodingmachine/phpstan-safe-rule": "^1" }, "suggest": { @@ -3939,7 +3930,7 @@ ], "support": { "issues": "https://github.com/rebing/graphql-laravel/issues", - "source": "https://github.com/rebing/graphql-laravel/tree/9.7.0" + "source": "https://github.com/rebing/graphql-laravel/tree/9.9.0" }, "funding": [ { @@ -3947,7 +3938,7 @@ "type": "github" } ], - "time": "2024-11-22T08:49:11+00:00" + "time": "2025-02-24T20:03:20+00:00" }, { "name": "rhukster/dom-sanitizer", @@ -4490,16 +4481,16 @@ }, { "name": "statamic/cms", - "version": "v5.48.0", + "version": "v5.52.0", "source": { "type": "git", "url": "https://github.com/statamic/cms.git", - "reference": "e9e52de6ef5e698d1d013b622fccc72de11371bc" + "reference": "fbb3ad494247a1b7a68840aeb2a74148c39416d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/statamic/cms/zipball/e9e52de6ef5e698d1d013b622fccc72de11371bc", - "reference": "e9e52de6ef5e698d1d013b622fccc72de11371bc", + "url": "https://api.github.com/repos/statamic/cms/zipball/fbb3ad494247a1b7a68840aeb2a74148c39416d2", + "reference": "fbb3ad494247a1b7a68840aeb2a74148c39416d2", "shasum": "" }, "require": { @@ -4508,7 +4499,7 @@ "ext-json": "*", "guzzlehttp/guzzle": "^6.3 || ^7.0", "james-heinrich/getid3": "^1.9.21", - "laravel/framework": "^10.40 || ^11.34", + "laravel/framework": "^10.40 || ^11.34 || ^12.0", "laravel/prompts": "^0.1.16 || ^0.2.0 || ^0.3.0", "league/commonmark": "^2.2", "league/csv": "^9.0", @@ -4517,12 +4508,12 @@ "michelf/php-smartypants": "^1.8.1", "nesbot/carbon": "^2.62.1 || ^3.0", "pixelfear/composer-dist-plugin": "^0.1.4", - "rebing/graphql-laravel": "^9.7", + "rebing/graphql-laravel": "^9.8", "rhukster/dom-sanitizer": "^1.0.6", "spatie/blink": "^1.3", - "spatie/ignition": "^1.15", + "spatie/ignition": "^1.15.1", "statamic/stringy": "^3.1.2", - "stillat/blade-parser": "^1.10.1", + "stillat/blade-parser": "^1.10.1 || ^2.0", "symfony/lock": "^6.4", "symfony/var-exporter": "^6.0", "symfony/yaml": "^6.0 || ^7.0", @@ -4536,8 +4527,8 @@ "google/cloud-translate": "^1.6", "laravel/pint": "1.16.0", "mockery/mockery": "^1.6.10", - "orchestra/testbench": "^8.14 || ^9.2", - "phpunit/phpunit": "^10.5.35", + "orchestra/testbench": "^8.14 || ^9.2 || ^10.0", + "phpunit/phpunit": "^10.5.35 || ^11.5.3", "spatie/laravel-ray": "^1.37" }, "type": "library", @@ -4584,7 +4575,7 @@ ], "support": { "issues": "https://github.com/statamic/cms/issues", - "source": "https://github.com/statamic/cms/tree/v5.48.0" + "source": "https://github.com/statamic/cms/tree/v5.52.0" }, "funding": [ { @@ -4592,7 +4583,7 @@ "type": "github" } ], - "time": "2025-02-21T17:35:07+00:00" + "time": "2025-03-25T20:59:32+00:00" }, { "name": "statamic/stringy", @@ -4664,27 +4655,28 @@ }, { "name": "stillat/blade-parser", - "version": "v1.10.3", + "version": "v2.0.0", "source": { "type": "git", "url": "https://github.com/Stillat/blade-parser.git", - "reference": "cc0c377ef951bcd51d97a2fdeccf64c97db0dbd6" + "reference": "d6df786667543d31a0fd45d90c8b78042625c4b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Stillat/blade-parser/zipball/cc0c377ef951bcd51d97a2fdeccf64c97db0dbd6", - "reference": "cc0c377ef951bcd51d97a2fdeccf64c97db0dbd6", + "url": "https://api.github.com/repos/Stillat/blade-parser/zipball/d6df786667543d31a0fd45d90c8b78042625c4b4", + "reference": "d6df786667543d31a0fd45d90c8b78042625c4b4", "shasum": "" }, "require": { - "laravel/framework": "^9.36 || ^10.0 || ^11.0", - "php": "^8.1.0" + "laravel/framework": "^10.0 || ^11.0 || ^12.0", + "php": "^8.2.0" }, "require-dev": { "brianium/paratest": "*", "laravel/pint": "^1.4", - "orchestra/testbench": "*", - "pestphp/pest": "^2" + "mockery/mockery": ">=1.3.3", + "orchestra/testbench": "^8.14 || ^9.2 || ^10.0", + "pestphp/pest": "^3.7.3" }, "type": "library", "extra": { @@ -4706,7 +4698,7 @@ ], "support": { "issues": "https://github.com/Stillat/blade-parser/issues", - "source": "https://github.com/Stillat/blade-parser/tree/v1.10.3" + "source": "https://github.com/Stillat/blade-parser/tree/v2.0.0" }, "funding": [ { @@ -4714,7 +4706,7 @@ "type": "github" } ], - "time": "2025-01-24T01:53:39+00:00" + "time": "2025-02-21T23:40:49+00:00" }, { "name": "symfony/clock", @@ -5017,16 +5009,16 @@ }, { "name": "symfony/error-handler", - "version": "v7.2.3", + "version": "v7.2.4", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "959a74d044a6db21f4caa6d695648dcb5584cb49" + "reference": "aabf79938aa795350c07ce6464dd1985607d95d5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/959a74d044a6db21f4caa6d695648dcb5584cb49", - "reference": "959a74d044a6db21f4caa6d695648dcb5584cb49", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/aabf79938aa795350c07ce6464dd1985607d95d5", + "reference": "aabf79938aa795350c07ce6464dd1985607d95d5", "shasum": "" }, "require": { @@ -5072,7 +5064,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/v7.2.3" + "source": "https://github.com/symfony/error-handler/tree/v7.2.4" }, "funding": [ { @@ -5088,7 +5080,7 @@ "type": "tidelift" } ], - "time": "2025-01-07T09:39:55+00:00" + "time": "2025-02-02T20:27:07+00:00" }, { "name": "symfony/event-dispatcher", @@ -5390,16 +5382,16 @@ }, { "name": "symfony/http-kernel", - "version": "v7.2.3", + "version": "v7.2.4", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "caae9807f8e25a9b43ce8cc6fafab6cf91f0cc9b" + "reference": "9f1103734c5789798fefb90e91de4586039003ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/caae9807f8e25a9b43ce8cc6fafab6cf91f0cc9b", - "reference": "caae9807f8e25a9b43ce8cc6fafab6cf91f0cc9b", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/9f1103734c5789798fefb90e91de4586039003ed", + "reference": "9f1103734c5789798fefb90e91de4586039003ed", "shasum": "" }, "require": { @@ -5484,7 +5476,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/v7.2.3" + "source": "https://github.com/symfony/http-kernel/tree/v7.2.4" }, "funding": [ { @@ -5500,7 +5492,7 @@ "type": "tidelift" } ], - "time": "2025-01-29T07:40:13+00:00" + "time": "2025-02-26T11:01:22+00:00" }, { "name": "symfony/lock", @@ -5663,16 +5655,16 @@ }, { "name": "symfony/mime", - "version": "v7.2.3", + "version": "v7.2.4", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "2fc3b4bd67e4747e45195bc4c98bea4628476204" + "reference": "87ca22046b78c3feaff04b337f33b38510fd686b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/2fc3b4bd67e4747e45195bc4c98bea4628476204", - "reference": "2fc3b4bd67e4747e45195bc4c98bea4628476204", + "url": "https://api.github.com/repos/symfony/mime/zipball/87ca22046b78c3feaff04b337f33b38510fd686b", + "reference": "87ca22046b78c3feaff04b337f33b38510fd686b", "shasum": "" }, "require": { @@ -5727,7 +5719,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v7.2.3" + "source": "https://github.com/symfony/mime/tree/v7.2.4" }, "funding": [ { @@ -5743,7 +5735,7 @@ "type": "tidelift" } ], - "time": "2025-01-27T11:08:17+00:00" + "time": "2025-02-19T08:51:20+00:00" }, { "name": "symfony/polyfill-ctype", @@ -6383,16 +6375,16 @@ }, { "name": "symfony/process", - "version": "v7.2.0", + "version": "v7.2.4", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "d34b22ba9390ec19d2dd966c40aa9e8462f27a7e" + "reference": "d8f411ff3c7ddc4ae9166fb388d1190a2df5b5cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/d34b22ba9390ec19d2dd966c40aa9e8462f27a7e", - "reference": "d34b22ba9390ec19d2dd966c40aa9e8462f27a7e", + "url": "https://api.github.com/repos/symfony/process/zipball/d8f411ff3c7ddc4ae9166fb388d1190a2df5b5cf", + "reference": "d8f411ff3c7ddc4ae9166fb388d1190a2df5b5cf", "shasum": "" }, "require": { @@ -6424,7 +6416,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v7.2.0" + "source": "https://github.com/symfony/process/tree/v7.2.4" }, "funding": [ { @@ -6440,7 +6432,7 @@ "type": "tidelift" } ], - "time": "2024-11-06T14:24:19+00:00" + "time": "2025-02-05T08:33:46+00:00" }, { "name": "symfony/routing", @@ -6695,16 +6687,16 @@ }, { "name": "symfony/translation", - "version": "v7.2.2", + "version": "v7.2.4", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "e2674a30132b7cc4d74540d6c2573aa363f05923" + "reference": "283856e6981286cc0d800b53bd5703e8e363f05a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/e2674a30132b7cc4d74540d6c2573aa363f05923", - "reference": "e2674a30132b7cc4d74540d6c2573aa363f05923", + "url": "https://api.github.com/repos/symfony/translation/zipball/283856e6981286cc0d800b53bd5703e8e363f05a", + "reference": "283856e6981286cc0d800b53bd5703e8e363f05a", "shasum": "" }, "require": { @@ -6770,7 +6762,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v7.2.2" + "source": "https://github.com/symfony/translation/tree/v7.2.4" }, "funding": [ { @@ -6786,7 +6778,7 @@ "type": "tidelift" } ], - "time": "2024-12-07T08:18:10+00:00" + "time": "2025-02-13T10:27:23+00:00" }, { "name": "symfony/translation-contracts", @@ -7025,16 +7017,16 @@ }, { "name": "symfony/var-exporter", - "version": "v6.4.13", + "version": "v6.4.19", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "0f605f72a363f8743001038a176eeb2a11223b51" + "reference": "be6e71b0c257884c1107313de5d247741cfea172" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/0f605f72a363f8743001038a176eeb2a11223b51", - "reference": "0f605f72a363f8743001038a176eeb2a11223b51", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/be6e71b0c257884c1107313de5d247741cfea172", + "reference": "be6e71b0c257884c1107313de5d247741cfea172", "shasum": "" }, "require": { @@ -7082,7 +7074,7 @@ "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v6.4.13" + "source": "https://github.com/symfony/var-exporter/tree/v6.4.19" }, "funding": [ { @@ -7098,7 +7090,7 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:18:03+00:00" + "time": "2025-02-13T09:33:32+00:00" }, { "name": "symfony/yaml", @@ -7174,46 +7166,31 @@ }, { "name": "thecodingmachine/safe", - "version": "v2.5.0", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/thecodingmachine/safe.git", - "reference": "3115ecd6b4391662b4931daac4eba6b07a2ac1f0" + "reference": "22ffad3248982a784f9870a37aeb2e522bd19645" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/3115ecd6b4391662b4931daac4eba6b07a2ac1f0", - "reference": "3115ecd6b4391662b4931daac4eba6b07a2ac1f0", + "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/22ffad3248982a784f9870a37aeb2e522bd19645", + "reference": "22ffad3248982a784f9870a37aeb2e522bd19645", "shasum": "" }, "require": { - "php": "^8.0" + "php": "^8.1" }, "require-dev": { - "phpstan/phpstan": "^1.5", - "phpunit/phpunit": "^9.5", - "squizlabs/php_codesniffer": "^3.2", - "thecodingmachine/phpstan-strict-rules": "^1.0" + "php-parallel-lint/php-parallel-lint": "^1.4", + "phpstan/phpstan": "^2", + "phpunit/phpunit": "^10", + "squizlabs/php_codesniffer": "^3.2" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2.x-dev" - } - }, "autoload": { "files": [ - "deprecated/apc.php", - "deprecated/array.php", - "deprecated/datetime.php", - "deprecated/libevent.php", - "deprecated/misc.php", - "deprecated/password.php", - "deprecated/mssql.php", - "deprecated/stats.php", - "deprecated/strings.php", "lib/special_cases.php", - "deprecated/mysqli.php", "generated/apache.php", "generated/apcu.php", "generated/array.php", @@ -7253,6 +7230,7 @@ "generated/mbstring.php", "generated/misc.php", "generated/mysql.php", + "generated/mysqli.php", "generated/network.php", "generated/oci8.php", "generated/opcache.php", @@ -7265,6 +7243,7 @@ "generated/ps.php", "generated/pspell.php", "generated/readline.php", + "generated/rnp.php", "generated/rpminfo.php", "generated/rrd.php", "generated/sem.php", @@ -7296,7 +7275,6 @@ "lib/DateTime.php", "lib/DateTimeImmutable.php", "lib/Exceptions/", - "deprecated/Exceptions/", "generated/Exceptions/" ] }, @@ -7307,9 +7285,23 @@ "description": "PHP core functions that throw exceptions instead of returning FALSE on error", "support": { "issues": "https://github.com/thecodingmachine/safe/issues", - "source": "https://github.com/thecodingmachine/safe/tree/v2.5.0" + "source": "https://github.com/thecodingmachine/safe/tree/v3.0.2" }, - "time": "2023-04-05T11:54:14+00:00" + "funding": [ + { + "url": "https://github.com/OskarStark", + "type": "github" + }, + { + "url": "https://github.com/shish", + "type": "github" + }, + { + "url": "https://github.com/staabm", + "type": "github" + } + ], + "time": "2025-02-19T19:23:00+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -7653,16 +7645,16 @@ }, { "name": "webonyx/graphql-php", - "version": "v15.19.1", + "version": "v15.20.0", "source": { "type": "git", "url": "https://github.com/webonyx/graphql-php.git", - "reference": "fa01712b1a170ddc1d92047011b2f4c2bdfa8234" + "reference": "60feb7ad5023c0ef411efbdf9792d3df5812e28f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webonyx/graphql-php/zipball/fa01712b1a170ddc1d92047011b2f4c2bdfa8234", - "reference": "fa01712b1a170ddc1d92047011b2f4c2bdfa8234", + "url": "https://api.github.com/repos/webonyx/graphql-php/zipball/60feb7ad5023c0ef411efbdf9792d3df5812e28f", + "reference": "60feb7ad5023c0ef411efbdf9792d3df5812e28f", "shasum": "" }, "require": { @@ -7675,22 +7667,22 @@ "amphp/http-server": "^2.1", "dms/phpunit-arraysubset-asserts": "dev-master", "ergebnis/composer-normalize": "^2.28", - "friendsofphp/php-cs-fixer": "3.65.0", - "mll-lab/php-cs-fixer-config": "^5.9.2", + "friendsofphp/php-cs-fixer": "3.73.1", + "mll-lab/php-cs-fixer-config": "5.11.0", "nyholm/psr7": "^1.5", "phpbench/phpbench": "^1.2", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "1.12.12", - "phpstan/phpstan-phpunit": "1.4.1", - "phpstan/phpstan-strict-rules": "1.6.1", + "phpstan/phpstan": "2.1.8", + "phpstan/phpstan-phpunit": "2.0.4", + "phpstan/phpstan-strict-rules": "2.0.4", "phpunit/phpunit": "^9.5 || ^10.5.21 || ^11", "psr/http-message": "^1 || ^2", "react/http": "^1.6", "react/promise": "^2.0 || ^3.0", - "rector/rector": "^1.0", + "rector/rector": "^2.0", "symfony/polyfill-php81": "^1.23", "symfony/var-exporter": "^5 || ^6 || ^7", - "thecodingmachine/safe": "^1.3 || ^2" + "thecodingmachine/safe": "^1.3 || ^2 || ^3" }, "suggest": { "amphp/http-server": "To leverage async resolving with webserver on AMPHP platform", @@ -7715,7 +7707,7 @@ ], "support": { "issues": "https://github.com/webonyx/graphql-php/issues", - "source": "https://github.com/webonyx/graphql-php/tree/v15.19.1" + "source": "https://github.com/webonyx/graphql-php/tree/v15.20.0" }, "funding": [ { @@ -7723,7 +7715,7 @@ "type": "open_collective" } ], - "time": "2024-12-19T10:52:18+00:00" + "time": "2025-03-21T08:45:04+00:00" }, { "name": "wilderborn/partyline", @@ -8091,16 +8083,16 @@ }, { "name": "filp/whoops", - "version": "2.17.0", + "version": "2.18.0", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "075bc0c26631110584175de6523ab3f1652eb28e" + "reference": "a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/075bc0c26631110584175de6523ab3f1652eb28e", - "reference": "075bc0c26631110584175de6523ab3f1652eb28e", + "url": "https://api.github.com/repos/filp/whoops/zipball/a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e", + "reference": "a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e", "shasum": "" }, "require": { @@ -8150,7 +8142,7 @@ ], "support": { "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.17.0" + "source": "https://github.com/filp/whoops/tree/2.18.0" }, "funding": [ { @@ -8158,7 +8150,7 @@ "type": "github" } ], - "time": "2025-01-25T12:00:00+00:00" + "time": "2025-03-15T12:00:00+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -8213,16 +8205,16 @@ }, { "name": "jean85/pretty-package-versions", - "version": "2.1.0", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/Jean85/pretty-package-versions.git", - "reference": "3c4e5f62ba8d7de1734312e4fff32f67a8daaf10" + "reference": "4d7aa5dab42e2a76d99559706022885de0e18e1a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/3c4e5f62ba8d7de1734312e4fff32f67a8daaf10", - "reference": "3c4e5f62ba8d7de1734312e4fff32f67a8daaf10", + "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/4d7aa5dab42e2a76d99559706022885de0e18e1a", + "reference": "4d7aa5dab42e2a76d99559706022885de0e18e1a", "shasum": "" }, "require": { @@ -8232,8 +8224,9 @@ "require-dev": { "friendsofphp/php-cs-fixer": "^3.2", "jean85/composer-provided-replaced-stub-package": "^1.0", - "phpstan/phpstan": "^1.4", + "phpstan/phpstan": "^2.0", "phpunit/phpunit": "^7.5|^8.5|^9.6", + "rector/rector": "^2.0", "vimeo/psalm": "^4.3 || ^5.0" }, "type": "library", @@ -8266,9 +8259,9 @@ ], "support": { "issues": "https://github.com/Jean85/pretty-package-versions/issues", - "source": "https://github.com/Jean85/pretty-package-versions/tree/2.1.0" + "source": "https://github.com/Jean85/pretty-package-versions/tree/2.1.1" }, - "time": "2024-11-18T16:19:46+00:00" + "time": "2025-03-19T14:43:43+00:00" }, { "name": "laravel/pail", @@ -8559,20 +8552,20 @@ }, { "name": "nunomaduro/collision", - "version": "v8.6.1", + "version": "v8.7.0", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "86f003c132143d5a2ab214e19933946409e0cae7" + "reference": "586cb8181a257a2152b6a855ca8d9598878a1a26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/86f003c132143d5a2ab214e19933946409e0cae7", - "reference": "86f003c132143d5a2ab214e19933946409e0cae7", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/586cb8181a257a2152b6a855ca8d9598878a1a26", + "reference": "586cb8181a257a2152b6a855ca8d9598878a1a26", "shasum": "" }, "require": { - "filp/whoops": "^2.16.0", + "filp/whoops": "^2.17.0", "nunomaduro/termwind": "^2.3.0", "php": "^8.2.0", "symfony/console": "^7.2.1" @@ -8582,14 +8575,14 @@ "phpunit/phpunit": "<11.5.3 || >=12.0.0" }, "require-dev": { - "larastan/larastan": "^2.9.12", - "laravel/framework": "^11.39.1", - "laravel/pint": "^1.20.0", - "laravel/sail": "^1.40.0", - "laravel/sanctum": "^4.0.7", - "laravel/tinker": "^2.10.0", - "orchestra/testbench-core": "^9.9.2", - "pestphp/pest": "^3.7.3", + "larastan/larastan": "^2.10.0", + "laravel/framework": "^11.44.2", + "laravel/pint": "^1.21.2", + "laravel/sail": "^1.41.0", + "laravel/sanctum": "^4.0.8", + "laravel/tinker": "^2.10.1", + "orchestra/testbench-core": "^9.12.0", + "pestphp/pest": "^3.7.4", "sebastian/environment": "^6.1.0 || ^7.2.0" }, "type": "library", @@ -8653,7 +8646,7 @@ "type": "patreon" } ], - "time": "2025-01-23T13:41:43+00:00" + "time": "2025-03-14T22:37:40+00:00" }, { "name": "orchestra/canvas", @@ -8796,16 +8789,16 @@ }, { "name": "orchestra/sidekick", - "version": "v1.0.3", + "version": "v1.1.0", "source": { "type": "git", "url": "https://github.com/orchestral/sidekick.git", - "reference": "1f251f336afa92e4899b6916f52032ff8d5bc47a" + "reference": "33c6b297761a1b2bd398e99245bf85e17773723b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/sidekick/zipball/1f251f336afa92e4899b6916f52032ff8d5bc47a", - "reference": "1f251f336afa92e4899b6916f52032ff8d5bc47a", + "url": "https://api.github.com/repos/orchestral/sidekick/zipball/33c6b297761a1b2bd398e99245bf85e17773723b", + "reference": "33c6b297761a1b2bd398e99245bf85e17773723b", "shasum": "" }, "require": { @@ -8814,15 +8807,17 @@ "symfony/polyfill-php83": "^1.31" }, "require-dev": { - "laravel/framework": "^9.52.16|^10.48.28|^11.42.1|^12.0|^13.0", + "laravel/framework": "^9.52.16|^10.48.29|^11.44.1|^12.1.1|^13.0", "laravel/pint": "^1.4", "phpstan/phpstan": "^2.1", - "phpunit/phpunit": "^9.6|^10.0|^11.0", + "phpunit/phpunit": "^9.6|^10.0|^11.0|^12.0", "symfony/process": "^6.0|^7.0" }, "type": "library", "autoload": { "files": [ + "src/Eloquent/functions.php", + "src/Http/functions.php", "src/functions.php" ], "psr-4": { @@ -8842,33 +8837,33 @@ "description": "Packages Toolkit Utilities and Helpers for Laravel", "support": { "issues": "https://github.com/orchestral/sidekick/issues", - "source": "https://github.com/orchestral/sidekick/tree/v1.0.3" + "source": "https://github.com/orchestral/sidekick/tree/v1.1.0" }, - "time": "2025-02-20T12:05:57+00:00" + "time": "2025-03-15T16:02:42+00:00" }, { "name": "orchestra/testbench", - "version": "v9.11.0", + "version": "v9.12.0", "source": { "type": "git", "url": "https://github.com/orchestral/testbench.git", - "reference": "ab14f45923875583a3559ae44c9e10c304ca5bac" + "reference": "ac9a50806f1a010aa34fb7e98fa612cc5bbecc4c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench/zipball/ab14f45923875583a3559ae44c9e10c304ca5bac", - "reference": "ab14f45923875583a3559ae44c9e10c304ca5bac", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/ac9a50806f1a010aa34fb7e98fa612cc5bbecc4c", + "reference": "ac9a50806f1a010aa34fb7e98fa612cc5bbecc4c", "shasum": "" }, "require": { "composer-runtime-api": "^2.2", "fakerphp/faker": "^1.23", - "laravel/framework": "^11.43.0", + "laravel/framework": "^11.44.1", "mockery/mockery": "^1.6.10", - "orchestra/testbench-core": "^9.11.0", - "orchestra/workbench": "^9.13.2", + "orchestra/testbench-core": "^9.12.0", + "orchestra/workbench": "^9.13.3", "php": "^8.2", - "phpunit/phpunit": "^10.5.35 || ^11.3.6", + "phpunit/phpunit": "^10.5.35|^11.3.6", "symfony/process": "^7.0.3", "symfony/yaml": "^7.0.3", "vlucas/phpdotenv": "^5.6.1" @@ -8897,47 +8892,48 @@ ], "support": { "issues": "https://github.com/orchestral/testbench/issues", - "source": "https://github.com/orchestral/testbench/tree/v9.11.0" + "source": "https://github.com/orchestral/testbench/tree/v9.12.0" }, - "time": "2025-02-19T01:24:45+00:00" + "time": "2025-03-06T11:04:02+00:00" }, { "name": "orchestra/testbench-core", - "version": "v9.11.0", + "version": "v9.12.0", "source": { "type": "git", "url": "https://github.com/orchestral/testbench-core.git", - "reference": "dd17e39437175eb787852a18157011ad87bc41ac" + "reference": "af32a4e2ec2f4db965a8996fb8ee88bb0077229e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/dd17e39437175eb787852a18157011ad87bc41ac", - "reference": "dd17e39437175eb787852a18157011ad87bc41ac", + "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/af32a4e2ec2f4db965a8996fb8ee88bb0077229e", + "reference": "af32a4e2ec2f4db965a8996fb8ee88bb0077229e", "shasum": "" }, "require": { "composer-runtime-api": "^2.2", - "orchestra/sidekick": "^1.0.2", + "orchestra/sidekick": "^1.0.5", "php": "^8.2", + "symfony/deprecation-contracts": "^2.5|^3.0", "symfony/polyfill-php83": "^1.31", "symfony/polyfill-php84": "^1.31" }, "conflict": { - "brianium/paratest": "<7.3.0 || >=8.0.0", - "laravel/framework": "<11.43.0 || >=12.0.0", - "laravel/serializable-closure": "<1.3.0 || >=3.0.0", - "nunomaduro/collision": "<8.0.0 || >=9.0.0", - "orchestra/testbench-dusk": "<9.10.0 || >=10.0.0", - "phpunit/phpunit": "<10.5.35 || >=11.0.0 <11.3.6 || >=12.0.0 <12.0.1 || >=12.1.0" + "brianium/paratest": "<7.3.0|>=8.0.0", + "laravel/framework": "<11.44.1|>=12.0.0", + "laravel/serializable-closure": "<1.3.0|>=3.0.0", + "nunomaduro/collision": "<8.0.0|>=9.0.0", + "orchestra/testbench-dusk": "<9.10.0|>=10.0.0", + "phpunit/phpunit": "<10.5.35|>=11.0.0 <11.3.6|>=12.0.0 <12.0.1|>=12.1.0" }, "require-dev": { "fakerphp/faker": "^1.24", - "laravel/framework": "^11.43.0", + "laravel/framework": "^11.44.1", "laravel/pint": "^1.20", - "laravel/serializable-closure": "^1.3 || ^2.0", + "laravel/serializable-closure": "^1.3|^2.0", "mockery/mockery": "^1.6.10", "phpstan/phpstan": "^2.1", - "phpunit/phpunit": "^10.5.35 || ^11.3.6 || ^12.0.1", + "phpunit/phpunit": "^10.5.35|^11.3.6|^12.0.1", "spatie/laravel-ray": "^1.39", "symfony/process": "^7.0.3", "symfony/yaml": "^7.0.3", @@ -8947,14 +8943,14 @@ "brianium/paratest": "Allow using parallel testing (^7.3).", "ext-pcntl": "Required to use all features of the console signal trapping.", "fakerphp/faker": "Allow using Faker for testing (^1.23).", - "laravel/framework": "Required for testing (^11.43.0).", + "laravel/framework": "Required for testing (^11.44.0).", "mockery/mockery": "Allow using Mockery for testing (^1.6).", "nunomaduro/collision": "Allow using Laravel style tests output and parallel testing (^8.0).", - "orchestra/testbench-dusk": "Allow using Laravel Dusk for testing (^9.0).", - "phpunit/phpunit": "Allow using PHPUnit for testing (^10.5 || ^11.0).", + "orchestra/testbench-dusk": "Allow using Laravel Dusk for testing (^9.10).", + "phpunit/phpunit": "Allow using PHPUnit for testing (^10.5|^11.0).", "symfony/process": "Required to use Orchestra\\Testbench\\remote function (^7.0).", "symfony/yaml": "Required for Testbench CLI (^7.0).", - "vlucas/phpdotenv": "Required for Testbench CLI (^5.4.1)." + "vlucas/phpdotenv": "Required for Testbench CLI (^5.6.1)." }, "bin": [ "testbench" @@ -8993,32 +8989,32 @@ "issues": "https://github.com/orchestral/testbench/issues", "source": "https://github.com/orchestral/testbench-core" }, - "time": "2025-02-19T00:18:39+00:00" + "time": "2025-03-06T10:15:41+00:00" }, { "name": "orchestra/workbench", - "version": "v9.13.2", + "version": "v9.13.4", "source": { "type": "git", "url": "https://github.com/orchestral/workbench.git", - "reference": "7999c9ae7f9a7e562adac9434ab9350ccf472fd0" + "reference": "4f97d76ec690b01a3d75450cb560328b61ce4af5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/workbench/zipball/7999c9ae7f9a7e562adac9434ab9350ccf472fd0", - "reference": "7999c9ae7f9a7e562adac9434ab9350ccf472fd0", + "url": "https://api.github.com/repos/orchestral/workbench/zipball/4f97d76ec690b01a3d75450cb560328b61ce4af5", + "reference": "4f97d76ec690b01a3d75450cb560328b61ce4af5", "shasum": "" }, "require": { "composer-runtime-api": "^2.2", "fakerphp/faker": "^1.23", - "laravel/framework": "^11.35", + "laravel/framework": "^11.44.2", "laravel/pail": "^1.2", "laravel/tinker": "^2.9", "nunomaduro/collision": "^8.0", - "orchestra/canvas": "^9.2.1", - "orchestra/sidekick": "^1.0.2", - "orchestra/testbench-core": "^9.11.0", + "orchestra/canvas": "^9.2.2", + "orchestra/sidekick": "^1.1.0", + "orchestra/testbench-core": "^9.12.0", "php": "^8.2", "symfony/polyfill-php83": "^1.31", "symfony/polyfill-php84": "^1.31", @@ -9029,7 +9025,7 @@ "laravel/pint": "^1.21", "mockery/mockery": "^1.6.10", "phpstan/phpstan": "^2.1", - "phpunit/phpunit": "^10.5.35 || ^11.3.6", + "phpunit/phpunit": "^10.5.35|^11.3.6", "spatie/laravel-ray": "^1.39.1" }, "suggest": { @@ -9060,9 +9056,9 @@ ], "support": { "issues": "https://github.com/orchestral/workbench/issues", - "source": "https://github.com/orchestral/workbench/tree/v9.13.2" + "source": "https://github.com/orchestral/workbench/tree/v9.13.4" }, - "time": "2025-02-19T00:53:04+00:00" + "time": "2025-03-20T07:15:53+00:00" }, { "name": "pestphp/pest", @@ -9804,23 +9800,23 @@ }, { "name": "phpunit/php-code-coverage", - "version": "11.0.8", + "version": "11.0.9", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "418c59fd080954f8c4aa5631d9502ecda2387118" + "reference": "14d63fbcca18457e49c6f8bebaa91a87e8e188d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/418c59fd080954f8c4aa5631d9502ecda2387118", - "reference": "418c59fd080954f8c4aa5631d9502ecda2387118", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/14d63fbcca18457e49c6f8bebaa91a87e8e188d7", + "reference": "14d63fbcca18457e49c6f8bebaa91a87e8e188d7", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^5.3.1", + "nikic/php-parser": "^5.4.0", "php": ">=8.2", "phpunit/php-file-iterator": "^5.1.0", "phpunit/php-text-template": "^4.0.1", @@ -9832,7 +9828,7 @@ "theseer/tokenizer": "^1.2.3" }, "require-dev": { - "phpunit/phpunit": "^11.5.0" + "phpunit/phpunit": "^11.5.2" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -9870,7 +9866,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/11.0.8" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/11.0.9" }, "funding": [ { @@ -9878,7 +9874,7 @@ "type": "github" } ], - "time": "2024-12-11T12:34:27+00:00" + "time": "2025-02-25T13:26:39+00:00" }, { "name": "phpunit/php-file-iterator", @@ -10228,16 +10224,16 @@ }, { "name": "psy/psysh", - "version": "v0.12.7", + "version": "v0.12.8", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "d73fa3c74918ef4522bb8a3bf9cab39161c4b57c" + "reference": "85057ceedee50c49d4f6ecaff73ee96adb3b3625" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/d73fa3c74918ef4522bb8a3bf9cab39161c4b57c", - "reference": "d73fa3c74918ef4522bb8a3bf9cab39161c4b57c", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/85057ceedee50c49d4f6ecaff73ee96adb3b3625", + "reference": "85057ceedee50c49d4f6ecaff73ee96adb3b3625", "shasum": "" }, "require": { @@ -10301,9 +10297,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.12.7" + "source": "https://github.com/bobthecow/psysh/tree/v0.12.8" }, - "time": "2024-12-10T01:58:33+00:00" + "time": "2025-03-16T03:05:19+00:00" }, { "name": "sebastian/cli-parser", @@ -10364,16 +10360,16 @@ }, { "name": "sebastian/code-unit", - "version": "3.0.2", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "ee88b0cdbe74cf8dd3b54940ff17643c0d6543ca" + "reference": "54391c61e4af8078e5b276ab082b6d3c54c9ad64" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/ee88b0cdbe74cf8dd3b54940ff17643c0d6543ca", - "reference": "ee88b0cdbe74cf8dd3b54940ff17643c0d6543ca", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/54391c61e4af8078e5b276ab082b6d3c54c9ad64", + "reference": "54391c61e4af8078e5b276ab082b6d3c54c9ad64", "shasum": "" }, "require": { @@ -10409,7 +10405,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/code-unit/issues", "security": "https://github.com/sebastianbergmann/code-unit/security/policy", - "source": "https://github.com/sebastianbergmann/code-unit/tree/3.0.2" + "source": "https://github.com/sebastianbergmann/code-unit/tree/3.0.3" }, "funding": [ { @@ -10417,7 +10413,7 @@ "type": "github" } ], - "time": "2024-12-12T09:59:06+00:00" + "time": "2025-03-19T07:56:08+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -10477,16 +10473,16 @@ }, { "name": "sebastian/comparator", - "version": "6.3.0", + "version": "6.3.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "d4e47a769525c4dd38cea90e5dcd435ddbbc7115" + "reference": "24b8fbc2c8e201bb1308e7b05148d6ab393b6959" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/d4e47a769525c4dd38cea90e5dcd435ddbbc7115", - "reference": "d4e47a769525c4dd38cea90e5dcd435ddbbc7115", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/24b8fbc2c8e201bb1308e7b05148d6ab393b6959", + "reference": "24b8fbc2c8e201bb1308e7b05148d6ab393b6959", "shasum": "" }, "require": { @@ -10505,7 +10501,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "6.2-dev" + "dev-main": "6.3-dev" } }, "autoload": { @@ -10545,7 +10541,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/6.3.0" + "source": "https://github.com/sebastianbergmann/comparator/tree/6.3.1" }, "funding": [ { @@ -10553,7 +10549,7 @@ "type": "github" } ], - "time": "2025-01-06T10:28:19+00:00" + "time": "2025-03-07T06:57:01+00:00" }, { "name": "sebastian/complexity", @@ -11122,16 +11118,16 @@ }, { "name": "sebastian/type", - "version": "5.1.0", + "version": "5.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "461b9c5da241511a2a0e8f240814fb23ce5c0aac" + "reference": "a8a7e30534b0eb0c77cd9d07e82de1a114389f5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/461b9c5da241511a2a0e8f240814fb23ce5c0aac", - "reference": "461b9c5da241511a2a0e8f240814fb23ce5c0aac", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/a8a7e30534b0eb0c77cd9d07e82de1a114389f5e", + "reference": "a8a7e30534b0eb0c77cd9d07e82de1a114389f5e", "shasum": "" }, "require": { @@ -11167,7 +11163,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/type/issues", "security": "https://github.com/sebastianbergmann/type/security/policy", - "source": "https://github.com/sebastianbergmann/type/tree/5.1.0" + "source": "https://github.com/sebastianbergmann/type/tree/5.1.2" }, "funding": [ { @@ -11175,7 +11171,7 @@ "type": "github" } ], - "time": "2024-09-17T13:12:04+00:00" + "time": "2025-03-18T13:35:50+00:00" }, { "name": "sebastian/version", diff --git a/phpunit.xml b/phpunit.xml index f78b591..f63df90 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -19,6 +19,8 @@ + + diff --git a/testbench.yaml b/testbench.yaml index 59e7f62..2c7f661 100644 --- a/testbench.yaml +++ b/testbench.yaml @@ -1,14 +1,28 @@ -providers: [] +providers: + - Itiden\Backup\ServiceProvider migrations: - workbench/database/migrations seeders: [] +bootstrappers: + - 'Itiden\Backup\Tests\Testbench\Bootstrappers\StatamicBootstrapper' + workbench: - start: '/' + start: '/cp' install: true welcome: true - build: [] - assets: [] + build: [ + 'migrate:fresh' + ] + assets: [ + 'statamic' + ] sync: [] + +env: + DB_CONNECTION: sqlite + APP_ENV: testing + CACHE_STORE: array + QUEUE_CONNECTION: sync \ No newline at end of file diff --git a/tests/Helpers.php b/tests/Helpers.php index c3819a5..afa8a2d 100644 --- a/tests/Helpers.php +++ b/tests/Helpers.php @@ -71,7 +71,7 @@ function user(): StatamicUser return User::make() ->email('test@example.com') - ->set('password', 'password') + ->password('password') ->set('roles', ['user']) ->save(); } diff --git a/tests/Testbench/Bootstrappers/StatamicBootstrapper.php b/tests/Testbench/Bootstrappers/StatamicBootstrapper.php new file mode 100644 index 0000000..8e2263c --- /dev/null +++ b/tests/Testbench/Bootstrappers/StatamicBootstrapper.php @@ -0,0 +1,105 @@ +set('statamic.editions.pro', true); + + // Configure laravel to use filebased users from statamic + $app['config']->set('statamic.users.repository', 'file'); + $app['config']->set('auth.providers.users.driver', 'statamic'); + + $packagePath = realpath(__DIR__ . '/../../../'); + + $applicationPath = $app->basePath(); + + // Paths to composer.json and composer.lock in the addon + $composerJsonPath = $packagePath . '/composer.json'; + $composerLockPath = $packagePath . '/composer.lock'; + + // Destination paths in the application + $destinationComposerJson = $applicationPath . '/composer.json'; + $destinationComposerLock = $applicationPath . '/composer.lock'; + + // Check if the files exist before copying + if (file_exists($composerJsonPath) && file_exists($composerLockPath)) { + // Copy composer.json and composer.lock to the application path + copy($composerJsonPath, $destinationComposerJson); + copy($composerLockPath, $destinationComposerLock); + } else { + throw new \RuntimeException('composer.json or composer.lock not found in the addon directory.'); + } + + static::copyStatamicScripts($app); + + static::addBackupToInstalledPackages($app); + + if (!file_exists($app->basePath('/users/test@example.com.yaml'))) { + $user = \Itiden\Backup\Tests\user(); + $user->makeSuper(); + $user->save(); + } + } + + /** + * This is required for statamic to discover the addon. + */ + private static function addBackupToInstalledPackages(Application $app): void + { + $installed = File::json($app->basePath('vendor/composer/installed.json')); + + $installed['packages']['backup'] = [ + ...File::json(__DIR__ . '/../../../composer.json'), + 'version' => '1.0.0', + 'autoload' => [ + 'psr-4' => [ + 'Itiden\\Backup\\' => realpath(__DIR__ . '/../../../src'), + ], + ], + ]; + + File::put($app->basePath('vendor/composer/installed.json'), json_encode($installed)); + } + + private static function copyStatamicScripts(Application $app): void + { + $buildPath = $app->basePath('/vendor/statamic/cms/resources/dist'); + + if (!file_exists($buildPath . '/build/manifest.json')) { + throw new RuntimeException('Statamic assets not found'); + } + + static::copyDirectory($buildPath, $app->basePath('public/vendor/statamic/cp/')); + } + + private static function copyDirectory($source, $destination): void + { + if (!is_dir($destination)) { + mkdir($destination, 00755, true); + } + $files = scandir($source); + foreach ($files as $file) { + if ($file !== '.' && $file !== '..') { + $sourceFile = $source . '/' . $file; + $destinationFile = $destination . '/' . $file; + if (is_dir($sourceFile)) { + static::copyDirectory($sourceFile, $destinationFile); + } else { + copy($sourceFile, $destinationFile); + } + } + } + } +}