diff --git a/composer.json b/composer.json
index 32a5e08..c233991 100644
--- a/composer.json
+++ b/composer.json
@@ -41,16 +41,17 @@
},
"autoload-dev": {
"psr-4": {
- "WayOfDev\\Package\\Tests\\": "tests/"
+ "WayOfDev\\Package\\App\\": "tests/app/",
+ "WayOfDev\\Package\\Tests\\": "tests/src/"
}
},
"scripts": {
"cs:fix": "php vendor/bin/php-cs-fixer fix -v",
"cs:diff": "php vendor/bin/php-cs-fixer fix --dry-run -v --diff",
- "test": "php vendor/bin/pest",
- "test:cc": "php vendor/bin/pest --coverage",
- "stan": "php vendor/bin/phpstan analyse",
- "stan:ci": "php vendor/bin/phpstan analyse --error-format=github"
+ "test": "XDEBUG_MODE=coverage php vendor/bin/pest",
+ "test:cc": "XDEBUG_MODE=coverage php vendor/bin/pest --coverage",
+ "stan": "php vendor/bin/phpstan analyse --memory-limit=2G",
+ "stan:ci": "php vendor/bin/phpstan analyse --memory-limit=2G --error-format=github"
},
"config": {
"sort-packages": true,
diff --git a/composer.lock b/composer.lock
index adf9770..f82d6f2 100644
--- a/composer.lock
+++ b/composer.lock
@@ -722,16 +722,16 @@
},
{
"name": "laravel/framework",
- "version": "v10.12.0",
+ "version": "v10.13.1",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
- "reference": "9e6dcff23ab1d4b522bef56074c31625cf077576"
+ "reference": "c1569099594168870cb4bdabfbaa35e5d172310b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/framework/zipball/9e6dcff23ab1d4b522bef56074c31625cf077576",
- "reference": "9e6dcff23ab1d4b522bef56074c31625cf077576",
+ "url": "https://api.github.com/repos/laravel/framework/zipball/c1569099594168870cb4bdabfbaa35e5d172310b",
+ "reference": "c1569099594168870cb4bdabfbaa35e5d172310b",
"shasum": ""
},
"require": {
@@ -918,7 +918,7 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2023-05-23T18:04:16+00:00"
+ "time": "2023-06-02T13:13:10+00:00"
},
{
"name": "laravel/serializable-closure",
@@ -2458,16 +2458,16 @@
},
{
"name": "symfony/css-selector",
- "version": "v6.2.7",
+ "version": "v6.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/css-selector.git",
- "reference": "aedf3cb0f5b929ec255d96bbb4909e9932c769e0"
+ "reference": "88453e64cd86c5b60e8d2fb2c6f953bbc353ffbf"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/css-selector/zipball/aedf3cb0f5b929ec255d96bbb4909e9932c769e0",
- "reference": "aedf3cb0f5b929ec255d96bbb4909e9932c769e0",
+ "url": "https://api.github.com/repos/symfony/css-selector/zipball/88453e64cd86c5b60e8d2fb2c6f953bbc353ffbf",
+ "reference": "88453e64cd86c5b60e8d2fb2c6f953bbc353ffbf",
"shasum": ""
},
"require": {
@@ -2503,7 +2503,7 @@
"description": "Converts CSS selectors to XPath expressions",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/css-selector/tree/v6.2.7"
+ "source": "https://github.com/symfony/css-selector/tree/v6.3.0"
},
"funding": [
{
@@ -2519,7 +2519,7 @@
"type": "tidelift"
}
],
- "time": "2023-02-14T08:44:56+00:00"
+ "time": "2023-03-20T16:43:42+00:00"
},
{
"name": "symfony/deprecation-contracts",
@@ -2590,16 +2590,16 @@
},
{
"name": "symfony/error-handler",
- "version": "v6.2.11",
+ "version": "v6.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/error-handler.git",
- "reference": "e847ba47e7a8f9708082990cb40ab4ff0440a11e"
+ "reference": "99d2d814a6351461af350ead4d963bd67451236f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/error-handler/zipball/e847ba47e7a8f9708082990cb40ab4ff0440a11e",
- "reference": "e847ba47e7a8f9708082990cb40ab4ff0440a11e",
+ "url": "https://api.github.com/repos/symfony/error-handler/zipball/99d2d814a6351461af350ead4d963bd67451236f",
+ "reference": "99d2d814a6351461af350ead4d963bd67451236f",
"shasum": ""
},
"require": {
@@ -2607,8 +2607,11 @@
"psr/log": "^1|^2|^3",
"symfony/var-dumper": "^5.4|^6.0"
},
+ "conflict": {
+ "symfony/deprecation-contracts": "<2.5"
+ },
"require-dev": {
- "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/deprecation-contracts": "^2.5|^3",
"symfony/http-kernel": "^5.4|^6.0",
"symfony/serializer": "^5.4|^6.0"
},
@@ -2641,7 +2644,7 @@
"description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/error-handler/tree/v6.2.11"
+ "source": "https://github.com/symfony/error-handler/tree/v6.3.0"
},
"funding": [
{
@@ -2657,7 +2660,7 @@
"type": "tidelift"
}
],
- "time": "2023-05-05T11:55:01+00:00"
+ "time": "2023-05-10T12:03:13+00:00"
},
{
"name": "symfony/event-dispatcher",
@@ -2881,28 +2884,30 @@
},
{
"name": "symfony/http-foundation",
- "version": "v6.2.11",
+ "version": "v6.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
- "reference": "df27f4191a4292d01fd062296e09cbc8b657cb57"
+ "reference": "718a97ed430d34e5c568ea2c44eab708c6efbefb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/df27f4191a4292d01fd062296e09cbc8b657cb57",
- "reference": "df27f4191a4292d01fd062296e09cbc8b657cb57",
+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/718a97ed430d34e5c568ea2c44eab708c6efbefb",
+ "reference": "718a97ed430d34e5c568ea2c44eab708c6efbefb",
"shasum": ""
},
"require": {
"php": ">=8.1",
- "symfony/deprecation-contracts": "^2.1|^3",
- "symfony/polyfill-mbstring": "~1.1"
+ "symfony/deprecation-contracts": "^2.5|^3",
+ "symfony/polyfill-mbstring": "~1.1",
+ "symfony/polyfill-php83": "^1.27"
},
"conflict": {
"symfony/cache": "<6.2"
},
"require-dev": {
- "predis/predis": "~1.0",
+ "doctrine/dbal": "^2.13.1|^3.0",
+ "predis/predis": "^1.1|^2.0",
"symfony/cache": "^5.4|^6.0",
"symfony/dependency-injection": "^5.4|^6.0",
"symfony/expression-language": "^5.4|^6.0",
@@ -2910,9 +2915,6 @@
"symfony/mime": "^5.4|^6.0",
"symfony/rate-limiter": "^5.2|^6.0"
},
- "suggest": {
- "symfony/mime": "To use the file extension guesser"
- },
"type": "library",
"autoload": {
"psr-4": {
@@ -2939,7 +2941,7 @@
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/http-foundation/tree/v6.2.11"
+ "source": "https://github.com/symfony/http-foundation/tree/v6.3.0"
},
"funding": [
{
@@ -2955,29 +2957,29 @@
"type": "tidelift"
}
],
- "time": "2023-05-19T12:39:53+00:00"
+ "time": "2023-05-19T12:46:45+00:00"
},
{
"name": "symfony/http-kernel",
- "version": "v6.2.11",
+ "version": "v6.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
- "reference": "954a1a3b178309b216261eedc735c079709e4ab3"
+ "reference": "241973f3dd900620b1ca052fe409144f11aea748"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/954a1a3b178309b216261eedc735c079709e4ab3",
- "reference": "954a1a3b178309b216261eedc735c079709e4ab3",
+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/241973f3dd900620b1ca052fe409144f11aea748",
+ "reference": "241973f3dd900620b1ca052fe409144f11aea748",
"shasum": ""
},
"require": {
"php": ">=8.1",
"psr/log": "^1|^2|^3",
- "symfony/deprecation-contracts": "^2.1|^3",
- "symfony/error-handler": "^6.1",
+ "symfony/deprecation-contracts": "^2.5|^3",
+ "symfony/error-handler": "^6.3",
"symfony/event-dispatcher": "^5.4|^6.0",
- "symfony/http-foundation": "^5.4.21|^6.2.7",
+ "symfony/http-foundation": "^6.2.7",
"symfony/polyfill-ctype": "^1.8"
},
"conflict": {
@@ -2985,15 +2987,18 @@
"symfony/cache": "<5.4",
"symfony/config": "<6.1",
"symfony/console": "<5.4",
- "symfony/dependency-injection": "<6.2",
+ "symfony/dependency-injection": "<6.3",
"symfony/doctrine-bridge": "<5.4",
"symfony/form": "<5.4",
"symfony/http-client": "<5.4",
+ "symfony/http-client-contracts": "<2.5",
"symfony/mailer": "<5.4",
"symfony/messenger": "<5.4",
"symfony/translation": "<5.4",
+ "symfony/translation-contracts": "<2.5",
"symfony/twig-bridge": "<5.4",
"symfony/validator": "<5.4",
+ "symfony/var-dumper": "<6.3",
"twig/twig": "<2.13"
},
"provide": {
@@ -3002,29 +3007,27 @@
"require-dev": {
"psr/cache": "^1.0|^2.0|^3.0",
"symfony/browser-kit": "^5.4|^6.0",
+ "symfony/clock": "^6.2",
"symfony/config": "^6.1",
"symfony/console": "^5.4|^6.0",
"symfony/css-selector": "^5.4|^6.0",
- "symfony/dependency-injection": "^6.2",
+ "symfony/dependency-injection": "^6.3",
"symfony/dom-crawler": "^5.4|^6.0",
"symfony/expression-language": "^5.4|^6.0",
"symfony/finder": "^5.4|^6.0",
- "symfony/http-client-contracts": "^1.1|^2|^3",
+ "symfony/http-client-contracts": "^2.5|^3",
"symfony/process": "^5.4|^6.0",
+ "symfony/property-access": "^5.4.5|^6.0.5",
"symfony/routing": "^5.4|^6.0",
+ "symfony/serializer": "^6.3",
"symfony/stopwatch": "^5.4|^6.0",
"symfony/translation": "^5.4|^6.0",
- "symfony/translation-contracts": "^1.1|^2|^3",
+ "symfony/translation-contracts": "^2.5|^3",
"symfony/uid": "^5.4|^6.0",
+ "symfony/validator": "^6.3",
"symfony/var-exporter": "^6.2",
"twig/twig": "^2.13|^3.0.4"
},
- "suggest": {
- "symfony/browser-kit": "",
- "symfony/config": "",
- "symfony/console": "",
- "symfony/dependency-injection": ""
- },
"type": "library",
"autoload": {
"psr-4": {
@@ -3051,7 +3054,7 @@
"description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/http-kernel/tree/v6.2.11"
+ "source": "https://github.com/symfony/http-kernel/tree/v6.3.0"
},
"funding": [
{
@@ -3067,20 +3070,20 @@
"type": "tidelift"
}
],
- "time": "2023-05-27T21:12:52+00:00"
+ "time": "2023-05-30T19:03:32+00:00"
},
{
"name": "symfony/mailer",
- "version": "v6.2.8",
+ "version": "v6.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/mailer.git",
- "reference": "bfcfa015c67e19c6fdb7ca6fe70700af1e740a17"
+ "reference": "7b03d9be1dea29bfec0a6c7b603f5072a4c97435"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/mailer/zipball/bfcfa015c67e19c6fdb7ca6fe70700af1e740a17",
- "reference": "bfcfa015c67e19c6fdb7ca6fe70700af1e740a17",
+ "url": "https://api.github.com/repos/symfony/mailer/zipball/7b03d9be1dea29bfec0a6c7b603f5072a4c97435",
+ "reference": "7b03d9be1dea29bfec0a6c7b603f5072a4c97435",
"shasum": ""
},
"require": {
@@ -3090,9 +3093,10 @@
"psr/log": "^1|^2|^3",
"symfony/event-dispatcher": "^5.4|^6.0",
"symfony/mime": "^6.2",
- "symfony/service-contracts": "^1.1|^2|^3"
+ "symfony/service-contracts": "^2.5|^3"
},
"conflict": {
+ "symfony/http-client-contracts": "<2.5",
"symfony/http-kernel": "<5.4",
"symfony/messenger": "<6.2",
"symfony/mime": "<6.2",
@@ -3130,7 +3134,7 @@
"description": "Helps sending emails",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/mailer/tree/v6.2.8"
+ "source": "https://github.com/symfony/mailer/tree/v6.3.0"
},
"funding": [
{
@@ -3146,20 +3150,20 @@
"type": "tidelift"
}
],
- "time": "2023-03-14T15:00:05+00:00"
+ "time": "2023-05-29T12:49:39+00:00"
},
{
"name": "symfony/mime",
- "version": "v6.2.10",
+ "version": "v6.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/mime.git",
- "reference": "b6c137fc53a9f7c4c951cd3f362b3734c7a97723"
+ "reference": "7b5d2121858cd6efbed778abce9cfdd7ab1f62ad"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/mime/zipball/b6c137fc53a9f7c4c951cd3f362b3734c7a97723",
- "reference": "b6c137fc53a9f7c4c951cd3f362b3734c7a97723",
+ "url": "https://api.github.com/repos/symfony/mime/zipball/7b5d2121858cd6efbed778abce9cfdd7ab1f62ad",
+ "reference": "7b5d2121858cd6efbed778abce9cfdd7ab1f62ad",
"shasum": ""
},
"require": {
@@ -3213,7 +3217,7 @@
"mime-type"
],
"support": {
- "source": "https://github.com/symfony/mime/tree/v6.2.10"
+ "source": "https://github.com/symfony/mime/tree/v6.3.0"
},
"funding": [
{
@@ -3229,7 +3233,7 @@
"type": "tidelift"
}
],
- "time": "2023-04-19T09:54:16+00:00"
+ "time": "2023-04-28T15:57:00+00:00"
},
{
"name": "symfony/polyfill-ctype",
@@ -3807,6 +3811,83 @@
],
"time": "2022-11-03T14:55:06+00:00"
},
+ {
+ "name": "symfony/polyfill-php83",
+ "version": "v1.27.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php83.git",
+ "reference": "508c652ba3ccf69f8c97f251534f229791b52a57"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/508c652ba3ccf69f8c97f251534f229791b52a57",
+ "reference": "508c652ba3ccf69f8c97f251534f229791b52a57",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1",
+ "symfony/polyfill-php80": "^1.14"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.27-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php83\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php83/tree/v1.27.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-11-03T14:55:06+00:00"
+ },
{
"name": "symfony/polyfill-uuid",
"version": "v1.27.0",
@@ -3952,16 +4033,16 @@
},
{
"name": "symfony/routing",
- "version": "v6.2.8",
+ "version": "v6.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
- "reference": "69062e2823f03b82265d73a966999660f0e1e404"
+ "reference": "827f59fdc67eecfc4dfff81f9c93bf4d98f0c89b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/69062e2823f03b82265d73a966999660f0e1e404",
- "reference": "69062e2823f03b82265d73a966999660f0e1e404",
+ "url": "https://api.github.com/repos/symfony/routing/zipball/827f59fdc67eecfc4dfff81f9c93bf4d98f0c89b",
+ "reference": "827f59fdc67eecfc4dfff81f9c93bf4d98f0c89b",
"shasum": ""
},
"require": {
@@ -3982,12 +4063,6 @@
"symfony/http-foundation": "^5.4|^6.0",
"symfony/yaml": "^5.4|^6.0"
},
- "suggest": {
- "symfony/config": "For using the all-in-one router or any loader",
- "symfony/expression-language": "For using expression matching",
- "symfony/http-foundation": "For using a Symfony Request object",
- "symfony/yaml": "For using the YAML loader"
- },
"type": "library",
"autoload": {
"psr-4": {
@@ -4020,7 +4095,7 @@
"url"
],
"support": {
- "source": "https://github.com/symfony/routing/tree/v6.2.8"
+ "source": "https://github.com/symfony/routing/tree/v6.3.0"
},
"funding": [
{
@@ -4036,7 +4111,7 @@
"type": "tidelift"
}
],
- "time": "2023-03-14T15:00:05+00:00"
+ "time": "2023-04-28T15:57:00+00:00"
},
{
"name": "symfony/service-contracts",
@@ -4208,28 +4283,30 @@
},
{
"name": "symfony/translation",
- "version": "v6.2.11",
+ "version": "v6.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
- "reference": "64113df3e8b009f92fad63014f4ec647e65bc927"
+ "reference": "f72b2cba8f79dd9d536f534f76874b58ad37876f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation/zipball/64113df3e8b009f92fad63014f4ec647e65bc927",
- "reference": "64113df3e8b009f92fad63014f4ec647e65bc927",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/f72b2cba8f79dd9d536f534f76874b58ad37876f",
+ "reference": "f72b2cba8f79dd9d536f534f76874b58ad37876f",
"shasum": ""
},
"require": {
"php": ">=8.1",
"symfony/polyfill-mbstring": "~1.0",
- "symfony/translation-contracts": "^2.3|^3.0"
+ "symfony/translation-contracts": "^2.5|^3.0"
},
"conflict": {
"symfony/config": "<5.4",
"symfony/console": "<5.4",
"symfony/dependency-injection": "<5.4",
+ "symfony/http-client-contracts": "<2.5",
"symfony/http-kernel": "<5.4",
+ "symfony/service-contracts": "<2.5",
"symfony/twig-bundle": "<5.4",
"symfony/yaml": "<5.4"
},
@@ -4243,20 +4320,14 @@
"symfony/console": "^5.4|^6.0",
"symfony/dependency-injection": "^5.4|^6.0",
"symfony/finder": "^5.4|^6.0",
- "symfony/http-client-contracts": "^1.1|^2.0|^3.0",
+ "symfony/http-client-contracts": "^2.5|^3.0",
"symfony/http-kernel": "^5.4|^6.0",
"symfony/intl": "^5.4|^6.0",
"symfony/polyfill-intl-icu": "^1.21",
"symfony/routing": "^5.4|^6.0",
- "symfony/service-contracts": "^1.1.2|^2|^3",
+ "symfony/service-contracts": "^2.5|^3",
"symfony/yaml": "^5.4|^6.0"
},
- "suggest": {
- "nikic/php-parser": "To use PhpAstExtractor",
- "psr/log-implementation": "To use logging capability in translator",
- "symfony/config": "",
- "symfony/yaml": ""
- },
"type": "library",
"autoload": {
"files": [
@@ -4286,7 +4357,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/translation/tree/v6.2.11"
+ "source": "https://github.com/symfony/translation/tree/v6.3.0"
},
"funding": [
{
@@ -4302,7 +4373,7 @@
"type": "tidelift"
}
],
- "time": "2023-05-19T12:37:14+00:00"
+ "time": "2023-05-19T12:46:45+00:00"
},
{
"name": "symfony/translation-contracts",
@@ -4384,16 +4455,16 @@
},
{
"name": "symfony/uid",
- "version": "v6.2.7",
+ "version": "v6.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/uid.git",
- "reference": "d30c72a63897cfa043e1de4d4dd2ffa9ecefcdc0"
+ "reference": "01b0f20b1351d997711c56f1638f7a8c3061e384"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/uid/zipball/d30c72a63897cfa043e1de4d4dd2ffa9ecefcdc0",
- "reference": "d30c72a63897cfa043e1de4d4dd2ffa9ecefcdc0",
+ "url": "https://api.github.com/repos/symfony/uid/zipball/01b0f20b1351d997711c56f1638f7a8c3061e384",
+ "reference": "01b0f20b1351d997711c56f1638f7a8c3061e384",
"shasum": ""
},
"require": {
@@ -4438,7 +4509,7 @@
"uuid"
],
"support": {
- "source": "https://github.com/symfony/uid/tree/v6.2.7"
+ "source": "https://github.com/symfony/uid/tree/v6.3.0"
},
"funding": [
{
@@ -4454,20 +4525,20 @@
"type": "tidelift"
}
],
- "time": "2023-02-14T08:44:56+00:00"
+ "time": "2023-04-08T07:25:02+00:00"
},
{
"name": "symfony/var-dumper",
- "version": "v6.2.11",
+ "version": "v6.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
- "reference": "7d10f2a5a452bda385692fc7d38cd6eccfebe756"
+ "reference": "6acdcd5c122074ee9f7b051e4fb177025c277a0e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/7d10f2a5a452bda385692fc7d38cd6eccfebe756",
- "reference": "7d10f2a5a452bda385692fc7d38cd6eccfebe756",
+ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/6acdcd5c122074ee9f7b051e4fb177025c277a0e",
+ "reference": "6acdcd5c122074ee9f7b051e4fb177025c277a0e",
"shasum": ""
},
"require": {
@@ -4484,11 +4555,6 @@
"symfony/uid": "^5.4|^6.0",
"twig/twig": "^2.13|^3.0.4"
},
- "suggest": {
- "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).",
- "ext-intl": "To show region name in time zone dump",
- "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script"
- },
"bin": [
"Resources/bin/var-dump-server"
],
@@ -4525,7 +4591,7 @@
"dump"
],
"support": {
- "source": "https://github.com/symfony/var-dumper/tree/v6.2.11"
+ "source": "https://github.com/symfony/var-dumper/tree/v6.3.0"
},
"funding": [
{
@@ -4541,7 +4607,7 @@
"type": "tidelift"
}
],
- "time": "2023-05-25T13:08:43+00:00"
+ "time": "2023-05-25T13:09:35+00:00"
},
{
"name": "tijsverkoyen/css-to-inline-styles",
@@ -5205,25 +5271,29 @@
},
{
"name": "doctrine/deprecations",
- "version": "v1.1.0",
+ "version": "v1.1.1",
"source": {
"type": "git",
"url": "https://github.com/doctrine/deprecations.git",
- "reference": "8cffffb2218e01f3b370bf763e00e81697725259"
+ "reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/deprecations/zipball/8cffffb2218e01f3b370bf763e00e81697725259",
- "reference": "8cffffb2218e01f3b370bf763e00e81697725259",
+ "url": "https://api.github.com/repos/doctrine/deprecations/zipball/612a3ee5ab0d5dd97b7cf3874a6efe24325efac3",
+ "reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3",
"shasum": ""
},
"require": {
- "php": "^7.1|^8.0"
+ "php": "^7.1 || ^8.0"
},
"require-dev": {
"doctrine/coding-standard": "^9",
- "phpunit/phpunit": "^7.5|^8.5|^9.5",
- "psr/log": "^1|^2|^3"
+ "phpstan/phpstan": "1.4.10 || 1.10.15",
+ "phpstan/phpstan-phpunit": "^1.0",
+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
+ "psalm/plugin-phpunit": "0.18.4",
+ "psr/log": "^1 || ^2 || ^3",
+ "vimeo/psalm": "4.30.0 || 5.12.0"
},
"suggest": {
"psr/log": "Allows logging deprecations via PSR-3 logger implementation"
@@ -5242,9 +5312,9 @@
"homepage": "https://www.doctrine-project.org/",
"support": {
"issues": "https://github.com/doctrine/deprecations/issues",
- "source": "https://github.com/doctrine/deprecations/tree/v1.1.0"
+ "source": "https://github.com/doctrine/deprecations/tree/v1.1.1"
},
- "time": "2023-05-29T18:55:17+00:00"
+ "time": "2023-06-03T09:27:29+00:00"
},
{
"name": "ergebnis/composer-normalize",
@@ -6641,16 +6711,16 @@
},
{
"name": "pestphp/pest",
- "version": "v2.6.1",
+ "version": "v2.6.2",
"source": {
"type": "git",
"url": "https://github.com/pestphp/pest.git",
- "reference": "faafedd55ca4479b0634f85cc1a68bf5af44764e"
+ "reference": "436b20857d84f2cd62411ee32f745263e74b9cc4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/pestphp/pest/zipball/faafedd55ca4479b0634f85cc1a68bf5af44764e",
- "reference": "faafedd55ca4479b0634f85cc1a68bf5af44764e",
+ "url": "https://api.github.com/repos/pestphp/pest/zipball/436b20857d84f2cd62411ee32f745263e74b9cc4",
+ "reference": "436b20857d84f2cd62411ee32f745263e74b9cc4",
"shasum": ""
},
"require": {
@@ -6660,15 +6730,15 @@
"pestphp/pest-plugin": "^2.0.1",
"pestphp/pest-plugin-arch": "^2.1.2",
"php": "^8.1.0",
- "phpunit/phpunit": "^10.1.3"
+ "phpunit/phpunit": "^10.2.0"
},
"conflict": {
- "phpunit/phpunit": ">10.1.3",
+ "phpunit/phpunit": ">10.2.0",
"webmozart/assert": "<1.11.0"
},
"require-dev": {
"pestphp/pest-dev-tools": "^2.9.0",
- "symfony/process": "^6.2.10"
+ "symfony/process": "^6.3.0"
},
"bin": [
"bin/pest"
@@ -6724,7 +6794,7 @@
],
"support": {
"issues": "https://github.com/pestphp/pest/issues",
- "source": "https://github.com/pestphp/pest/tree/v2.6.1"
+ "source": "https://github.com/pestphp/pest/tree/v2.6.2"
},
"funding": [
{
@@ -6736,7 +6806,7 @@
"type": "github"
}
],
- "time": "2023-05-12T08:22:02+00:00"
+ "time": "2023-06-02T21:46:07+00:00"
},
{
"name": "pestphp/pest-plugin",
@@ -6809,27 +6879,27 @@
},
{
"name": "pestphp/pest-plugin-arch",
- "version": "v2.1.2",
+ "version": "v2.2.0",
"source": {
"type": "git",
"url": "https://github.com/pestphp/pest-plugin-arch.git",
- "reference": "485cbfbe2e194e9cfd8284625bd8922c9d27ac6f"
+ "reference": "88725fd0d6ae4025df39c27bd91e98d14b8f1916"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/485cbfbe2e194e9cfd8284625bd8922c9d27ac6f",
- "reference": "485cbfbe2e194e9cfd8284625bd8922c9d27ac6f",
+ "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/88725fd0d6ae4025df39c27bd91e98d14b8f1916",
+ "reference": "88725fd0d6ae4025df39c27bd91e98d14b8f1916",
"shasum": ""
},
"require": {
- "nunomaduro/collision": "^7.5.0",
+ "nunomaduro/collision": "^7.5.2",
"pestphp/pest-plugin": "^2.0.1",
"php": "^8.1",
"ta-tikoma/phpunit-architecture-test": "^0.7.3"
},
"require-dev": {
- "pestphp/pest": "^2.5.1",
- "pestphp/pest-dev-tools": "^2.6.0"
+ "pestphp/pest": "dev-develop as 2.6.2",
+ "pestphp/pest-dev-tools": "^2.10.0"
},
"type": "library",
"autoload": {
@@ -6857,7 +6927,7 @@
"unit"
],
"support": {
- "source": "https://github.com/pestphp/pest-plugin-arch/tree/v2.1.2"
+ "source": "https://github.com/pestphp/pest-plugin-arch/tree/v2.2.0"
},
"funding": [
{
@@ -6869,7 +6939,7 @@
"type": "github"
}
],
- "time": "2023-04-19T08:48:22+00:00"
+ "time": "2023-06-02T23:15:55+00:00"
},
{
"name": "pestphp/pest-plugin-laravel",
@@ -7930,16 +8000,16 @@
},
{
"name": "phpunit/phpunit",
- "version": "10.1.3",
+ "version": "10.2.0",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "2379ebafc1737e71cdc84f402acb6b7f04198b9d"
+ "reference": "3aad97fde1f3e490e2b316ba56bc4680310e3c3f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2379ebafc1737e71cdc84f402acb6b7f04198b9d",
- "reference": "2379ebafc1737e71cdc84f402acb6b7f04198b9d",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3aad97fde1f3e490e2b316ba56bc4680310e3c3f",
+ "reference": "3aad97fde1f3e490e2b316ba56bc4680310e3c3f",
"shasum": ""
},
"require": {
@@ -7979,7 +8049,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "10.1-dev"
+ "dev-main": "10.2-dev"
}
},
"autoload": {
@@ -8011,7 +8081,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
- "source": "https://github.com/sebastianbergmann/phpunit/tree/10.1.3"
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/10.2.0"
},
"funding": [
{
@@ -8027,7 +8097,7 @@
"type": "tidelift"
}
],
- "time": "2023-05-11T05:16:22+00:00"
+ "time": "2023-06-02T05:42:13+00:00"
},
{
"name": "pimple/pimple",
@@ -8289,12 +8359,12 @@
"source": {
"type": "git",
"url": "https://github.com/Roave/SecurityAdvisories.git",
- "reference": "2d73bad6cb1c8cda0ab4e4208f4ee2d70e472879"
+ "reference": "0feb297cb2162446e9d3334cd131d861d7d2d997"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/2d73bad6cb1c8cda0ab4e4208f4ee2d70e472879",
- "reference": "2d73bad6cb1c8cda0ab4e4208f4ee2d70e472879",
+ "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/0feb297cb2162446e9d3334cd131d861d7d2d997",
+ "reference": "0feb297cb2162446e9d3334cd131d861d7d2d997",
"shasum": ""
},
"conflict": {
@@ -8370,7 +8440,7 @@
"contao/core-bundle": "<4.9.40|>=4.10,<4.11.7|>=4.13,<4.13.21|>=5.1,<5.1.4|= 4.10.0",
"contao/listing-bundle": ">=4,<4.4.8",
"contao/managed-edition": "<=1.5",
- "craftcms/cms": ">= 4.0.0-RC1, <= 4.4.5|>= 4.0.0-RC1, <= 4.4.6|<=3.8.5|>=4,<4.4.6|>= 4.0.0-RC1, < 4.4.6|>= 4.0.0-RC1, < 4.3.7|>= 4.0.0-RC1, < 4.2.1",
+ "craftcms/cms": "<4.4.12|>= 4.0.0-RC1, <= 4.4.5|>= 4.0.0-RC1, <= 4.4.6|>= 4.0.0-RC1, < 4.4.6|>= 4.0.0-RC1, < 4.3.7|>= 4.0.0-RC1, < 4.2.1",
"croogo/croogo": "<3.0.7",
"cuyz/valinor": "<0.12",
"czproject/git-php": "<4.0.3",
@@ -8390,7 +8460,7 @@
"doctrine/mongodb-odm": ">=1,<1.0.2",
"doctrine/mongodb-odm-bundle": ">=2,<3.0.1",
"doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1|>=2.8.3,<2.8.4",
- "dolibarr/dolibarr": "<16|>=16.0.1,<16.0.3|= 12.0.5|>= 3.3.beta1, < 13.0.2",
+ "dolibarr/dolibarr": "<17.0.1|= 12.0.5|>= 3.3.beta1, < 13.0.2",
"dompdf/dompdf": "<2.0.2|= 2.0.2",
"drupal/core": ">=7,<7.96|>=8,<9.4.14|>=9.5,<9.5.8|>=10,<10.0.8",
"drupal/drupal": ">=7,<7.80|>=8,<8.9.16|>=9,<9.1.12|>=9.2,<9.2.4",
@@ -8570,7 +8640,7 @@
"netgen/tagsbundle": ">=3.4,<3.4.11|>=4,<4.0.15",
"nette/application": ">=2,<2.0.19|>=2.1,<2.1.13|>=2.2,<2.2.10|>=2.3,<2.3.14|>=2.4,<2.4.16|>=3,<3.0.6",
"nette/nette": ">=2,<2.0.19|>=2.1,<2.1.13",
- "nilsteampassnet/teampass": "<3.0.7",
+ "nilsteampassnet/teampass": "<3.0.9",
"notrinos/notrinos-erp": "<=0.7",
"noumo/easyii": "<=0.9",
"nukeviet/nukeviet": "<4.5.2",
@@ -8626,7 +8696,7 @@
"pimcore/pimcore": "<10.5.21",
"pixelfed/pixelfed": "<=0.11.4",
"pocketmine/bedrock-protocol": "<8.0.2",
- "pocketmine/pocketmine-mp": "<4.12.5|>= 4.0.0-BETA5, < 4.4.2",
+ "pocketmine/pocketmine-mp": "< 4.18.0-ALPHA2|<4.12.5|>= 4.0.0-BETA5, < 4.4.2",
"pressbooks/pressbooks": "<5.18",
"prestashop/autoupgrade": ">=4,<4.10.1",
"prestashop/blockwishlist": ">=2,<2.1.1",
@@ -8889,7 +8959,7 @@
"type": "tidelift"
}
],
- "time": "2023-05-26T14:04:17+00:00"
+ "time": "2023-06-02T23:04:03+00:00"
},
{
"name": "sebastian/cli-parser",
@@ -10430,16 +10500,16 @@
},
{
"name": "symfony/yaml",
- "version": "v6.2.10",
+ "version": "v6.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
- "reference": "61916f3861b1e9705b18cfde723921a71dd1559d"
+ "reference": "a9a8337aa641ef2aa39c3e028f9107ec391e5927"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/61916f3861b1e9705b18cfde723921a71dd1559d",
- "reference": "61916f3861b1e9705b18cfde723921a71dd1559d",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/a9a8337aa641ef2aa39c3e028f9107ec391e5927",
+ "reference": "a9a8337aa641ef2aa39c3e028f9107ec391e5927",
"shasum": ""
},
"require": {
@@ -10452,9 +10522,6 @@
"require-dev": {
"symfony/console": "^5.4|^6.0"
},
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
"bin": [
"Resources/bin/yaml-lint"
],
@@ -10484,7 +10551,7 @@
"description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/yaml/tree/v6.2.10"
+ "source": "https://github.com/symfony/yaml/tree/v6.3.0"
},
"funding": [
{
@@ -10500,7 +10567,7 @@
"type": "tidelift"
}
],
- "time": "2023-04-28T13:25:36+00:00"
+ "time": "2023-04-28T13:28:14+00:00"
},
{
"name": "ta-tikoma/phpunit-architecture-test",
@@ -10821,16 +10888,16 @@
},
{
"name": "zbateson/stream-decorators",
- "version": "1.2.0",
+ "version": "1.2.1",
"source": {
"type": "git",
"url": "https://github.com/zbateson/stream-decorators.git",
- "reference": "712b9e7d25dc665a6c64bdba65929bbb6f0932aa"
+ "reference": "783b034024fda8eafa19675fb2552f8654d3a3e9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/zbateson/stream-decorators/zipball/712b9e7d25dc665a6c64bdba65929bbb6f0932aa",
- "reference": "712b9e7d25dc665a6c64bdba65929bbb6f0932aa",
+ "url": "https://api.github.com/repos/zbateson/stream-decorators/zipball/783b034024fda8eafa19675fb2552f8654d3a3e9",
+ "reference": "783b034024fda8eafa19675fb2552f8654d3a3e9",
"shasum": ""
},
"require": {
@@ -10872,7 +10939,7 @@
],
"support": {
"issues": "https://github.com/zbateson/stream-decorators/issues",
- "source": "https://github.com/zbateson/stream-decorators/tree/1.2.0"
+ "source": "https://github.com/zbateson/stream-decorators/tree/1.2.1"
},
"funding": [
{
@@ -10880,7 +10947,7 @@
"type": "github"
}
],
- "time": "2023-04-19T16:56:59+00:00"
+ "time": "2023-05-30T22:51:52+00:00"
}
],
"aliases": [],
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 057c752..fb14aae 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -8,11 +8,8 @@
failOnRisky="true"
beStrictAboutOutputDuringTests="true">
-
- tests/Pest
-
-
- tests/Unit
+
+ tests
diff --git a/tests/Unit/.gitkeep b/tests/app/.gitkeep
similarity index 100%
rename from tests/Unit/.gitkeep
rename to tests/app/.gitkeep
diff --git a/tests/Pest.php b/tests/src/Pest.php
similarity index 71%
rename from tests/Pest.php
rename to tests/src/Pest.php
index bce16ce..829095c 100644
--- a/tests/Pest.php
+++ b/tests/src/Pest.php
@@ -4,4 +4,6 @@
namespace WayOfDev\Package\Tests;
+use WayOfDev\Package\Tests\src\TestCase;
+
uses(TestCase::class)->in(__DIR__);
diff --git a/tests/Pest/ExampleTest.php b/tests/src/Pest/ExampleTest.php
similarity index 100%
rename from tests/Pest/ExampleTest.php
rename to tests/src/Pest/ExampleTest.php
diff --git a/tests/TestCase.php b/tests/src/TestCase.php
similarity index 89%
rename from tests/TestCase.php
rename to tests/src/TestCase.php
index 9182a26..a496d76 100644
--- a/tests/TestCase.php
+++ b/tests/src/TestCase.php
@@ -2,7 +2,7 @@
declare(strict_types=1);
-namespace WayOfDev\Package\Tests;
+namespace WayOfDev\Package\Tests\src;
use Orchestra\Testbench\TestCase as Orchestra;
use WayOfDev\Package\Bridge\Laravel\Providers\PackageServiceProvider;