diff --git a/composer.lock b/composer.lock index d7fb8039..1a6754ff 100644 --- a/composer.lock +++ b/composer.lock @@ -161,22 +161,22 @@ }, { "name": "spiral/core", - "version": "3.14.6", + "version": "3.14.7", "source": { "type": "git", "url": "https://github.com/spiral/core.git", - "reference": "feee88acc53ac323313bc5af4202fed065144e71" + "reference": "4b3581a8878feb75489de7d1bb262d11c53f1d1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spiral/core/zipball/feee88acc53ac323313bc5af4202fed065144e71", - "reference": "feee88acc53ac323313bc5af4202fed065144e71", + "url": "https://api.github.com/repos/spiral/core/zipball/4b3581a8878feb75489de7d1bb262d11c53f1d1b", + "reference": "4b3581a8878feb75489de7d1bb262d11c53f1d1b", "shasum": "" }, "require": { "php": ">=8.1", "psr/container": "^1.1|^2.0", - "spiral/security": "^3.14.6" + "spiral/security": "^3.14.7" }, "provide": { "psr/container-implementation": "^1.1|^2.0" @@ -231,27 +231,27 @@ "type": "github" } ], - "time": "2024-10-22T21:48:36+00:00" + "time": "2024-11-25T20:19:44+00:00" }, { "name": "spiral/hmvc", - "version": "3.14.6", + "version": "3.14.7", "source": { "type": "git", "url": "https://github.com/spiral/hmvc.git", - "reference": "168b432680661834b3f0aa10653b0b04dc2e9628" + "reference": "6979712ee2dfd1493e16f23b6c3b3c92a78bcf9b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spiral/hmvc/zipball/168b432680661834b3f0aa10653b0b04dc2e9628", - "reference": "168b432680661834b3f0aa10653b0b04dc2e9628", + "url": "https://api.github.com/repos/spiral/hmvc/zipball/6979712ee2dfd1493e16f23b6c3b3c92a78bcf9b", + "reference": "6979712ee2dfd1493e16f23b6c3b3c92a78bcf9b", "shasum": "" }, "require": { "php": ">=8.1", "psr/event-dispatcher": "^1.0", - "spiral/core": "^3.14.6", - "spiral/interceptors": "^3.14.6" + "spiral/core": "^3.14.7", + "spiral/interceptors": "^3.14.7" }, "require-dev": { "phpunit/phpunit": "^10.1", @@ -305,26 +305,26 @@ "type": "github" } ], - "time": "2024-10-22T21:48:51+00:00" + "time": "2024-11-25T20:19:45+00:00" }, { "name": "spiral/interceptors", - "version": "3.14.6", + "version": "3.14.7", "source": { "type": "git", "url": "https://github.com/spiral/interceptors.git", - "reference": "a262479abbe12dc7e4a8e6e2aeac5460f1a7a590" + "reference": "3e65a56f0e0a3ab142da1ce0ac12a0bdfbd21611" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spiral/interceptors/zipball/a262479abbe12dc7e4a8e6e2aeac5460f1a7a590", - "reference": "a262479abbe12dc7e4a8e6e2aeac5460f1a7a590", + "url": "https://api.github.com/repos/spiral/interceptors/zipball/3e65a56f0e0a3ab142da1ce0ac12a0bdfbd21611", + "reference": "3e65a56f0e0a3ab142da1ce0ac12a0bdfbd21611", "shasum": "" }, "require": { "php": ">=8.1", "psr/event-dispatcher": "^1.0", - "spiral/core": "^3.14.6" + "spiral/core": "^3.14.7" }, "require-dev": { "phpunit/phpunit": "^10.1", @@ -383,11 +383,11 @@ "type": "github" } ], - "time": "2024-10-22T21:48:52+00:00" + "time": "2024-11-25T20:19:45+00:00" }, { "name": "spiral/pagination", - "version": "3.14.6", + "version": "3.14.7", "source": { "type": "git", "url": "https://github.com/spiral/pagination.git", @@ -456,27 +456,27 @@ }, { "name": "spiral/security", - "version": "3.14.6", + "version": "3.14.7", "source": { "type": "git", "url": "https://github.com/spiral/security.git", - "reference": "757bd652271876ed1d3ab2191aa4a98cab026ceb" + "reference": "7e663f8a0392f3a205a5ed052f7b611f3061fb22" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spiral/security/zipball/757bd652271876ed1d3ab2191aa4a98cab026ceb", - "reference": "757bd652271876ed1d3ab2191aa4a98cab026ceb", + "url": "https://api.github.com/repos/spiral/security/zipball/7e663f8a0392f3a205a5ed052f7b611f3061fb22", + "reference": "7e663f8a0392f3a205a5ed052f7b611f3061fb22", "shasum": "" }, "require": { "php": ">=8.1", - "spiral/core": "^3.14.6", - "spiral/hmvc": "^3.14.6" + "spiral/core": "^3.14.7", + "spiral/hmvc": "^3.14.7" }, "require-dev": { "mockery/mockery": "^1.5", "phpunit/phpunit": "^10.1", - "spiral/console": "^3.14.6", + "spiral/console": "^3.14.7", "vimeo/psalm": "^5.9" }, "type": "library", @@ -524,7 +524,7 @@ "type": "github" } ], - "time": "2024-10-22T21:53:28+00:00" + "time": "2024-11-25T20:20:17+00:00" }, { "name": "symfony/polyfill-php83", @@ -546,8 +546,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -921,16 +921,16 @@ }, { "name": "composer/pcre", - "version": "3.3.1", + "version": "3.3.2", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "63aaeac21d7e775ff9bc9d45021e1745c97521c4" + "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/63aaeac21d7e775ff9bc9d45021e1745c97521c4", - "reference": "63aaeac21d7e775ff9bc9d45021e1745c97521c4", + "url": "https://api.github.com/repos/composer/pcre/zipball/b2bed4734f0cc156ee1fe9c0da2550420d99a21e", + "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e", "shasum": "" }, "require": { @@ -940,8 +940,8 @@ "phpstan/phpstan": "<1.11.10" }, "require-dev": { - "phpstan/phpstan": "^1.11.10", - "phpstan/phpstan-strict-rules": "^1.1", + "phpstan/phpstan": "^1.12 || ^2", + "phpstan/phpstan-strict-rules": "^1 || ^2", "phpunit/phpunit": "^8 || ^9" }, "type": "library", @@ -980,7 +980,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.3.1" + "source": "https://github.com/composer/pcre/tree/3.3.2" }, "funding": [ { @@ -996,7 +996,7 @@ "type": "tidelift" } ], - "time": "2024-08-27T18:44:43+00:00" + "time": "2024-11-12T16:29:46+00:00" }, { "name": "composer/semver", @@ -1184,29 +1184,27 @@ }, { "name": "doctrine/deprecations", - "version": "1.1.3", + "version": "1.1.4", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab" + "reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", - "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/31610dbb31faa98e6b5447b62340826f54fbc4e9", + "reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^9", - "phpstan/phpstan": "1.4.10 || 1.10.15", - "phpstan/phpstan-phpunit": "^1.0", + "doctrine/coding-standard": "^9 || ^12", + "phpstan/phpstan": "1.4.10 || 2.0.3", + "phpstan/phpstan-phpunit": "^1.0 || ^2", "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" + "psr/log": "^1 || ^2 || ^3" }, "suggest": { "psr/log": "Allows logging deprecations via PSR-3 logger implementation" @@ -1214,7 +1212,7 @@ "type": "library", "autoload": { "psr-4": { - "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" + "Doctrine\\Deprecations\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1225,9 +1223,9 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/1.1.3" + "source": "https://github.com/doctrine/deprecations/tree/1.1.4" }, - "time": "2024-01-30T19:34:25+00:00" + "time": "2024-12-07T21:18:45+00:00" }, { "name": "doctrine/instantiator", @@ -1301,49 +1299,55 @@ }, { "name": "ergebnis/composer-normalize", - "version": "2.44.0", + "version": "2.45.0", "source": { "type": "git", "url": "https://github.com/ergebnis/composer-normalize.git", - "reference": "bd0c446426bb837ae0cc9f97948167e658bd11d2" + "reference": "bb82b484bed2556da6311b9eff779fa7e73ce937" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/composer-normalize/zipball/bd0c446426bb837ae0cc9f97948167e658bd11d2", - "reference": "bd0c446426bb837ae0cc9f97948167e658bd11d2", + "url": "https://api.github.com/repos/ergebnis/composer-normalize/zipball/bb82b484bed2556da6311b9eff779fa7e73ce937", + "reference": "bb82b484bed2556da6311b9eff779fa7e73ce937", "shasum": "" }, "require": { "composer-plugin-api": "^2.0.0", - "ergebnis/json": "^1.2.0", - "ergebnis/json-normalizer": "^4.5.0", - "ergebnis/json-printer": "^3.5.0", + "ergebnis/json": "^1.4.0", + "ergebnis/json-normalizer": "^4.8.0", + "ergebnis/json-printer": "^3.7.0", "ext-json": "*", - "justinrainbow/json-schema": "^5.2.12", - "localheinz/diff": "^1.1.1", + "justinrainbow/json-schema": "^5.2.12 || ^6.0.0", + "localheinz/diff": "^1.2.0", "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0" }, "require-dev": { - "composer/composer": "^2.7.7", - "ergebnis/license": "^2.5.0", - "ergebnis/php-cs-fixer-config": "^6.37.0", - "ergebnis/phpunit-slow-test-detector": "^2.16.0", - "fakerphp/faker": "^1.23.1", + "composer/composer": "^2.8.3", + "ergebnis/license": "^2.6.0", + "ergebnis/php-cs-fixer-config": "^6.39.0", + "ergebnis/phpunit-slow-test-detector": "^2.17.0", + "fakerphp/faker": "^1.24.1", "infection/infection": "~0.26.6", + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan": "^1.12.12", + "phpstan/phpstan-deprecation-rules": "^1.2.1", + "phpstan/phpstan-phpunit": "^1.4.1", + "phpstan/phpstan-strict-rules": "^1.6.1", "phpunit/phpunit": "^9.6.20", - "psalm/plugin-phpunit": "~0.19.0", - "rector/rector": "^1.2.5", - "symfony/filesystem": "^5.4.41", - "vimeo/psalm": "^5.26.1" + "rector/rector": "^1.2.10", + "symfony/filesystem": "^5.4.41" }, "type": "composer-plugin", "extra": { "class": "Ergebnis\\Composer\\Normalize\\NormalizePlugin", + "branch-alias": { + "dev-main": "2.44-dev" + }, + "plugin-optional": true, "composer-normalize": { "indent-size": 2, "indent-style": "space" - }, - "plugin-optional": true + } }, "autoload": { "psr-4": { @@ -1374,20 +1378,20 @@ "security": "https://github.com/ergebnis/composer-normalize/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/composer-normalize" }, - "time": "2024-09-30T21:56:22+00:00" + "time": "2024-12-04T18:36:37+00:00" }, { "name": "ergebnis/json", - "version": "1.3.0", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json.git", - "reference": "84051b4e243d6a8e2f8271604b11ffa52d29bc7a" + "reference": "7656ac2aa6c2ca4408f96f599e9a17a22c464f69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json/zipball/84051b4e243d6a8e2f8271604b11ffa52d29bc7a", - "reference": "84051b4e243d6a8e2f8271604b11ffa52d29bc7a", + "url": "https://api.github.com/repos/ergebnis/json/zipball/7656ac2aa6c2ca4408f96f599e9a17a22c464f69", + "reference": "7656ac2aa6c2ca4408f96f599e9a17a22c464f69", "shasum": "" }, "require": { @@ -1395,16 +1399,19 @@ "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0" }, "require-dev": { - "ergebnis/data-provider": "^3.2.0", - "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "^6.36.0", - "ergebnis/phpunit-slow-test-detector": "^2.15.1", - "fakerphp/faker": "^1.23.1", + "ergebnis/data-provider": "^3.3.0", + "ergebnis/license": "^2.5.0", + "ergebnis/php-cs-fixer-config": "^6.37.0", + "ergebnis/phpunit-slow-test-detector": "^2.16.1", + "fakerphp/faker": "^1.24.0", "infection/infection": "~0.26.6", + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan": "^1.12.10", + "phpstan/phpstan-deprecation-rules": "^1.2.1", + "phpstan/phpstan-phpunit": "^1.4.0", + "phpstan/phpstan-strict-rules": "^1.6.1", "phpunit/phpunit": "^9.6.18", - "psalm/plugin-phpunit": "~0.19.0", - "rector/rector": "^1.2.5", - "vimeo/psalm": "^5.26.1" + "rector/rector": "^1.2.10" }, "type": "library", "extra": { @@ -1439,20 +1446,20 @@ "security": "https://github.com/ergebnis/json/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json" }, - "time": "2024-09-27T15:01:05+00:00" + "time": "2024-11-17T11:51:22+00:00" }, { "name": "ergebnis/json-normalizer", - "version": "4.6.0", + "version": "4.8.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-normalizer.git", - "reference": "859fd3cee417f0b10a8e6ffb8dbeb03587106b8b" + "reference": "e3a477b62808f377f4fc69a50f9eb66ec102747b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-normalizer/zipball/859fd3cee417f0b10a8e6ffb8dbeb03587106b8b", - "reference": "859fd3cee417f0b10a8e6ffb8dbeb03587106b8b", + "url": "https://api.github.com/repos/ergebnis/json-normalizer/zipball/e3a477b62808f377f4fc69a50f9eb66ec102747b", + "reference": "e3a477b62808f377f4fc69a50f9eb66ec102747b", "shasum": "" }, "require": { @@ -1461,26 +1468,39 @@ "ergebnis/json-printer": "^3.5.0", "ergebnis/json-schema-validator": "^4.2.0", "ext-json": "*", - "justinrainbow/json-schema": "^5.2.12", + "justinrainbow/json-schema": "^5.2.12 || ^6.0.0", "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0" }, "require-dev": { "composer/semver": "^3.4.3", - "ergebnis/data-provider": "^3.2.0", - "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "^6.36.0", - "ergebnis/phpunit-slow-test-detector": "^2.15.1", - "fakerphp/faker": "^1.23.1", + "ergebnis/composer-normalize": "^2.44.0", + "ergebnis/data-provider": "^3.3.0", + "ergebnis/license": "^2.5.0", + "ergebnis/php-cs-fixer-config": "^6.37.0", + "ergebnis/phpunit-slow-test-detector": "^2.16.1", + "fakerphp/faker": "^1.24.0", "infection/infection": "~0.26.6", + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan": "^1.12.10", + "phpstan/phpstan-deprecation-rules": "^1.2.1", + "phpstan/phpstan-phpunit": "^1.4.0", + "phpstan/phpstan-strict-rules": "^1.6.1", "phpunit/phpunit": "^9.6.19", - "psalm/plugin-phpunit": "~0.19.0", - "rector/rector": "^1.2.5", - "vimeo/psalm": "^5.26.1" + "rector/rector": "^1.2.10" }, "suggest": { "composer/semver": "If you want to use ComposerJsonNormalizer or VersionConstraintNormalizer" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.8-dev" + }, + "composer-normalize": { + "indent-size": 2, + "indent-style": "space" + } + }, "autoload": { "psr-4": { "Ergebnis\\Json\\Normalizer\\": "src/" @@ -1508,20 +1528,20 @@ "security": "https://github.com/ergebnis/json-normalizer/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-normalizer" }, - "time": "2024-09-27T15:11:59+00:00" + "time": "2024-12-04T16:48:55+00:00" }, { "name": "ergebnis/json-pointer", - "version": "3.5.0", + "version": "3.6.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-pointer.git", - "reference": "f6ff71e69305b8ab5e4457e374b35dcd0812609b" + "reference": "4fc85d8edb74466d282119d8d9541ec7cffc0798" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-pointer/zipball/f6ff71e69305b8ab5e4457e374b35dcd0812609b", - "reference": "f6ff71e69305b8ab5e4457e374b35dcd0812609b", + "url": "https://api.github.com/repos/ergebnis/json-pointer/zipball/4fc85d8edb74466d282119d8d9541ec7cffc0798", + "reference": "4fc85d8edb74466d282119d8d9541ec7cffc0798", "shasum": "" }, "require": { @@ -1535,15 +1555,18 @@ "ergebnis/phpunit-slow-test-detector": "^2.15.0", "fakerphp/faker": "^1.23.1", "infection/infection": "~0.26.6", + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan": "^1.12.10", + "phpstan/phpstan-deprecation-rules": "^1.2.1", + "phpstan/phpstan-phpunit": "^1.4.0", + "phpstan/phpstan-strict-rules": "^1.6.1", "phpunit/phpunit": "^9.6.19", - "psalm/plugin-phpunit": "~0.19.0", - "rector/rector": "^1.2.1", - "vimeo/psalm": "^5.25.0" + "rector/rector": "^1.2.10" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.6-dev" }, "composer-normalize": { "indent-size": 2, @@ -1578,20 +1601,20 @@ "security": "https://github.com/ergebnis/json-pointer/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-pointer" }, - "time": "2024-09-27T15:47:15+00:00" + "time": "2024-11-17T12:37:06+00:00" }, { "name": "ergebnis/json-printer", - "version": "3.6.0", + "version": "3.7.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-printer.git", - "reference": "d2e51379dc62d73017a779a78fcfba568de39e0a" + "reference": "ced41fce7854152f0e8f38793c2ffe59513cdd82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-printer/zipball/d2e51379dc62d73017a779a78fcfba568de39e0a", - "reference": "d2e51379dc62d73017a779a78fcfba568de39e0a", + "url": "https://api.github.com/repos/ergebnis/json-printer/zipball/ced41fce7854152f0e8f38793c2ffe59513cdd82", + "reference": "ced41fce7854152f0e8f38793c2ffe59513cdd82", "shasum": "" }, "require": { @@ -1600,16 +1623,19 @@ "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0" }, "require-dev": { - "ergebnis/data-provider": "^3.2.0", - "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "^6.36.0", - "ergebnis/phpunit-slow-test-detector": "^2.15.1", - "fakerphp/faker": "^1.23.1", + "ergebnis/data-provider": "^3.3.0", + "ergebnis/license": "^2.5.0", + "ergebnis/php-cs-fixer-config": "^6.37.0", + "ergebnis/phpunit-slow-test-detector": "^2.16.1", + "fakerphp/faker": "^1.24.0", "infection/infection": "~0.26.6", - "phpunit/phpunit": "^9.6.19", - "psalm/plugin-phpunit": "~0.19.0", - "rector/rector": "~1.2.5", - "vimeo/psalm": "^5.26.1" + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan": "^1.12.10", + "phpstan/phpstan-deprecation-rules": "^1.2.1", + "phpstan/phpstan-phpunit": "^1.4.1", + "phpstan/phpstan-strict-rules": "^1.6.1", + "phpunit/phpunit": "^9.6.21", + "rector/rector": "^1.2.10" }, "type": "library", "autoload": { @@ -1640,43 +1666,50 @@ "security": "https://github.com/ergebnis/json-printer/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-printer" }, - "time": "2024-09-27T15:19:56+00:00" + "time": "2024-11-17T11:20:51+00:00" }, { "name": "ergebnis/json-schema-validator", - "version": "4.3.0", + "version": "4.4.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-schema-validator.git", - "reference": "73f938f8995c6ad1e37d2c1dfeaa8336861f9db8" + "reference": "85f90c81f718aebba1d738800af83eeb447dc7ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-schema-validator/zipball/73f938f8995c6ad1e37d2c1dfeaa8336861f9db8", - "reference": "73f938f8995c6ad1e37d2c1dfeaa8336861f9db8", + "url": "https://api.github.com/repos/ergebnis/json-schema-validator/zipball/85f90c81f718aebba1d738800af83eeb447dc7ec", + "reference": "85f90c81f718aebba1d738800af83eeb447dc7ec", "shasum": "" }, "require": { "ergebnis/json": "^1.2.0", "ergebnis/json-pointer": "^3.4.0", "ext-json": "*", - "justinrainbow/json-schema": "^5.2.12", + "justinrainbow/json-schema": "^5.2.12 || ^6.0.0", "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0" }, "require-dev": { - "ergebnis/data-provider": "^3.2.0", - "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "^6.36.0", - "ergebnis/phpunit-slow-test-detector": "^2.15.1", - "fakerphp/faker": "^1.23.1", + "ergebnis/composer-normalize": "^2.44.0", + "ergebnis/data-provider": "^3.3.0", + "ergebnis/license": "^2.5.0", + "ergebnis/php-cs-fixer-config": "^6.37.0", + "ergebnis/phpunit-slow-test-detector": "^2.16.1", + "fakerphp/faker": "^1.24.0", "infection/infection": "~0.26.6", + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan": "^1.12.10", + "phpstan/phpstan-deprecation-rules": "^1.2.1", + "phpstan/phpstan-phpunit": "^1.4.0", + "phpstan/phpstan-strict-rules": "^1.6.1", "phpunit/phpunit": "^9.6.20", - "psalm/plugin-phpunit": "~0.19.0", - "rector/rector": "^1.2.5", - "vimeo/psalm": "^5.26.1" + "rector/rector": "^1.2.10" }, "type": "library", "extra": { + "branch-alias": { + "dev-main": "4.4-dev" + }, "composer-normalize": { "indent-size": 2, "indent-style": "space" @@ -1710,7 +1743,7 @@ "security": "https://github.com/ergebnis/json-schema-validator/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-schema-validator" }, - "time": "2024-09-27T15:16:33+00:00" + "time": "2024-11-18T06:32:28+00:00" }, { "name": "evenement/evenement", @@ -1923,16 +1956,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.64.0", + "version": "v3.65.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "58dd9c931c785a79739310aef5178928305ffa67" + "reference": "79d4f3e77b250a7d8043d76c6af8f0695e8a469f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/58dd9c931c785a79739310aef5178928305ffa67", - "reference": "58dd9c931c785a79739310aef5178928305ffa67", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/79d4f3e77b250a7d8043d76c6af8f0695e8a469f", + "reference": "79d4f3e77b250a7d8043d76c6af8f0695e8a469f", "shasum": "" }, "require": { @@ -1942,7 +1975,7 @@ "ext-filter": "*", "ext-json": "*", "ext-tokenizer": "*", - "fidry/cpu-core-counter": "^1.0", + "fidry/cpu-core-counter": "^1.2", "php": "^7.4 || ^8.0", "react/child-process": "^0.6.5", "react/event-loop": "^1.0", @@ -1962,18 +1995,18 @@ "symfony/stopwatch": "^5.4 || ^6.0 || ^7.0" }, "require-dev": { - "facile-it/paraunit": "^1.3 || ^2.3", - "infection/infection": "^0.29.5", - "justinrainbow/json-schema": "^5.2", + "facile-it/paraunit": "^1.3.1 || ^2.4", + "infection/infection": "^0.29.8", + "justinrainbow/json-schema": "^5.3 || ^6.0", "keradus/cli-executor": "^2.1", - "mikey179/vfsstream": "^1.6.11", + "mikey179/vfsstream": "^1.6.12", "php-coveralls/php-coveralls": "^2.7", "php-cs-fixer/accessible-object": "^1.1", "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.5", "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.5", - "phpunit/phpunit": "^9.6.19 || ^10.5.21 || ^11.2", - "symfony/var-dumper": "^5.4 || ^6.0 || ^7.0", - "symfony/yaml": "^5.4 || ^6.0 || ^7.0" + "phpunit/phpunit": "^9.6.21 || ^10.5.38 || ^11.4.3", + "symfony/var-dumper": "^5.4.47 || ^6.4.15 || ^7.1.8", + "symfony/yaml": "^5.4.45 || ^6.4.13 || ^7.1.6" }, "suggest": { "ext-dom": "For handling output formats in XML", @@ -2014,7 +2047,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.64.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.65.0" }, "funding": [ { @@ -2022,7 +2055,7 @@ "type": "github" } ], - "time": "2024-08-30T23:09:38+00:00" + "time": "2024-11-25T00:39:24+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -2445,23 +2478,23 @@ }, { "name": "localheinz/diff", - "version": "1.1.1", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/localheinz/diff.git", - "reference": "851bb20ea8358c86f677f5f111c4ab031b1c764c" + "reference": "ec413943c2b518464865673fd5b38f7df867a010" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/localheinz/diff/zipball/851bb20ea8358c86f677f5f111c4ab031b1c764c", - "reference": "851bb20ea8358c86f677f5f111c4ab031b1c764c", + "url": "https://api.github.com/repos/localheinz/diff/zipball/ec413943c2b518464865673fd5b38f7df867a010", + "reference": "ec413943c2b518464865673fd5b38f7df867a010", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0" }, "require-dev": { - "phpunit/phpunit": "^7.5 || ^8.0", + "phpunit/phpunit": "^7.5.0 || ^8.5.23", "symfony/process": "^4.2 || ^5" }, "type": "library", @@ -2493,15 +2526,10 @@ "unified diff" ], "support": { - "source": "https://github.com/localheinz/diff/tree/main" + "issues": "https://github.com/localheinz/diff/issues", + "source": "https://github.com/localheinz/diff/tree/1.2.0" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-07-06T04:49:32+00:00" + "time": "2024-12-04T14:16:01+00:00" }, { "name": "mockery/mockery", @@ -2588,16 +2616,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.12.0", + "version": "1.12.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c" + "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", - "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845", + "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845", "shasum": "" }, "require": { @@ -2636,7 +2664,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0" + "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1" }, "funding": [ { @@ -2644,7 +2672,7 @@ "type": "tidelift" } ], - "time": "2024-06-12T14:39:25+00:00" + "time": "2024-11-08T17:47:46+00:00" }, { "name": "netresearch/jsonmapper", @@ -3004,16 +3032,16 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "5.4.1", + "version": "5.6.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c" + "reference": "e5e784149a09bd69d9a5e3b01c5cbd2e2bd653d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c", - "reference": "9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/e5e784149a09bd69d9a5e3b01c5cbd2e2bd653d8", + "reference": "e5e784149a09bd69d9a5e3b01c5cbd2e2bd653d8", "shasum": "" }, "require": { @@ -3022,17 +3050,17 @@ "php": "^7.4 || ^8.0", "phpdocumentor/reflection-common": "^2.2", "phpdocumentor/type-resolver": "^1.7", - "phpstan/phpdoc-parser": "^1.7", + "phpstan/phpdoc-parser": "^1.7|^2.0", "webmozart/assert": "^1.9.1" }, "require-dev": { - "mockery/mockery": "~1.3.5", + "mockery/mockery": "~1.3.5 || ~1.6.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^1.8", "phpstan/phpstan-mockery": "^1.1", "phpstan/phpstan-webmozart-assert": "^1.2", "phpunit/phpunit": "^9.5", - "vimeo/psalm": "^5.13" + "psalm/phar": "^5.26" }, "type": "library", "extra": { @@ -3062,29 +3090,29 @@ "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "support": { "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.4.1" + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.6.1" }, - "time": "2024-05-21T05:55:05+00:00" + "time": "2024-12-07T09:39:29+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "1.8.2", + "version": "1.10.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "153ae662783729388a584b4361f2545e4d841e3c" + "reference": "679e3ce485b99e84c775d28e2e96fade9a7fb50a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/153ae662783729388a584b4361f2545e4d841e3c", - "reference": "153ae662783729388a584b4361f2545e4d841e3c", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/679e3ce485b99e84c775d28e2e96fade9a7fb50a", + "reference": "679e3ce485b99e84c775d28e2e96fade9a7fb50a", "shasum": "" }, "require": { "doctrine/deprecations": "^1.0", "php": "^7.3 || ^8.0", "phpdocumentor/reflection-common": "^2.0", - "phpstan/phpdoc-parser": "^1.13" + "phpstan/phpdoc-parser": "^1.18|^2.0" }, "require-dev": { "ext-tokenizer": "*", @@ -3120,36 +3148,36 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.8.2" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.10.0" }, - "time": "2024-02-23T11:10:43+00:00" + "time": "2024-11-09T15:12:26+00:00" }, { "name": "phpstan/phpdoc-parser", - "version": "1.33.0", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140" + "reference": "c00d78fb6b29658347f9d37ebe104bffadf36299" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/82a311fd3690fb2bf7b64d5c98f912b3dd746140", - "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/c00d78fb6b29658347f9d37ebe104bffadf36299", + "reference": "c00d78fb6b29658347f9d37ebe104bffadf36299", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": "^7.4 || ^8.0" }, "require-dev": { "doctrine/annotations": "^2.0", - "nikic/php-parser": "^4.15", + "nikic/php-parser": "^5.3.0", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.5", - "phpstan/phpstan-phpunit": "^1.1", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^9.5", + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpstan/phpstan-strict-rules": "^2.0", + "phpunit/phpunit": "^9.6", "symfony/process": "^5.2" }, "type": "library", @@ -3167,9 +3195,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.33.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/2.0.0" }, - "time": "2024-10-13T11:25:22+00:00" + "time": "2024-10-13T11:29:49+00:00" }, { "name": "phpunit/php-code-coverage", @@ -3492,16 +3520,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.6.21", + "version": "9.6.22", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "de6abf3b6f8dd955fac3caad3af7a9504e8c2ffa" + "reference": "f80235cb4d3caa59ae09be3adf1ded27521d1a9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/de6abf3b6f8dd955fac3caad3af7a9504e8c2ffa", - "reference": "de6abf3b6f8dd955fac3caad3af7a9504e8c2ffa", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f80235cb4d3caa59ae09be3adf1ded27521d1a9c", + "reference": "f80235cb4d3caa59ae09be3adf1ded27521d1a9c", "shasum": "" }, "require": { @@ -3512,7 +3540,7 @@ "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.12.0", + "myclabs/deep-copy": "^1.12.1", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=7.3", @@ -3575,7 +3603,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.21" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.22" }, "funding": [ { @@ -3591,7 +3619,7 @@ "type": "tidelift" } ], - "time": "2024-09-19T10:50:18+00:00" + "time": "2024-12-05T13:48:26+00:00" }, { "name": "react/cache", @@ -4189,16 +4217,16 @@ }, { "name": "sanmai/pipeline", - "version": "v6.11", + "version": "6.12", "source": { "type": "git", "url": "https://github.com/sanmai/pipeline.git", - "reference": "a5fa2a6c6ca93efa37e7c24aab72f47448a6b110" + "reference": "ad7dbc3f773eeafb90d5459522fbd8f188532e25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sanmai/pipeline/zipball/a5fa2a6c6ca93efa37e7c24aab72f47448a6b110", - "reference": "a5fa2a6c6ca93efa37e7c24aab72f47448a6b110", + "url": "https://api.github.com/repos/sanmai/pipeline/zipball/ad7dbc3f773eeafb90d5459522fbd8f188532e25", + "reference": "ad7dbc3f773eeafb90d5459522fbd8f188532e25", "shasum": "" }, "require": { @@ -4242,7 +4270,7 @@ "description": "General-purpose collections pipeline", "support": { "issues": "https://github.com/sanmai/pipeline/issues", - "source": "https://github.com/sanmai/pipeline/tree/v6.11" + "source": "https://github.com/sanmai/pipeline/tree/6.12" }, "funding": [ { @@ -4250,7 +4278,7 @@ "type": "github" } ], - "time": "2024-06-15T03:11:19+00:00" + "time": "2024-10-17T02:22:57+00:00" }, { "name": "sebastian/cli-parser", @@ -5285,16 +5313,16 @@ }, { "name": "spiral/code-style", - "version": "v2.2.0", + "version": "v2.2.1", "source": { "type": "git", "url": "https://github.com/spiral/code-style.git", - "reference": "672d982dc52191616aa167b75414816922935604" + "reference": "e1372d893e3ad8d400733620c99af3418490bed0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spiral/code-style/zipball/672d982dc52191616aa167b75414816922935604", - "reference": "672d982dc52191616aa167b75414816922935604", + "url": "https://api.github.com/repos/spiral/code-style/zipball/e1372d893e3ad8d400733620c99af3418490bed0", + "reference": "e1372d893e3ad8d400733620c99af3418490bed0", "shasum": "" }, "require": { @@ -5329,7 +5357,7 @@ "description": "Code style and static analysis tools rulesets collection", "homepage": "https://github.com/spiral/code-style", "support": { - "source": "https://github.com/spiral/code-style/tree/v2.2.0" + "source": "https://github.com/spiral/code-style/tree/v2.2.1" }, "funding": [ { @@ -5337,26 +5365,26 @@ "type": "github" } ], - "time": "2024-10-23T14:13:49+00:00" + "time": "2024-12-07T20:55:03+00:00" }, { "name": "spiral/logger", - "version": "3.14.6", + "version": "3.14.7", "source": { "type": "git", "url": "https://github.com/spiral/logger.git", - "reference": "e39592fa4ee5f5eaaa5b5a75d85ed30d424cbef5" + "reference": "0d9a909647508f763cdafa7d5690305ffda77697" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spiral/logger/zipball/e39592fa4ee5f5eaaa5b5a75d85ed30d424cbef5", - "reference": "e39592fa4ee5f5eaaa5b5a75d85ed30d424cbef5", + "url": "https://api.github.com/repos/spiral/logger/zipball/0d9a909647508f763cdafa7d5690305ffda77697", + "reference": "0d9a909647508f763cdafa7d5690305ffda77697", "shasum": "" }, "require": { "php": ">=8.1", "psr/log": "1 - 3", - "spiral/core": "^3.14.6" + "spiral/core": "^3.14.7" }, "require-dev": { "mockery/mockery": "^1.5", @@ -5408,35 +5436,35 @@ "type": "github" } ], - "time": "2024-10-22T21:48:56+00:00" + "time": "2024-11-25T20:19:44+00:00" }, { "name": "spiral/tokenizer", - "version": "3.14.6", + "version": "3.14.7", "source": { "type": "git", "url": "https://github.com/spiral/tokenizer.git", - "reference": "fd895a156fbc77202e548429de6db80d86810e9b" + "reference": "9552756ba70cabbe3478bd66eb22e6bc55c3a3c3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spiral/tokenizer/zipball/fd895a156fbc77202e548429de6db80d86810e9b", - "reference": "fd895a156fbc77202e548429de6db80d86810e9b", + "url": "https://api.github.com/repos/spiral/tokenizer/zipball/9552756ba70cabbe3478bd66eb22e6bc55c3a3c3", + "reference": "9552756ba70cabbe3478bd66eb22e6bc55c3a3c3", "shasum": "" }, "require": { "ext-tokenizer": "*", "php": ">=8.1", - "spiral/core": "^3.14.6", - "spiral/logger": "^3.14.6", + "spiral/core": "^3.14.7", + "spiral/logger": "^3.14.7", "symfony/finder": "^5.3.7 || ^6.0 || ^7.0" }, "require-dev": { "mockery/mockery": "^1.6", "phpunit/phpunit": "^10.1", "spiral/attributes": "^2.8|^3.0", - "spiral/boot": "^3.14.6", - "spiral/files": "^3.14.6", + "spiral/boot": "^3.14.7", + "spiral/files": "^3.14.7", "vimeo/psalm": "^5.9" }, "type": "library", @@ -5484,20 +5512,20 @@ "type": "github" } ], - "time": "2024-10-22T21:54:31+00:00" + "time": "2024-11-25T20:20:26+00:00" }, { "name": "symfony/console", - "version": "v6.4.12", + "version": "v6.4.15", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "72d080eb9edf80e36c19be61f72c98ed8273b765" + "reference": "f1fc6f47283e27336e7cebb9e8946c8de7bff9bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/72d080eb9edf80e36c19be61f72c98ed8273b765", - "reference": "72d080eb9edf80e36c19be61f72c98ed8273b765", + "url": "https://api.github.com/repos/symfony/console/zipball/f1fc6f47283e27336e7cebb9e8946c8de7bff9bd", + "reference": "f1fc6f47283e27336e7cebb9e8946c8de7bff9bd", "shasum": "" }, "require": { @@ -5562,7 +5590,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.12" + "source": "https://github.com/symfony/console/tree/v6.4.15" }, "funding": [ { @@ -5578,20 +5606,20 @@ "type": "tidelift" } ], - "time": "2024-09-20T08:15:52+00:00" + "time": "2024-11-06T14:19:14+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", "shasum": "" }, "require": { @@ -5629,7 +5657,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1" }, "funding": [ { @@ -5645,20 +5673,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v7.1.1", + "version": "v7.2.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7" + "reference": "910c5db85a5356d0fea57680defec4e99eb9c8c1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7", - "reference": "9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/910c5db85a5356d0fea57680defec4e99eb9c8c1", + "reference": "910c5db85a5356d0fea57680defec4e99eb9c8c1", "shasum": "" }, "require": { @@ -5709,7 +5737,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v7.1.1" + "source": "https://github.com/symfony/event-dispatcher/tree/v7.2.0" }, "funding": [ { @@ -5725,20 +5753,20 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:57:53+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50" + "reference": "7642f5e970b672283b7823222ae8ef8bbc160b9f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50", - "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7642f5e970b672283b7823222ae8ef8bbc160b9f", + "reference": "7642f5e970b672283b7823222ae8ef8bbc160b9f", "shasum": "" }, "require": { @@ -5785,7 +5813,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.1" }, "funding": [ { @@ -5801,20 +5829,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/filesystem", - "version": "v6.4.12", + "version": "v6.4.13", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "f810e3cbdf7fdc35983968523d09f349fa9ada12" + "reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/f810e3cbdf7fdc35983968523d09f349fa9ada12", - "reference": "f810e3cbdf7fdc35983968523d09f349fa9ada12", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/4856c9cf585d5a0313d8d35afd681a526f038dd3", + "reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3", "shasum": "" }, "require": { @@ -5851,7 +5879,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.4.12" + "source": "https://github.com/symfony/filesystem/tree/v6.4.13" }, "funding": [ { @@ -5867,20 +5895,20 @@ "type": "tidelift" } ], - "time": "2024-09-16T16:01:33+00:00" + "time": "2024-10-25T15:07:50+00:00" }, { "name": "symfony/finder", - "version": "v6.4.11", + "version": "v6.4.13", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "d7eb6daf8cd7e9ac4976e9576b32042ef7253453" + "reference": "daea9eca0b08d0ed1dc9ab702a46128fd1be4958" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/d7eb6daf8cd7e9ac4976e9576b32042ef7253453", - "reference": "d7eb6daf8cd7e9ac4976e9576b32042ef7253453", + "url": "https://api.github.com/repos/symfony/finder/zipball/daea9eca0b08d0ed1dc9ab702a46128fd1be4958", + "reference": "daea9eca0b08d0ed1dc9ab702a46128fd1be4958", "shasum": "" }, "require": { @@ -5915,7 +5943,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.4.11" + "source": "https://github.com/symfony/finder/tree/v6.4.13" }, "funding": [ { @@ -5931,20 +5959,20 @@ "type": "tidelift" } ], - "time": "2024-08-13T14:27:37+00:00" + "time": "2024-10-01T08:30:56+00:00" }, { "name": "symfony/options-resolver", - "version": "v7.1.1", + "version": "v7.2.0", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "47aa818121ed3950acd2b58d1d37d08a94f9bf55" + "reference": "7da8fbac9dcfef75ffc212235d76b2754ce0cf50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/47aa818121ed3950acd2b58d1d37d08a94f9bf55", - "reference": "47aa818121ed3950acd2b58d1d37d08a94f9bf55", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/7da8fbac9dcfef75ffc212235d76b2754ce0cf50", + "reference": "7da8fbac9dcfef75ffc212235d76b2754ce0cf50", "shasum": "" }, "require": { @@ -5982,7 +6010,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v7.1.1" + "source": "https://github.com/symfony/options-resolver/tree/v7.2.0" }, "funding": [ { @@ -5998,7 +6026,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:57:53+00:00" + "time": "2024-11-20T11:17:29+00:00" }, { "name": "symfony/polyfill-ctype", @@ -6026,8 +6054,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -6102,8 +6130,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -6180,8 +6208,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -6338,8 +6366,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -6418,8 +6446,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -6476,16 +6504,16 @@ }, { "name": "symfony/process", - "version": "v6.4.12", + "version": "v6.4.15", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "3f94e5f13ff58df371a7ead461b6e8068900fbb3" + "reference": "3cb242f059c14ae08591c5c4087d1fe443564392" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/3f94e5f13ff58df371a7ead461b6e8068900fbb3", - "reference": "3f94e5f13ff58df371a7ead461b6e8068900fbb3", + "url": "https://api.github.com/repos/symfony/process/zipball/3cb242f059c14ae08591c5c4087d1fe443564392", + "reference": "3cb242f059c14ae08591c5c4087d1fe443564392", "shasum": "" }, "require": { @@ -6517,7 +6545,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.12" + "source": "https://github.com/symfony/process/tree/v6.4.15" }, "funding": [ { @@ -6533,20 +6561,20 @@ "type": "tidelift" } ], - "time": "2024-09-17T12:47:12+00:00" + "time": "2024-11-06T14:19:14+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e53260aabf78fb3d63f8d79d69ece59f80d5eda0", + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0", "shasum": "" }, "require": { @@ -6600,7 +6628,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.5.1" }, "funding": [ { @@ -6616,20 +6644,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/stopwatch", - "version": "v7.1.1", + "version": "v7.2.0", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "5b75bb1ac2ba1b9d05c47fc4b3046a625377d23d" + "reference": "696f418b0d722a4225e1c3d95489d262971ca924" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/5b75bb1ac2ba1b9d05c47fc4b3046a625377d23d", - "reference": "5b75bb1ac2ba1b9d05c47fc4b3046a625377d23d", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/696f418b0d722a4225e1c3d95489d262971ca924", + "reference": "696f418b0d722a4225e1c3d95489d262971ca924", "shasum": "" }, "require": { @@ -6662,7 +6690,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v7.1.1" + "source": "https://github.com/symfony/stopwatch/tree/v7.2.0" }, "funding": [ { @@ -6678,20 +6706,20 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:57:53+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/string", - "version": "v7.1.5", + "version": "v7.2.0", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "d66f9c343fa894ec2037cc928381df90a7ad4306" + "reference": "446e0d146f991dde3e73f45f2c97a9faad773c82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/d66f9c343fa894ec2037cc928381df90a7ad4306", - "reference": "d66f9c343fa894ec2037cc928381df90a7ad4306", + "url": "https://api.github.com/repos/symfony/string/zipball/446e0d146f991dde3e73f45f2c97a9faad773c82", + "reference": "446e0d146f991dde3e73f45f2c97a9faad773c82", "shasum": "" }, "require": { @@ -6749,7 +6777,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.1.5" + "source": "https://github.com/symfony/string/tree/v7.2.0" }, "funding": [ { @@ -6765,7 +6793,7 @@ "type": "tidelift" } ], - "time": "2024-09-20T08:28:38+00:00" + "time": "2024-11-13T13:31:26+00:00" }, { "name": "thecodingmachine/safe", @@ -7031,11 +7059,11 @@ "type": "project", "extra": { "branch-alias": { - "dev-master": "5.x-dev", - "dev-4.x": "4.x-dev", - "dev-3.x": "3.x-dev", + "dev-1.x": "1.x-dev", "dev-2.x": "2.x-dev", - "dev-1.x": "1.x-dev" + "dev-3.x": "3.x-dev", + "dev-4.x": "4.x-dev", + "dev-master": "5.x-dev" } }, "autoload": { diff --git a/src/Database.php b/src/Database.php index 91c1e7b7..cb7ec1be 100644 --- a/src/Database.php +++ b/src/Database.php @@ -132,21 +132,21 @@ public function query(string $query, array $parameters = []): StatementInterface ->query($query, $parameters); } - public function insert(string $table = null): InsertQuery + public function insert(?string $table = null): InsertQuery { return $this->getDriver(self::WRITE) ->getQueryBuilder() ->insertQuery($this->prefix, $table); } - public function update(string $table = null, array $values = [], array $where = []): UpdateQuery + public function update(?string $table = null, array $values = [], array $where = []): UpdateQuery { return $this->getDriver(self::WRITE) ->getQueryBuilder() ->updateQuery($this->prefix, $table, $where, $values); } - public function delete(string $table = null, array $where = []): DeleteQuery + public function delete(?string $table = null, array $where = []): DeleteQuery { return $this->getDriver(self::WRITE) ->getQueryBuilder() @@ -168,7 +168,7 @@ public function select(mixed $columns = '*'): SelectQuery public function transaction( callable $callback, - string $isolationLevel = null, + ?string $isolationLevel = null, ): mixed { $this->begin($isolationLevel); @@ -183,7 +183,7 @@ public function transaction( } } - public function begin(string $isolationLevel = null): bool + public function begin(?string $isolationLevel = null): bool { return $this->getDriver(self::WRITE)->beginTransaction($isolationLevel); } diff --git a/src/DatabaseInterface.php b/src/DatabaseInterface.php index 9c85add0..421826a7 100644 --- a/src/DatabaseInterface.php +++ b/src/DatabaseInterface.php @@ -142,14 +142,14 @@ public function select(mixed $columns = '*'): SelectQuery; * @throws \Throwable * */ - public function transaction(callable $callback, string $isolationLevel = null): mixed; + public function transaction(callable $callback, ?string $isolationLevel = null): mixed; /** * Start database transaction. * * @link http://en.wikipedia.org/wiki/Database_transaction */ - public function begin(string $isolationLevel = null): bool; + public function begin(?string $isolationLevel = null): bool; /** * Commit the active database transaction. diff --git a/src/DatabaseManager.php b/src/DatabaseManager.php index f4b1296f..2e9077fd 100644 --- a/src/DatabaseManager.php +++ b/src/DatabaseManager.php @@ -87,7 +87,7 @@ public function getDatabases(): array * * @throws DBALException */ - public function database(string $database = null): DatabaseInterface + public function database(?string $database = null): DatabaseInterface { if ($database === null) { $database = $this->config->getDefaultDatabase(); diff --git a/src/DatabaseProviderInterface.php b/src/DatabaseProviderInterface.php index 36583e9c..890ce249 100644 --- a/src/DatabaseProviderInterface.php +++ b/src/DatabaseProviderInterface.php @@ -21,5 +21,5 @@ interface DatabaseProviderInterface * @throws DBALException * */ - public function database(string $database = null): DatabaseInterface; + public function database(?string $database = null): DatabaseInterface; } diff --git a/src/Driver/Compiler.php b/src/Driver/Compiler.php index b3ea1693..2a664ec5 100644 --- a/src/Driver/Compiler.php +++ b/src/Driver/Compiler.php @@ -329,8 +329,8 @@ protected function groupBy(QueryParameters $params, Quoter $q, array $groupBy): abstract protected function limit( QueryParameters $params, Quoter $q, - int $limit = null, - int $offset = null, + ?int $limit = null, + ?int $offset = null, ): string; protected function updateQuery( diff --git a/src/Driver/Driver.php b/src/Driver/Driver.php index 7782d5b9..6e86a839 100644 --- a/src/Driver/Driver.php +++ b/src/Driver/Driver.php @@ -235,7 +235,7 @@ public function execute(string $query, array $parameters = []): int * * @return mixed */ - public function lastInsertID(string $sequence = null) + public function lastInsertID(?string $sequence = null) { $result = $this->getPDO()->lastInsertId(); $this->logger?->debug("Insert ID: {$result}"); @@ -256,7 +256,7 @@ public function getTransactionLevel(): int * @link http://en.wikipedia.org/wiki/Isolation_(database_systems) * */ - public function beginTransaction(string $isolationLevel = null): bool + public function beginTransaction(?string $isolationLevel = null): bool { ++$this->transactionLevel; diff --git a/src/Driver/DriverInterface.php b/src/Driver/DriverInterface.php index 989ad751..e8b960bb 100644 --- a/src/Driver/DriverInterface.php +++ b/src/Driver/DriverInterface.php @@ -176,7 +176,7 @@ public function execute(string $query, array $parameters = []): int; * * @return mixed */ - public function lastInsertID(string $sequence = null); + public function lastInsertID(?string $sequence = null); /** * Start SQL transaction with specified isolation level (not all DBMS support it). Nested @@ -187,7 +187,7 @@ public function lastInsertID(string $sequence = null); * * @return bool True of success. */ - public function beginTransaction(string $isolationLevel = null): bool; + public function beginTransaction(?string $isolationLevel = null): bool; /** * Commit the active database transaction. diff --git a/src/Driver/HandlerInterface.php b/src/Driver/HandlerInterface.php index ed1cf7cd..6d33d19a 100644 --- a/src/Driver/HandlerInterface.php +++ b/src/Driver/HandlerInterface.php @@ -78,7 +78,7 @@ public function hasTable(string $table): bool; * @throws HandlerException * */ - public function getSchema(string $table, string $prefix = null): AbstractTable; + public function getSchema(string $table, ?string $prefix = null): AbstractTable; /** * Create table based on a given schema. diff --git a/src/Driver/MySQL/MySQLCompiler.php b/src/Driver/MySQL/MySQLCompiler.php index 51cb1082..4789d9f4 100644 --- a/src/Driver/MySQL/MySQLCompiler.php +++ b/src/Driver/MySQL/MySQLCompiler.php @@ -41,7 +41,7 @@ protected function insertQuery(QueryParameters $params, Quoter $q, array $tokens * * @link http://dev.mysql.com/doc/refman/5.0/en/select.html#id4651990 */ - protected function limit(QueryParameters $params, Quoter $q, int $limit = null, int $offset = null): string + protected function limit(QueryParameters $params, Quoter $q, ?int $limit = null, ?int $offset = null): string { if ($limit === null && $offset === null) { return ''; diff --git a/src/Driver/MySQL/MySQLHandler.php b/src/Driver/MySQL/MySQLHandler.php index 370a0aa7..f9b1169d 100644 --- a/src/Driver/MySQL/MySQLHandler.php +++ b/src/Driver/MySQL/MySQLHandler.php @@ -25,7 +25,7 @@ class MySQLHandler extends Handler /** * @psalm-param non-empty-string $table */ - public function getSchema(string $table, string $prefix = null): AbstractTable + public function getSchema(string $table, ?string $prefix = null): AbstractTable { return new MySQLTable($this->driver, $table, $prefix ?? ''); } diff --git a/src/Driver/MySQL/Schema/MySQLColumn.php b/src/Driver/MySQL/Schema/MySQLColumn.php index e4dd7234..bc530fb2 100644 --- a/src/Driver/MySQL/Schema/MySQLColumn.php +++ b/src/Driver/MySQL/Schema/MySQLColumn.php @@ -180,7 +180,7 @@ class MySQLColumn extends AbstractColumn /** * @psalm-param non-empty-string $table */ - public static function createInstance(string $table, array $schema, \DateTimeZone $timezone = null): self + public static function createInstance(string $table, array $schema, ?\DateTimeZone $timezone = null): self { $column = new self($table, $schema['Field'], $timezone); diff --git a/src/Driver/PDOStatementInterface.php b/src/Driver/PDOStatementInterface.php index 5595ba9f..540a5f23 100644 --- a/src/Driver/PDOStatementInterface.php +++ b/src/Driver/PDOStatementInterface.php @@ -34,7 +34,7 @@ public function bindParam( int|string $param, mixed &$var, int $type = \PDO::PARAM_STR, - int $maxLength = null, + ?int $maxLength = null, mixed $driverOptions = null, ): bool; @@ -42,7 +42,7 @@ public function bindColumn( int|string $column, mixed &$var, int $type = \PDO::PARAM_STR, - int $maxLength = null, + ?int $maxLength = null, mixed $driverOptions = null, ): bool; diff --git a/src/Driver/Postgres/PostgresCompiler.php b/src/Driver/Postgres/PostgresCompiler.php index cdc5a390..bbebbaac 100644 --- a/src/Driver/Postgres/PostgresCompiler.php +++ b/src/Driver/Postgres/PostgresCompiler.php @@ -69,7 +69,7 @@ protected function distinct(QueryParameters $params, Quoter $q, string|bool|arra return 'DISTINCT'; } - protected function limit(QueryParameters $params, Quoter $q, int $limit = null, int $offset = null): string + protected function limit(QueryParameters $params, Quoter $q, ?int $limit = null, ?int $offset = null): string { if ($limit === null && $offset === null) { return ''; diff --git a/src/Driver/Postgres/PostgresDriver.php b/src/Driver/Postgres/PostgresDriver.php index d6e64499..7adee3ad 100644 --- a/src/Driver/Postgres/PostgresDriver.php +++ b/src/Driver/Postgres/PostgresDriver.php @@ -154,7 +154,7 @@ public function resetPrimaryKeys(): void * * */ - public function beginTransaction(string $isolationLevel = null): bool + public function beginTransaction(?string $isolationLevel = null): bool { ++$this->transactionLevel; diff --git a/src/Driver/Postgres/PostgresHandler.php b/src/Driver/Postgres/PostgresHandler.php index 75f0f309..8015269a 100644 --- a/src/Driver/Postgres/PostgresHandler.php +++ b/src/Driver/Postgres/PostgresHandler.php @@ -27,7 +27,7 @@ class PostgresHandler extends Handler /** * @psalm-param non-empty-string $table */ - public function getSchema(string $table, string $prefix = null): AbstractTable + public function getSchema(string $table, ?string $prefix = null): AbstractTable { return new PostgresTable($this->driver, $table, $prefix ?? ''); } diff --git a/src/Driver/Postgres/Query/PostgresInsertQuery.php b/src/Driver/Postgres/Query/PostgresInsertQuery.php index c997d6d1..d72ac7a6 100644 --- a/src/Driver/Postgres/Query/PostgresInsertQuery.php +++ b/src/Driver/Postgres/Query/PostgresInsertQuery.php @@ -36,7 +36,7 @@ class PostgresInsertQuery extends InsertQuery implements ReturningInterface /** @var list */ protected array $returningColumns = []; - public function withDriver(DriverInterface $driver, string $prefix = null): QueryInterface + public function withDriver(DriverInterface $driver, ?string $prefix = null): QueryInterface { $driver instanceof PostgresDriver or throw new BuilderException( 'Postgres InsertQuery can be used only with Postgres driver', diff --git a/src/Driver/ReadonlyHandler.php b/src/Driver/ReadonlyHandler.php index 7a16c2fe..490f166a 100644 --- a/src/Driver/ReadonlyHandler.php +++ b/src/Driver/ReadonlyHandler.php @@ -46,7 +46,7 @@ public function hasTable(string $table): bool /** * @psalm-param non-empty-string $table */ - public function getSchema(string $table, string $prefix = null): AbstractTable + public function getSchema(string $table, ?string $prefix = null): AbstractTable { return $this->parent->getSchema($table, $prefix); } diff --git a/src/Driver/SQLServer/Query/SQLServerInsertQuery.php b/src/Driver/SQLServer/Query/SQLServerInsertQuery.php index 04256fe8..28fbfb54 100644 --- a/src/Driver/SQLServer/Query/SQLServerInsertQuery.php +++ b/src/Driver/SQLServer/Query/SQLServerInsertQuery.php @@ -34,7 +34,7 @@ class SQLServerInsertQuery extends InsertQuery implements ReturningInterface */ protected array $returningColumns = []; - public function withDriver(DriverInterface $driver, string $prefix = null): QueryInterface + public function withDriver(DriverInterface $driver, ?string $prefix = null): QueryInterface { $driver instanceof SQLServerDriver or throw new BuilderException( 'SQLServer InsertQuery can be used only with SQLServer driver', diff --git a/src/Driver/SQLServer/SQLServerCompiler.php b/src/Driver/SQLServer/SQLServerCompiler.php index 2e7ca1b0..c7819b63 100644 --- a/src/Driver/SQLServer/SQLServerCompiler.php +++ b/src/Driver/SQLServer/SQLServerCompiler.php @@ -121,9 +121,9 @@ protected function selectQuery(QueryParameters $params, Quoter $q, array $tokens protected function limit( QueryParameters $params, Quoter $q, - int $limit = null, - int $offset = null, - string $rowNumber = null, + ?int $limit = null, + ?int $offset = null, + ?string $rowNumber = null, ): string { if ($limit === null && $offset === null) { return ''; diff --git a/src/Driver/SQLServer/SQLServerHandler.php b/src/Driver/SQLServer/SQLServerHandler.php index 069784bd..8b81e11e 100644 --- a/src/Driver/SQLServer/SQLServerHandler.php +++ b/src/Driver/SQLServer/SQLServerHandler.php @@ -24,7 +24,7 @@ class SQLServerHandler extends Handler /** * @psalm-param non-empty-string $table */ - public function getSchema(string $table, string $prefix = null): AbstractTable + public function getSchema(string $table, ?string $prefix = null): AbstractTable { return new SQLServerTable($this->driver, $table, $prefix ?? ''); } diff --git a/src/Driver/SQLite/SQLiteCompiler.php b/src/Driver/SQLite/SQLiteCompiler.php index fedc734a..2ecd5ecb 100644 --- a/src/Driver/SQLite/SQLiteCompiler.php +++ b/src/Driver/SQLite/SQLiteCompiler.php @@ -28,7 +28,7 @@ class SQLiteCompiler extends Compiler implements CachingCompilerInterface * * @link http://stackoverflow.com/questions/10491492/sqllite-with-skip-offset-only-not-limit */ - protected function limit(QueryParameters $params, Quoter $q, int $limit = null, int $offset = null): string + protected function limit(QueryParameters $params, Quoter $q, ?int $limit = null, ?int $offset = null): string { if ($limit === null && $offset === null) { return ''; diff --git a/src/Driver/SQLite/SQLiteHandler.php b/src/Driver/SQLite/SQLiteHandler.php index ca10b799..6fdb396a 100644 --- a/src/Driver/SQLite/SQLiteHandler.php +++ b/src/Driver/SQLite/SQLiteHandler.php @@ -56,7 +56,7 @@ public function hasTable(string $table): bool return (bool) $this->driver->query($query, [$table])->fetchColumn(); } - public function getSchema(string $table, string $prefix = null): AbstractTable + public function getSchema(string $table, ?string $prefix = null): AbstractTable { return new SQLiteTable($this->driver, $table, $prefix ?? ''); } diff --git a/src/Driver/SQLite/Schema/SQLiteColumn.php b/src/Driver/SQLite/Schema/SQLiteColumn.php index ed2e70ce..25eec9e5 100644 --- a/src/Driver/SQLite/Schema/SQLiteColumn.php +++ b/src/Driver/SQLite/Schema/SQLiteColumn.php @@ -126,7 +126,7 @@ class SQLiteColumn extends AbstractColumn public static function createInstance( string $table, array $schema, - \DateTimeZone $timezone = null, + ?\DateTimeZone $timezone = null, ): self { $column = new self($table, $schema['name'], $timezone); diff --git a/src/Driver/Statement.php b/src/Driver/Statement.php index fa254117..34411fa6 100644 --- a/src/Driver/Statement.php +++ b/src/Driver/Statement.php @@ -43,7 +43,7 @@ public function fetch(int $mode = self::FETCH_ASSOC): mixed return $this->pdoStatement->fetch($mode); } - public function fetchColumn(int $columnNumber = null): mixed + public function fetchColumn(?int $columnNumber = null): mixed { return $columnNumber === null ? $this->pdoStatement->fetchColumn() diff --git a/src/Exception/ReadonlyConnectionException.php b/src/Exception/ReadonlyConnectionException.php index b03e07a7..9fb26a1b 100644 --- a/src/Exception/ReadonlyConnectionException.php +++ b/src/Exception/ReadonlyConnectionException.php @@ -19,7 +19,7 @@ class ReadonlyConnectionException extends DBALException * * @return static */ - public static function onWriteStatementExecution(int $code = 0, \Throwable $prev = null): self + public static function onWriteStatementExecution(int $code = 0, ?\Throwable $prev = null): self { return new self(self::WRITE_STMT_MESSAGE, $code, $prev); } diff --git a/src/LoggerFactoryInterface.php b/src/LoggerFactoryInterface.php index 1c6a49e0..35201a78 100644 --- a/src/LoggerFactoryInterface.php +++ b/src/LoggerFactoryInterface.php @@ -9,5 +9,5 @@ interface LoggerFactoryInterface { - public function getLogger(DriverInterface $driver = null): LoggerInterface; + public function getLogger(?DriverInterface $driver = null): LoggerInterface; } diff --git a/src/Query/ActiveQuery.php b/src/Query/ActiveQuery.php index f7a5d42d..581acdf0 100644 --- a/src/Query/ActiveQuery.php +++ b/src/Query/ActiveQuery.php @@ -26,7 +26,7 @@ abstract class ActiveQuery implements QueryInterface, \Stringable protected ?DriverInterface $driver = null; protected ?string $prefix = null; - public function withDriver(DriverInterface $driver, string $prefix = null): QueryInterface + public function withDriver(DriverInterface $driver, ?string $prefix = null): QueryInterface { $query = clone $this; $query->driver = $driver; @@ -50,7 +50,7 @@ public function getPrefix(): ?string * * @psalm-return non-empty-string */ - public function sqlStatement(QueryParameters $parameters = null): string + public function sqlStatement(?QueryParameters $parameters = null): string { $this->driver === null and throw new BuilderException('Unable to build query without associated driver'); diff --git a/src/Query/BuilderInterface.php b/src/Query/BuilderInterface.php index 310027fd..7edddfb0 100644 --- a/src/Query/BuilderInterface.php +++ b/src/Query/BuilderInterface.php @@ -30,7 +30,7 @@ public function withDriver(DriverInterface $driver): self; */ public function insertQuery( string $prefix, - string $table = null, + ?string $table = null, ): InsertQuery; /** @@ -45,7 +45,7 @@ public function selectQuery( public function deleteQuery( string $prefix, - string $from = null, + ?string $from = null, array $where = [], ): DeleteQuery; @@ -55,7 +55,7 @@ public function deleteQuery( */ public function updateQuery( string $prefix, - string $table = null, + ?string $table = null, array $where = [], array $values = [], ): UpdateQuery; diff --git a/src/Query/InsertQuery.php b/src/Query/InsertQuery.php index f10fb111..36c13df2 100644 --- a/src/Query/InsertQuery.php +++ b/src/Query/InsertQuery.php @@ -23,7 +23,7 @@ class InsertQuery extends ActiveQuery protected array $columns = []; protected array $values = []; - public function __construct(string $table = null) + public function __construct(?string $table = null) { $this->table = $table ?? ''; } diff --git a/src/Query/QueryBuilder.php b/src/Query/QueryBuilder.php index 63c08432..3c06b8ca 100644 --- a/src/Query/QueryBuilder.php +++ b/src/Query/QueryBuilder.php @@ -50,7 +50,7 @@ public function withDriver(DriverInterface $driver): BuilderInterface */ public function insertQuery( string $prefix, - string $table = null, + ?string $table = null, ): InsertQuery { $insert = $this->insertQuery->withDriver($this->driver, $prefix); @@ -80,7 +80,7 @@ public function selectQuery( public function deleteQuery( string $prefix, - string $from = null, + ?string $from = null, array $where = [], ): DeleteQuery { $delete = $this->deleteQuery->withDriver($this->driver, $prefix); @@ -97,7 +97,7 @@ public function deleteQuery( */ public function updateQuery( string $prefix, - string $table = null, + ?string $table = null, array $where = [], array $values = [], ): UpdateQuery { diff --git a/src/Query/QueryInterface.php b/src/Query/QueryInterface.php index a8c37f99..442f9f97 100644 --- a/src/Query/QueryInterface.php +++ b/src/Query/QueryInterface.php @@ -21,7 +21,7 @@ interface QueryInterface extends FragmentInterface * * @return $this */ - public function withDriver(DriverInterface $driver, string $prefix = null): self; + public function withDriver(DriverInterface $driver, ?string $prefix = null): self; public function getDriver(): ?DriverInterface; diff --git a/src/Query/SelectQuery.php b/src/Query/SelectQuery.php index 5ce208f2..52a39271 100644 --- a/src/Query/SelectQuery.php +++ b/src/Query/SelectQuery.php @@ -237,7 +237,7 @@ public function exceptAll(FragmentInterface $query): self * Set selection limit. Attention, this limit value does not affect values set in paginator but * only changes pagination window. Set to 0 to disable limiting. */ - public function limit(int $limit = null): self + public function limit(?int $limit = null): self { $this->limit = $limit; @@ -253,7 +253,7 @@ public function getLimit(): ?int * Set selection offset. Attention, this value does not affect associated paginator but only * changes pagination window. */ - public function offset(int $offset = null): self + public function offset(?int $offset = null): self { $this->offset = $offset; diff --git a/src/Query/Traits/JoinTrait.php b/src/Query/Traits/JoinTrait.php index 7a22d0d9..38deaf71 100644 --- a/src/Query/Traits/JoinTrait.php +++ b/src/Query/Traits/JoinTrait.php @@ -80,7 +80,7 @@ trait JoinTrait public function join( ActiveQuery|string $type, ActiveQuery|string $outer, - string $alias = null, + ?string $alias = null, mixed $on = null, ): self { $this->joinTokens[++$this->lastJoin] = [ @@ -113,7 +113,7 @@ public function join( * * @throws BuilderException */ - public function innerJoin(ActiveQuery|string $outer, string $alias = null): self + public function innerJoin(ActiveQuery|string $outer, ?string $alias = null): self { $this->joinTokens[++$this->lastJoin] = [ 'outer' => $outer, @@ -139,7 +139,7 @@ public function innerJoin(ActiveQuery|string $outer, string $alias = null): self * * @throws BuilderException */ - public function rightJoin(ActiveQuery|string $outer, string $alias = null, mixed $on = null): self + public function rightJoin(ActiveQuery|string $outer, ?string $alias = null, mixed $on = null): self { $this->joinTokens[++$this->lastJoin] = [ 'outer' => $outer, @@ -164,7 +164,7 @@ public function rightJoin(ActiveQuery|string $outer, string $alias = null, mixed * * @throws BuilderException */ - public function leftJoin(ActiveQuery|string $outer, string $alias = null): self + public function leftJoin(ActiveQuery|string $outer, ?string $alias = null): self { $this->joinTokens[++$this->lastJoin] = [ 'outer' => $outer, @@ -191,7 +191,7 @@ public function leftJoin(ActiveQuery|string $outer, string $alias = null): self * @throws BuilderException * */ - public function fullJoin(ActiveQuery|string $outer, string $alias = null): self + public function fullJoin(ActiveQuery|string $outer, ?string $alias = null): self { $this->joinTokens[++$this->lastJoin] = [ 'outer' => $outer, diff --git a/src/Query/UpdateQuery.php b/src/Query/UpdateQuery.php index 8f7cc35d..ccf17dfc 100644 --- a/src/Query/UpdateQuery.php +++ b/src/Query/UpdateQuery.php @@ -28,7 +28,7 @@ class UpdateQuery extends ActiveQuery protected string $table = ''; public function __construct( - string $table = null, + ?string $table = null, array $where = [], protected array $values = [], ) { diff --git a/src/Schema/AbstractColumn.php b/src/Schema/AbstractColumn.php index bcea4b86..5d3f2347 100644 --- a/src/Schema/AbstractColumn.php +++ b/src/Schema/AbstractColumn.php @@ -250,7 +250,7 @@ abstract class AbstractColumn implements ColumnInterface, ElementInterface public function __construct( protected string $table, protected string $name, - \DateTimeZone $timezone = null, + ?\DateTimeZone $timezone = null, ) { $this->timezone = $timezone ?? new \DateTimeZone(\date_default_timezone_get()); } diff --git a/src/Schema/AbstractTable.php b/src/Schema/AbstractTable.php index 0eb2bdb7..5e495d94 100644 --- a/src/Schema/AbstractTable.php +++ b/src/Schema/AbstractTable.php @@ -521,7 +521,7 @@ public function getState(): State * * @param State $state Use null to flush table schema. */ - public function setState(State $state = null): self + public function setState(?State $state = null): self { $this->current = new State($this->initial->getName()); diff --git a/src/StatementInterface.php b/src/StatementInterface.php index 0a7ea192..f237f739 100644 --- a/src/StatementInterface.php +++ b/src/StatementInterface.php @@ -43,7 +43,7 @@ public function fetch(int $mode = self::FETCH_ASSOC): mixed; * * @param int $columnNumber Optional column number. */ - public function fetchColumn(int $columnNumber = null): mixed; + public function fetchColumn(?int $columnNumber = null): mixed; /** * Fetch all rows.