diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index ff4130d63..5a13a977e 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -12,7 +12,6 @@ ->exclude(__DIR__ . '/src/Core/tests/Fixtures') ->exclude(__DIR__ . '/src/Tokenizer/tests') ->exclude(__DIR__ . '/src/Prototype/tests') - ->exclude(__DIR__ . '/src/Scaffolder/tests/App/runtime') ->exclude(__DIR__ . '/src/Snapshots/tests') ->exclude(__DIR__ . '/src/Core/tests/Internal/Proxy/ProxyClassRendererTest.php') ->exclude(__DIR__ . '/src/Core/tests/Exception/ClosureRendererTraitTest.php') diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b8850fa2..5efd37782 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,20 +1,44 @@ # CHANGELOG -## Unreleased +## 3.15.0 - 2025-01-24 + +- Core + - `AppEnvironment` enum: added aliases for `production` and `test` environments by @roxblnfk. + - Added a new option in the container to control default behavior when rebinding singletons. + In the future, the container will be stricter by default, + so it's recommended to set `allowSingletonsRebinding` to `false` right away. + - Fixed resolving of scoped Autowire objects. +- Cache + - Added events that are dispatched before cache operations like `KeyWriting`, `CacheRetrieving`, `KeyDeleting` + and failed operations like `KeyWriteFailed`, `KeyDeleteFailed`. + - Optimized operations with multiple cache records. + - Added an ability to set custom cache storage. +- Router + - The `ServerRequestInterface` object is now passed into the call context of interceptors + - Added a new middleware pipeline `LazyPipeline`. + The pipeline resolves middleware from the container right before execution to avoid ignoring container scopes. + - `\Spiral\Http\Pipeline` is deprecated now. + - Added strict mode for `UriHandler`. Strict mode ensures all required URI segments are validated. + If any are missing, an exception is thrown. +- Telemetry + - `AbstractTracer::runScope()` method does not open a container scope anymore. + - Spans are no longer created for each Middleware: the pipeline fills the list with called middlewares in one span. + The number of pipelines equals the number of spans. + - The `http.response_content_length` field is no longer filled. ## 3.14.10 - 2025-01-22 - **Bug Fixes** - - [spiral/telemetry] Improve types for `SpanInterface` - - [spiral/stempler] Fix parsing of `@` inside a string that is not a directive + - [spiral/telemetry] Improve types for `SpanInterface` + - [spiral/stempler] Fix parsing of `@` inside a string that is not a directive ## 3.14.9 - 2025-01-07 - **Bug Fixes** - - [spiral/core] Define Auth* middleware in `http` scope - - [spiral/auth-http] Fixed injectors binding via `Binder::bind` method - - [spiral/telemetry] Fixed returning type in TelemetryProcessor for Monolog - - [spiral/stempler] Fixed directory import in stempler component + - [spiral/core] Define Auth* middleware in `http` scope + - [spiral/auth-http] Fixed injectors binding via `Binder::bind` method + - [spiral/telemetry] Fixed returning type in TelemetryProcessor for Monolog + - [spiral/stempler] Fixed directory import in stempler component ## 3.14.8 - 2024-12-11 @@ -30,8 +54,8 @@ ## 3.14.6 - 2024-10-22 - **Bug Fixes** - - [spiral/core] `ServerRequestInterface` is always resolved into a Proxy in the `http` scope - - [spiral/cache] `EventDispatcher` is now injected into `CacheManager` + - [spiral/core] `ServerRequestInterface` is always resolved into a Proxy in the `http` scope + - [spiral/cache] `EventDispatcher` is now injected into `CacheManager` ## 3.14.4 - 2024-09-23 diff --git a/composer.json b/composer.json index 2dd9f042e..d68d13f97 100644 --- a/composer.json +++ b/composer.json @@ -54,6 +54,7 @@ "psr/http-server-middleware": "^1.0", "psr/log": "1 - 3", "psr/simple-cache": "2 - 3", + "ramsey/uuid": "^4.7", "spiral/attributes": "^2.8|^3.0", "spiral/composer-publish-plugin": "^1.0", "symfony/console": "^6.1 || ^7.0", @@ -91,8 +92,8 @@ "Spiral\\Distribution\\": "src/Distribution/src", "Spiral\\DotEnv\\": "src/Bridge/Dotenv/src", "Spiral\\Encrypter\\": "src/Encrypter/src", - "Spiral\\Exceptions\\": "src/Exceptions/src", "Spiral\\Events\\": "src/Events/src", + "Spiral\\Exceptions\\": "src/Exceptions/src", "Spiral\\Files\\": "src/Files/src", "Spiral\\Filters\\": "src/Filters/src", "Spiral\\Http\\": "src/Http/src", @@ -138,13 +139,12 @@ "league/flysystem-async-aws-s3": "^2.0 || ^3.0", "league/flysystem-aws-s3-v3": "^2.0 || ^3.0", "mikey179/vfsstream": "^1.6", - "mockery/mockery": "^1.5", - "phpunit/phpunit": "10.5.3", + "mockery/mockery": "^1.6", + "phpunit/phpunit": "^10.5", "ramsey/collection": "^1.2", - "ramsey/uuid": "^4.2.3", "rector/rector": "~2.0.0", "spiral/code-style": "^2.2.2", - "spiral/nyholm-bridge": "^1.2", + "spiral/nyholm-bridge": "^1.3", "spiral/testing": "^2.8", "spiral/validator": "^1.3", "symplify/monorepo-builder": "^10.2.7", @@ -158,8 +158,8 @@ "src/Auth/tests", "src/AuthHttp/tests" ], - "Spiral\\Tests\\Broadcasting\\": "src/Broadcasting/tests", "Spiral\\Tests\\Boot\\": "src/Boot/tests", + "Spiral\\Tests\\Broadcasting\\": "src/Broadcasting/tests", "Spiral\\Tests\\Cache\\": "src/Cache/tests", "Spiral\\Tests\\Config\\": "src/Config/tests", "Spiral\\Tests\\Console\\": "src/Console/tests", @@ -173,8 +173,8 @@ "Spiral\\Tests\\Distribution\\": "src/Distribution/tests", "Spiral\\Tests\\DotEnv\\": "src/Bridge/Dotenv/tests", "Spiral\\Tests\\Encrypter\\": "src/Encrypter/tests", - "Spiral\\Tests\\Exceptions\\": "src/Exceptions/tests", "Spiral\\Tests\\Events\\": "src/Events/tests", + "Spiral\\Tests\\Exceptions\\": "src/Exceptions/tests", "Spiral\\Tests\\Files\\": "src/Files/tests", "Spiral\\Tests\\Filters\\": "src/Filters/tests", "Spiral\\Tests\\Framework\\": "tests/Framework", @@ -226,23 +226,23 @@ "spiral/debug": "self.version", "spiral/distribution": "self.version", "spiral/dotenv-bridge": "self.version", - "spiral/interceptors": "self.version", "spiral/encrypter": "self.version", - "spiral/exceptions": "self.version", "spiral/events": "self.version", + "spiral/exceptions": "self.version", "spiral/files": "self.version", "spiral/filters": "self.version", "spiral/hmvc": "self.version", "spiral/http": "self.version", + "spiral/interceptors": "self.version", "spiral/logger": "self.version", "spiral/mailer": "self.version", "spiral/models": "self.version", "spiral/monolog-bridge": "self.version", "spiral/pagination": "self.version", "spiral/prototype": "self.version", + "spiral/queue": "self.version", "spiral/reactor": "self.version", "spiral/router": "self.version", - "spiral/queue": "self.version", "spiral/scaffolder": "self.version", "spiral/security": "self.version", "spiral/sendit": "self.version", diff --git a/monorepo-builder.php b/monorepo-builder.php index 1c6e52f09..00c5aca7c 100644 --- a/monorepo-builder.php +++ b/monorepo-builder.php @@ -104,12 +104,16 @@ ], ], 'require-dev' => [ - 'phpunit/phpunit' => '^10.1', - 'mockery/mockery' => '^1.5', - 'spiral/code-style' => '^1.1', + 'phpunit/phpunit' => '^10.5', + 'mockery/mockery' => '^1.6', + 'spiral/code-style' => '^2.2.2', 'symplify/monorepo-builder' => '^10.2.7', 'vimeo/psalm' => '^5.9', ], + 'conflict' => [ + "spiral/roadrunner-bridge" => "<3.7", + "spiral/sapi-bridge" => "<1.1" + ], ]); $services = $containerConfigurator->services(); diff --git a/src/AnnotatedRoutes/composer.json b/src/AnnotatedRoutes/composer.json index f04990f7e..37ae9e7d9 100644 --- a/src/AnnotatedRoutes/composer.json +++ b/src/AnnotatedRoutes/composer.json @@ -43,11 +43,11 @@ } }, "require-dev": { - "mockery/mockery": "^1.5", - "phpunit/phpunit": "^10.1", + "mockery/mockery": "^1.6", + "phpunit/phpunit": "^10.5", "spiral/framework": "^3.1", "spiral/testing": "^2.8", - "spiral/nyholm-bridge": "^1.2", + "spiral/nyholm-bridge": "^1.3", "vimeo/psalm": "^5.9" }, "autoload-dev": { diff --git a/src/Auth/composer.json b/src/Auth/composer.json index bae9dec7a..a9f201aca 100644 --- a/src/Auth/composer.json +++ b/src/Auth/composer.json @@ -37,7 +37,7 @@ "psr/event-dispatcher": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/AuthHttp/composer.json b/src/AuthHttp/composer.json index feb0b55bd..16e5f69ea 100644 --- a/src/AuthHttp/composer.json +++ b/src/AuthHttp/composer.json @@ -40,11 +40,11 @@ "psr/event-dispatcher": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "spiral/cookies": "^3.15", "spiral/http": "^3.15", "spiral/debug": "^3.15", - "nyholm/psr7": "^1.5", + "nyholm/psr7": "^1.8", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Boot/composer.json b/src/Boot/composer.json index f4525b331..d56eba1ff 100644 --- a/src/Boot/composer.json +++ b/src/Boot/composer.json @@ -43,8 +43,8 @@ "spiral/events": "^3.15" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Bridge/Dotenv/composer.json b/src/Bridge/Dotenv/composer.json index 342b61fa3..8bc4f0f9b 100644 --- a/src/Bridge/Dotenv/composer.json +++ b/src/Bridge/Dotenv/composer.json @@ -37,8 +37,8 @@ "vlucas/phpdotenv": "^5.4" }, "require-dev": { - "mockery/mockery": "^1.5", - "phpunit/phpunit": "^10.1", + "mockery/mockery": "^1.6", + "phpunit/phpunit": "^10.5", "spiral/boot": "^3.15", "vimeo/psalm": "^5.9" }, diff --git a/src/Bridge/Monolog/composer.json b/src/Bridge/Monolog/composer.json index 2d53a740f..1586095db 100644 --- a/src/Bridge/Monolog/composer.json +++ b/src/Bridge/Monolog/composer.json @@ -38,8 +38,8 @@ }, "require-dev": { "spiral/boot": "^3.15", - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Bridge/Stempler/composer.json b/src/Bridge/Stempler/composer.json index f7be8631c..0daf46364 100644 --- a/src/Bridge/Stempler/composer.json +++ b/src/Bridge/Stempler/composer.json @@ -42,10 +42,10 @@ "spiral/core": "^3.15" }, "require-dev": { - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "spiral/boot": "^3.15", "spiral/testing": "^2.8", - "mockery/mockery": "^1.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Broadcasting/composer.json b/src/Broadcasting/composer.json index 3ea321919..fd9be448b 100644 --- a/src/Broadcasting/composer.json +++ b/src/Broadcasting/composer.json @@ -48,8 +48,8 @@ } }, "require-dev": { - "mockery/mockery": "^1.5", - "phpunit/phpunit": "^10.1", + "mockery/mockery": "^1.6", + "phpunit/phpunit": "^10.5", "spiral/boot": "^3.15", "vimeo/psalm": "^5.9" }, diff --git a/src/Cache/composer.json b/src/Cache/composer.json index 28f6d44b7..df9a8f689 100644 --- a/src/Cache/composer.json +++ b/src/Cache/composer.json @@ -47,8 +47,8 @@ }, "require-dev": { "spiral/boot": "^3.15", - "mockery/mockery": "^1.5", - "phpunit/phpunit": "^10.1", + "mockery/mockery": "^1.6", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9" }, "autoload-dev": { diff --git a/src/Config/composer.json b/src/Config/composer.json index 783611ad5..f30c51ebb 100644 --- a/src/Config/composer.json +++ b/src/Config/composer.json @@ -38,8 +38,8 @@ "spiral/core": "^3.15" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Console/composer.json b/src/Console/composer.json index 34f7aac6d..4257b6760 100644 --- a/src/Console/composer.json +++ b/src/Console/composer.json @@ -42,8 +42,8 @@ }, "require-dev": { "spiral/boot": "^3.15", - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Cookies/composer.json b/src/Cookies/composer.json index 4d3571099..2c9b97fc3 100644 --- a/src/Cookies/composer.json +++ b/src/Cookies/composer.json @@ -39,10 +39,10 @@ "psr/http-server-middleware": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "spiral/http": "^3.15", - "nyholm/psr7": "^1.5", + "nyholm/psr7": "^1.8", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Core/composer.json b/src/Core/composer.json index 15a1381c4..d8afb4d6b 100644 --- a/src/Core/composer.json +++ b/src/Core/composer.json @@ -38,8 +38,8 @@ "spiral/security": "^3.15" }, "require-dev": { - "mockery/mockery": "^1.5", - "phpunit/phpunit": "^10.1", + "mockery/mockery": "^1.6", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Csrf/composer.json b/src/Csrf/composer.json index db05657ce..bb04ffcd6 100644 --- a/src/Csrf/composer.json +++ b/src/Csrf/composer.json @@ -39,10 +39,10 @@ "psr/http-server-middleware": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "spiral/http": "^3.15", - "nyholm/psr7": "^1.5", + "nyholm/psr7": "^1.8", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Debug/composer.json b/src/Debug/composer.json index b1b047ecc..31c10f9b7 100644 --- a/src/Debug/composer.json +++ b/src/Debug/composer.json @@ -37,7 +37,7 @@ "spiral/logger": "^3.15" }, "require-dev": { - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Distribution/composer.json b/src/Distribution/composer.json index 5beef00f8..3c568262c 100644 --- a/src/Distribution/composer.json +++ b/src/Distribution/composer.json @@ -37,7 +37,7 @@ "aws/aws-sdk-php": "^3.270", "guzzlehttp/psr7": "^1.7|^2.0", "jetbrains/phpstorm-attributes": "^1.0", - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9" }, "autoload-dev": { diff --git a/src/Encrypter/composer.json b/src/Encrypter/composer.json index 5498090b6..7556b4885 100644 --- a/src/Encrypter/composer.json +++ b/src/Encrypter/composer.json @@ -39,7 +39,7 @@ "defuse/php-encryption": "^2.2" }, "require-dev": { - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Events/composer.json b/src/Events/composer.json index 81e0a893f..36b435bcb 100644 --- a/src/Events/composer.json +++ b/src/Events/composer.json @@ -40,8 +40,8 @@ }, "require-dev": { "spiral/boot": "^3.15", - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Exceptions/composer.json b/src/Exceptions/composer.json index 380ada7c5..2768ae2b4 100644 --- a/src/Exceptions/composer.json +++ b/src/Exceptions/composer.json @@ -42,8 +42,8 @@ "psr/log": "1 - 3" }, "require-dev": { - "mockery/mockery": "^1.5", - "phpunit/phpunit": "^10.1", + "mockery/mockery": "^1.6", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Files/composer.json b/src/Files/composer.json index 7a13de11a..d81aee40a 100644 --- a/src/Files/composer.json +++ b/src/Files/composer.json @@ -36,8 +36,8 @@ "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Filters/composer.json b/src/Filters/composer.json index 7fdb832ca..d8088721c 100644 --- a/src/Filters/composer.json +++ b/src/Filters/composer.json @@ -43,9 +43,9 @@ "spiral/validation": "^3.15" }, "require-dev": { - "mockery/mockery": "^1.5", - "nyholm/psr7": "^1.5", - "phpunit/phpunit": "^10.1", + "mockery/mockery": "^1.6", + "nyholm/psr7": "^1.8", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9", "ramsey/uuid": "^4.7" }, diff --git a/src/Hmvc/composer.json b/src/Hmvc/composer.json index 77349566c..c9bdd613c 100644 --- a/src/Hmvc/composer.json +++ b/src/Hmvc/composer.json @@ -41,7 +41,7 @@ "spiral/interceptors": "^3.15" }, "require-dev": { - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9", "spiral/testing": "^2.8" }, diff --git a/src/Http/composer.json b/src/Http/composer.json index 9c4cdeaf6..15a020c62 100644 --- a/src/Http/composer.json +++ b/src/Http/composer.json @@ -47,9 +47,9 @@ }, "require-dev": { "spiral/boot": "^3.15", - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", - "nyholm/psr7": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", + "nyholm/psr7": "^1.8", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Interceptors/composer.json b/src/Interceptors/composer.json index 98d3650ca..470076080 100644 --- a/src/Interceptors/composer.json +++ b/src/Interceptors/composer.json @@ -41,7 +41,7 @@ "psr/event-dispatcher": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9", "spiral/testing": "^2.8" }, diff --git a/src/Logger/composer.json b/src/Logger/composer.json index ccd23bbc2..32cc5fd3e 100644 --- a/src/Logger/composer.json +++ b/src/Logger/composer.json @@ -38,8 +38,8 @@ "spiral/core": "^3.15" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Mailer/composer.json b/src/Mailer/composer.json index 58c5ef127..74ca01eaa 100644 --- a/src/Mailer/composer.json +++ b/src/Mailer/composer.json @@ -36,8 +36,8 @@ "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Models/composer.json b/src/Models/composer.json index a3d5884c5..0976684f5 100644 --- a/src/Models/composer.json +++ b/src/Models/composer.json @@ -36,8 +36,8 @@ "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Pagination/composer.json b/src/Pagination/composer.json index 885a64061..d75916bf3 100644 --- a/src/Pagination/composer.json +++ b/src/Pagination/composer.json @@ -36,8 +36,8 @@ "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Prototype/composer.json b/src/Prototype/composer.json index 0a363626c..6c2f569ba 100644 --- a/src/Prototype/composer.json +++ b/src/Prototype/composer.json @@ -47,8 +47,8 @@ } }, "require-dev": { - "mockery/mockery": "^1.5", - "phpunit/phpunit": "^10.1", + "mockery/mockery": "^1.6", + "phpunit/phpunit": "^10.5", "spiral/framework": "^3.1", "vimeo/psalm": "^5.9" }, diff --git a/src/Queue/composer.json b/src/Queue/composer.json index add5e3806..a2df8a512 100644 --- a/src/Queue/composer.json +++ b/src/Queue/composer.json @@ -43,7 +43,7 @@ "spiral/tokenizer": "^3.15", "spiral/attributes": "^2.8|^3.0", "doctrine/inflector": "^1.4|^2.0", - "ramsey/uuid": "^4.2.3", + "ramsey/uuid": "^4.7", "psr/event-dispatcher": "^1.0" }, "autoload": { @@ -57,8 +57,8 @@ } }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "spiral/boot": "^3.15", "vimeo/psalm": "^5.9" }, diff --git a/src/Reactor/composer.json b/src/Reactor/composer.json index 6f919166a..bec5ced27 100644 --- a/src/Reactor/composer.json +++ b/src/Reactor/composer.json @@ -39,8 +39,8 @@ "nette/php-generator": "^4.1.2" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "psr/container": "^1.1|^2.0", "vimeo/psalm": "^5.9" }, diff --git a/src/Router/composer.json b/src/Router/composer.json index 711023f98..492b9ea19 100644 --- a/src/Router/composer.json +++ b/src/Router/composer.json @@ -45,8 +45,8 @@ "psr/event-dispatcher": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "spiral/nyholm-bridge": "^1.3", "spiral/testing": "^2.8", "vimeo/psalm": "^5.9" diff --git a/src/Scaffolder/composer.json b/src/Scaffolder/composer.json index eb02467b9..621fb5cc9 100644 --- a/src/Scaffolder/composer.json +++ b/src/Scaffolder/composer.json @@ -45,7 +45,7 @@ "nette/php-generator": "^4.1.2" }, "require-dev": { - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "spiral/framework": "^3.1", "vimeo/psalm": "^5.9" }, diff --git a/src/Security/composer.json b/src/Security/composer.json index 736a1b454..749b97881 100644 --- a/src/Security/composer.json +++ b/src/Security/composer.json @@ -44,8 +44,8 @@ }, "require-dev": { "spiral/console": "^3.15", - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload-dev": { diff --git a/src/SendIt/composer.json b/src/SendIt/composer.json index 0a1bdeb44..f644e0590 100644 --- a/src/SendIt/composer.json +++ b/src/SendIt/composer.json @@ -44,8 +44,8 @@ "psr/event-dispatcher": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "spiral/boot": "^3.15", "spiral/stempler-bridge": "^3.15", "spiral/testing": "^2.8", diff --git a/src/Serializer/composer.json b/src/Serializer/composer.json index 8167cd7b2..66f833d0b 100644 --- a/src/Serializer/composer.json +++ b/src/Serializer/composer.json @@ -26,7 +26,7 @@ "require-dev": { "spiral/boot": "^3.15", "google/protobuf": "^3.25", - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9" }, "autoload-dev": { diff --git a/src/Session/composer.json b/src/Session/composer.json index 289c737a0..4066b6a3e 100644 --- a/src/Session/composer.json +++ b/src/Session/composer.json @@ -39,9 +39,9 @@ "spiral/cache": "^3.15" }, "require-dev": { - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9", - "mockery/mockery": "^1.5" + "mockery/mockery": "^1.6" }, "autoload": { "psr-4": { diff --git a/src/Snapshots/composer.json b/src/Snapshots/composer.json index bade3f6ab..964e0fe72 100644 --- a/src/Snapshots/composer.json +++ b/src/Snapshots/composer.json @@ -40,7 +40,7 @@ }, "require-dev": { "spiral/storage": "^3.15", - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Stempler/composer.json b/src/Stempler/composer.json index b4f5983e3..6b340713c 100644 --- a/src/Stempler/composer.json +++ b/src/Stempler/composer.json @@ -39,8 +39,8 @@ "spiral/core": "^3.15" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Storage/composer.json b/src/Storage/composer.json index ce1a70695..7e5a5a5b5 100644 --- a/src/Storage/composer.json +++ b/src/Storage/composer.json @@ -36,7 +36,7 @@ }, "require-dev": { "spiral/boot": "^3.15", - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9", "jetbrains/phpstorm-attributes": "^1.0", "league/flysystem-aws-s3-v3": "^2.0 || ^3.0" diff --git a/src/Streams/composer.json b/src/Streams/composer.json index 3107f38f8..d720ff5a8 100644 --- a/src/Streams/composer.json +++ b/src/Streams/composer.json @@ -37,10 +37,10 @@ "psr/http-message": "^1.0|^2.0" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "spiral/files": "^3.15", - "nyholm/psr7": "^1.5", + "nyholm/psr7": "^1.8", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Telemetry/composer.json b/src/Telemetry/composer.json index b768a9139..dd15010b1 100644 --- a/src/Telemetry/composer.json +++ b/src/Telemetry/composer.json @@ -38,7 +38,7 @@ "spiral/core": "^3.15" }, "require-dev": { - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Tokenizer/composer.json b/src/Tokenizer/composer.json index 93e74b87b..7adf4e36d 100644 --- a/src/Tokenizer/composer.json +++ b/src/Tokenizer/composer.json @@ -44,7 +44,7 @@ "spiral/attributes": "^2.8|^3.0", "spiral/boot": "^3.15", "spiral/files": "^3.15", - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Translator/composer.json b/src/Translator/composer.json index 036eebcb8..d946f7fad 100644 --- a/src/Translator/composer.json +++ b/src/Translator/composer.json @@ -41,8 +41,8 @@ "psr/event-dispatcher": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Validation/composer.json b/src/Validation/composer.json index 9a8a0caec..c0c89881a 100644 --- a/src/Validation/composer.json +++ b/src/Validation/composer.json @@ -38,8 +38,8 @@ }, "require-dev": { "spiral/boot": "^3.15", - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": { diff --git a/src/Views/composer.json b/src/Views/composer.json index 7eb0bc03a..cf5729fda 100644 --- a/src/Views/composer.json +++ b/src/Views/composer.json @@ -40,8 +40,8 @@ }, "require-dev": { "spiral/boot": "^3.15", - "phpunit/phpunit": "^10.1", - "mockery/mockery": "^1.5", + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.6", "vimeo/psalm": "^5.9" }, "autoload": {