From 7d7564cad69d2ef02f3bff730da981310b3398f6 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Wed, 15 Jan 2025 15:48:40 +0100 Subject: [PATCH 01/65] Add Base --- .github/workflows/update_latest_versions.yml | 49 ++++ tests/Common/IntegrationTestCase.php | 17 ++ tests/Common/WebFrameworkTestCase.php | 2 +- .../DistributedTraceTest.php | 2 +- .../SamplingPriorityTest.php | 2 +- .../SandboxAndLegacyTest.php | 2 +- tests/DistributedTracing/SyntheticsTest.php | 2 +- tests/Frameworks/Laravel/Latest/.editorconfig | 18 ++ tests/Frameworks/Laravel/Latest/.env.example | 64 +++++ .../Frameworks/Laravel/Latest/.gitattributes | 11 + tests/Frameworks/Laravel/Latest/.gitignore | 19 ++ tests/Frameworks/Laravel/Latest/README.md | 66 +++++ .../Controllers/CommonSpecsController.php | 21 ++ .../app/Http/Controllers/Controller.php | 8 + .../Laravel/Latest/app/Models/User.php | 47 ++++ .../app/Providers/AppServiceProvider.php | 24 ++ tests/Frameworks/Laravel/Latest/artisan | 15 ++ .../Laravel/Latest/bootstrap/app.php | 18 ++ .../Laravel/Latest/bootstrap/cache/.gitignore | 2 + .../Laravel/Latest/bootstrap/providers.php | 5 + tests/Frameworks/Laravel/Latest/composer.json | 69 ++++++ .../Frameworks/Laravel/Latest/config/app.php | 126 ++++++++++ .../Frameworks/Laravel/Latest/config/auth.php | 115 +++++++++ .../Laravel/Latest/config/cache.php | 107 +++++++++ .../Laravel/Latest/config/database.php | 170 +++++++++++++ .../Laravel/Latest/config/filesystems.php | 76 ++++++ .../Laravel/Latest/config/logging.php | 132 ++++++++++ .../Frameworks/Laravel/Latest/config/mail.php | 103 ++++++++ .../Laravel/Latest/config/queue.php | 112 +++++++++ .../Laravel/Latest/config/services.php | 34 +++ .../Laravel/Latest/config/session.php | 218 +++++++++++++++++ .../Laravel/Latest/database/.gitignore | 1 + .../Latest/database/factories/UserFactory.php | 44 ++++ .../0001_01_01_000000_create_users_table.php | 49 ++++ .../0001_01_01_000001_create_cache_table.php | 35 +++ .../0001_01_01_000002_create_jobs_table.php | 57 +++++ .../database/seeders/DatabaseSeeder.php | 23 ++ tests/Frameworks/Laravel/Latest/phpunit.xml | 33 +++ .../Laravel/Latest/public/.htaccess | 21 ++ .../Laravel/Latest/public/index.php | 17 ++ .../Laravel/Latest/public/robots.txt | 2 + .../Laravel/Latest/resources/js/app.js | 1 + .../Laravel/Latest/resources/js/bootstrap.js | 4 + .../resources/views/simple_view.blade.php | 9 + .../Latest/resources/views/welcome.blade.php | 172 +++++++++++++ .../Laravel/Latest/routes/console.php | 8 + .../Frameworks/Laravel/Latest/routes/web.php | 8 + .../Laravel/Latest/storage/app/.gitignore | 3 + .../Latest/storage/app/public/.gitignore | 2 + .../Latest/storage/framework/.gitignore | 9 + .../Latest/storage/framework/cache/.gitignore | 3 + .../storage/framework/cache/data/.gitignore | 2 + .../storage/framework/sessions/.gitignore | 2 + .../storage/framework/testing/.gitignore | 2 + .../Latest/storage/framework/views/.gitignore | 2 + .../Laravel/Latest/storage/logs/.gitignore | 2 + .../Latest/tests/Feature/ExampleTest.php | 19 ++ .../Laravel/Latest/tests/TestCase.php | 10 + .../Laravel/Latest/tests/Unit/ExampleTest.php | 16 ++ .../Frameworks/Laravel/Latest/vite.config.js | 11 + tests/Frameworks/Symfony/Latest/.env | 37 +++ tests/Frameworks/Symfony/Latest/.gitignore | 10 + tests/Frameworks/Symfony/Latest/bin/console | 17 ++ .../Symfony/Latest/compose.override.yaml | 8 + tests/Frameworks/Symfony/Latest/compose.yaml | 21 ++ tests/Frameworks/Symfony/Latest/composer.json | 85 +++++++ .../Symfony/Latest/config/bundles.php | 12 + .../Symfony/Latest/config/packages/cache.yaml | 19 ++ .../Latest/config/packages/doctrine.yaml | 49 ++++ .../config/packages/doctrine_migrations.yaml | 6 + .../Latest/config/packages/framework.yaml | 23 ++ .../Latest/config/packages/messenger.yaml | 33 +++ .../Latest/config/packages/monolog.yaml | 61 +++++ .../Latest/config/packages/routing.yaml | 12 + .../Latest/config/packages/security.yaml | 46 ++++ .../config/packages/test/framework.yaml | 4 + .../Latest/config/packages/test/twig.yaml | 2 + .../Symfony/Latest/config/packages/twig.yaml | 6 + .../Latest/config/packages/validator.yaml | 13 + .../Symfony/Latest/config/preload.php | 5 + .../Symfony/Latest/config/routes.yaml | 5 + .../Latest/config/routes/attributes.yaml | 9 + .../Latest/config/routes/framework.yaml | 4 + .../Latest/config/routes/security.yaml | 3 + .../Symfony/Latest/config/services.yaml | 31 +++ .../migrations/Version20230707083454.php | 31 +++ .../migrations/Version20231227143831.php | 31 +++ .../migrations/Version20240711115224.php | 31 +++ .../Symfony/Latest/public/index.php | 9 + .../Latest/src/Command/ThrowCommand.php | 19 ++ .../Controller/CommonScenariosController.php | 36 +++ .../Latest/src/Controller/LoginController.php | 27 +++ .../Latest/src/Controller/LuckyController.php | 29 +++ .../src/Controller/RegistrationController.php | 65 +++++ .../Symfony/Latest/src/Entity/User.php | 117 +++++++++ .../Latest/src/Form/RegistrationFormType.php | 55 +++++ .../Frameworks/Symfony/Latest/src/Kernel.php | 38 +++ .../src/Message/LuckyNumberNotification.php | 8 + .../LuckyNumberNotificationHandler.php | 19 ++ .../Latest/src/Repository/UserRepository.php | 67 ++++++ .../Latest/src/Security/EmailVerifier.php | 52 ++++ .../Symfony/Latest/templates/base.html.twig | 19 ++ .../Latest/templates/login/index.html.twig | 23 ++ .../templates/registration/register.html.twig | 19 ++ .../Latest/templates/twig_template.html.twig | 1 + tests/Integration/BootstrapTest.php | 2 +- .../ErrorReporting/ErrorReportingTest.php | 2 +- tests/Integration/ResponseStatusCodeTest.php | 2 +- .../CLI/Symfony/V4_4/CommonScenariosTest.php | 2 +- .../CLI/Symfony/V5_2/CommonScenariosTest.php | 2 +- .../CLI/Symfony/V6_2/CommonScenariosTest.php | 2 +- .../CLI/Symfony/V7_0/CommonScenariosTest.php | 2 +- .../CakePHP/V2_8/CommonScenariosTest.php | 2 +- .../CakePHP/V3_10/CommonScenariosTest.php | 2 +- .../CakePHP/V4_5/CommonScenariosTest.php | 2 +- .../CakePHP/V5_0/CommonScenariosTest.php | 2 +- .../CodeIgniter/V2_2/CommonScenariosTest.php | 2 +- .../CodeIgniter/V2_2/ExitTest.php | 2 +- .../CodeIgniter/V2_2/NoCI_ControllertTest.php | 2 +- .../CodeIgniter/V3_1/CommonScenariosTest.php | 2 +- .../CodeIgniter/V3_1/ExitTest.php | 2 +- .../CodeIgniter/V3_1/NoCIControllerTest.php | 2 +- .../Autoloaded/AgentUrlEnvVarInvalidTest.php | 2 +- .../Custom/Autoloaded/AgentUrlEnvVarTest.php | 2 +- .../Autoloaded/BackgroundSenderLogTest.php | 2 +- .../Custom/Autoloaded/CommonScenariosTest.php | 2 +- .../Autoloaded/CompileTimeDisabledTest.php | 2 +- .../Autoloaded/CompileTimeEnabledTest.php | 2 +- .../Custom/Autoloaded/FatalErrorTest.php | 2 +- .../Custom/Autoloaded/GitMetadataTest.php | 2 +- .../Custom/Autoloaded/InstrumentationTest.php | 2 +- .../NonExecutingEndpointsTracingTest.php | 2 +- .../StartupLoggingDiagnosticsTest.php | 2 +- .../Autoloaded/StartupLoggingDisabledTest.php | 2 +- .../Custom/Autoloaded/StartupLoggingTest.php | 2 +- .../Autoloaded/TraceSearchConfigTest.php | 2 +- .../Custom/NotAutoloaded/ApacheReloadTest.php | 2 +- .../Custom/NotAutoloaded/EarlyDisableTest.php | 2 +- .../FrameworkNoAutoloadedTest.php | 2 +- .../HttpHeadersConfiguredTest.php | 2 +- .../HttpHeadersNotConfiguredTest.php | 2 +- .../NotAutoloaded/IncomingUserInfoTest.php | 2 +- .../DeferredLoading/DeferredLoadingTest.php | 2 +- .../Drupal/V10_1/CommonScenariosTest.php | 2 +- .../Drupal/V8_9/CommonScenariosTest.php | 2 +- .../Drupal/V9_5/CommonScenariosTest.php | 2 +- .../Filesystem/FilesystemTest.php | 2 +- .../Frankenphp/CommonScenariosTest.php | 2 +- .../Frankenphp/DistributedTracingTest.php | 2 +- .../Guzzle/Latest/GuzzleIntegrationTest.php | 120 ++++++++++ .../Integrations/Guzzle/Latest/composer.json | 6 + .../Laminas/ApiTools/V1_9/RESTTest.php | 2 +- .../Laminas/V1_4/CommonScenariosTest.php | 2 +- .../Laminas/V2_0/CommonScenariosTest.php | 2 +- .../Laravel/AutomatedLoginEventsTestSuite.php | 2 +- .../Laravel/Latest/CommonScenariosTest.php | 16 ++ .../Laravel/Octane/CommonScenariosTest.php | 2 +- .../V10_x/AutomatedLoginEventsTest.php | 2 +- .../Laravel/V10_x/CommonScenariosTest.php | 2 +- .../Laravel/V11_x/CommonScenariosTest.php | 2 +- .../Laravel/V4/AutomatedLoginEventsTest.php | 2 +- .../Laravel/V4/CommonScenariosTest.php | 2 +- .../Integrations/Laravel/V4/EloquentTest.php | 2 +- .../Laravel/V4/PathParamsTest.php | 2 +- .../Laravel/V4/TraceSearchConfigTest.php | 2 +- .../Laravel/V5_7/AutomatedLoginEventsTest.php | 2 +- .../Laravel/V5_7/CommonScenariosTest.php | 2 +- .../Laravel/V5_7/EloquentTest.php | 2 +- .../Laravel/V5_7/PathParamsTest.php | 2 +- .../Laravel/V5_7/PipelineTracingTest.php | 2 +- tests/Integrations/Laravel/V5_7/QueueTest.php | 2 +- .../Laravel/V5_7/TraceSearchConfigTest.php | 2 +- .../Laravel/V5_8/AutomatedLoginEventsTest.php | 2 +- .../Laravel/V5_8/CommonScenariosTest.php | 2 +- .../Laravel/V5_8/EloquentTest.php | 2 +- .../Laravel/V5_8/PathParamsTest.php | 2 +- tests/Integrations/Laravel/V5_8/QueueTest.php | 2 +- .../Laravel/V5_8/TraceSearchConfigTest.php | 2 +- .../Laravel/V8_x/AutomatedLoginEventsTest.php | 2 +- .../Laravel/V8_x/CommonScenariosTest.php | 2 +- .../Laravel/V8_x/EloquentTest.php | 2 +- .../Laravel/V8_x/HttpHideRouteTest.php | 2 +- .../Laravel/V8_x/InternalExceptionsTest.php | 2 +- .../Laravel/V8_x/PathParamsTest.php | 2 +- tests/Integrations/Laravel/V8_x/QueueTest.php | 2 +- .../Laravel/V8_x/QueueTestNotDistributed.php | 2 +- .../Laravel/V8_x/RouteCachingTest.php | 2 +- .../Laravel/V8_x/TraceSearchConfigTest.php | 2 +- .../Laravel/V9_x/AutomatedLoginEventsTest.php | 2 +- .../Laravel/V9_x/CommonScenariosTest.php | 2 +- .../Lumen/V10_0/CommonScenariosTest.php | 2 +- .../Lumen/V10_0/TraceSearchConfigTest.php | 2 +- .../Lumen/V5_2/CommonScenariosTest.php | 2 +- .../Lumen/V5_2/TraceSearchConfigTest.php | 2 +- .../Lumen/V5_6/CommonScenariosTest.php | 2 +- .../Lumen/V5_6/DeprecatedResourceNameTest.php | 2 +- .../Lumen/V5_6/TraceSearchConfigTest.php | 2 +- .../Lumen/V5_8/CommonScenariosTest.php | 2 +- .../Lumen/V5_8/TraceSearchConfigTest.php | 2 +- .../Lumen/V8_1/CommonScenariosTest.php | 2 +- .../Lumen/V8_1/TraceSearchConfigTest.php | 2 +- .../Lumen/V9_0/CommonScenariosTest.php | 2 +- .../Lumen/V9_0/TraceSearchConfigTest.php | 2 +- .../Magento/V2_3/CommonScenariosTest.php | 2 +- .../Magento/V2_4/CommonScenariosTest.php | 2 +- tests/Integrations/Nette/V2_4/NetteTest.php | 2 +- tests/Integrations/Nette/V3_0/NetteTest.php | 2 +- .../Roadrunner/V2/CommonScenariosTest.php | 2 +- .../Roadrunner/V2/DistributedTracingTest.php | 2 +- .../Roadrunner/V2/IPExtractionTest.php | 2 +- .../Roadrunner/V2/InvalidContentTypeTest.php | 2 +- .../Roadrunner/V2/MultipartFormDataTest.php | 2 +- .../Roadrunner/V2/XWwwFormUrlencodedTest.php | 2 +- .../Slim/V3_12/CommonScenariosTest.php | 2 +- .../Slim/V4/CommonScenariosTest.php | 2 +- .../Swoole/CommonScenariosTest.php | 2 +- .../Swoole/DistributedTracingTest.php | 2 +- .../Integrations/Swoole/IPExtractionTest.php | 2 +- .../Swoole/InvalidContentTypeTest.php | 2 +- .../Swoole/XWwwFormUrlencodedTest.php | 2 +- .../Latest/AutomatedLoginEventsTest.php | 22 ++ .../Symfony/Latest/CommonScenariosTest.php | 226 ++++++++++++++++++ .../Symfony/Latest/ConsoleCommandTest.php | 11 + .../Symfony/Latest/MessengerTest.php | 121 ++++++++++ .../Symfony/Latest/TraceSearchConfigTest.php | 11 + .../Symfony/V2_3/CommonScenariosTest.php | 2 +- .../Symfony/V2_3/RouteNameTest.php | 2 +- .../Symfony/V2_8/CommonScenariosTest.php | 2 +- .../Symfony/V2_8/RouteNameTest.php | 2 +- .../Symfony/V3_0/CommonScenariosTest.php | 2 +- .../Symfony/V3_0/TraceSearchConfigTest.php | 2 +- .../Symfony/V3_3/AutomatedLoginEventsTest.php | 2 +- .../Symfony/V3_3/CommonScenariosTest.php | 2 +- .../Symfony/V3_3/PathParamsTest.php | 2 +- .../Symfony/V3_3/TraceSearchConfigTest.php | 2 +- .../V3_4/AutofinishedTracesSymfony34Test.php | 2 +- .../Symfony/V3_4/CommonScenariosTest.php | 2 +- .../Symfony/V3_4/TemplateEnginesTest.php | 2 +- .../Symfony/V3_4/TraceSearchConfigTest.php | 2 +- .../Symfony/V4_0/CommonScenariosTest.php | 2 +- .../Symfony/V4_0/TraceSearchConfigTest.php | 2 +- .../Symfony/V4_2/CommonScenariosTest.php | 2 +- .../Symfony/V4_2/TraceSearchConfigTest.php | 2 +- .../Symfony/V4_4/AutomatedLoginEventsTest.php | 2 +- .../Symfony/V4_4/CommonScenariosTest.php | 2 +- .../Symfony/V4_4/MessengerTest.php | 4 +- .../Symfony/V4_4/PathParamsTest.php | 2 +- .../Symfony/V4_4/TraceSearchConfigTest.php | 2 +- .../Symfony/V5_0/CommonScenariosTest.php | 2 +- .../Symfony/V5_0/TraceSearchConfigTest.php | 2 +- .../Symfony/V5_1/CommonScenariosTest.php | 2 +- .../Symfony/V5_1/TraceSearchConfigTest.php | 2 +- .../Symfony/V5_2/AutomatedLoginEventsTest.php | 2 +- .../Symfony/V5_2/CommonScenariosTest.php | 2 +- .../Symfony/V5_2/ConsoleCommandTest.php | 2 +- .../Symfony/V5_2/MessengerTest.php | 4 +- .../Symfony/V5_2/PathParamsTest.php | 2 +- .../Symfony/V5_2/TraceSearchConfigTest.php | 2 +- .../Symfony/V6_2/AutomatedLoginEventsTest.php | 2 +- .../Symfony/V6_2/CommonScenariosTest.php | 2 +- .../Symfony/V6_2/ConsoleCommandTest.php | 2 +- .../Symfony/V6_2/MessengerTest.php | 4 +- .../Symfony/V6_2/PathParamsTest.php | 2 +- .../Symfony/V6_2/TraceSearchConfigTest.php | 2 +- .../Symfony/V7_0/AutomatedLoginEventsTest.php | 2 +- .../Symfony/V7_0/CommonScenariosTest.php | 2 +- .../Symfony/V7_0/ConsoleCommandTest.php | 7 +- .../Symfony/V7_0/MessengerTest.php | 4 +- .../Symfony/V7_0/TraceSearchConfigTest.php | 2 +- .../V4_8/AutomatedLoginEventsTest.php | 2 +- .../WordPress/V4_8/CommonScenariosTest.php | 2 +- .../WordPress/V4_8/PathParamsTest.php | 2 +- .../V5_5/AutomatedLoginEventsTest.php | 2 +- .../WordPress/V5_5/CommonScenariosTest.php | 2 +- .../WordPress/V5_5/PathParamsTest.php | 2 +- .../V5_9/AutomatedLoginEventsTest.php | 2 +- .../WordPress/V5_9/CommonScenariosTest.php | 2 +- .../WordPress/V5_9/PathParamsTest.php | 2 +- .../WordPress/V6_1/CommonScenariosTest.php | 2 +- .../WordPress/V6_1/PathParamsTest.php | 2 +- .../Yii/V2_0/CommonScenariosTest.php | 2 +- tests/Integrations/Yii/V2_0/ModuleTest.php | 2 +- .../Yii/V2_0/ParameterizedRouteTest.php | 2 +- .../Integrations/Yii/V2_0/YiiDetailsTest.php | 2 +- .../ZendFramework/V1/CommonScenariosTest.php | 2 +- .../V1/TraceSearchConfigTest.php | 2 +- .../V1_21/CommonScenariosTest.php | 2 +- .../V1_21/TraceSearchConfigTest.php | 2 +- tests/Metrics/SigSegV/SigSegVTest.php | 2 +- tests/update-latest-versions.php | 139 +++++++++++ 290 files changed, 4292 insertions(+), 185 deletions(-) create mode 100644 .github/workflows/update_latest_versions.yml create mode 100644 tests/Frameworks/Laravel/Latest/.editorconfig create mode 100644 tests/Frameworks/Laravel/Latest/.env.example create mode 100644 tests/Frameworks/Laravel/Latest/.gitattributes create mode 100644 tests/Frameworks/Laravel/Latest/.gitignore create mode 100644 tests/Frameworks/Laravel/Latest/README.md create mode 100644 tests/Frameworks/Laravel/Latest/app/Http/Controllers/CommonSpecsController.php create mode 100644 tests/Frameworks/Laravel/Latest/app/Http/Controllers/Controller.php create mode 100644 tests/Frameworks/Laravel/Latest/app/Models/User.php create mode 100644 tests/Frameworks/Laravel/Latest/app/Providers/AppServiceProvider.php create mode 100644 tests/Frameworks/Laravel/Latest/artisan create mode 100644 tests/Frameworks/Laravel/Latest/bootstrap/app.php create mode 100644 tests/Frameworks/Laravel/Latest/bootstrap/cache/.gitignore create mode 100644 tests/Frameworks/Laravel/Latest/bootstrap/providers.php create mode 100644 tests/Frameworks/Laravel/Latest/composer.json create mode 100644 tests/Frameworks/Laravel/Latest/config/app.php create mode 100644 tests/Frameworks/Laravel/Latest/config/auth.php create mode 100644 tests/Frameworks/Laravel/Latest/config/cache.php create mode 100644 tests/Frameworks/Laravel/Latest/config/database.php create mode 100644 tests/Frameworks/Laravel/Latest/config/filesystems.php create mode 100644 tests/Frameworks/Laravel/Latest/config/logging.php create mode 100644 tests/Frameworks/Laravel/Latest/config/mail.php create mode 100644 tests/Frameworks/Laravel/Latest/config/queue.php create mode 100644 tests/Frameworks/Laravel/Latest/config/services.php create mode 100644 tests/Frameworks/Laravel/Latest/config/session.php create mode 100644 tests/Frameworks/Laravel/Latest/database/.gitignore create mode 100644 tests/Frameworks/Laravel/Latest/database/factories/UserFactory.php create mode 100644 tests/Frameworks/Laravel/Latest/database/migrations/0001_01_01_000000_create_users_table.php create mode 100644 tests/Frameworks/Laravel/Latest/database/migrations/0001_01_01_000001_create_cache_table.php create mode 100644 tests/Frameworks/Laravel/Latest/database/migrations/0001_01_01_000002_create_jobs_table.php create mode 100644 tests/Frameworks/Laravel/Latest/database/seeders/DatabaseSeeder.php create mode 100644 tests/Frameworks/Laravel/Latest/phpunit.xml create mode 100644 tests/Frameworks/Laravel/Latest/public/.htaccess create mode 100644 tests/Frameworks/Laravel/Latest/public/index.php create mode 100644 tests/Frameworks/Laravel/Latest/public/robots.txt create mode 100644 tests/Frameworks/Laravel/Latest/resources/js/app.js create mode 100644 tests/Frameworks/Laravel/Latest/resources/js/bootstrap.js create mode 100644 tests/Frameworks/Laravel/Latest/resources/views/simple_view.blade.php create mode 100644 tests/Frameworks/Laravel/Latest/resources/views/welcome.blade.php create mode 100644 tests/Frameworks/Laravel/Latest/routes/console.php create mode 100644 tests/Frameworks/Laravel/Latest/routes/web.php create mode 100644 tests/Frameworks/Laravel/Latest/storage/app/.gitignore create mode 100644 tests/Frameworks/Laravel/Latest/storage/app/public/.gitignore create mode 100644 tests/Frameworks/Laravel/Latest/storage/framework/.gitignore create mode 100644 tests/Frameworks/Laravel/Latest/storage/framework/cache/.gitignore create mode 100644 tests/Frameworks/Laravel/Latest/storage/framework/cache/data/.gitignore create mode 100644 tests/Frameworks/Laravel/Latest/storage/framework/sessions/.gitignore create mode 100644 tests/Frameworks/Laravel/Latest/storage/framework/testing/.gitignore create mode 100644 tests/Frameworks/Laravel/Latest/storage/framework/views/.gitignore create mode 100644 tests/Frameworks/Laravel/Latest/storage/logs/.gitignore create mode 100644 tests/Frameworks/Laravel/Latest/tests/Feature/ExampleTest.php create mode 100644 tests/Frameworks/Laravel/Latest/tests/TestCase.php create mode 100644 tests/Frameworks/Laravel/Latest/tests/Unit/ExampleTest.php create mode 100644 tests/Frameworks/Laravel/Latest/vite.config.js create mode 100644 tests/Frameworks/Symfony/Latest/.env create mode 100644 tests/Frameworks/Symfony/Latest/.gitignore create mode 100644 tests/Frameworks/Symfony/Latest/bin/console create mode 100644 tests/Frameworks/Symfony/Latest/compose.override.yaml create mode 100644 tests/Frameworks/Symfony/Latest/compose.yaml create mode 100644 tests/Frameworks/Symfony/Latest/composer.json create mode 100644 tests/Frameworks/Symfony/Latest/config/bundles.php create mode 100644 tests/Frameworks/Symfony/Latest/config/packages/cache.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/packages/doctrine.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/packages/doctrine_migrations.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/packages/framework.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/packages/messenger.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/packages/monolog.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/packages/routing.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/packages/security.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/packages/test/framework.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/packages/test/twig.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/packages/twig.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/packages/validator.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/preload.php create mode 100644 tests/Frameworks/Symfony/Latest/config/routes.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/routes/attributes.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/routes/framework.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/routes/security.yaml create mode 100644 tests/Frameworks/Symfony/Latest/config/services.yaml create mode 100644 tests/Frameworks/Symfony/Latest/migrations/Version20230707083454.php create mode 100644 tests/Frameworks/Symfony/Latest/migrations/Version20231227143831.php create mode 100644 tests/Frameworks/Symfony/Latest/migrations/Version20240711115224.php create mode 100644 tests/Frameworks/Symfony/Latest/public/index.php create mode 100644 tests/Frameworks/Symfony/Latest/src/Command/ThrowCommand.php create mode 100644 tests/Frameworks/Symfony/Latest/src/Controller/CommonScenariosController.php create mode 100644 tests/Frameworks/Symfony/Latest/src/Controller/LoginController.php create mode 100644 tests/Frameworks/Symfony/Latest/src/Controller/LuckyController.php create mode 100644 tests/Frameworks/Symfony/Latest/src/Controller/RegistrationController.php create mode 100644 tests/Frameworks/Symfony/Latest/src/Entity/User.php create mode 100644 tests/Frameworks/Symfony/Latest/src/Form/RegistrationFormType.php create mode 100644 tests/Frameworks/Symfony/Latest/src/Kernel.php create mode 100644 tests/Frameworks/Symfony/Latest/src/Message/LuckyNumberNotification.php create mode 100644 tests/Frameworks/Symfony/Latest/src/MessageHandler/LuckyNumberNotificationHandler.php create mode 100644 tests/Frameworks/Symfony/Latest/src/Repository/UserRepository.php create mode 100644 tests/Frameworks/Symfony/Latest/src/Security/EmailVerifier.php create mode 100644 tests/Frameworks/Symfony/Latest/templates/base.html.twig create mode 100644 tests/Frameworks/Symfony/Latest/templates/login/index.html.twig create mode 100644 tests/Frameworks/Symfony/Latest/templates/registration/register.html.twig create mode 100644 tests/Frameworks/Symfony/Latest/templates/twig_template.html.twig create mode 100644 tests/Integrations/Guzzle/Latest/GuzzleIntegrationTest.php create mode 100644 tests/Integrations/Guzzle/Latest/composer.json create mode 100644 tests/Integrations/Laravel/Latest/CommonScenariosTest.php create mode 100644 tests/Integrations/Symfony/Latest/AutomatedLoginEventsTest.php create mode 100644 tests/Integrations/Symfony/Latest/CommonScenariosTest.php create mode 100644 tests/Integrations/Symfony/Latest/ConsoleCommandTest.php create mode 100644 tests/Integrations/Symfony/Latest/MessengerTest.php create mode 100644 tests/Integrations/Symfony/Latest/TraceSearchConfigTest.php create mode 100644 tests/update-latest-versions.php diff --git a/.github/workflows/update_latest_versions.yml b/.github/workflows/update_latest_versions.yml new file mode 100644 index 0000000000..2a688b6e39 --- /dev/null +++ b/.github/workflows/update_latest_versions.yml @@ -0,0 +1,49 @@ +name: Update Latest Versions + +on: + push: + branches: + - "**" # For test purposes, always run the workflow + workflow_dispatch: # can be triggered manually + schedule: + - cron: "0 0 * * 0" # weekly on Sunday at midnight + +jobs: + update-latest-versions: + runs-on: ubuntu-24.04 + permissions: + contents: write + actions: read + pull-requests: write + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Install PHP + run: | + sudo apt-get update + sudo apt-get install -y php php-cli + + - name: Install composer + run: | + php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" + php composer-setup.php + php -r "unlink('composer-setup.php');" + + - name: Install PHP Tracer # Required by test bootstrap + run: | + curl -Lo /tmp/datadog-setup.php https://github.com/DataDog/dd-trace-php/releases/latest/download/datadog-setup.php + sudo php /tmp/datadog-setup.php --php-bin=all + rm /tmp/datadog-setup.php + + - name: Update Test Dependencies + run: make composer_tests_update + + - name: Update Latest Versions + run: php tests/update-latest-versions.php + + - name: Show changes + run: git diff diff --git a/tests/Common/IntegrationTestCase.php b/tests/Common/IntegrationTestCase.php index 4131606733..060200af09 100644 --- a/tests/Common/IntegrationTestCase.php +++ b/tests/Common/IntegrationTestCase.php @@ -92,6 +92,23 @@ protected function disableTranslateWarningsIntoErrors() error_reporting(E_ERROR | E_PARSE); } + public static function getTestedLibrary() + { + $file = (new \ReflectionClass(get_called_class()))->getFileName(); + $composer = null; + + if (file_exists(dirname($file) . '/composer.json')) { + $composer = dirname($file) . '/composer.json'; + } + + if (!$composer) { + return null; + } + + $composerData = json_decode(file_get_contents($composer), true); + return key($composerData['require']); + } + /** * Checks the exact match of a set of SpanAssertion with the provided Spans. * diff --git a/tests/Common/WebFrameworkTestCase.php b/tests/Common/WebFrameworkTestCase.php index c1ae0bdadb..32f61872dc 100644 --- a/tests/Common/WebFrameworkTestCase.php +++ b/tests/Common/WebFrameworkTestCase.php @@ -81,7 +81,7 @@ protected function ddTearDown() * * @return string|null */ - protected static function getAppIndexScript() + public static function getAppIndexScript() { return null; } diff --git a/tests/DistributedTracing/DistributedTraceTest.php b/tests/DistributedTracing/DistributedTraceTest.php index 194cc1acff..5f64e69b33 100644 --- a/tests/DistributedTracing/DistributedTraceTest.php +++ b/tests/DistributedTracing/DistributedTraceTest.php @@ -15,7 +15,7 @@ protected function ddSetUp() \dd_trace_disable_in_request(); } - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../Frameworks/Custom/Version_Not_Autoloaded/index.php'; } diff --git a/tests/DistributedTracing/SamplingPriorityTest.php b/tests/DistributedTracing/SamplingPriorityTest.php index 40ecab2ede..3c071e875f 100644 --- a/tests/DistributedTracing/SamplingPriorityTest.php +++ b/tests/DistributedTracing/SamplingPriorityTest.php @@ -8,7 +8,7 @@ class SamplingPriorityTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../Frameworks/Custom/Version_Not_Autoloaded/index.php'; } diff --git a/tests/DistributedTracing/SandboxAndLegacyTest.php b/tests/DistributedTracing/SandboxAndLegacyTest.php index db1e7cfb4a..8792df3175 100644 --- a/tests/DistributedTracing/SandboxAndLegacyTest.php +++ b/tests/DistributedTracing/SandboxAndLegacyTest.php @@ -15,7 +15,7 @@ protected function ddSetUp() \dd_trace_disable_in_request(); } - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../Frameworks/Custom/Version_Not_Autoloaded/sandbox.php'; } diff --git a/tests/DistributedTracing/SyntheticsTest.php b/tests/DistributedTracing/SyntheticsTest.php index 4180ca8455..acb20e7e01 100644 --- a/tests/DistributedTracing/SyntheticsTest.php +++ b/tests/DistributedTracing/SyntheticsTest.php @@ -8,7 +8,7 @@ class SyntheticsTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../Frameworks/Custom/Version_Not_Autoloaded/index.php'; } diff --git a/tests/Frameworks/Laravel/Latest/.editorconfig b/tests/Frameworks/Laravel/Latest/.editorconfig new file mode 100644 index 0000000000..8f0de65c56 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/.editorconfig @@ -0,0 +1,18 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.{yml,yaml}] +indent_size = 2 + +[docker-compose.yml] +indent_size = 4 diff --git a/tests/Frameworks/Laravel/Latest/.env.example b/tests/Frameworks/Laravel/Latest/.env.example new file mode 100644 index 0000000000..7b49625aae --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/.env.example @@ -0,0 +1,64 @@ +APP_NAME=Laravel +APP_ENV=local +APP_KEY= +APP_DEBUG=true +APP_TIMEZONE=UTC +APP_URL=http://localhost + +APP_LOCALE=en +APP_FALLBACK_LOCALE=en +APP_FAKER_LOCALE=en_US + +APP_MAINTENANCE_DRIVER=file +APP_MAINTENANCE_STORE=database + +BCRYPT_ROUNDS=12 + +LOG_CHANNEL=stack +LOG_STACK=single +LOG_DEPRECATIONS_CHANNEL=null +LOG_LEVEL=debug + +DB_CONNECTION=sqlite +# DB_HOST=127.0.0.1 +# DB_PORT=3306 +# DB_DATABASE=laravel +# DB_USERNAME=root +# DB_PASSWORD= + +SESSION_DRIVER=database +SESSION_LIFETIME=120 +SESSION_ENCRYPT=false +SESSION_PATH=/ +SESSION_DOMAIN=null + +BROADCAST_CONNECTION=log +FILESYSTEM_DISK=local +QUEUE_CONNECTION=database + +CACHE_STORE=database +CACHE_PREFIX= + +MEMCACHED_HOST=127.0.0.1 + +REDIS_CLIENT=phpredis +REDIS_HOST=127.0.0.1 +REDIS_PASSWORD=null +REDIS_PORT=6379 + +MAIL_MAILER=log +MAIL_HOST=127.0.0.1 +MAIL_PORT=2525 +MAIL_USERNAME=null +MAIL_PASSWORD=null +MAIL_ENCRYPTION=null +MAIL_FROM_ADDRESS="hello@example.com" +MAIL_FROM_NAME="${APP_NAME}" + +AWS_ACCESS_KEY_ID= +AWS_SECRET_ACCESS_KEY= +AWS_DEFAULT_REGION=us-east-1 +AWS_BUCKET= +AWS_USE_PATH_STYLE_ENDPOINT=false + +VITE_APP_NAME="${APP_NAME}" diff --git a/tests/Frameworks/Laravel/Latest/.gitattributes b/tests/Frameworks/Laravel/Latest/.gitattributes new file mode 100644 index 0000000000..fcb21d396d --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/.gitattributes @@ -0,0 +1,11 @@ +* text=auto eol=lf + +*.blade.php diff=html +*.css diff=css +*.html diff=html +*.md diff=markdown +*.php diff=php + +/.github export-ignore +CHANGELOG.md export-ignore +.styleci.yml export-ignore diff --git a/tests/Frameworks/Laravel/Latest/.gitignore b/tests/Frameworks/Laravel/Latest/.gitignore new file mode 100644 index 0000000000..7fe978f851 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/.gitignore @@ -0,0 +1,19 @@ +/.phpunit.cache +/node_modules +/public/build +/public/hot +/public/storage +/storage/*.key +/vendor +.env +.env.backup +.env.production +.phpunit.result.cache +Homestead.json +Homestead.yaml +auth.json +npm-debug.log +yarn-error.log +/.fleet +/.idea +/.vscode diff --git a/tests/Frameworks/Laravel/Latest/README.md b/tests/Frameworks/Laravel/Latest/README.md new file mode 100644 index 0000000000..1a4c26ba32 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/README.md @@ -0,0 +1,66 @@ +

Laravel Logo

+ +

+Build Status +Total Downloads +Latest Stable Version +License +

+ +## About Laravel + +Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: + +- [Simple, fast routing engine](https://laravel.com/docs/routing). +- [Powerful dependency injection container](https://laravel.com/docs/container). +- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. +- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). +- Database agnostic [schema migrations](https://laravel.com/docs/migrations). +- [Robust background job processing](https://laravel.com/docs/queues). +- [Real-time event broadcasting](https://laravel.com/docs/broadcasting). + +Laravel is accessible, powerful, and provides tools required for large, robust applications. + +## Learning Laravel + +Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. + +You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch. + +If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. + +## Laravel Sponsors + +We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the [Laravel Partners program](https://partners.laravel.com). + +### Premium Partners + +- **[Vehikl](https://vehikl.com/)** +- **[Tighten Co.](https://tighten.co)** +- **[WebReinvent](https://webreinvent.com/)** +- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** +- **[64 Robots](https://64robots.com)** +- **[Curotec](https://www.curotec.com/services/technologies/laravel/)** +- **[Cyber-Duck](https://cyber-duck.co.uk)** +- **[DevSquad](https://devsquad.com/hire-laravel-developers)** +- **[Jump24](https://jump24.co.uk)** +- **[Redberry](https://redberry.international/laravel/)** +- **[Active Logic](https://activelogic.com)** +- **[byte5](https://byte5.de)** +- **[OP.GG](https://op.gg)** + +## Contributing + +Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). + +## Code of Conduct + +In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). + +## Security Vulnerabilities + +If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. + +## License + +The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). diff --git a/tests/Frameworks/Laravel/Latest/app/Http/Controllers/CommonSpecsController.php b/tests/Frameworks/Laravel/Latest/app/Http/Controllers/CommonSpecsController.php new file mode 100644 index 0000000000..99357a535f --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/app/Http/Controllers/CommonSpecsController.php @@ -0,0 +1,21 @@ + + */ + protected $fillable = [ + 'name', + 'email', + 'password', + ]; + + /** + * The attributes that should be hidden for serialization. + * + * @var array + */ + protected $hidden = [ + 'password', + 'remember_token', + ]; + + /** + * Get the attributes that should be cast. + * + * @return array + */ + protected function casts(): array + { + return [ + 'email_verified_at' => 'datetime', + 'password' => 'hashed', + ]; + } +} diff --git a/tests/Frameworks/Laravel/Latest/app/Providers/AppServiceProvider.php b/tests/Frameworks/Laravel/Latest/app/Providers/AppServiceProvider.php new file mode 100644 index 0000000000..452e6b65b7 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/app/Providers/AppServiceProvider.php @@ -0,0 +1,24 @@ +handleCommand(new ArgvInput); + +exit($status); diff --git a/tests/Frameworks/Laravel/Latest/bootstrap/app.php b/tests/Frameworks/Laravel/Latest/bootstrap/app.php new file mode 100644 index 0000000000..7b162dac3d --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/bootstrap/app.php @@ -0,0 +1,18 @@ +withRouting( + web: __DIR__.'/../routes/web.php', + commands: __DIR__.'/../routes/console.php', + health: '/up', + ) + ->withMiddleware(function (Middleware $middleware) { + // + }) + ->withExceptions(function (Exceptions $exceptions) { + // + })->create(); diff --git a/tests/Frameworks/Laravel/Latest/bootstrap/cache/.gitignore b/tests/Frameworks/Laravel/Latest/bootstrap/cache/.gitignore new file mode 100644 index 0000000000..d6b7ef32c8 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/bootstrap/cache/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/tests/Frameworks/Laravel/Latest/bootstrap/providers.php b/tests/Frameworks/Laravel/Latest/bootstrap/providers.php new file mode 100644 index 0000000000..38b258d185 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/bootstrap/providers.php @@ -0,0 +1,5 @@ + env('APP_NAME', 'Laravel'), + + /* + |-------------------------------------------------------------------------- + | Application Environment + |-------------------------------------------------------------------------- + | + | This value determines the "environment" your application is currently + | running in. This may determine how you prefer to configure various + | services the application utilizes. Set this in your ".env" file. + | + */ + + 'env' => env('APP_ENV', 'production'), + + /* + |-------------------------------------------------------------------------- + | Application Debug Mode + |-------------------------------------------------------------------------- + | + | When your application is in debug mode, detailed error messages with + | stack traces will be shown on every error that occurs within your + | application. If disabled, a simple generic error page is shown. + | + */ + + 'debug' => (bool) env('APP_DEBUG', false), + + /* + |-------------------------------------------------------------------------- + | Application URL + |-------------------------------------------------------------------------- + | + | This URL is used by the console to properly generate URLs when using + | the Artisan command line tool. You should set this to the root of + | the application so that it's available within Artisan commands. + | + */ + + 'url' => env('APP_URL', 'http://localhost'), + + /* + |-------------------------------------------------------------------------- + | Application Timezone + |-------------------------------------------------------------------------- + | + | Here you may specify the default timezone for your application, which + | will be used by the PHP date and date-time functions. The timezone + | is set to "UTC" by default as it is suitable for most use cases. + | + */ + + 'timezone' => env('APP_TIMEZONE', 'UTC'), + + /* + |-------------------------------------------------------------------------- + | Application Locale Configuration + |-------------------------------------------------------------------------- + | + | The application locale determines the default locale that will be used + | by Laravel's translation / localization methods. This option can be + | set to any locale for which you plan to have translation strings. + | + */ + + 'locale' => env('APP_LOCALE', 'en'), + + 'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'), + + 'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'), + + /* + |-------------------------------------------------------------------------- + | Encryption Key + |-------------------------------------------------------------------------- + | + | This key is utilized by Laravel's encryption services and should be set + | to a random, 32 character string to ensure that all encrypted values + | are secure. You should do this prior to deploying the application. + | + */ + + 'cipher' => 'AES-256-CBC', + + 'key' => env('APP_KEY'), + + 'previous_keys' => [ + ...array_filter( + explode(',', env('APP_PREVIOUS_KEYS', '')) + ), + ], + + /* + |-------------------------------------------------------------------------- + | Maintenance Mode Driver + |-------------------------------------------------------------------------- + | + | These configuration options determine the driver used to determine and + | manage Laravel's "maintenance mode" status. The "cache" driver will + | allow maintenance mode to be controlled across multiple machines. + | + | Supported drivers: "file", "cache" + | + */ + + 'maintenance' => [ + 'driver' => env('APP_MAINTENANCE_DRIVER', 'file'), + 'store' => env('APP_MAINTENANCE_STORE', 'database'), + ], + +]; diff --git a/tests/Frameworks/Laravel/Latest/config/auth.php b/tests/Frameworks/Laravel/Latest/config/auth.php new file mode 100644 index 0000000000..0ba5d5d8f1 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/config/auth.php @@ -0,0 +1,115 @@ + [ + 'guard' => env('AUTH_GUARD', 'web'), + 'passwords' => env('AUTH_PASSWORD_BROKER', 'users'), + ], + + /* + |-------------------------------------------------------------------------- + | Authentication Guards + |-------------------------------------------------------------------------- + | + | Next, you may define every authentication guard for your application. + | Of course, a great default configuration has been defined for you + | which utilizes session storage plus the Eloquent user provider. + | + | All authentication guards have a user provider, which defines how the + | users are actually retrieved out of your database or other storage + | system used by the application. Typically, Eloquent is utilized. + | + | Supported: "session" + | + */ + + 'guards' => [ + 'web' => [ + 'driver' => 'session', + 'provider' => 'users', + ], + ], + + /* + |-------------------------------------------------------------------------- + | User Providers + |-------------------------------------------------------------------------- + | + | All authentication guards have a user provider, which defines how the + | users are actually retrieved out of your database or other storage + | system used by the application. Typically, Eloquent is utilized. + | + | If you have multiple user tables or models you may configure multiple + | providers to represent the model / table. These providers may then + | be assigned to any extra authentication guards you have defined. + | + | Supported: "database", "eloquent" + | + */ + + 'providers' => [ + 'users' => [ + 'driver' => 'eloquent', + 'model' => env('AUTH_MODEL', App\Models\User::class), + ], + + // 'users' => [ + // 'driver' => 'database', + // 'table' => 'users', + // ], + ], + + /* + |-------------------------------------------------------------------------- + | Resetting Passwords + |-------------------------------------------------------------------------- + | + | These configuration options specify the behavior of Laravel's password + | reset functionality, including the table utilized for token storage + | and the user provider that is invoked to actually retrieve users. + | + | The expiry time is the number of minutes that each reset token will be + | considered valid. This security feature keeps tokens short-lived so + | they have less time to be guessed. You may change this as needed. + | + | The throttle setting is the number of seconds a user must wait before + | generating more password reset tokens. This prevents the user from + | quickly generating a very large amount of password reset tokens. + | + */ + + 'passwords' => [ + 'users' => [ + 'provider' => 'users', + 'table' => env('AUTH_PASSWORD_RESET_TOKEN_TABLE', 'password_reset_tokens'), + 'expire' => 60, + 'throttle' => 60, + ], + ], + + /* + |-------------------------------------------------------------------------- + | Password Confirmation Timeout + |-------------------------------------------------------------------------- + | + | Here you may define the amount of seconds before a password confirmation + | window expires and users are asked to re-enter their password via the + | confirmation screen. By default, the timeout lasts for three hours. + | + */ + + 'password_timeout' => env('AUTH_PASSWORD_TIMEOUT', 10800), + +]; diff --git a/tests/Frameworks/Laravel/Latest/config/cache.php b/tests/Frameworks/Laravel/Latest/config/cache.php new file mode 100644 index 0000000000..38680919f0 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/config/cache.php @@ -0,0 +1,107 @@ + env('CACHE_STORE', 'database'), + + /* + |-------------------------------------------------------------------------- + | Cache Stores + |-------------------------------------------------------------------------- + | + | Here you may define all of the cache "stores" for your application as + | well as their drivers. You may even define multiple stores for the + | same cache driver to group types of items stored in your caches. + | + | Supported drivers: "apc", "array", "database", "file", "memcached", + | "redis", "dynamodb", "octane", "null" + | + */ + + 'stores' => [ + + 'array' => [ + 'driver' => 'array', + 'serialize' => false, + ], + + 'database' => [ + 'driver' => 'database', + 'table' => env('DB_CACHE_TABLE', 'cache'), + 'connection' => env('DB_CACHE_CONNECTION'), + 'lock_connection' => env('DB_CACHE_LOCK_CONNECTION'), + ], + + 'file' => [ + 'driver' => 'file', + 'path' => storage_path('framework/cache/data'), + 'lock_path' => storage_path('framework/cache/data'), + ], + + 'memcached' => [ + 'driver' => 'memcached', + 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), + 'sasl' => [ + env('MEMCACHED_USERNAME'), + env('MEMCACHED_PASSWORD'), + ], + 'options' => [ + // Memcached::OPT_CONNECT_TIMEOUT => 2000, + ], + 'servers' => [ + [ + 'host' => env('MEMCACHED_HOST', '127.0.0.1'), + 'port' => env('MEMCACHED_PORT', 11211), + 'weight' => 100, + ], + ], + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => env('REDIS_CACHE_CONNECTION', 'cache'), + 'lock_connection' => env('REDIS_CACHE_LOCK_CONNECTION', 'default'), + ], + + 'dynamodb' => [ + 'driver' => 'dynamodb', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), + 'endpoint' => env('DYNAMODB_ENDPOINT'), + ], + + 'octane' => [ + 'driver' => 'octane', + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Cache Key Prefix + |-------------------------------------------------------------------------- + | + | When utilizing the APC, database, memcached, Redis, and DynamoDB cache + | stores, there might be other applications using the same cache. For + | that reason, you may prefix every cache key to avoid collisions. + | + */ + + 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'), + +]; diff --git a/tests/Frameworks/Laravel/Latest/config/database.php b/tests/Frameworks/Laravel/Latest/config/database.php new file mode 100644 index 0000000000..f8e8dcb8a6 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/config/database.php @@ -0,0 +1,170 @@ + env('DB_CONNECTION', 'sqlite'), + + /* + |-------------------------------------------------------------------------- + | Database Connections + |-------------------------------------------------------------------------- + | + | Below are all of the database connections defined for your application. + | An example configuration is provided for each database system which + | is supported by Laravel. You're free to add / remove connections. + | + */ + + 'connections' => [ + + 'sqlite' => [ + 'driver' => 'sqlite', + 'url' => env('DB_URL'), + 'database' => env('DB_DATABASE', database_path('database.sqlite')), + 'prefix' => '', + 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), + ], + + 'mysql' => [ + 'driver' => 'mysql', + 'url' => env('DB_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '3306'), + 'database' => env('DB_DATABASE', 'laravel'), + 'username' => env('DB_USERNAME', 'root'), + 'password' => env('DB_PASSWORD', ''), + 'unix_socket' => env('DB_SOCKET', ''), + 'charset' => env('DB_CHARSET', 'utf8mb4'), + 'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'), + 'prefix' => '', + 'prefix_indexes' => true, + 'strict' => true, + 'engine' => null, + 'options' => extension_loaded('pdo_mysql') ? array_filter([ + PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + ]) : [], + ], + + 'mariadb' => [ + 'driver' => 'mariadb', + 'url' => env('DB_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '3306'), + 'database' => env('DB_DATABASE', 'laravel'), + 'username' => env('DB_USERNAME', 'root'), + 'password' => env('DB_PASSWORD', ''), + 'unix_socket' => env('DB_SOCKET', ''), + 'charset' => env('DB_CHARSET', 'utf8mb4'), + 'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'), + 'prefix' => '', + 'prefix_indexes' => true, + 'strict' => true, + 'engine' => null, + 'options' => extension_loaded('pdo_mysql') ? array_filter([ + PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + ]) : [], + ], + + 'pgsql' => [ + 'driver' => 'pgsql', + 'url' => env('DB_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '5432'), + 'database' => env('DB_DATABASE', 'laravel'), + 'username' => env('DB_USERNAME', 'root'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => env('DB_CHARSET', 'utf8'), + 'prefix' => '', + 'prefix_indexes' => true, + 'search_path' => 'public', + 'sslmode' => 'prefer', + ], + + 'sqlsrv' => [ + 'driver' => 'sqlsrv', + 'url' => env('DB_URL'), + 'host' => env('DB_HOST', 'localhost'), + 'port' => env('DB_PORT', '1433'), + 'database' => env('DB_DATABASE', 'laravel'), + 'username' => env('DB_USERNAME', 'root'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => env('DB_CHARSET', 'utf8'), + 'prefix' => '', + 'prefix_indexes' => true, + // 'encrypt' => env('DB_ENCRYPT', 'yes'), + // 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'), + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Migration Repository Table + |-------------------------------------------------------------------------- + | + | This table keeps track of all the migrations that have already run for + | your application. Using this information, we can determine which of + | the migrations on disk haven't actually been run on the database. + | + */ + + 'migrations' => [ + 'table' => 'migrations', + 'update_date_on_publish' => true, + ], + + /* + |-------------------------------------------------------------------------- + | Redis Databases + |-------------------------------------------------------------------------- + | + | Redis is an open source, fast, and advanced key-value store that also + | provides a richer body of commands than a typical key-value system + | such as Memcached. You may define your connection settings here. + | + */ + + 'redis' => [ + + 'client' => env('REDIS_CLIENT', 'phpredis'), + + 'options' => [ + 'cluster' => env('REDIS_CLUSTER', 'redis'), + 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'), + ], + + 'default' => [ + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'username' => env('REDIS_USERNAME'), + 'password' => env('REDIS_PASSWORD'), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_DB', '0'), + ], + + 'cache' => [ + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'username' => env('REDIS_USERNAME'), + 'password' => env('REDIS_PASSWORD'), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_CACHE_DB', '1'), + ], + + ], + +]; diff --git a/tests/Frameworks/Laravel/Latest/config/filesystems.php b/tests/Frameworks/Laravel/Latest/config/filesystems.php new file mode 100644 index 0000000000..44fe9c828e --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/config/filesystems.php @@ -0,0 +1,76 @@ + env('FILESYSTEM_DISK', 'local'), + + /* + |-------------------------------------------------------------------------- + | Filesystem Disks + |-------------------------------------------------------------------------- + | + | Below you may configure as many filesystem disks as necessary, and you + | may even configure multiple disks for the same driver. Examples for + | most supported storage drivers are configured here for reference. + | + | Supported Drivers: "local", "ftp", "sftp", "s3" + | + */ + + 'disks' => [ + + 'local' => [ + 'driver' => 'local', + 'root' => storage_path('app'), + 'throw' => false, + ], + + 'public' => [ + 'driver' => 'local', + 'root' => storage_path('app/public'), + 'url' => env('APP_URL').'/storage', + 'visibility' => 'public', + 'throw' => false, + ], + + 's3' => [ + 'driver' => 's3', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION'), + 'bucket' => env('AWS_BUCKET'), + 'url' => env('AWS_URL'), + 'endpoint' => env('AWS_ENDPOINT'), + 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), + 'throw' => false, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Symbolic Links + |-------------------------------------------------------------------------- + | + | Here you may configure the symbolic links that will be created when the + | `storage:link` Artisan command is executed. The array keys should be + | the locations of the links and the values should be their targets. + | + */ + + 'links' => [ + public_path('storage') => storage_path('app/public'), + ], + +]; diff --git a/tests/Frameworks/Laravel/Latest/config/logging.php b/tests/Frameworks/Laravel/Latest/config/logging.php new file mode 100644 index 0000000000..d526b64d75 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/config/logging.php @@ -0,0 +1,132 @@ + env('LOG_CHANNEL', 'stack'), + + /* + |-------------------------------------------------------------------------- + | Deprecations Log Channel + |-------------------------------------------------------------------------- + | + | This option controls the log channel that should be used to log warnings + | regarding deprecated PHP and library features. This allows you to get + | your application ready for upcoming major versions of dependencies. + | + */ + + 'deprecations' => [ + 'channel' => env('LOG_DEPRECATIONS_CHANNEL', 'null'), + 'trace' => env('LOG_DEPRECATIONS_TRACE', false), + ], + + /* + |-------------------------------------------------------------------------- + | Log Channels + |-------------------------------------------------------------------------- + | + | Here you may configure the log channels for your application. Laravel + | utilizes the Monolog PHP logging library, which includes a variety + | of powerful log handlers and formatters that you're free to use. + | + | Available Drivers: "single", "daily", "slack", "syslog", + | "errorlog", "monolog", "custom", "stack" + | + */ + + 'channels' => [ + + 'stack' => [ + 'driver' => 'stack', + 'channels' => explode(',', env('LOG_STACK', 'single')), + 'ignore_exceptions' => false, + ], + + 'single' => [ + 'driver' => 'single', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + 'replace_placeholders' => true, + ], + + 'daily' => [ + 'driver' => 'daily', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + 'days' => env('LOG_DAILY_DAYS', 14), + 'replace_placeholders' => true, + ], + + 'slack' => [ + 'driver' => 'slack', + 'url' => env('LOG_SLACK_WEBHOOK_URL'), + 'username' => env('LOG_SLACK_USERNAME', 'Laravel Log'), + 'emoji' => env('LOG_SLACK_EMOJI', ':boom:'), + 'level' => env('LOG_LEVEL', 'critical'), + 'replace_placeholders' => true, + ], + + 'papertrail' => [ + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => env('LOG_PAPERTRAIL_HANDLER', SyslogUdpHandler::class), + 'handler_with' => [ + 'host' => env('PAPERTRAIL_URL'), + 'port' => env('PAPERTRAIL_PORT'), + 'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'), + ], + 'processors' => [PsrLogMessageProcessor::class], + ], + + 'stderr' => [ + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => StreamHandler::class, + 'formatter' => env('LOG_STDERR_FORMATTER'), + 'with' => [ + 'stream' => 'php://stderr', + ], + 'processors' => [PsrLogMessageProcessor::class], + ], + + 'syslog' => [ + 'driver' => 'syslog', + 'level' => env('LOG_LEVEL', 'debug'), + 'facility' => env('LOG_SYSLOG_FACILITY', LOG_USER), + 'replace_placeholders' => true, + ], + + 'errorlog' => [ + 'driver' => 'errorlog', + 'level' => env('LOG_LEVEL', 'debug'), + 'replace_placeholders' => true, + ], + + 'null' => [ + 'driver' => 'monolog', + 'handler' => NullHandler::class, + ], + + 'emergency' => [ + 'path' => storage_path('logs/laravel.log'), + ], + + ], + +]; diff --git a/tests/Frameworks/Laravel/Latest/config/mail.php b/tests/Frameworks/Laravel/Latest/config/mail.php new file mode 100644 index 0000000000..a4a02fe486 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/config/mail.php @@ -0,0 +1,103 @@ + env('MAIL_MAILER', 'log'), + + /* + |-------------------------------------------------------------------------- + | Mailer Configurations + |-------------------------------------------------------------------------- + | + | Here you may configure all of the mailers used by your application plus + | their respective settings. Several examples have been configured for + | you and you are free to add your own as your application requires. + | + | Laravel supports a variety of mail "transport" drivers that can be used + | when delivering an email. You may specify which one you're using for + | your mailers below. You may also add additional mailers if needed. + | + | Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2", + | "postmark", "log", "array", "failover", "roundrobin" + | + */ + + 'mailers' => [ + + 'smtp' => [ + 'transport' => 'smtp', + 'url' => env('MAIL_URL'), + 'host' => env('MAIL_HOST', '127.0.0.1'), + 'port' => env('MAIL_PORT', 2525), + 'encryption' => env('MAIL_ENCRYPTION', 'tls'), + 'username' => env('MAIL_USERNAME'), + 'password' => env('MAIL_PASSWORD'), + 'timeout' => null, + 'local_domain' => env('MAIL_EHLO_DOMAIN'), + ], + + 'ses' => [ + 'transport' => 'ses', + ], + + 'postmark' => [ + 'transport' => 'postmark', + // 'message_stream_id' => env('POSTMARK_MESSAGE_STREAM_ID'), + // 'client' => [ + // 'timeout' => 5, + // ], + ], + + 'sendmail' => [ + 'transport' => 'sendmail', + 'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'), + ], + + 'log' => [ + 'transport' => 'log', + 'channel' => env('MAIL_LOG_CHANNEL'), + ], + + 'array' => [ + 'transport' => 'array', + ], + + 'failover' => [ + 'transport' => 'failover', + 'mailers' => [ + 'smtp', + 'log', + ], + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Global "From" Address + |-------------------------------------------------------------------------- + | + | You may wish for all emails sent by your application to be sent from + | the same address. Here you may specify a name and address that is + | used globally for all emails that are sent by your application. + | + */ + + 'from' => [ + 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), + 'name' => env('MAIL_FROM_NAME', 'Example'), + ], + +]; diff --git a/tests/Frameworks/Laravel/Latest/config/queue.php b/tests/Frameworks/Laravel/Latest/config/queue.php new file mode 100644 index 0000000000..116bd8d002 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/config/queue.php @@ -0,0 +1,112 @@ + env('QUEUE_CONNECTION', 'database'), + + /* + |-------------------------------------------------------------------------- + | Queue Connections + |-------------------------------------------------------------------------- + | + | Here you may configure the connection options for every queue backend + | used by your application. An example configuration is provided for + | each backend supported by Laravel. You're also free to add more. + | + | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" + | + */ + + 'connections' => [ + + 'sync' => [ + 'driver' => 'sync', + ], + + 'database' => [ + 'driver' => 'database', + 'connection' => env('DB_QUEUE_CONNECTION'), + 'table' => env('DB_QUEUE_TABLE', 'jobs'), + 'queue' => env('DB_QUEUE', 'default'), + 'retry_after' => (int) env('DB_QUEUE_RETRY_AFTER', 90), + 'after_commit' => false, + ], + + 'beanstalkd' => [ + 'driver' => 'beanstalkd', + 'host' => env('BEANSTALKD_QUEUE_HOST', 'localhost'), + 'queue' => env('BEANSTALKD_QUEUE', 'default'), + 'retry_after' => (int) env('BEANSTALKD_QUEUE_RETRY_AFTER', 90), + 'block_for' => 0, + 'after_commit' => false, + ], + + 'sqs' => [ + 'driver' => 'sqs', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), + 'queue' => env('SQS_QUEUE', 'default'), + 'suffix' => env('SQS_SUFFIX'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + 'after_commit' => false, + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => env('REDIS_QUEUE_CONNECTION', 'default'), + 'queue' => env('REDIS_QUEUE', 'default'), + 'retry_after' => (int) env('REDIS_QUEUE_RETRY_AFTER', 90), + 'block_for' => null, + 'after_commit' => false, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Job Batching + |-------------------------------------------------------------------------- + | + | The following options configure the database and table that store job + | batching information. These options can be updated to any database + | connection and table which has been defined by your application. + | + */ + + 'batching' => [ + 'database' => env('DB_CONNECTION', 'sqlite'), + 'table' => 'job_batches', + ], + + /* + |-------------------------------------------------------------------------- + | Failed Queue Jobs + |-------------------------------------------------------------------------- + | + | These options configure the behavior of failed queue job logging so you + | can control how and where failed jobs are stored. Laravel ships with + | support for storing failed jobs in a simple file or in a database. + | + | Supported drivers: "database-uuids", "dynamodb", "file", "null" + | + */ + + 'failed' => [ + 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), + 'database' => env('DB_CONNECTION', 'sqlite'), + 'table' => 'failed_jobs', + ], + +]; diff --git a/tests/Frameworks/Laravel/Latest/config/services.php b/tests/Frameworks/Laravel/Latest/config/services.php new file mode 100644 index 0000000000..6bb68f6aec --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/config/services.php @@ -0,0 +1,34 @@ + [ + 'token' => env('POSTMARK_TOKEN'), + ], + + 'ses' => [ + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + ], + + 'slack' => [ + 'notifications' => [ + 'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'), + 'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'), + ], + ], + +]; diff --git a/tests/Frameworks/Laravel/Latest/config/session.php b/tests/Frameworks/Laravel/Latest/config/session.php new file mode 100644 index 0000000000..0e22ee41de --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/config/session.php @@ -0,0 +1,218 @@ + env('SESSION_DRIVER', 'database'), + + /* + |-------------------------------------------------------------------------- + | Session Lifetime + |-------------------------------------------------------------------------- + | + | Here you may specify the number of minutes that you wish the session + | to be allowed to remain idle before it expires. If you want them + | to expire immediately when the browser is closed then you may + | indicate that via the expire_on_close configuration option. + | + */ + + 'lifetime' => env('SESSION_LIFETIME', 120), + + 'expire_on_close' => env('SESSION_EXPIRE_ON_CLOSE', false), + + /* + |-------------------------------------------------------------------------- + | Session Encryption + |-------------------------------------------------------------------------- + | + | This option allows you to easily specify that all of your session data + | should be encrypted before it's stored. All encryption is performed + | automatically by Laravel and you may use the session like normal. + | + */ + + 'encrypt' => env('SESSION_ENCRYPT', false), + + /* + |-------------------------------------------------------------------------- + | Session File Location + |-------------------------------------------------------------------------- + | + | When utilizing the "file" session driver, the session files are placed + | on disk. The default storage location is defined here; however, you + | are free to provide another location where they should be stored. + | + */ + + 'files' => storage_path('framework/sessions'), + + /* + |-------------------------------------------------------------------------- + | Session Database Connection + |-------------------------------------------------------------------------- + | + | When using the "database" or "redis" session drivers, you may specify a + | connection that should be used to manage these sessions. This should + | correspond to a connection in your database configuration options. + | + */ + + 'connection' => env('SESSION_CONNECTION'), + + /* + |-------------------------------------------------------------------------- + | Session Database Table + |-------------------------------------------------------------------------- + | + | When using the "database" session driver, you may specify the table to + | be used to store sessions. Of course, a sensible default is defined + | for you; however, you're welcome to change this to another table. + | + */ + + 'table' => env('SESSION_TABLE', 'sessions'), + + /* + |-------------------------------------------------------------------------- + | Session Cache Store + |-------------------------------------------------------------------------- + | + | When using one of the framework's cache driven session backends, you may + | define the cache store which should be used to store the session data + | between requests. This must match one of your defined cache stores. + | + | Affects: "apc", "dynamodb", "memcached", "redis" + | + */ + + 'store' => env('SESSION_STORE'), + + /* + |-------------------------------------------------------------------------- + | Session Sweeping Lottery + |-------------------------------------------------------------------------- + | + | Some session drivers must manually sweep their storage location to get + | rid of old sessions from storage. Here are the chances that it will + | happen on a given request. By default, the odds are 2 out of 100. + | + */ + + 'lottery' => [2, 100], + + /* + |-------------------------------------------------------------------------- + | Session Cookie Name + |-------------------------------------------------------------------------- + | + | Here you may change the name of the session cookie that is created by + | the framework. Typically, you should not need to change this value + | since doing so does not grant a meaningful security improvement. + | + | + */ + + 'cookie' => env( + 'SESSION_COOKIE', + Str::slug(env('APP_NAME', 'laravel'), '_').'_session' + ), + + /* + |-------------------------------------------------------------------------- + | Session Cookie Path + |-------------------------------------------------------------------------- + | + | The session cookie path determines the path for which the cookie will + | be regarded as available. Typically, this will be the root path of + | your application, but you're free to change this when necessary. + | + */ + + 'path' => env('SESSION_PATH', '/'), + + /* + |-------------------------------------------------------------------------- + | Session Cookie Domain + |-------------------------------------------------------------------------- + | + | This value determines the domain and subdomains the session cookie is + | available to. By default, the cookie will be available to the root + | domain and all subdomains. Typically, this shouldn't be changed. + | + */ + + 'domain' => env('SESSION_DOMAIN'), + + /* + |-------------------------------------------------------------------------- + | HTTPS Only Cookies + |-------------------------------------------------------------------------- + | + | By setting this option to true, session cookies will only be sent back + | to the server if the browser has a HTTPS connection. This will keep + | the cookie from being sent to you when it can't be done securely. + | + */ + + 'secure' => env('SESSION_SECURE_COOKIE'), + + /* + |-------------------------------------------------------------------------- + | HTTP Access Only + |-------------------------------------------------------------------------- + | + | Setting this value to true will prevent JavaScript from accessing the + | value of the cookie and the cookie will only be accessible through + | the HTTP protocol. It's unlikely you should disable this option. + | + */ + + 'http_only' => env('SESSION_HTTP_ONLY', true), + + /* + |-------------------------------------------------------------------------- + | Same-Site Cookies + |-------------------------------------------------------------------------- + | + | This option determines how your cookies behave when cross-site requests + | take place, and can be used to mitigate CSRF attacks. By default, we + | will set this value to "lax" to permit secure cross-site requests. + | + | See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value + | + | Supported: "lax", "strict", "none", null + | + */ + + 'same_site' => env('SESSION_SAME_SITE', 'lax'), + + /* + |-------------------------------------------------------------------------- + | Partitioned Cookies + |-------------------------------------------------------------------------- + | + | Setting this value to true will tie the cookie to the top-level site for + | a cross-site context. Partitioned cookies are accepted by the browser + | when flagged "secure" and the Same-Site attribute is set to "none". + | + */ + + 'partitioned' => env('SESSION_PARTITIONED_COOKIE', false), + +]; diff --git a/tests/Frameworks/Laravel/Latest/database/.gitignore b/tests/Frameworks/Laravel/Latest/database/.gitignore new file mode 100644 index 0000000000..9b19b93c9f --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/database/.gitignore @@ -0,0 +1 @@ +*.sqlite* diff --git a/tests/Frameworks/Laravel/Latest/database/factories/UserFactory.php b/tests/Frameworks/Laravel/Latest/database/factories/UserFactory.php new file mode 100644 index 0000000000..584104c9cf --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/database/factories/UserFactory.php @@ -0,0 +1,44 @@ + + */ +class UserFactory extends Factory +{ + /** + * The current password being used by the factory. + */ + protected static ?string $password; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition(): array + { + return [ + 'name' => fake()->name(), + 'email' => fake()->unique()->safeEmail(), + 'email_verified_at' => now(), + 'password' => static::$password ??= Hash::make('password'), + 'remember_token' => Str::random(10), + ]; + } + + /** + * Indicate that the model's email address should be unverified. + */ + public function unverified(): static + { + return $this->state(fn (array $attributes) => [ + 'email_verified_at' => null, + ]); + } +} diff --git a/tests/Frameworks/Laravel/Latest/database/migrations/0001_01_01_000000_create_users_table.php b/tests/Frameworks/Laravel/Latest/database/migrations/0001_01_01_000000_create_users_table.php new file mode 100644 index 0000000000..05fb5d9ea9 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/database/migrations/0001_01_01_000000_create_users_table.php @@ -0,0 +1,49 @@ +id(); + $table->string('name'); + $table->string('email')->unique(); + $table->timestamp('email_verified_at')->nullable(); + $table->string('password'); + $table->rememberToken(); + $table->timestamps(); + }); + + Schema::create('password_reset_tokens', function (Blueprint $table) { + $table->string('email')->primary(); + $table->string('token'); + $table->timestamp('created_at')->nullable(); + }); + + Schema::create('sessions', function (Blueprint $table) { + $table->string('id')->primary(); + $table->foreignId('user_id')->nullable()->index(); + $table->string('ip_address', 45)->nullable(); + $table->text('user_agent')->nullable(); + $table->longText('payload'); + $table->integer('last_activity')->index(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('users'); + Schema::dropIfExists('password_reset_tokens'); + Schema::dropIfExists('sessions'); + } +}; diff --git a/tests/Frameworks/Laravel/Latest/database/migrations/0001_01_01_000001_create_cache_table.php b/tests/Frameworks/Laravel/Latest/database/migrations/0001_01_01_000001_create_cache_table.php new file mode 100644 index 0000000000..b9c106be81 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/database/migrations/0001_01_01_000001_create_cache_table.php @@ -0,0 +1,35 @@ +string('key')->primary(); + $table->mediumText('value'); + $table->integer('expiration'); + }); + + Schema::create('cache_locks', function (Blueprint $table) { + $table->string('key')->primary(); + $table->string('owner'); + $table->integer('expiration'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('cache'); + Schema::dropIfExists('cache_locks'); + } +}; diff --git a/tests/Frameworks/Laravel/Latest/database/migrations/0001_01_01_000002_create_jobs_table.php b/tests/Frameworks/Laravel/Latest/database/migrations/0001_01_01_000002_create_jobs_table.php new file mode 100644 index 0000000000..425e7058fc --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/database/migrations/0001_01_01_000002_create_jobs_table.php @@ -0,0 +1,57 @@ +id(); + $table->string('queue')->index(); + $table->longText('payload'); + $table->unsignedTinyInteger('attempts'); + $table->unsignedInteger('reserved_at')->nullable(); + $table->unsignedInteger('available_at'); + $table->unsignedInteger('created_at'); + }); + + Schema::create('job_batches', function (Blueprint $table) { + $table->string('id')->primary(); + $table->string('name'); + $table->integer('total_jobs'); + $table->integer('pending_jobs'); + $table->integer('failed_jobs'); + $table->longText('failed_job_ids'); + $table->mediumText('options')->nullable(); + $table->integer('cancelled_at')->nullable(); + $table->integer('created_at'); + $table->integer('finished_at')->nullable(); + }); + + Schema::create('failed_jobs', function (Blueprint $table) { + $table->id(); + $table->string('uuid')->unique(); + $table->text('connection'); + $table->text('queue'); + $table->longText('payload'); + $table->longText('exception'); + $table->timestamp('failed_at')->useCurrent(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('jobs'); + Schema::dropIfExists('job_batches'); + Schema::dropIfExists('failed_jobs'); + } +}; diff --git a/tests/Frameworks/Laravel/Latest/database/seeders/DatabaseSeeder.php b/tests/Frameworks/Laravel/Latest/database/seeders/DatabaseSeeder.php new file mode 100644 index 0000000000..d01a0ef2f7 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/database/seeders/DatabaseSeeder.php @@ -0,0 +1,23 @@ +create(); + + User::factory()->create([ + 'name' => 'Test User', + 'email' => 'test@example.com', + ]); + } +} diff --git a/tests/Frameworks/Laravel/Latest/phpunit.xml b/tests/Frameworks/Laravel/Latest/phpunit.xml new file mode 100644 index 0000000000..506b9a38ec --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/phpunit.xml @@ -0,0 +1,33 @@ + + + + + tests/Unit + + + tests/Feature + + + + + app + + + + + + + + + + + + + + + + diff --git a/tests/Frameworks/Laravel/Latest/public/.htaccess b/tests/Frameworks/Laravel/Latest/public/.htaccess new file mode 100644 index 0000000000..3aec5e27e5 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/public/.htaccess @@ -0,0 +1,21 @@ + + + Options -MultiViews -Indexes + + + RewriteEngine On + + # Handle Authorization Header + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + + # Redirect Trailing Slashes If Not A Folder... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_URI} (.+)/$ + RewriteRule ^ %1 [L,R=301] + + # Send Requests To Front Controller... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ index.php [L] + diff --git a/tests/Frameworks/Laravel/Latest/public/index.php b/tests/Frameworks/Laravel/Latest/public/index.php new file mode 100644 index 0000000000..947d98963f --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/public/index.php @@ -0,0 +1,17 @@ +handleRequest(Request::capture()); diff --git a/tests/Frameworks/Laravel/Latest/public/robots.txt b/tests/Frameworks/Laravel/Latest/public/robots.txt new file mode 100644 index 0000000000..eb0536286f --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: diff --git a/tests/Frameworks/Laravel/Latest/resources/js/app.js b/tests/Frameworks/Laravel/Latest/resources/js/app.js new file mode 100644 index 0000000000..e59d6a0adf --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/resources/js/app.js @@ -0,0 +1 @@ +import './bootstrap'; diff --git a/tests/Frameworks/Laravel/Latest/resources/js/bootstrap.js b/tests/Frameworks/Laravel/Latest/resources/js/bootstrap.js new file mode 100644 index 0000000000..5f1390b015 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/resources/js/bootstrap.js @@ -0,0 +1,4 @@ +import axios from 'axios'; +window.axios = axios; + +window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; diff --git a/tests/Frameworks/Laravel/Latest/resources/views/simple_view.blade.php b/tests/Frameworks/Laravel/Latest/resources/views/simple_view.blade.php new file mode 100644 index 0000000000..5efc5f248f --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/resources/views/simple_view.blade.php @@ -0,0 +1,9 @@ + + + + + +

Simple View

+

This is a simple view.

+ + diff --git a/tests/Frameworks/Laravel/Latest/resources/views/welcome.blade.php b/tests/Frameworks/Laravel/Latest/resources/views/welcome.blade.php new file mode 100644 index 0000000000..a9898e337b --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/resources/views/welcome.blade.php @@ -0,0 +1,172 @@ + + + + + + + Laravel + + + + + + + + + + + + diff --git a/tests/Frameworks/Laravel/Latest/routes/console.php b/tests/Frameworks/Laravel/Latest/routes/console.php new file mode 100644 index 0000000000..eff2ed2404 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/routes/console.php @@ -0,0 +1,8 @@ +comment(Inspiring::quote()); +})->purpose('Display an inspiring quote')->hourly(); diff --git a/tests/Frameworks/Laravel/Latest/routes/web.php b/tests/Frameworks/Laravel/Latest/routes/web.php new file mode 100644 index 0000000000..a50f091f32 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/routes/web.php @@ -0,0 +1,8 @@ +name('simple_route'); +Route::get('simple_view', [CommonSpecsController::class, 'simple_view']); +Route::get('error', [CommonSpecsController::class, 'error']); diff --git a/tests/Frameworks/Laravel/Latest/storage/app/.gitignore b/tests/Frameworks/Laravel/Latest/storage/app/.gitignore new file mode 100644 index 0000000000..8f4803c056 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/storage/app/.gitignore @@ -0,0 +1,3 @@ +* +!public/ +!.gitignore diff --git a/tests/Frameworks/Laravel/Latest/storage/app/public/.gitignore b/tests/Frameworks/Laravel/Latest/storage/app/public/.gitignore new file mode 100644 index 0000000000..d6b7ef32c8 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/storage/app/public/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/tests/Frameworks/Laravel/Latest/storage/framework/.gitignore b/tests/Frameworks/Laravel/Latest/storage/framework/.gitignore new file mode 100644 index 0000000000..05c4471f2b --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/storage/framework/.gitignore @@ -0,0 +1,9 @@ +compiled.php +config.php +down +events.scanned.php +maintenance.php +routes.php +routes.scanned.php +schedule-* +services.json diff --git a/tests/Frameworks/Laravel/Latest/storage/framework/cache/.gitignore b/tests/Frameworks/Laravel/Latest/storage/framework/cache/.gitignore new file mode 100644 index 0000000000..01e4a6cda9 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/storage/framework/cache/.gitignore @@ -0,0 +1,3 @@ +* +!data/ +!.gitignore diff --git a/tests/Frameworks/Laravel/Latest/storage/framework/cache/data/.gitignore b/tests/Frameworks/Laravel/Latest/storage/framework/cache/data/.gitignore new file mode 100644 index 0000000000..d6b7ef32c8 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/storage/framework/cache/data/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/tests/Frameworks/Laravel/Latest/storage/framework/sessions/.gitignore b/tests/Frameworks/Laravel/Latest/storage/framework/sessions/.gitignore new file mode 100644 index 0000000000..d6b7ef32c8 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/storage/framework/sessions/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/tests/Frameworks/Laravel/Latest/storage/framework/testing/.gitignore b/tests/Frameworks/Laravel/Latest/storage/framework/testing/.gitignore new file mode 100644 index 0000000000..d6b7ef32c8 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/storage/framework/testing/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/tests/Frameworks/Laravel/Latest/storage/framework/views/.gitignore b/tests/Frameworks/Laravel/Latest/storage/framework/views/.gitignore new file mode 100644 index 0000000000..d6b7ef32c8 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/storage/framework/views/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/tests/Frameworks/Laravel/Latest/storage/logs/.gitignore b/tests/Frameworks/Laravel/Latest/storage/logs/.gitignore new file mode 100644 index 0000000000..d6b7ef32c8 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/storage/logs/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/tests/Frameworks/Laravel/Latest/tests/Feature/ExampleTest.php b/tests/Frameworks/Laravel/Latest/tests/Feature/ExampleTest.php new file mode 100644 index 0000000000..8364a84e2b --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/tests/Feature/ExampleTest.php @@ -0,0 +1,19 @@ +get('/'); + + $response->assertStatus(200); + } +} diff --git a/tests/Frameworks/Laravel/Latest/tests/TestCase.php b/tests/Frameworks/Laravel/Latest/tests/TestCase.php new file mode 100644 index 0000000000..fe1ffc2ff1 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/tests/TestCase.php @@ -0,0 +1,10 @@ +assertTrue(true); + } +} diff --git a/tests/Frameworks/Laravel/Latest/vite.config.js b/tests/Frameworks/Laravel/Latest/vite.config.js new file mode 100644 index 0000000000..421b569562 --- /dev/null +++ b/tests/Frameworks/Laravel/Latest/vite.config.js @@ -0,0 +1,11 @@ +import { defineConfig } from 'vite'; +import laravel from 'laravel-vite-plugin'; + +export default defineConfig({ + plugins: [ + laravel({ + input: ['resources/css/app.css', 'resources/js/app.js'], + refresh: true, + }), + ], +}); diff --git a/tests/Frameworks/Symfony/Latest/.env b/tests/Frameworks/Symfony/Latest/.env new file mode 100644 index 0000000000..4c4d4e3ac6 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/.env @@ -0,0 +1,37 @@ +# In all environments, the following files are loaded if they exist, +# the latter taking precedence over the former: +# +# * .env contains default values for the environment variables needed by the app +# * .env.local uncommitted file with local overrides +# * .env.$APP_ENV committed environment-specific defaults +# * .env.$APP_ENV.local uncommitted environment-specific overrides +# +# Real environment variables win over .env files. +# +# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES. +# https://symfony.com/doc/current/configuration/secrets.html +# +# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2). +# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration + +###> symfony/framework-bundle ### +APP_ENV=dev +APP_SECRET=7b46ee8a78f39224283035fe148d0a79 +###< symfony/framework-bundle ### + +###> doctrine/doctrine-bundle ### +# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url +# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml +# +# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" +# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4" +# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4" +DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8" +###< doctrine/doctrine-bundle ### + +###> symfony/messenger ### +# Choose one of the transports below +# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages +# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages +MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0 +###< symfony/messenger ### diff --git a/tests/Frameworks/Symfony/Latest/.gitignore b/tests/Frameworks/Symfony/Latest/.gitignore new file mode 100644 index 0000000000..a67f91e25c --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/.gitignore @@ -0,0 +1,10 @@ + +###> symfony/framework-bundle ### +/.env.local +/.env.local.php +/.env.*.local +/config/secrets/prod/prod.decrypt.private.php +/public/bundles/ +/var/ +/vendor/ +###< symfony/framework-bundle ### diff --git a/tests/Frameworks/Symfony/Latest/bin/console b/tests/Frameworks/Symfony/Latest/bin/console new file mode 100644 index 0000000000..c933dc535d --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/bin/console @@ -0,0 +1,17 @@ +#!/usr/bin/env php + doctrine/doctrine-bundle ### + database: + ports: + - "5432" +###< doctrine/doctrine-bundle ### diff --git a/tests/Frameworks/Symfony/Latest/compose.yaml b/tests/Frameworks/Symfony/Latest/compose.yaml new file mode 100644 index 0000000000..1067b9ca01 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/compose.yaml @@ -0,0 +1,21 @@ +version: '3' + +services: +###> doctrine/doctrine-bundle ### + database: + image: postgres:${POSTGRES_VERSION:-15}-alpine + environment: + POSTGRES_DB: ${POSTGRES_DB:-app} + # You should definitely change the password in production + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!} + POSTGRES_USER: ${POSTGRES_USER:-app} + volumes: + - database_data:/var/lib/postgresql/data:rw + # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data! + # - ./docker/db/data:/var/lib/postgresql/data:rw +###< doctrine/doctrine-bundle ### + +volumes: +###> doctrine/doctrine-bundle ### + database_data: +###< doctrine/doctrine-bundle ### diff --git a/tests/Frameworks/Symfony/Latest/composer.json b/tests/Frameworks/Symfony/Latest/composer.json new file mode 100644 index 0000000000..7ad08b05fd --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/composer.json @@ -0,0 +1,85 @@ +{ + "type": "project", + "license": "proprietary", + "minimum-stability": "stable", + "prefer-stable": true, + "require": { + "php": ">=8.2", + "ext-ctype": "*", + "ext-iconv": "*", + "doctrine/annotations": "^2.0", + "doctrine/doctrine-bundle": "^2.11", + "doctrine/doctrine-migrations-bundle": "^3.3", + "doctrine/orm": "^2.17", + "phpdocumentor/reflection-docblock": "^5.6", + "phpstan/phpdoc-parser": "^1.0", + "symfony/doctrine-messenger": "^7.1", + "symfony/flex": "^2", + "symfony/framework-bundle": "7.1.10", + "symfony/messenger": "7.1.9", + "symfony/monolog-bundle": "^3.10", + "symfonycasts/verify-email-bundle": "^1.16" + }, + "config": { + "allow-plugins": { + "symfony/flex": true, + "php-http/discovery": true, + "symfony/runtime": true + }, + "sort-packages": true + }, + "autoload": { + "psr-4": { + "App\\": "src/" + }, + "files": [ + "../../../Appsec/Mock.php" + ] + }, + "autoload-dev": { + "psr-4": { + "App\\Tests\\": "tests/" + } + }, + "replace": { + "symfony/polyfill-ctype": "*", + "symfony/polyfill-iconv": "*", + "symfony/polyfill-php72": "*", + "symfony/polyfill-php73": "*", + "symfony/polyfill-php74": "*", + "symfony/polyfill-php80": "*", + "symfony/polyfill-php81": "*", + "symfony/polyfill-php82": "*" + }, + "scripts": { + "auto-scripts": { + "cache:clear": "symfony-cmd", + "assets:install %PUBLIC_DIR%": "symfony-cmd" + }, + "post-install-cmd": [ + "@auto-scripts" + ], + "post-update-cmd": [ + "@auto-scripts" + ], + "post-autoload-dump": [ + "rm -rf var/cache/dev/*", + "rm -rf var/cache/prod/*", + "@php bin/console doctrine:database:drop --force || true", + "@php bin/console doctrine:database:create", + "@php bin/console doctrine:migrations:migrate -n" + ] + }, + "conflict": { + "symfony/symfony": "*" + }, + "extra": { + "symfony": { + "allow-contrib": false, + "require": "7.0.*" + } + }, + "require-dev": { + "symfony/maker-bundle": "^1.49" + } +} diff --git a/tests/Frameworks/Symfony/Latest/config/bundles.php b/tests/Frameworks/Symfony/Latest/config/bundles.php new file mode 100644 index 0000000000..1b41cf8c0b --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/config/bundles.php @@ -0,0 +1,12 @@ + ['all' => true], + Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], + Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], + Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true], + Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true], + Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true], + SymfonyCasts\Bundle\VerifyEmail\SymfonyCastsVerifyEmailBundle::class => ['all' => true], + Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true], +]; diff --git a/tests/Frameworks/Symfony/Latest/config/packages/cache.yaml b/tests/Frameworks/Symfony/Latest/config/packages/cache.yaml new file mode 100644 index 0000000000..6899b72003 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/config/packages/cache.yaml @@ -0,0 +1,19 @@ +framework: + cache: + # Unique name of your app: used to compute stable namespaces for cache keys. + #prefix_seed: your_vendor_name/app_name + + # The "app" cache stores to the filesystem by default. + # The data in this cache should persist between deploys. + # Other options include: + + # Redis + #app: cache.adapter.redis + #default_redis_provider: redis://localhost + + # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues) + #app: cache.adapter.apcu + + # Namespaced pools use the above "app" backend by default + #pools: + #my.dedicated.cache: null diff --git a/tests/Frameworks/Symfony/Latest/config/packages/doctrine.yaml b/tests/Frameworks/Symfony/Latest/config/packages/doctrine.yaml new file mode 100644 index 0000000000..d5bd8165cd --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/config/packages/doctrine.yaml @@ -0,0 +1,49 @@ +doctrine: + dbal: + url: 'mysql://test:test@mysql_integration:3306/symfonyLatest?serverVersion=5&charset=utf8mb4' + + # IMPORTANT: You MUST configure your server version, + # either here or in the DATABASE_URL env var (see .env file) + #server_version: '15' + + profiling_collect_backtrace: '%kernel.debug%' + orm: + auto_generate_proxy_classes: true + enable_lazy_ghost_objects: true + report_fields_where_declared: true + validate_xml_mapping: true + naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware + auto_mapping: true + mappings: + App: + type: attribute + is_bundle: false + dir: '%kernel.project_dir%/src/Entity' + prefix: 'App\Entity' + alias: App + +when@test: + doctrine: + dbal: + # "TEST_TOKEN" is typically set by ParaTest + dbname_suffix: '_test%env(default::TEST_TOKEN)%' + +when@prod: + doctrine: + orm: + auto_generate_proxy_classes: false + proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies' + query_cache_driver: + type: pool + pool: doctrine.system_cache_pool + result_cache_driver: + type: pool + pool: doctrine.result_cache_pool + + framework: + cache: + pools: + doctrine.result_cache_pool: + adapter: cache.app + doctrine.system_cache_pool: + adapter: cache.system diff --git a/tests/Frameworks/Symfony/Latest/config/packages/doctrine_migrations.yaml b/tests/Frameworks/Symfony/Latest/config/packages/doctrine_migrations.yaml new file mode 100644 index 0000000000..29231d94bd --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/config/packages/doctrine_migrations.yaml @@ -0,0 +1,6 @@ +doctrine_migrations: + migrations_paths: + # namespace is arbitrary but should be different from App\Migrations + # as migrations classes should NOT be autoloaded + 'DoctrineMigrations': '%kernel.project_dir%/migrations' + enable_profiler: false diff --git a/tests/Frameworks/Symfony/Latest/config/packages/framework.yaml b/tests/Frameworks/Symfony/Latest/config/packages/framework.yaml new file mode 100644 index 0000000000..949ea2f45f --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/config/packages/framework.yaml @@ -0,0 +1,23 @@ +# see https://symfony.com/doc/current/reference/configuration/framework.html +framework: + secret: '%env(APP_SECRET)%' + csrf_protection: false + handle_all_throwables: true + + # Enables session support. Note that the session will ONLY be started if you read or write from it. + # Remove or comment this section to explicitly disable session support. + session: + handler_id: null + cookie_secure: false + cookie_samesite: lax + + #esi: true + #fragments: true + php_errors: + log: true + +when@test: + framework: + test: true + session: + storage_factory_id: session.storage.factory.mock_file diff --git a/tests/Frameworks/Symfony/Latest/config/packages/messenger.yaml b/tests/Frameworks/Symfony/Latest/config/packages/messenger.yaml new file mode 100644 index 0000000000..81aba0cb9b --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/config/packages/messenger.yaml @@ -0,0 +1,33 @@ +framework: + messenger: + serializer: + default_serializer: messenger.transport.symfony_serializer + symfony_serializer: + format: json + context: { } + # Uncomment this (and the failed transport below) to send failed messages to this transport for later handling. + failure_transport: failed + + transports: + # https://symfony.com/doc/current/messenger.html#transport-configuration + async: + dsn: '%env(MESSENGER_TRANSPORT_DSN)%' + options: + queue_name: high + retry_strategy: + max_retries: 0 + failed: 'doctrine://default?queue_name=failed' + sync: 'sync://' + + routing: + # Route your messages to the transports + 'App\Message\LuckyNumberNotification': async + + +# when@test: +# framework: +# messenger: +# transports: +# # replace with your transport name here (e.g., my_transport: 'in-memory://') +# # For more Messenger testing tools, see https://github.com/zenstruck/messenger-test +# async: 'in-memory://' diff --git a/tests/Frameworks/Symfony/Latest/config/packages/monolog.yaml b/tests/Frameworks/Symfony/Latest/config/packages/monolog.yaml new file mode 100644 index 0000000000..8c9efa91e0 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/config/packages/monolog.yaml @@ -0,0 +1,61 @@ +monolog: + channels: + - deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists + +when@dev: + monolog: + handlers: + main: + type: stream + path: "%kernel.logs_dir%/%kernel.environment%.log" + level: debug + channels: ["!event"] + # uncomment to get logging in your browser + # you may have to allow bigger header sizes in your Web server configuration + #firephp: + # type: firephp + # level: info + #chromephp: + # type: chromephp + # level: info + console: + type: console + process_psr_3_messages: false + channels: ["!event", "!doctrine", "!console"] + +when@test: + monolog: + handlers: + main: + type: fingers_crossed + action_level: error + handler: nested + excluded_http_codes: [404, 405] + channels: ["!event"] + nested: + type: stream + path: "%kernel.logs_dir%/%kernel.environment%.log" + level: debug + +when@prod: + monolog: + handlers: + main: + type: fingers_crossed + action_level: error + handler: nested + excluded_http_codes: [404, 405] + buffer_size: 50 # How many messages should be saved? Prevent memory leaks + nested: + type: stream + path: php://stderr + level: debug + formatter: monolog.formatter.json + console: + type: console + process_psr_3_messages: false + channels: ["!event", "!doctrine"] + deprecation: + type: stream + channels: [deprecation] + path: php://stderr diff --git a/tests/Frameworks/Symfony/Latest/config/packages/routing.yaml b/tests/Frameworks/Symfony/Latest/config/packages/routing.yaml new file mode 100644 index 0000000000..4b766ce57f --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/config/packages/routing.yaml @@ -0,0 +1,12 @@ +framework: + router: + utf8: true + + # Configure how to generate URLs in non-HTTP contexts, such as CLI commands. + # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands + #default_uri: http://localhost + +when@prod: + framework: + router: + strict_requirements: null diff --git a/tests/Frameworks/Symfony/Latest/config/packages/security.yaml b/tests/Frameworks/Symfony/Latest/config/packages/security.yaml new file mode 100644 index 0000000000..a370a958a3 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/config/packages/security.yaml @@ -0,0 +1,46 @@ +security: + # https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords + password_hashers: + Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto' + # https://symfony.com/doc/current/security.html#loading-the-user-the-user-provider + providers: + # used to reload user from session & other features (e.g. switch_user) + app_user_provider: + entity: + class: App\Entity\User + property: email + firewalls: + dev: + pattern: ^/(_(profiler|wdt)|css|images|js)/ + security: false + main: + lazy: true + provider: app_user_provider + + # activate different ways to authenticate + # https://symfony.com/doc/current/security.html#the-firewall + + # https://symfony.com/doc/current/security/impersonating_user.html + # switch_user: true + form_login: + # "app_login" is the name of the route created previously + login_path: app_login + check_path: app_login + # Easy way to control access for large sections of your site + # Note: Only the *first* access control that matches will be used + access_control: + # - { path: ^/admin, roles: ROLE_ADMIN } + # - { path: ^/profile, roles: ROLE_USER } + +when@test: + security: + password_hashers: + # By default, password hashers are resource intensive and take time. This is + # important to generate secure password hashes. In tests however, secure hashes + # are not important, waste resources and increase test times. The following + # reduces the work factor to the lowest possible values. + Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: + algorithm: auto + cost: 4 # Lowest possible value for bcrypt + time_cost: 3 # Lowest possible value for argon + memory_cost: 10 # Lowest possible value for argon diff --git a/tests/Frameworks/Symfony/Latest/config/packages/test/framework.yaml b/tests/Frameworks/Symfony/Latest/config/packages/test/framework.yaml new file mode 100644 index 0000000000..d051c84008 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/config/packages/test/framework.yaml @@ -0,0 +1,4 @@ +framework: + test: true + session: + storage_id: session.storage.mock_file diff --git a/tests/Frameworks/Symfony/Latest/config/packages/test/twig.yaml b/tests/Frameworks/Symfony/Latest/config/packages/test/twig.yaml new file mode 100644 index 0000000000..8c6e0b401d --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/config/packages/test/twig.yaml @@ -0,0 +1,2 @@ +twig: + strict_variables: true diff --git a/tests/Frameworks/Symfony/Latest/config/packages/twig.yaml b/tests/Frameworks/Symfony/Latest/config/packages/twig.yaml new file mode 100644 index 0000000000..f9f4cc539b --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/config/packages/twig.yaml @@ -0,0 +1,6 @@ +twig: + default_path: '%kernel.project_dir%/templates' + +when@test: + twig: + strict_variables: true diff --git a/tests/Frameworks/Symfony/Latest/config/packages/validator.yaml b/tests/Frameworks/Symfony/Latest/config/packages/validator.yaml new file mode 100644 index 0000000000..0201281d3c --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/config/packages/validator.yaml @@ -0,0 +1,13 @@ +framework: + validation: + email_validation_mode: html5 + + # Enables validator auto-mapping support. + # For instance, basic validation constraints will be inferred from Doctrine's metadata. + #auto_mapping: + # App\Entity\: [] + +when@test: + framework: + validation: + not_compromised_password: false diff --git a/tests/Frameworks/Symfony/Latest/config/preload.php b/tests/Frameworks/Symfony/Latest/config/preload.php new file mode 100644 index 0000000000..5ebcdb2153 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/config/preload.php @@ -0,0 +1,5 @@ +addSql('CREATE TABLE `user` (id INT AUTO_INCREMENT NOT NULL, email VARCHAR(180) NOT NULL, roles LONGTEXT NOT NULL COMMENT \'(DC2Type:json)\', password VARCHAR(255) NOT NULL, UNIQUE INDEX UNIQ_8D93D649E7927C74 (email), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('DROP TABLE `user`'); + } +} diff --git a/tests/Frameworks/Symfony/Latest/migrations/Version20231227143831.php b/tests/Frameworks/Symfony/Latest/migrations/Version20231227143831.php new file mode 100644 index 0000000000..7f6d49843f --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/migrations/Version20231227143831.php @@ -0,0 +1,31 @@ +addSql('ALTER TABLE user ADD is_verified TINYINT(1) NOT NULL'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('ALTER TABLE `user` DROP is_verified'); + } +} diff --git a/tests/Frameworks/Symfony/Latest/migrations/Version20240711115224.php b/tests/Frameworks/Symfony/Latest/migrations/Version20240711115224.php new file mode 100644 index 0000000000..b8145fbb96 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/migrations/Version20240711115224.php @@ -0,0 +1,31 @@ +addSql('CREATE TABLE messenger_messages (id BIGINT AUTO_INCREMENT NOT NULL, body LONGTEXT NOT NULL, headers LONGTEXT NOT NULL, queue_name VARCHAR(190) NOT NULL, created_at DATETIME NOT NULL COMMENT \'(DC2Type:datetime_immutable)\', available_at DATETIME NOT NULL COMMENT \'(DC2Type:datetime_immutable)\', delivered_at DATETIME DEFAULT NULL COMMENT \'(DC2Type:datetime_immutable)\', INDEX IDX_75EA56E0FB7336F0 (queue_name), INDEX IDX_75EA56E0E3BD61CE (available_at), INDEX IDX_75EA56E016BA31DB (delivered_at), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('DROP TABLE messenger_messages'); + } +} diff --git a/tests/Frameworks/Symfony/Latest/public/index.php b/tests/Frameworks/Symfony/Latest/public/index.php new file mode 100644 index 0000000000..9982c218d6 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/public/index.php @@ -0,0 +1,9 @@ +render('twig_template.html.twig', [ + 'base_dir' => realpath($this->getParameter('kernel.project_dir')).DIRECTORY_SEPARATOR, + ]); + } + + #[Route('/error', name: 'error')] + public function errorAction(Request $request) + { + throw new \Exception('An exception occurred'); + } +} diff --git a/tests/Frameworks/Symfony/Latest/src/Controller/LoginController.php b/tests/Frameworks/Symfony/Latest/src/Controller/LoginController.php new file mode 100644 index 0000000000..4cfa2d14fb --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/src/Controller/LoginController.php @@ -0,0 +1,27 @@ +getLastAuthenticationError(); + + // last username entered by the user + $lastUsername = $authenticationUtils->getLastUsername(); + + return $this->render('login/index.html.twig', [ + 'last_username' => $lastUsername, + 'error' => $error, + ]); + } +} diff --git a/tests/Frameworks/Symfony/Latest/src/Controller/LuckyController.php b/tests/Frameworks/Symfony/Latest/src/Controller/LuckyController.php new file mode 100644 index 0000000000..f82efd38cd --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/src/Controller/LuckyController.php @@ -0,0 +1,29 @@ +dispatch(new LuckyNumberNotification($number)); + + return new Response("$number"); + } + + #[Route('/lucky/fail', 'lucky_fail')] + public function fail(MessageBusInterface $bus): Response + { + $bus->dispatch(new LuckyNumberNotification(101)); + + return new Response("101"); + } +} diff --git a/tests/Frameworks/Symfony/Latest/src/Controller/RegistrationController.php b/tests/Frameworks/Symfony/Latest/src/Controller/RegistrationController.php new file mode 100644 index 0000000000..c0ea3b78ca --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/src/Controller/RegistrationController.php @@ -0,0 +1,65 @@ +logger = $logger; + } + + #[Route('/register', name: 'app_register')] + public function register(Request $request, UserPasswordHasherInterface $userPasswordHasher, EntityManagerInterface $entityManager): Response + { + $this->logger->debug('Registering a new user'); + $user = new User(); + $this->logger->debug('Created a new user'); + $form = $this->createForm(RegistrationFormType::class, $user); + $this->logger->debug('Created a new form'); + $form->handleRequest($request); + $this->logger->debug('Handled a new form'); + + $this->logger->debug('Form is submitted: ' . $form->isSubmitted()); + $this->logger->debug('Form is valid: ' . $form->isValid()); + // Print errors + foreach ($form->getErrors(true) as $error) { + $this->logger->debug('Error: ' . $error->getMessage()); + } + + if ($form->isSubmitted() && $form->isValid()) { + $this->logger->debug('Form is valid'); + // encode the plain password + $user->setPassword( + $userPasswordHasher->hashPassword( + $user, + $form->get('plainPassword')->getData() + ) + ); + + $entityManager->persist($user); + $entityManager->flush(); + // do anything else you need here, like send an email + + return $this->redirectToRoute('simple'); + } + $this->logger->debug('Form is not valid'); + + return $this->render('registration/register.html.twig', [ + 'registrationForm' => $form->createView(), + ]); + } +} diff --git a/tests/Frameworks/Symfony/Latest/src/Entity/User.php b/tests/Frameworks/Symfony/Latest/src/Entity/User.php new file mode 100644 index 0000000000..c80827b39c --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/src/Entity/User.php @@ -0,0 +1,117 @@ +id; + } + + public function getEmail(): ?string + { + return $this->email; + } + + public function setEmail(string $email): static + { + $this->email = $email; + + return $this; + } + + /** + * A visual identifier that represents this user. + * + * @see UserInterface + */ + public function getUserIdentifier(): string + { + return (string) $this->email; + } + + /** + * @see UserInterface + */ + public function getRoles(): array + { + $roles = $this->roles; + // guarantee every user at least has ROLE_USER + $roles[] = 'ROLE_USER'; + + return array_unique($roles); + } + + public function setRoles(array $roles): static + { + $this->roles = $roles; + + return $this; + } + + /** + * @see PasswordAuthenticatedUserInterface + */ + public function getPassword(): string + { + return $this->password; + } + + public function setPassword(string $password): static + { + $this->password = $password; + + return $this; + } + + /** + * @see UserInterface + */ + public function eraseCredentials(): void + { + // If you store any temporary, sensitive data on the user, clear it here + // $this->plainPassword = null; + } + + public function isVerified(): bool + { + return $this->isVerified; + } + + public function setIsVerified(bool $isVerified): static + { + $this->isVerified = $isVerified; + + return $this; + } +} diff --git a/tests/Frameworks/Symfony/Latest/src/Form/RegistrationFormType.php b/tests/Frameworks/Symfony/Latest/src/Form/RegistrationFormType.php new file mode 100644 index 0000000000..bbd42aec26 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/src/Form/RegistrationFormType.php @@ -0,0 +1,55 @@ +add('email') + ->add('agreeTerms', CheckboxType::class, [ + 'mapped' => false, + 'constraints' => [ + new IsTrue([ + 'message' => 'You should agree to our terms.', + ]), + ], + ]) + ->add('plainPassword', PasswordType::class, [ + // instead of being set onto the object directly, + // this is read and encoded in the controller + 'mapped' => false, + 'attr' => ['autocomplete' => 'new-password'], + 'constraints' => [ + new NotBlank([ + 'message' => 'Please enter a password', + ]), + new Length([ + 'min' => 6, + 'minMessage' => 'Your password should be at least {{ limit }} characters', + // max length allowed by Symfony for security reasons + 'max' => 4096, + ]), + ], + ]); + } + + public function configureOptions(OptionsResolver $resolver): void + { + $resolver->setDefaults([ + 'data_class' => User::class, + 'csrf_protection' => false + ]); + } +} diff --git a/tests/Frameworks/Symfony/Latest/src/Kernel.php b/tests/Frameworks/Symfony/Latest/src/Kernel.php new file mode 100644 index 0000000000..655e796658 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/src/Kernel.php @@ -0,0 +1,38 @@ +import('../config/{packages}/*.yaml'); + $container->import('../config/{packages}/'.$this->environment.'/*.yaml'); + + if (is_file(\dirname(__DIR__).'/config/services.yaml')) { + $container->import('../config/services.yaml'); + $container->import('../config/{services}_'.$this->environment.'.yaml'); + } elseif (is_file($path = \dirname(__DIR__).'/config/services.php')) { + (require $path)($container->withPath($path), $this); + } + } + + protected function configureRoutes(RoutingConfigurator $routes): void + { + $routes->import('../config/{routes}/'.$this->environment.'/*.yaml'); + $routes->import('../config/{routes}/*.yaml'); + + if (is_file(\dirname(__DIR__).'/config/routes.yaml')) { + $routes->import('../config/routes.yaml'); + } elseif (is_file($path = \dirname(__DIR__).'/config/routes.php')) { + (require $path)($routes->withPath($path), $this); + } + } +} diff --git a/tests/Frameworks/Symfony/Latest/src/Message/LuckyNumberNotification.php b/tests/Frameworks/Symfony/Latest/src/Message/LuckyNumberNotification.php new file mode 100644 index 0000000000..93c28e3527 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/src/Message/LuckyNumberNotification.php @@ -0,0 +1,8 @@ +content > 100 || $message->content < 0) { + throw new \OutOfBoundsException("Number is out of bounds"); + } + + echo "Received number: {$message->content}\n"; + } +} diff --git a/tests/Frameworks/Symfony/Latest/src/Repository/UserRepository.php b/tests/Frameworks/Symfony/Latest/src/Repository/UserRepository.php new file mode 100644 index 0000000000..c788f463d3 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/src/Repository/UserRepository.php @@ -0,0 +1,67 @@ + + * + * @implements PasswordUpgraderInterface + * + * @method User|null find($id, $lockMode = null, $lockVersion = null) + * @method User|null findOneBy(array $criteria, array $orderBy = null) + * @method User[] findAll() + * @method User[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) + */ +class UserRepository extends ServiceEntityRepository implements PasswordUpgraderInterface +{ + public function __construct(ManagerRegistry $registry) + { + parent::__construct($registry, User::class); + } + + /** + * Used to upgrade (rehash) the user's password automatically over time. + */ + public function upgradePassword(PasswordAuthenticatedUserInterface $user, string $newHashedPassword): void + { + if (!$user instanceof User) { + throw new UnsupportedUserException(sprintf('Instances of "%s" are not supported.', $user::class)); + } + + $user->setPassword($newHashedPassword); + $this->getEntityManager()->persist($user); + $this->getEntityManager()->flush(); + } + +// /** +// * @return User[] Returns an array of User objects +// */ +// public function findByExampleField($value): array +// { +// return $this->createQueryBuilder('u') +// ->andWhere('u.exampleField = :val') +// ->setParameter('val', $value) +// ->orderBy('u.id', 'ASC') +// ->setMaxResults(10) +// ->getQuery() +// ->getResult() +// ; +// } + +// public function findOneBySomeField($value): ?User +// { +// return $this->createQueryBuilder('u') +// ->andWhere('u.exampleField = :val') +// ->setParameter('val', $value) +// ->getQuery() +// ->getOneOrNullResult() +// ; +// } +} diff --git a/tests/Frameworks/Symfony/Latest/src/Security/EmailVerifier.php b/tests/Frameworks/Symfony/Latest/src/Security/EmailVerifier.php new file mode 100644 index 0000000000..6677cfa726 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/src/Security/EmailVerifier.php @@ -0,0 +1,52 @@ +verifyEmailHelper->generateSignature( + $verifyEmailRouteName, + $user->getId(), + $user->getEmail() + ); + + $context = $email->getContext(); + $context['signedUrl'] = $signatureComponents->getSignedUrl(); + $context['expiresAtMessageKey'] = $signatureComponents->getExpirationMessageKey(); + $context['expiresAtMessageData'] = $signatureComponents->getExpirationMessageData(); + + $email->context($context); + + $this->mailer->send($email); + } + + /** + * @throws VerifyEmailExceptionInterface + */ + public function handleEmailConfirmation(Request $request, UserInterface $user): void + { + $this->verifyEmailHelper->validateEmailConfirmation($request->getUri(), $user->getId(), $user->getEmail()); + + $user->setIsVerified(true); + + $this->entityManager->persist($user); + $this->entityManager->flush(); + } +} diff --git a/tests/Frameworks/Symfony/Latest/templates/base.html.twig b/tests/Frameworks/Symfony/Latest/templates/base.html.twig new file mode 100644 index 0000000000..16d7273bb4 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/templates/base.html.twig @@ -0,0 +1,19 @@ + + + + + {% block title %}Welcome!{% endblock %} + {# Run `composer require symfony/webpack-encore-bundle` + and uncomment the following Encore helpers to start using Symfony UX #} + {% block stylesheets %} + {#{{ encore_entry_link_tags('app') }}#} + {% endblock %} + + {% block javascripts %} + {#{{ encore_entry_script_tags('app') }}#} + {% endblock %} + + + {% block body %}{% endblock %} + + diff --git a/tests/Frameworks/Symfony/Latest/templates/login/index.html.twig b/tests/Frameworks/Symfony/Latest/templates/login/index.html.twig new file mode 100644 index 0000000000..fee5a5c26e --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/templates/login/index.html.twig @@ -0,0 +1,23 @@ +{# templates/login/index.html.twig #} +{% extends 'base.html.twig' %} + +{% block body %} + {% if error %} +
{{ error.messageKey|trans(error.messageData, 'security') }}
+ {% endif %} + +
+ + + + + + + + + {# If you want to control the URL the user is redirected to on success + #} + + +
+{% endblock %} diff --git a/tests/Frameworks/Symfony/Latest/templates/registration/register.html.twig b/tests/Frameworks/Symfony/Latest/templates/registration/register.html.twig new file mode 100644 index 0000000000..97f32c9af1 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/templates/registration/register.html.twig @@ -0,0 +1,19 @@ +{% extends 'base.html.twig' %} + +{% block title %}Register{% endblock %} + +{% block body %} +

Register

+ + {{ form_errors(registrationForm) }} + + {{ form_start(registrationForm) }} + {{ form_row(registrationForm.email) }} + {{ form_row(registrationForm.plainPassword, { + label: 'Password' + }) }} + {{ form_row(registrationForm.agreeTerms) }} + + + {{ form_end(registrationForm) }} +{% endblock %} diff --git a/tests/Frameworks/Symfony/Latest/templates/twig_template.html.twig b/tests/Frameworks/Symfony/Latest/templates/twig_template.html.twig new file mode 100644 index 0000000000..cacda46b55 --- /dev/null +++ b/tests/Frameworks/Symfony/Latest/templates/twig_template.html.twig @@ -0,0 +1 @@ +This is the view diff --git a/tests/Integration/BootstrapTest.php b/tests/Integration/BootstrapTest.php index 4eb7a2b7ba..53bb2c0805 100644 --- a/tests/Integration/BootstrapTest.php +++ b/tests/Integration/BootstrapTest.php @@ -9,7 +9,7 @@ final class BootstrapTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/BootstrapTest_files/index.php'; } diff --git a/tests/Integration/ErrorReporting/ErrorReportingTest.php b/tests/Integration/ErrorReporting/ErrorReportingTest.php index 2970b88a42..87b97fd83d 100644 --- a/tests/Integration/ErrorReporting/ErrorReportingTest.php +++ b/tests/Integration/ErrorReporting/ErrorReportingTest.php @@ -7,7 +7,7 @@ final class ErrorReportingTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/scripts/index.php'; } diff --git a/tests/Integration/ResponseStatusCodeTest.php b/tests/Integration/ResponseStatusCodeTest.php index 8ade570ae5..ee1a949a72 100644 --- a/tests/Integration/ResponseStatusCodeTest.php +++ b/tests/Integration/ResponseStatusCodeTest.php @@ -8,7 +8,7 @@ class ResponseStatusCodeTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/ResponseStatusCodeTest_files/index.php'; } diff --git a/tests/Integrations/CLI/Symfony/V4_4/CommonScenariosTest.php b/tests/Integrations/CLI/Symfony/V4_4/CommonScenariosTest.php index 7385003657..aef6c07a50 100644 --- a/tests/Integrations/CLI/Symfony/V4_4/CommonScenariosTest.php +++ b/tests/Integrations/CLI/Symfony/V4_4/CommonScenariosTest.php @@ -8,7 +8,7 @@ class CommonScenariosTest extends IntegrationTestCase { - protected static function getConsoleScript() + public static function getConsoleScript() { return __DIR__ . '/../../../../Frameworks/Symfony/Version_4_4/bin/console'; } diff --git a/tests/Integrations/CLI/Symfony/V5_2/CommonScenariosTest.php b/tests/Integrations/CLI/Symfony/V5_2/CommonScenariosTest.php index 6496046189..19431f7d07 100644 --- a/tests/Integrations/CLI/Symfony/V5_2/CommonScenariosTest.php +++ b/tests/Integrations/CLI/Symfony/V5_2/CommonScenariosTest.php @@ -8,7 +8,7 @@ class CommonScenariosTest extends IntegrationTestCase { - protected static function getConsoleScript() + public static function getConsoleScript() { return __DIR__ . '/../../../../Frameworks/Symfony/Version_5_2/bin/console'; } diff --git a/tests/Integrations/CLI/Symfony/V6_2/CommonScenariosTest.php b/tests/Integrations/CLI/Symfony/V6_2/CommonScenariosTest.php index 3e60c64c8c..28414855ed 100644 --- a/tests/Integrations/CLI/Symfony/V6_2/CommonScenariosTest.php +++ b/tests/Integrations/CLI/Symfony/V6_2/CommonScenariosTest.php @@ -8,7 +8,7 @@ class CommonScenariosTest extends IntegrationTestCase { - protected static function getConsoleScript() + public static function getConsoleScript() { return __DIR__ . '/../../../../Frameworks/Symfony/Version_6_2/bin/console'; } diff --git a/tests/Integrations/CLI/Symfony/V7_0/CommonScenariosTest.php b/tests/Integrations/CLI/Symfony/V7_0/CommonScenariosTest.php index 992271a8bb..683851f693 100644 --- a/tests/Integrations/CLI/Symfony/V7_0/CommonScenariosTest.php +++ b/tests/Integrations/CLI/Symfony/V7_0/CommonScenariosTest.php @@ -4,7 +4,7 @@ class CommonScenariosTest extends \DDTrace\Tests\Integrations\CLI\Symfony\V6_2\CommonScenariosTest { - protected static function getConsoleScript() + public static function getConsoleScript() { return __DIR__ . '/../../../../Frameworks/Symfony/Version_7_0/bin/console'; } diff --git a/tests/Integrations/CakePHP/V2_8/CommonScenariosTest.php b/tests/Integrations/CakePHP/V2_8/CommonScenariosTest.php index e0003a9fe2..17f40071b0 100644 --- a/tests/Integrations/CakePHP/V2_8/CommonScenariosTest.php +++ b/tests/Integrations/CakePHP/V2_8/CommonScenariosTest.php @@ -9,7 +9,7 @@ class CommonScenariosTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/CakePHP/Version_2_8/app/webroot/index.php'; } diff --git a/tests/Integrations/CakePHP/V3_10/CommonScenariosTest.php b/tests/Integrations/CakePHP/V3_10/CommonScenariosTest.php index 824be58538..329658e495 100644 --- a/tests/Integrations/CakePHP/V3_10/CommonScenariosTest.php +++ b/tests/Integrations/CakePHP/V3_10/CommonScenariosTest.php @@ -9,7 +9,7 @@ class CommonScenariosTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/CakePHP/Version_3_10/webroot/index.php'; } diff --git a/tests/Integrations/CakePHP/V4_5/CommonScenariosTest.php b/tests/Integrations/CakePHP/V4_5/CommonScenariosTest.php index 0bf6523e75..5f854dd6af 100644 --- a/tests/Integrations/CakePHP/V4_5/CommonScenariosTest.php +++ b/tests/Integrations/CakePHP/V4_5/CommonScenariosTest.php @@ -9,7 +9,7 @@ class CommonScenariosTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/CakePHP/Version_4_5/webroot/index.php'; } diff --git a/tests/Integrations/CakePHP/V5_0/CommonScenariosTest.php b/tests/Integrations/CakePHP/V5_0/CommonScenariosTest.php index 7ce5d4400c..bdd1c6e234 100644 --- a/tests/Integrations/CakePHP/V5_0/CommonScenariosTest.php +++ b/tests/Integrations/CakePHP/V5_0/CommonScenariosTest.php @@ -9,7 +9,7 @@ class CommonScenariosTest extends \DDTrace\Tests\Integrations\CakePHP\V4_5\CommonScenariosTest { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/CakePHP/Version_5_0/webroot/index.php'; } diff --git a/tests/Integrations/CodeIgniter/V2_2/CommonScenariosTest.php b/tests/Integrations/CodeIgniter/V2_2/CommonScenariosTest.php index 3beaef738f..69e022c6fc 100644 --- a/tests/Integrations/CodeIgniter/V2_2/CommonScenariosTest.php +++ b/tests/Integrations/CodeIgniter/V2_2/CommonScenariosTest.php @@ -11,7 +11,7 @@ final class CommonScenariosTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/CodeIgniter/Version_2_2/ddshim.php'; } diff --git a/tests/Integrations/CodeIgniter/V2_2/ExitTest.php b/tests/Integrations/CodeIgniter/V2_2/ExitTest.php index 1c6d893032..c7d0603228 100644 --- a/tests/Integrations/CodeIgniter/V2_2/ExitTest.php +++ b/tests/Integrations/CodeIgniter/V2_2/ExitTest.php @@ -10,7 +10,7 @@ class ExitTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/CodeIgniter/Version_2_2/ddshim.php'; } diff --git a/tests/Integrations/CodeIgniter/V2_2/NoCI_ControllertTest.php b/tests/Integrations/CodeIgniter/V2_2/NoCI_ControllertTest.php index 4951837ea5..ebdee1225e 100644 --- a/tests/Integrations/CodeIgniter/V2_2/NoCI_ControllertTest.php +++ b/tests/Integrations/CodeIgniter/V2_2/NoCI_ControllertTest.php @@ -10,7 +10,7 @@ class NoCIControllertTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/CodeIgniter/Version_2_2/ddshim.php'; } diff --git a/tests/Integrations/CodeIgniter/V3_1/CommonScenariosTest.php b/tests/Integrations/CodeIgniter/V3_1/CommonScenariosTest.php index 6105112bd4..f108dd7f3a 100644 --- a/tests/Integrations/CodeIgniter/V3_1/CommonScenariosTest.php +++ b/tests/Integrations/CodeIgniter/V3_1/CommonScenariosTest.php @@ -9,7 +9,7 @@ class CommonScenariosTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/CodeIgniter/Version_3_1/ddshim.php'; } diff --git a/tests/Integrations/CodeIgniter/V3_1/ExitTest.php b/tests/Integrations/CodeIgniter/V3_1/ExitTest.php index 6c49c7c8c2..ec26650c75 100644 --- a/tests/Integrations/CodeIgniter/V3_1/ExitTest.php +++ b/tests/Integrations/CodeIgniter/V3_1/ExitTest.php @@ -9,7 +9,7 @@ class ExitTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/CodeIgniter/Version_3_1/ddshim.php'; } diff --git a/tests/Integrations/CodeIgniter/V3_1/NoCIControllerTest.php b/tests/Integrations/CodeIgniter/V3_1/NoCIControllerTest.php index 3c70fce523..cf192c853d 100644 --- a/tests/Integrations/CodeIgniter/V3_1/NoCIControllerTest.php +++ b/tests/Integrations/CodeIgniter/V3_1/NoCIControllerTest.php @@ -9,7 +9,7 @@ class NoCIControllerTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/CodeIgniter/Version_3_1/ddshim.php'; } diff --git a/tests/Integrations/Custom/Autoloaded/AgentUrlEnvVarInvalidTest.php b/tests/Integrations/Custom/Autoloaded/AgentUrlEnvVarInvalidTest.php index 73bd191554..256aa3b666 100644 --- a/tests/Integrations/Custom/Autoloaded/AgentUrlEnvVarInvalidTest.php +++ b/tests/Integrations/Custom/Autoloaded/AgentUrlEnvVarInvalidTest.php @@ -7,7 +7,7 @@ final class AgentUrlEnvVarInvalidTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/public/index.php'; } diff --git a/tests/Integrations/Custom/Autoloaded/AgentUrlEnvVarTest.php b/tests/Integrations/Custom/Autoloaded/AgentUrlEnvVarTest.php index 75481408ba..45035f5660 100644 --- a/tests/Integrations/Custom/Autoloaded/AgentUrlEnvVarTest.php +++ b/tests/Integrations/Custom/Autoloaded/AgentUrlEnvVarTest.php @@ -7,7 +7,7 @@ final class AgentUrlEnvVarTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/public/index.php'; } diff --git a/tests/Integrations/Custom/Autoloaded/BackgroundSenderLogTest.php b/tests/Integrations/Custom/Autoloaded/BackgroundSenderLogTest.php index a428770b46..b07988a982 100644 --- a/tests/Integrations/Custom/Autoloaded/BackgroundSenderLogTest.php +++ b/tests/Integrations/Custom/Autoloaded/BackgroundSenderLogTest.php @@ -9,7 +9,7 @@ final class BackgroundSenderLogTest extends WebFrameworkTestCase { const BGS_FLUSH_INTERVAL_MS = 500; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/public/index.php'; } diff --git a/tests/Integrations/Custom/Autoloaded/CommonScenariosTest.php b/tests/Integrations/Custom/Autoloaded/CommonScenariosTest.php index 0607a95a2f..3dd0676ffe 100644 --- a/tests/Integrations/Custom/Autoloaded/CommonScenariosTest.php +++ b/tests/Integrations/Custom/Autoloaded/CommonScenariosTest.php @@ -8,7 +8,7 @@ final class CommonScenariosTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/public/index.php'; } diff --git a/tests/Integrations/Custom/Autoloaded/CompileTimeDisabledTest.php b/tests/Integrations/Custom/Autoloaded/CompileTimeDisabledTest.php index 90a5b07460..d573145285 100644 --- a/tests/Integrations/Custom/Autoloaded/CompileTimeDisabledTest.php +++ b/tests/Integrations/Custom/Autoloaded/CompileTimeDisabledTest.php @@ -7,7 +7,7 @@ final class CompileTimeDisabledTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/public/index.php'; } diff --git a/tests/Integrations/Custom/Autoloaded/CompileTimeEnabledTest.php b/tests/Integrations/Custom/Autoloaded/CompileTimeEnabledTest.php index 32bd515bff..14dab0590e 100644 --- a/tests/Integrations/Custom/Autoloaded/CompileTimeEnabledTest.php +++ b/tests/Integrations/Custom/Autoloaded/CompileTimeEnabledTest.php @@ -7,7 +7,7 @@ final class CompileTimeEnabledTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/public/index.php'; } diff --git a/tests/Integrations/Custom/Autoloaded/FatalErrorTest.php b/tests/Integrations/Custom/Autoloaded/FatalErrorTest.php index c500b44c88..25030afd51 100644 --- a/tests/Integrations/Custom/Autoloaded/FatalErrorTest.php +++ b/tests/Integrations/Custom/Autoloaded/FatalErrorTest.php @@ -8,7 +8,7 @@ final class FatalErrorTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/public/index.php'; } diff --git a/tests/Integrations/Custom/Autoloaded/GitMetadataTest.php b/tests/Integrations/Custom/Autoloaded/GitMetadataTest.php index 49f20a03e8..bd8b76d260 100644 --- a/tests/Integrations/Custom/Autoloaded/GitMetadataTest.php +++ b/tests/Integrations/Custom/Autoloaded/GitMetadataTest.php @@ -17,7 +17,7 @@ final class GitMetadataTest extends WebFrameworkTestCase { const GIT_DIR = __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/.git'; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/public/index.php'; } diff --git a/tests/Integrations/Custom/Autoloaded/InstrumentationTest.php b/tests/Integrations/Custom/Autoloaded/InstrumentationTest.php index c9b9bb9c51..4d7e1955ac 100644 --- a/tests/Integrations/Custom/Autoloaded/InstrumentationTest.php +++ b/tests/Integrations/Custom/Autoloaded/InstrumentationTest.php @@ -9,7 +9,7 @@ final class InstrumentationTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/public/index.php'; } diff --git a/tests/Integrations/Custom/Autoloaded/NonExecutingEndpointsTracingTest.php b/tests/Integrations/Custom/Autoloaded/NonExecutingEndpointsTracingTest.php index d5e17cc6c9..10f741e203 100644 --- a/tests/Integrations/Custom/Autoloaded/NonExecutingEndpointsTracingTest.php +++ b/tests/Integrations/Custom/Autoloaded/NonExecutingEndpointsTracingTest.php @@ -7,7 +7,7 @@ final class NonExecutingEndpointsTracingTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/public/index.php'; } diff --git a/tests/Integrations/Custom/Autoloaded/StartupLoggingDiagnosticsTest.php b/tests/Integrations/Custom/Autoloaded/StartupLoggingDiagnosticsTest.php index 227dc25b05..3420c2b0f5 100644 --- a/tests/Integrations/Custom/Autoloaded/StartupLoggingDiagnosticsTest.php +++ b/tests/Integrations/Custom/Autoloaded/StartupLoggingDiagnosticsTest.php @@ -7,7 +7,7 @@ final class StartupLoggingDiagnosticsTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/public/index.php'; } diff --git a/tests/Integrations/Custom/Autoloaded/StartupLoggingDisabledTest.php b/tests/Integrations/Custom/Autoloaded/StartupLoggingDisabledTest.php index 544576b9cb..6d1beb67a4 100644 --- a/tests/Integrations/Custom/Autoloaded/StartupLoggingDisabledTest.php +++ b/tests/Integrations/Custom/Autoloaded/StartupLoggingDisabledTest.php @@ -7,7 +7,7 @@ final class StartupLoggingDisabledTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/public/index.php'; } diff --git a/tests/Integrations/Custom/Autoloaded/StartupLoggingTest.php b/tests/Integrations/Custom/Autoloaded/StartupLoggingTest.php index 1feb8d3392..a615bcbdfe 100644 --- a/tests/Integrations/Custom/Autoloaded/StartupLoggingTest.php +++ b/tests/Integrations/Custom/Autoloaded/StartupLoggingTest.php @@ -7,7 +7,7 @@ final class StartupLoggingTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/public/index.php'; } diff --git a/tests/Integrations/Custom/Autoloaded/TraceSearchConfigTest.php b/tests/Integrations/Custom/Autoloaded/TraceSearchConfigTest.php index e248b80380..de1aab575c 100644 --- a/tests/Integrations/Custom/Autoloaded/TraceSearchConfigTest.php +++ b/tests/Integrations/Custom/Autoloaded/TraceSearchConfigTest.php @@ -8,7 +8,7 @@ final class TraceSearchConfigTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Autoloaded/public/index.php'; } diff --git a/tests/Integrations/Custom/NotAutoloaded/ApacheReloadTest.php b/tests/Integrations/Custom/NotAutoloaded/ApacheReloadTest.php index 6bb5a02341..53fbf699b9 100644 --- a/tests/Integrations/Custom/NotAutoloaded/ApacheReloadTest.php +++ b/tests/Integrations/Custom/NotAutoloaded/ApacheReloadTest.php @@ -7,7 +7,7 @@ final class ApacheReloadTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Not_Autoloaded/index.php'; } diff --git a/tests/Integrations/Custom/NotAutoloaded/EarlyDisableTest.php b/tests/Integrations/Custom/NotAutoloaded/EarlyDisableTest.php index c533ee52cc..b3c5907a26 100644 --- a/tests/Integrations/Custom/NotAutoloaded/EarlyDisableTest.php +++ b/tests/Integrations/Custom/NotAutoloaded/EarlyDisableTest.php @@ -8,7 +8,7 @@ final class EarlyDisableTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Not_Autoloaded/index.php'; } diff --git a/tests/Integrations/Custom/NotAutoloaded/FrameworkNoAutoloadedTest.php b/tests/Integrations/Custom/NotAutoloaded/FrameworkNoAutoloadedTest.php index 6cfaa6926b..25be4194df 100644 --- a/tests/Integrations/Custom/NotAutoloaded/FrameworkNoAutoloadedTest.php +++ b/tests/Integrations/Custom/NotAutoloaded/FrameworkNoAutoloadedTest.php @@ -8,7 +8,7 @@ final class FrameworkNoAutoloadedTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Not_Autoloaded/index.php'; } diff --git a/tests/Integrations/Custom/NotAutoloaded/HttpHeadersConfiguredTest.php b/tests/Integrations/Custom/NotAutoloaded/HttpHeadersConfiguredTest.php index c33d5d5b98..46c825e219 100644 --- a/tests/Integrations/Custom/NotAutoloaded/HttpHeadersConfiguredTest.php +++ b/tests/Integrations/Custom/NotAutoloaded/HttpHeadersConfiguredTest.php @@ -8,7 +8,7 @@ final class HttpHeadersConfiguredTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Not_Autoloaded/Headers/index.php'; } diff --git a/tests/Integrations/Custom/NotAutoloaded/HttpHeadersNotConfiguredTest.php b/tests/Integrations/Custom/NotAutoloaded/HttpHeadersNotConfiguredTest.php index 10e8133267..aaedb95586 100644 --- a/tests/Integrations/Custom/NotAutoloaded/HttpHeadersNotConfiguredTest.php +++ b/tests/Integrations/Custom/NotAutoloaded/HttpHeadersNotConfiguredTest.php @@ -8,7 +8,7 @@ final class HttpHeadersNotConfiguredTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Not_Autoloaded/Headers/index.php'; } diff --git a/tests/Integrations/Custom/NotAutoloaded/IncomingUserInfoTest.php b/tests/Integrations/Custom/NotAutoloaded/IncomingUserInfoTest.php index d8f145eaef..983ce9d668 100644 --- a/tests/Integrations/Custom/NotAutoloaded/IncomingUserInfoTest.php +++ b/tests/Integrations/Custom/NotAutoloaded/IncomingUserInfoTest.php @@ -7,7 +7,7 @@ final class IncomingUserInfoTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Custom/Version_Not_Autoloaded/index.php'; } diff --git a/tests/Integrations/DeferredLoading/DeferredLoadingTest.php b/tests/Integrations/DeferredLoading/DeferredLoadingTest.php index 9711a34691..08ca106965 100644 --- a/tests/Integrations/DeferredLoading/DeferredLoadingTest.php +++ b/tests/Integrations/DeferredLoading/DeferredLoadingTest.php @@ -9,7 +9,7 @@ final class DeferredLoadingTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/index.php'; } diff --git a/tests/Integrations/Drupal/V10_1/CommonScenariosTest.php b/tests/Integrations/Drupal/V10_1/CommonScenariosTest.php index d9f0e294fd..08b1a1cac4 100644 --- a/tests/Integrations/Drupal/V10_1/CommonScenariosTest.php +++ b/tests/Integrations/Drupal/V10_1/CommonScenariosTest.php @@ -6,7 +6,7 @@ class CommonScenariosTest extends \DDTrace\Tests\Integrations\Drupal\V8_9\Common { public static $database = "drupal101"; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Drupal/Version_10_1/index.php'; } diff --git a/tests/Integrations/Drupal/V8_9/CommonScenariosTest.php b/tests/Integrations/Drupal/V8_9/CommonScenariosTest.php index 7cb60b2320..ab1f1e2c44 100644 --- a/tests/Integrations/Drupal/V8_9/CommonScenariosTest.php +++ b/tests/Integrations/Drupal/V8_9/CommonScenariosTest.php @@ -9,7 +9,7 @@ class CommonScenariosTest extends WebFrameworkTestCase { public static $database = "drupal89"; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Drupal/Version_8_9/index.php'; } diff --git a/tests/Integrations/Drupal/V9_5/CommonScenariosTest.php b/tests/Integrations/Drupal/V9_5/CommonScenariosTest.php index 2273f2b598..eb9150c910 100644 --- a/tests/Integrations/Drupal/V9_5/CommonScenariosTest.php +++ b/tests/Integrations/Drupal/V9_5/CommonScenariosTest.php @@ -6,7 +6,7 @@ class CommonScenariosTest extends \DDTrace\Tests\Integrations\Drupal\V8_9\Common { public static $database = "drupal95"; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Drupal/Version_9_5/index.php'; } diff --git a/tests/Integrations/Filesystem/FilesystemTest.php b/tests/Integrations/Filesystem/FilesystemTest.php index ed7cbdcb96..d0249df06b 100644 --- a/tests/Integrations/Filesystem/FilesystemTest.php +++ b/tests/Integrations/Filesystem/FilesystemTest.php @@ -10,7 +10,7 @@ final class FilesystemTest extends AppsecTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/index.php'; } diff --git a/tests/Integrations/Frankenphp/CommonScenariosTest.php b/tests/Integrations/Frankenphp/CommonScenariosTest.php index c87894fff8..5c45c93318 100644 --- a/tests/Integrations/Frankenphp/CommonScenariosTest.php +++ b/tests/Integrations/Frankenphp/CommonScenariosTest.php @@ -9,7 +9,7 @@ class CommonScenariosTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../Frameworks/Frankenphp/index.php'; } diff --git a/tests/Integrations/Frankenphp/DistributedTracingTest.php b/tests/Integrations/Frankenphp/DistributedTracingTest.php index 266d61b945..71292f36df 100644 --- a/tests/Integrations/Frankenphp/DistributedTracingTest.php +++ b/tests/Integrations/Frankenphp/DistributedTracingTest.php @@ -8,7 +8,7 @@ class DistributedTracingTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../Frameworks/Frankenphp/index.php'; } diff --git a/tests/Integrations/Guzzle/Latest/GuzzleIntegrationTest.php b/tests/Integrations/Guzzle/Latest/GuzzleIntegrationTest.php new file mode 100644 index 0000000000..ab1a5f8a79 --- /dev/null +++ b/tests/Integrations/Guzzle/Latest/GuzzleIntegrationTest.php @@ -0,0 +1,120 @@ +isolateTracer(function () { + $request = new Request('put', 'http://example.com'); + $this->getMockedClient()->sendRequest($request); + }); + $this->assertFlameGraph($traces, [ + SpanAssertion::build('Psr\Http\Client\ClientInterface.sendRequest', 'phpunit', 'http', 'sendRequest') + ->withExactTags([ + 'http.method' => 'PUT', + 'http.url' => 'http://example.com', + 'http.status_code' => '200', + 'network.destination.name' => 'example.com', + TAG::SPAN_KIND => 'client', + Tag::COMPONENT => 'psr18' + ]) + ->withChildren([ + SpanAssertion::build('GuzzleHttp\Client.transfer', 'guzzle', 'http', 'transfer') + ->withExactTags([ + 'http.method' => 'PUT', + 'http.url' => 'http://example.com', + 'http.status_code' => '200', + 'network.destination.name' => 'example.com', + TAG::SPAN_KIND => 'client', + Tag::COMPONENT => 'guzzle', + '_dd.base_service' => 'phpunit' + ]), + ]) + ]); + } + + public function testMultiExec() + { + if (\PHP_VERSION_ID < 70300) { + $this->markTestSkipped('This test loose a lot of relevance with old cURL versions'); + } + + $this->putEnvAndReloadConfig([ + 'DD_TRACE_HTTP_CLIENT_SPLIT_BY_DOMAIN=true', + 'DD_SERVICE=my-shop', + 'DD_TRACE_GENERATE_ROOT_SPAN=0' + ]); + \dd_trace_serialize_closed_spans(); + + $this->isolateTracerSnapshot(function () { + /** @var Tracer $tracer */ + $tracer = GlobalTracer::get(); + $span = $tracer->startActiveSpan('custom')->getSpan(); + + $client = $this->getRealClient(); + try { + $promises = [ + $client->getAsync('https://google.wrong/', ['http_errors' => false]), + $client->getAsync(self::URL . '/redirect-to?url=' . self::URL . '/status/200'), + $client->getAsync(self::URL . '/status/200'), + $client->getAsync(self::URL . '/status/201'), + $client->getAsync(self::URL . '/status/202'), + $client->getAsync('https://google.still.wrong/', ['http_errors' => false]), + $client->getAsync('https://www.google.com'), + $client->getAsync('https://www.google.com'), + $client->getAsync('https://www.google.com'), + ]; + Utils::unwrap($promises); + } catch (\Exception $e) { + echo $e->getMessage(); + } + + sleep(1); + + $span->finish(); + }, [ + 'start', + 'metrics.php.compilation.total_time_ms', + 'metrics.php.memory.peak_usage_bytes', + 'metrics.php.memory.peak_real_usage_bytes', + 'meta.error.stack', + 'meta._dd.p.tid', + 'meta.curl.appconnect_time_us', + 'meta.curl.connect_time', + 'meta.curl.connect_time_us', + 'meta.curl.download_content_length', + 'meta.curl.filetime', + 'meta.curl.header_size', + 'meta.curl.namelookup_time', + 'meta.curl.namelookup_time_us', + 'meta.curl.pretransfer_time', + 'meta.curl.pretransfer_time_us', + 'meta.curl.redirect_time', + 'meta.curl.redirect_time_us', + 'meta.curl.request_size', + 'meta.curl.speed_download', + 'meta.curl.speed_upload', + 'meta.curl.starttransfer_time', + 'meta.curl.starttransfer_time_us', + 'meta.curl.total_time', + 'meta.curl.total_time_us', + 'meta.curl.upload_content_length', + 'meta.network.bytes_read', + 'meta.network.bytes_written', + 'meta.network.client.ip', + 'meta.network.client.port', + 'meta.network.destination.ip', + 'meta.network.destination.port', + 'meta._dd.base_service', + ]); + } +} diff --git a/tests/Integrations/Guzzle/Latest/composer.json b/tests/Integrations/Guzzle/Latest/composer.json new file mode 100644 index 0000000000..cce93ced17 --- /dev/null +++ b/tests/Integrations/Guzzle/Latest/composer.json @@ -0,0 +1,6 @@ +{ + "require": { + "guzzlehttp/guzzle": "7.9.1", + "guzzlehttp/promises": "2.0.4" + } +} diff --git a/tests/Integrations/Laminas/ApiTools/V1_9/RESTTest.php b/tests/Integrations/Laminas/ApiTools/V1_9/RESTTest.php index 2c9b148360..d3a04d2770 100644 --- a/tests/Integrations/Laminas/ApiTools/V1_9/RESTTest.php +++ b/tests/Integrations/Laminas/ApiTools/V1_9/RESTTest.php @@ -8,7 +8,7 @@ class RESTTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../../Frameworks/Laminas/ApiTools/Version_1_9/public/index.php'; } diff --git a/tests/Integrations/Laminas/V1_4/CommonScenariosTest.php b/tests/Integrations/Laminas/V1_4/CommonScenariosTest.php index 9fd35bcb33..32ba7adce2 100644 --- a/tests/Integrations/Laminas/V1_4/CommonScenariosTest.php +++ b/tests/Integrations/Laminas/V1_4/CommonScenariosTest.php @@ -9,7 +9,7 @@ class CommonScenariosTest extends \DDTrace\Tests\Integrations\Laminas\V2_0\CommonScenariosTest { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Laminas/Version_1_4/public/index.php'; } diff --git a/tests/Integrations/Laminas/V2_0/CommonScenariosTest.php b/tests/Integrations/Laminas/V2_0/CommonScenariosTest.php index a6c5e8afc1..26083fd6b3 100644 --- a/tests/Integrations/Laminas/V2_0/CommonScenariosTest.php +++ b/tests/Integrations/Laminas/V2_0/CommonScenariosTest.php @@ -9,7 +9,7 @@ class CommonScenariosTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Laminas/Version_2_0/public/index.php'; } diff --git a/tests/Integrations/Laravel/AutomatedLoginEventsTestSuite.php b/tests/Integrations/Laravel/AutomatedLoginEventsTestSuite.php index dc05a4ae87..8a21cc4223 100644 --- a/tests/Integrations/Laravel/AutomatedLoginEventsTestSuite.php +++ b/tests/Integrations/Laravel/AutomatedLoginEventsTestSuite.php @@ -10,7 +10,7 @@ class AutomatedLoginEventsTestSuite extends AppsecTestCase { public static $database = "laravel8"; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Laravel/Version_8_x/public/index.php'; } diff --git a/tests/Integrations/Laravel/Latest/CommonScenariosTest.php b/tests/Integrations/Laravel/Latest/CommonScenariosTest.php new file mode 100644 index 0000000000..d03a0cb0ba --- /dev/null +++ b/tests/Integrations/Laravel/Latest/CommonScenariosTest.php @@ -0,0 +1,16 @@ +connection()->exec('insert into user (roles, email, password) VALUES ("{}", "'.$email.'", "$2y$13$WNnAxSuifzgXGx9kYfFr.eMaXzE50MmrMnXxmrlZqxSa21oiMyy0i")'); + } +} diff --git a/tests/Integrations/Symfony/Latest/CommonScenariosTest.php b/tests/Integrations/Symfony/Latest/CommonScenariosTest.php new file mode 100644 index 0000000000..59484da5c6 --- /dev/null +++ b/tests/Integrations/Symfony/Latest/CommonScenariosTest.php @@ -0,0 +1,226 @@ + 'true', + 'DD_SERVICE' => 'test_symfony_latest', + ]); + } + + /** + * @dataProvider provideSpecs + * @param RequestSpec $spec + * @param array $spanExpectations + * @throws \Exception + */ + public function testScenario(RequestSpec $spec, array $spanExpectations) + { + $traces = $this->tracesFromWebRequest(function () use ($spec) { + $this->call($spec); + }); + + $this->assertFlameGraph($traces, $spanExpectations); + } + + public function provideSpecs() + { + return $this->buildDataProvider( + [ + 'A simple GET request returning a string' => [ + SpanAssertion::build( + 'symfony.request', + 'test_symfony_latest', + 'web', + 'simple' + )->withExactTags([ + 'symfony.route.action' => 'App\Controller\CommonScenariosController@simpleAction', + 'symfony.route.name' => 'simple', + 'http.method' => 'GET', + 'http.url' => 'http://localhost/simple?key=value&', + 'http.status_code' => '200', + Tag::SPAN_KIND => 'server', + Tag::COMPONENT => 'symfony', + ])->withChildren([ + SpanAssertion::exists('symfony.httpkernel.kernel.handle') + ->withChildren([ + SpanAssertion::exists('symfony.httpkernel.kernel.boot'), + SpanAssertion::exists('symfony.kernel.handle') + ->withChildren([ + SpanAssertion::exists('symfony.kernel.request'), + SpanAssertion::exists('symfony.kernel.controller'), + SpanAssertion::exists('symfony.kernel.controller_arguments'), + SpanAssertion::exists('symfony.kernel.response'), + SpanAssertion::exists('symfony.kernel.finish_request'), + SpanAssertion::build( + 'symfony.controller', + 'test_symfony_latest', + 'web', + 'App\Controller\CommonScenariosController::simpleAction' + )->withExactTags([ + Tag::COMPONENT => 'symfony', + ]) + ]), + ]), + SpanAssertion::exists('symfony.kernel.terminate'), + ]), + ], + 'A simple GET request with a view' => [ + SpanAssertion::build( + 'symfony.request', + 'test_symfony_latest', + 'web', + 'simple_view' + )->withExactTags([ + 'symfony.route.action' => 'App\Controller\CommonScenariosController@simpleViewAction', + 'symfony.route.name' => 'simple_view', + 'http.method' => 'GET', + 'http.url' => 'http://localhost/simple_view?key=value&', + 'http.status_code' => '200', + Tag::SPAN_KIND => 'server', + Tag::COMPONENT => 'symfony', + ])->withChildren([ + SpanAssertion::exists('symfony.kernel.terminate'), + SpanAssertion::exists('symfony.httpkernel.kernel.handle')->withChildren([ + SpanAssertion::exists('symfony.httpkernel.kernel.boot'), + SpanAssertion::exists('symfony.kernel.handle')->withChildren([ + SpanAssertion::exists('symfony.kernel.request'), + SpanAssertion::exists('symfony.kernel.controller'), + SpanAssertion::exists('symfony.kernel.controller_arguments'), + SpanAssertion::build( + 'symfony.controller', + 'test_symfony_latest', + 'web', + 'App\Controller\CommonScenariosController::simpleViewAction' + )->withExactTags([ + Tag::COMPONENT => 'symfony', + ])->withChildren([ + SpanAssertion::build( + 'symfony.templating.render', + 'test_symfony_latest', + 'web', + 'Twig\Environment twig_template.html.twig' + )->withExactTags([ + Tag::COMPONENT => 'symfony', + ]), + ]), + SpanAssertion::exists('symfony.kernel.response'), + SpanAssertion::exists('symfony.kernel.finish_request'), + ]), + ]), + ]), + ], + 'A GET request with an exception' => [ + SpanAssertion::build( + 'symfony.request', + 'test_symfony_latest', + 'web', + 'error' + )->withExactTags([ + 'symfony.route.action' => 'App\Controller\CommonScenariosController@errorAction', + 'symfony.route.name' => 'error', + 'http.method' => 'GET', + 'http.url' => 'http://localhost/error?key=value&', + 'http.status_code' => '500', + Tag::SPAN_KIND => 'server', + Tag::COMPONENT => 'symfony', + ]) + ->setError('Exception', 'An exception occurred') + ->withExistingTagsNames(['error.stack']) + ->withChildren([ + SpanAssertion::exists('symfony.kernel.terminate'), + SpanAssertion::exists('symfony.httpkernel.kernel.handle') + ->withChildren([ + SpanAssertion::exists('symfony.httpkernel.kernel.boot'), + SpanAssertion::exists('symfony.kernel.handle')->withChildren([ + SpanAssertion::exists('symfony.kernel.request'), + SpanAssertion::exists('symfony.kernel.controller'), + SpanAssertion::exists('symfony.kernel.controller_arguments'), + SpanAssertion::build( + 'symfony.controller', + 'test_symfony_latest', + 'web', + 'App\Controller\CommonScenariosController::errorAction' + )->withExactTags([ + Tag::COMPONENT => 'symfony', + ]) + ->setError('Exception', 'An exception occurred') + ->withExistingTagsNames(['error.stack']), + SpanAssertion::exists('symfony.kernel.handleException')->withChildren([ + SpanAssertion::exists('symfony.kernel.exception')->withChildren([ + SpanAssertion::exists('symfony.controller'), + SpanAssertion::exists('symfony.kernel.controller'), + SpanAssertion::exists('symfony.kernel.controller_arguments'), + SpanAssertion::exists('symfony.kernel.finish_request'), + SpanAssertion::exists('symfony.kernel.request'), + SpanAssertion::exists('symfony.kernel.response'), + ]), + SpanAssertion::exists('symfony.kernel.response'), + SpanAssertion::exists('symfony.kernel.finish_request'), + ]), + ]), + ]), + ]), + ], + 'A GET request to a missing route' => [ + SpanAssertion::build( + 'symfony.request', + 'test_symfony_latest', + 'web', + 'GET /does_not_exist' + )->withExactTags([ + 'http.method' => 'GET', + 'http.url' => 'http://localhost/does_not_exist?key=value&', + 'http.status_code' => '404', + Tag::SPAN_KIND => 'server', + Tag::COMPONENT => 'symfony', + ])->withChildren([ + SpanAssertion::exists('symfony.kernel.terminate'), + SpanAssertion::exists('symfony.httpkernel.kernel.handle')->withChildren([ + SpanAssertion::exists('symfony.httpkernel.kernel.boot'), + SpanAssertion::exists('symfony.kernel.handle')->withChildren([ + SpanAssertion::exists('symfony.kernel.handleException')->withChildren([ + SpanAssertion::exists('symfony.kernel.finish_request'), + SpanAssertion::exists('symfony.kernel.response'), + SpanAssertion::exists('symfony.kernel.exception')->withChildren([ + SpanAssertion::exists('symfony.controller'), + SpanAssertion::exists('symfony.kernel.controller'), + SpanAssertion::exists('symfony.kernel.controller_arguments'), + SpanAssertion::exists('symfony.kernel.finish_request'), + SpanAssertion::exists('symfony.kernel.request'), + SpanAssertion::exists('symfony.kernel.response'), + ]), + ]), + SpanAssertion::exists('symfony.kernel.request') + ->setError( + 'Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException', + 'No route found for "GET /does_not_exist"' + ) + ->withExistingTagsNames(['error.stack']), + ]), + ]), + ]), + ], + ] + ); + } +} diff --git a/tests/Integrations/Symfony/Latest/ConsoleCommandTest.php b/tests/Integrations/Symfony/Latest/ConsoleCommandTest.php new file mode 100644 index 0000000000..4a23ff8132 --- /dev/null +++ b/tests/Integrations/Symfony/Latest/ConsoleCommandTest.php @@ -0,0 +1,11 @@ + '1', + 'DD_TRACE_CLI_ENABLED' => '1', + 'DD_SERVICE' => 'symfony_messenger_test', + 'DD_TRACE_DEBUG' => 'true', + 'DD_TRACE_SYMFONY_MESSENGER_MIDDLEWARES' => 'true', + 'DD_INSTRUMENTATION_TELEMETRY_ENABLED' => 'false', + ]); + } + + public function testAsyncSuccess() + { + $this->tracesFromWebRequestSnapshot(function () { + $spec = GetSpec::create('Lucky number', '/lucky/number'); + $this->call($spec); + }, self::FIELDS_TO_IGNORE); + + list($consumerTraces) = $this->inCli(self::getConsoleScript(), [ + 'DD_TRACE_CLI_ENABLED' => 'true', + 'DD_TRACE_EXEC_ENABLED' => 'false', + 'DD_SERVICE' => 'symfony_messenger_test', + 'DD_TRACE_REMOVE_AUTOINSTRUMENTATION_ORPHANS' => 'true', + 'DD_TRACE_SYMFONY_MESSENGER_MIDDLEWARES' => 'true', + 'DD_TRACE_DEBUG' => 'true', + 'DD_INSTRUMENTATION_TELEMETRY_ENABLED' => 'false', + ], [], ['messenger:consume', 'async', '--limit=1']); + + $this->snapshotFromTraces( + $consumerTraces, + self::FIELDS_TO_IGNORE, + 'tests.integrations.symfony.v7_0.messenger_test.test_async_success_consumer', + true + ); + } + + public function testAsyncFailure() + { + $this->tracesFromWebRequestSnapshot(function () { + $spec = GetSpec::create('Lucky fail', '/lucky/fail'); + $this->call($spec); + }, self::FIELDS_TO_IGNORE); + + list($consumerTraces) = $this->inCli(self::getConsoleScript(), [ + 'DD_TRACE_CLI_ENABLED' => 'true', + 'DD_TRACE_EXEC_ENABLED' => 'false', + 'DD_SERVICE' => 'symfony_messenger_test', + 'DD_TRACE_REMOVE_AUTOINSTRUMENTATION_ORPHANS' => 'true', + 'DD_TRACE_SYMFONY_MESSENGER_MIDDLEWARES' => 'true', + 'DD_INSTRUMENTATION_TELEMETRY_ENABLED' => 'false', + ], [], ['messenger:consume', 'async', '--limit=1']); + + $this->snapshotFromTraces( + $consumerTraces, + self::FIELDS_TO_IGNORE, + 'tests.integrations.symfony.v7_0.messenger_test.test_async_failure_consumer', + true + ); + } + + public function testAsyncWithTracerDisabledOnConsume() + { + // GH Issue: https://github.com/DataDog/dd-trace-php/pull/2749#issuecomment-2467409884 + + $this->tracesFromWebRequestSnapshot(function () { + $spec = GetSpec::create('Lucky number', '/lucky/number'); + $this->call($spec); + }, self::FIELDS_TO_IGNORE); + + list($output, $exitCode) = $this->executeCli( + self::getConsoleScript(), + [], + ['ddtrace.disable' => 'true'], + ['messenger:consume', 'async', '--limit=1'], + true, + true, + true + ); + + $this->assertEquals(0, $exitCode, "Command failed with exit code 1. Output: $output"); + } +} diff --git a/tests/Integrations/Symfony/Latest/TraceSearchConfigTest.php b/tests/Integrations/Symfony/Latest/TraceSearchConfigTest.php new file mode 100644 index 0000000000..9d36b4f577 --- /dev/null +++ b/tests/Integrations/Symfony/Latest/TraceSearchConfigTest.php @@ -0,0 +1,11 @@ +assertTrue(true); + } } diff --git a/tests/Integrations/Symfony/V7_0/MessengerTest.php b/tests/Integrations/Symfony/V7_0/MessengerTest.php index 28409e3fc5..5dbb2cc6a3 100644 --- a/tests/Integrations/Symfony/V7_0/MessengerTest.php +++ b/tests/Integrations/Symfony/V7_0/MessengerTest.php @@ -21,12 +21,12 @@ class MessengerTest extends WebFrameworkTestCase 'metrics.messaging.symfony.delay', ]; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Symfony/Version_7_0/public/index.php'; } - protected static function getConsoleScript() + public static function getConsoleScript() { return __DIR__ . '/../../../Frameworks/Symfony/Version_7_0/bin/console'; } diff --git a/tests/Integrations/Symfony/V7_0/TraceSearchConfigTest.php b/tests/Integrations/Symfony/V7_0/TraceSearchConfigTest.php index 980c993cac..5630a069a2 100644 --- a/tests/Integrations/Symfony/V7_0/TraceSearchConfigTest.php +++ b/tests/Integrations/Symfony/V7_0/TraceSearchConfigTest.php @@ -4,7 +4,7 @@ class TraceSearchConfigTest extends \DDTrace\Tests\Integrations\Symfony\V6_2\TraceSearchConfigTest { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Symfony/Version_7_0/public/index.php'; } diff --git a/tests/Integrations/WordPress/V4_8/AutomatedLoginEventsTest.php b/tests/Integrations/WordPress/V4_8/AutomatedLoginEventsTest.php index f17cd82ce6..a33db1cd08 100644 --- a/tests/Integrations/WordPress/V4_8/AutomatedLoginEventsTest.php +++ b/tests/Integrations/WordPress/V4_8/AutomatedLoginEventsTest.php @@ -13,7 +13,7 @@ class AutomatedLoginEventsTest extends AutomatedLoginEventsTestSuite protected $users_table = 'wp_users'; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/WordPress/Version_4_8/index.php'; } diff --git a/tests/Integrations/WordPress/V4_8/CommonScenariosTest.php b/tests/Integrations/WordPress/V4_8/CommonScenariosTest.php index 393dfb33d4..e356d8da95 100644 --- a/tests/Integrations/WordPress/V4_8/CommonScenariosTest.php +++ b/tests/Integrations/WordPress/V4_8/CommonScenariosTest.php @@ -12,7 +12,7 @@ class CommonScenariosTest extends WebFrameworkTestCase { public static $database = "wp48"; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/WordPress/Version_4_8/index.php'; } diff --git a/tests/Integrations/WordPress/V4_8/PathParamsTest.php b/tests/Integrations/WordPress/V4_8/PathParamsTest.php index 01ab216279..21f3c885b7 100644 --- a/tests/Integrations/WordPress/V4_8/PathParamsTest.php +++ b/tests/Integrations/WordPress/V4_8/PathParamsTest.php @@ -11,7 +11,7 @@ class PathParamsTest extends PathParamsTestSuite { public static $database = "wp48"; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/WordPress/Version_4_8/index.php'; } diff --git a/tests/Integrations/WordPress/V5_5/AutomatedLoginEventsTest.php b/tests/Integrations/WordPress/V5_5/AutomatedLoginEventsTest.php index 595227131f..37fb90238f 100644 --- a/tests/Integrations/WordPress/V5_5/AutomatedLoginEventsTest.php +++ b/tests/Integrations/WordPress/V5_5/AutomatedLoginEventsTest.php @@ -11,7 +11,7 @@ class AutomatedLoginEventsTest extends AutomatedLoginEventsTestSuite { public static $database = "wp55"; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/WordPress/Version_5_5/index.php'; } diff --git a/tests/Integrations/WordPress/V5_5/CommonScenariosTest.php b/tests/Integrations/WordPress/V5_5/CommonScenariosTest.php index 86093271c4..2375433a91 100644 --- a/tests/Integrations/WordPress/V5_5/CommonScenariosTest.php +++ b/tests/Integrations/WordPress/V5_5/CommonScenariosTest.php @@ -13,7 +13,7 @@ class CommonScenariosTest extends WebFrameworkTestCase { public static $database = "wp55"; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/WordPress/Version_5_5/index.php'; } diff --git a/tests/Integrations/WordPress/V5_5/PathParamsTest.php b/tests/Integrations/WordPress/V5_5/PathParamsTest.php index 9081e57492..c21f0c410c 100644 --- a/tests/Integrations/WordPress/V5_5/PathParamsTest.php +++ b/tests/Integrations/WordPress/V5_5/PathParamsTest.php @@ -11,7 +11,7 @@ class PathParamsTest extends PathParamsTestSuite { public static $database = "wp55"; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/WordPress/Version_5_5/index.php'; } diff --git a/tests/Integrations/WordPress/V5_9/AutomatedLoginEventsTest.php b/tests/Integrations/WordPress/V5_9/AutomatedLoginEventsTest.php index aee17e961a..acd2cdf614 100644 --- a/tests/Integrations/WordPress/V5_9/AutomatedLoginEventsTest.php +++ b/tests/Integrations/WordPress/V5_9/AutomatedLoginEventsTest.php @@ -11,7 +11,7 @@ class AutomatedLoginEventsTest extends AutomatedLoginEventsTestSuite { public static $database = "wp59"; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/WordPress/Version_5_9/index.php'; } diff --git a/tests/Integrations/WordPress/V5_9/CommonScenariosTest.php b/tests/Integrations/WordPress/V5_9/CommonScenariosTest.php index 19a50fb1de..8bc7a31f87 100644 --- a/tests/Integrations/WordPress/V5_9/CommonScenariosTest.php +++ b/tests/Integrations/WordPress/V5_9/CommonScenariosTest.php @@ -13,7 +13,7 @@ class CommonScenariosTest extends WebFrameworkTestCase { public static $database = "wp59"; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/WordPress/Version_5_9/index.php'; } diff --git a/tests/Integrations/WordPress/V5_9/PathParamsTest.php b/tests/Integrations/WordPress/V5_9/PathParamsTest.php index b7421ec643..ce3395e3bc 100644 --- a/tests/Integrations/WordPress/V5_9/PathParamsTest.php +++ b/tests/Integrations/WordPress/V5_9/PathParamsTest.php @@ -11,7 +11,7 @@ class PathParamsTest extends PathParamsTestSuite { public static $database = "wp59"; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/WordPress/Version_5_9/index.php'; } diff --git a/tests/Integrations/WordPress/V6_1/CommonScenariosTest.php b/tests/Integrations/WordPress/V6_1/CommonScenariosTest.php index 793b74eb2c..14c180b49c 100644 --- a/tests/Integrations/WordPress/V6_1/CommonScenariosTest.php +++ b/tests/Integrations/WordPress/V6_1/CommonScenariosTest.php @@ -9,7 +9,7 @@ class CommonScenariosTest extends WebFrameworkTestCase { public static $database = "wp61"; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/WordPress/Version_6_1/index.php'; } diff --git a/tests/Integrations/WordPress/V6_1/PathParamsTest.php b/tests/Integrations/WordPress/V6_1/PathParamsTest.php index e39bc5774a..fe26f85fa7 100644 --- a/tests/Integrations/WordPress/V6_1/PathParamsTest.php +++ b/tests/Integrations/WordPress/V6_1/PathParamsTest.php @@ -11,7 +11,7 @@ class PathParamsTest extends PathParamsTestSuite { public static $database = "wp61"; - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/WordPress/Version_6_1/index.php'; } diff --git a/tests/Integrations/Yii/V2_0/CommonScenariosTest.php b/tests/Integrations/Yii/V2_0/CommonScenariosTest.php index d1f9bcafc5..4d4247a39f 100644 --- a/tests/Integrations/Yii/V2_0/CommonScenariosTest.php +++ b/tests/Integrations/Yii/V2_0/CommonScenariosTest.php @@ -10,7 +10,7 @@ final class CommonScenariosTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Yii/Version_2_0/web/index.php'; } diff --git a/tests/Integrations/Yii/V2_0/ModuleTest.php b/tests/Integrations/Yii/V2_0/ModuleTest.php index 6b1a52b85b..d413dfb080 100644 --- a/tests/Integrations/Yii/V2_0/ModuleTest.php +++ b/tests/Integrations/Yii/V2_0/ModuleTest.php @@ -10,7 +10,7 @@ class ModuleTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Yii/Version_2_0/web/index.php'; } diff --git a/tests/Integrations/Yii/V2_0/ParameterizedRouteTest.php b/tests/Integrations/Yii/V2_0/ParameterizedRouteTest.php index 915f3a698e..b012122e8d 100644 --- a/tests/Integrations/Yii/V2_0/ParameterizedRouteTest.php +++ b/tests/Integrations/Yii/V2_0/ParameterizedRouteTest.php @@ -10,7 +10,7 @@ class ParameterizedRouteTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Yii/Version_2_0/web/index.php'; } diff --git a/tests/Integrations/Yii/V2_0/YiiDetailsTest.php b/tests/Integrations/Yii/V2_0/YiiDetailsTest.php index 05532f12cd..b407cde9bf 100644 --- a/tests/Integrations/Yii/V2_0/YiiDetailsTest.php +++ b/tests/Integrations/Yii/V2_0/YiiDetailsTest.php @@ -10,7 +10,7 @@ class LazyLoadingIntegrationsFromYiiTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Yii/Version_2_0/web/index.php'; } diff --git a/tests/Integrations/ZendFramework/V1/CommonScenariosTest.php b/tests/Integrations/ZendFramework/V1/CommonScenariosTest.php index 3bbec5542a..fd9bb51d9d 100644 --- a/tests/Integrations/ZendFramework/V1/CommonScenariosTest.php +++ b/tests/Integrations/ZendFramework/V1/CommonScenariosTest.php @@ -9,7 +9,7 @@ class CommonScenariosTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/ZendFramework/Version_1_12/public/index.php'; } diff --git a/tests/Integrations/ZendFramework/V1/TraceSearchConfigTest.php b/tests/Integrations/ZendFramework/V1/TraceSearchConfigTest.php index 67c1b4ea11..e220a1f44d 100644 --- a/tests/Integrations/ZendFramework/V1/TraceSearchConfigTest.php +++ b/tests/Integrations/ZendFramework/V1/TraceSearchConfigTest.php @@ -9,7 +9,7 @@ class TraceSearchConfigTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/ZendFramework/Version_1_12/public/index.php'; } diff --git a/tests/Integrations/ZendFramework/V1_21/CommonScenariosTest.php b/tests/Integrations/ZendFramework/V1_21/CommonScenariosTest.php index 729d1a6137..d0818fca88 100644 --- a/tests/Integrations/ZendFramework/V1_21/CommonScenariosTest.php +++ b/tests/Integrations/ZendFramework/V1_21/CommonScenariosTest.php @@ -9,7 +9,7 @@ class CommonScenariosTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/ZendFramework/Version_1_21/public/index.php'; } diff --git a/tests/Integrations/ZendFramework/V1_21/TraceSearchConfigTest.php b/tests/Integrations/ZendFramework/V1_21/TraceSearchConfigTest.php index 88040937ec..da6a670350 100644 --- a/tests/Integrations/ZendFramework/V1_21/TraceSearchConfigTest.php +++ b/tests/Integrations/ZendFramework/V1_21/TraceSearchConfigTest.php @@ -9,7 +9,7 @@ class TraceSearchConfigTest extends WebFrameworkTestCase { - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/ZendFramework/Version_1_21/public/index.php'; } diff --git a/tests/Metrics/SigSegV/SigSegVTest.php b/tests/Metrics/SigSegV/SigSegVTest.php index 76efdc7cbe..51818ed498 100644 --- a/tests/Metrics/SigSegV/SigSegVTest.php +++ b/tests/Metrics/SigSegV/SigSegVTest.php @@ -14,7 +14,7 @@ protected static function getEnvs() return \array_merge(parent::getEnvs(), ['DD_TRACE_HEALTH_METRICS_ENABLED' => 1]); } - protected static function getAppIndexScript() + public static function getAppIndexScript() { return __DIR__ . '/../../Frameworks/Custom/Version_Not_Autoloaded/sigsegv.php'; } diff --git a/tests/update-latest-versions.php b/tests/update-latest-versions.php new file mode 100644 index 0000000000..3ec9ab69a3 --- /dev/null +++ b/tests/update-latest-versions.php @@ -0,0 +1,139 @@ +getMessage() . "\n"; + } +} + +function getLatestComposerVersion($packageName) { + $packagistUrl = "https://repo.packagist.org/p2/{$packageName}.json"; + $ch = curl_init($packagistUrl); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + curl_setopt($ch, CURLOPT_TIMEOUT, 10); + + $response = curl_exec($ch); + $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); + curl_close($ch); + + if ($httpCode !== 200 || !$response) { + echo "Error: Unable to fetch package information for {$packageName}.\n"; + return ""; + } + + $data = json_decode($response, true); + + if (!isset($data['packages'][$packageName])) { + echo "Error: Package {$packageName} not found on Packagist.\n"; + return ""; + } + + $latestVersion = null; + + foreach ($data['packages'][$packageName] as $package) { + $currentVersion = $package['version_normalized'] ?? null; + if ($currentVersion && (is_null($latestVersion) || version_compare($currentVersion, $latestVersion, '>'))) { + $latestVersion = $currentVersion; + } + } + + if ($latestVersion) { + return preg_replace('/^(\d+\.\d+\.\d+).*$/', '$1', $latestVersion); + } + + return ""; +} From cf2e8949a6298912a42f54435c4fbb29a4d307d0 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Wed, 15 Jan 2025 16:07:32 +0100 Subject: [PATCH 02/65] Create Pull Request --- .github/workflows/update_latest_versions.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/update_latest_versions.yml b/.github/workflows/update_latest_versions.yml index 2a688b6e39..a6b9f54954 100644 --- a/.github/workflows/update_latest_versions.yml +++ b/.github/workflows/update_latest_versions.yml @@ -47,3 +47,15 @@ jobs: - name: Show changes run: git diff + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v6 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: "chore: update latest versions" + title: "chore: update latest versions" + branch: "update-latest-versions" + base: "alex/AIDM-529_testing-latest" # TODO: Update to "master" when ready + draft: true # TODO: set to false when ready + delete-branch: true + body: "This PR updates the latest pinned versions of the test dependencies." From 8484e617064f79d627f573e887f3ad7807e96e6a Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Wed, 15 Jan 2025 16:13:20 +0100 Subject: [PATCH 03/65] Update to v7 --- .github/workflows/update_latest_versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_latest_versions.yml b/.github/workflows/update_latest_versions.yml index a6b9f54954..79c3b73a91 100644 --- a/.github/workflows/update_latest_versions.yml +++ b/.github/workflows/update_latest_versions.yml @@ -49,7 +49,7 @@ jobs: run: git diff - name: Create Pull Request - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@v7 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: "chore: update latest versions" From 7f74f1fe941188337a89c4db7489fdb5f4cf2d91 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Wed, 15 Jan 2025 16:16:25 +0100 Subject: [PATCH 04/65] Copy composer to /tmp/ --- .github/workflows/update_latest_versions.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update_latest_versions.yml b/.github/workflows/update_latest_versions.yml index 79c3b73a91..bf4cc9477a 100644 --- a/.github/workflows/update_latest_versions.yml +++ b/.github/workflows/update_latest_versions.yml @@ -29,9 +29,9 @@ jobs: - name: Install composer run: | - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" - php composer-setup.php - php -r "unlink('composer-setup.php');" + php -r "copy('https://getcomposer.org/installer', '/tmp/composer-setup.php');" + php /tmp/composer-setup.php + php -r "unlink('/tmp/composer-setup.php');" - name: Install PHP Tracer # Required by test bootstrap run: | From 1ea6eda650c3a88dcc0228761f8c18ffb2767db9 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Thu, 16 Jan 2025 09:16:06 +0100 Subject: [PATCH 05/65] Set `insert_final_newline` to false --- .editorconfig | 2 +- .github/workflows/update_latest_versions.yml | 22 +++++++++---------- tests/Frameworks/Symfony/Latest/composer.json | 2 +- .../Integrations/Guzzle/Latest/composer.json | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.editorconfig b/.editorconfig index c964c2cb8f..223afb7d36 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,7 +3,7 @@ root = true [*] charset = utf-8 indent_style = space -insert_final_newline = true +insert_final_newline = false trim_trailing_whitespace = true [*.{c,h}] diff --git a/.github/workflows/update_latest_versions.yml b/.github/workflows/update_latest_versions.yml index bf4cc9477a..7ee3d2dcc1 100644 --- a/.github/workflows/update_latest_versions.yml +++ b/.github/workflows/update_latest_versions.yml @@ -48,14 +48,14 @@ jobs: - name: Show changes run: git diff - - name: Create Pull Request - uses: peter-evans/create-pull-request@v7 - with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: "chore: update latest versions" - title: "chore: update latest versions" - branch: "update-latest-versions" - base: "alex/AIDM-529_testing-latest" # TODO: Update to "master" when ready - draft: true # TODO: set to false when ready - delete-branch: true - body: "This PR updates the latest pinned versions of the test dependencies." + #- name: Create Pull Request + # uses: peter-evans/create-pull-request@v7 + # with: + # token: ${{ secrets.GITHUB_TOKEN }} + # commit-message: "chore: update latest versions" + # title: "chore: update latest versions" + # branch: "update-latest-versions" + # base: "alex/AIDM-529_testing-latest" # TODO: Update to "master" when ready + # draft: true # TODO: set to false when ready + # delete-branch: true + # body: "This PR updates the latest pinned versions of the test dependencies." diff --git a/tests/Frameworks/Symfony/Latest/composer.json b/tests/Frameworks/Symfony/Latest/composer.json index 7ad08b05fd..4557c70afc 100644 --- a/tests/Frameworks/Symfony/Latest/composer.json +++ b/tests/Frameworks/Symfony/Latest/composer.json @@ -82,4 +82,4 @@ "require-dev": { "symfony/maker-bundle": "^1.49" } -} +} \ No newline at end of file diff --git a/tests/Integrations/Guzzle/Latest/composer.json b/tests/Integrations/Guzzle/Latest/composer.json index cce93ced17..cf84a4d91a 100644 --- a/tests/Integrations/Guzzle/Latest/composer.json +++ b/tests/Integrations/Guzzle/Latest/composer.json @@ -3,4 +3,4 @@ "guzzlehttp/guzzle": "7.9.1", "guzzlehttp/promises": "2.0.4" } -} +} \ No newline at end of file From c2035b404e6b6ce003136ff58c32f5fdcae5066a Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Thu, 16 Jan 2025 09:17:54 +0100 Subject: [PATCH 06/65] Use Github Actions --- .github/workflows/update_latest_versions.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/update_latest_versions.yml b/.github/workflows/update_latest_versions.yml index 7ee3d2dcc1..31d159b168 100644 --- a/.github/workflows/update_latest_versions.yml +++ b/.github/workflows/update_latest_versions.yml @@ -23,15 +23,12 @@ jobs: fetch-depth: 0 - name: Install PHP - run: | - sudo apt-get update - sudo apt-get install -y php php-cli + uses: shivammathur/setup-php@v2 + with: + php-version: '8.3' - name: Install composer - run: | - php -r "copy('https://getcomposer.org/installer', '/tmp/composer-setup.php');" - php /tmp/composer-setup.php - php -r "unlink('/tmp/composer-setup.php');" + uses: php-actions/composer@v6 - name: Install PHP Tracer # Required by test bootstrap run: | @@ -58,4 +55,4 @@ jobs: # base: "alex/AIDM-529_testing-latest" # TODO: Update to "master" when ready # draft: true # TODO: set to false when ready # delete-branch: true - # body: "This PR updates the latest pinned versions of the test dependencies." + # body: "This PR updates the latest pinned versions of the test dependencies." \ No newline at end of file From e2418f82d0c2dac1a5883f5e3cae4a2f305349df Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Thu, 16 Jan 2025 09:18:29 +0100 Subject: [PATCH 07/65] typo --- .github/workflows/update_latest_versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_latest_versions.yml b/.github/workflows/update_latest_versions.yml index 31d159b168..967d4d468c 100644 --- a/.github/workflows/update_latest_versions.yml +++ b/.github/workflows/update_latest_versions.yml @@ -23,7 +23,7 @@ jobs: fetch-depth: 0 - name: Install PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@2.32.0 with: php-version: '8.3' From f2b4748d07c8df9f3d78dd8edeb57150b489d27c Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Thu, 16 Jan 2025 09:19:20 +0100 Subject: [PATCH 08/65] Remove composer install step --- .github/workflows/update_latest_versions.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/update_latest_versions.yml b/.github/workflows/update_latest_versions.yml index 967d4d468c..02da990a74 100644 --- a/.github/workflows/update_latest_versions.yml +++ b/.github/workflows/update_latest_versions.yml @@ -27,9 +27,6 @@ jobs: with: php-version: '8.3' - - name: Install composer - uses: php-actions/composer@v6 - - name: Install PHP Tracer # Required by test bootstrap run: | curl -Lo /tmp/datadog-setup.php https://github.com/DataDog/dd-trace-php/releases/latest/download/datadog-setup.php From bbecea353de1a2600c92d03b8534653721659474 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Thu, 16 Jan 2025 09:22:31 +0100 Subject: [PATCH 09/65] Set Laravel's `insert_final_newline` to false --- tests/Frameworks/Laravel/Latest/.editorconfig | 4 ++-- tests/Frameworks/Laravel/Latest/composer.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Frameworks/Laravel/Latest/.editorconfig b/tests/Frameworks/Laravel/Latest/.editorconfig index 8f0de65c56..fc0b5c75ca 100644 --- a/tests/Frameworks/Laravel/Latest/.editorconfig +++ b/tests/Frameworks/Laravel/Latest/.editorconfig @@ -5,7 +5,7 @@ charset = utf-8 end_of_line = lf indent_size = 4 indent_style = space -insert_final_newline = true +insert_final_newline = false trim_trailing_whitespace = true [*.md] @@ -15,4 +15,4 @@ trim_trailing_whitespace = false indent_size = 2 [docker-compose.yml] -indent_size = 4 +indent_size = 4 \ No newline at end of file diff --git a/tests/Frameworks/Laravel/Latest/composer.json b/tests/Frameworks/Laravel/Latest/composer.json index b21a5a16e9..bcff135dbe 100644 --- a/tests/Frameworks/Laravel/Latest/composer.json +++ b/tests/Frameworks/Laravel/Latest/composer.json @@ -66,4 +66,4 @@ }, "minimum-stability": "stable", "prefer-stable": true -} +} \ No newline at end of file From 31d0eaba5e061c2632e83a916c7da6261edc6ae8 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Thu, 16 Jan 2025 10:41:32 +0100 Subject: [PATCH 10/65] Add some `Latest/` --- Makefile | 138 +++++------ .../{Version_5_0 => Latest}/.editorconfig | 0 .../{Version_5_0 => Latest}/.gitattributes | 0 .../{Version_5_0 => Latest}/.gitignore | 0 .../CakePHP/{Version_5_0 => Latest}/.htaccess | 0 .../CakePHP/{Version_5_0 => Latest}/README.md | 0 .../bin/bash_completion.sh | 0 .../CakePHP/{Version_5_0 => Latest}/bin/cake | 0 .../{Version_5_0 => Latest}/bin/cake.bat | 0 .../{Version_5_0 => Latest}/bin/cake.php | 0 .../{Version_5_0 => Latest}/composer.json | 0 .../config/.env.example | 0 .../{Version_5_0 => Latest}/config/app.php | 0 .../config/app_local.example.php | 0 .../config/bootstrap.php | 0 .../config/bootstrap_cli.php | 0 .../{Version_5_0 => Latest}/config/paths.php | 0 .../config/plugins.php | 0 .../{Version_5_0 => Latest}/config/routes.php | 0 .../config/schema/i18n.sql | 0 .../config/schema/sessions.sql | 0 .../CakePHP/{Version_5_0 => Latest}/index.php | 0 .../CakePHP/{Version_5_0 => Latest}/phpcs.xml | 0 .../{Version_5_0 => Latest}/phpstan.neon | 0 .../{Version_5_0 => Latest}/phpunit.xml.dist | 0 .../{Version_5_0 => Latest}/plugins/.gitkeep | 0 .../CakePHP/{Version_5_0 => Latest}/psalm.xml | 0 .../resources/.gitkeep | 0 .../src/Application.php | 0 .../src/Console/Installer.php | 0 .../src/Controller/AppController.php | 0 .../src/Controller/Component/.gitkeep | 0 .../src/Controller/ErrorController.php | 0 .../src/Controller/PagesController.php | 0 .../Controller/ParameterizedController.php | 0 .../src/Controller/SimpleController.php | 0 .../src/Controller/Simple_viewController.php | 0 .../src/Model/Behavior/.gitkeep | 0 .../src/Model/Entity/.gitkeep | 0 .../src/Model/Table/.gitkeep | 0 .../src/View/AjaxView.php | 0 .../src/View/AppView.php | 0 .../src/View/Cell/.gitkeep | 0 .../src/View/Helper/.gitkeep | 0 .../templates/Error/error400.php | 0 .../templates/Error/error500.php | 0 .../templates/Pages/home.php | 0 .../templates/Simple_view/index.php | 0 .../templates/cell/.gitkeep | 0 .../templates/element/flash/default.php | 0 .../templates/element/flash/error.php | 0 .../templates/element/flash/info.php | 0 .../templates/element/flash/success.php | 0 .../templates/element/flash/warning.php | 0 .../templates/email/html/default.php | 0 .../templates/email/text/default.php | 0 .../templates/layout/ajax.php | 0 .../templates/layout/default.php | 0 .../templates/layout/email/html/default.php | 0 .../templates/layout/email/text/default.php | 0 .../templates/layout/error.php | 0 .../tests/Fixture/.gitkeep | 0 .../tests/TestCase/ApplicationTest.php | 0 .../TestCase/Controller/Component/.gitkeep | 0 .../Controller/PagesControllerTest.php | 0 .../tests/TestCase/Model/Behavior/.gitkeep | 0 .../tests/TestCase/View/Helper/.gitkeep | 0 .../tests/bootstrap.php | 0 .../{Version_5_0 => Latest}/tests/schema.sql | 0 .../{Version_5_0 => Latest}/webroot/.htaccess | 0 .../webroot/css/cake.css | 0 .../webroot/css/fonts.css | 0 .../webroot/css/home.css | 0 .../webroot/css/milligram.min.css | 0 .../webroot/css/normalize.min.css | 0 .../webroot/favicon.ico | Bin .../webroot/font/Raleway-License.txt | 0 .../webroot/font/cakedingbats-webfont.eot | Bin .../webroot/font/cakedingbats-webfont.svg | 0 .../webroot/font/cakedingbats-webfont.ttf | Bin .../webroot/font/cakedingbats-webfont.woff | Bin .../webroot/font/cakedingbats-webfont.woff2 | Bin .../font/raleway-400-cyrillic-ext.woff2 | Bin .../webroot/font/raleway-400-cyrillic.woff2 | Bin .../webroot/font/raleway-400-latin-ext.woff2 | Bin .../webroot/font/raleway-400-latin.woff2 | Bin .../webroot/font/raleway-400-vietnamese.woff2 | Bin .../font/raleway-700-cyrillic-ext.woff2 | Bin .../webroot/font/raleway-700-cyrillic.woff2 | Bin .../webroot/font/raleway-700-latin-ext.woff2 | Bin .../webroot/font/raleway-700-latin.woff2 | Bin .../webroot/font/raleway-700-vietnamese.woff2 | Bin .../webroot/img/cake-logo.png | Bin .../webroot/img/cake.icon.png | Bin .../webroot/img/cake.logo.svg | 0 .../webroot/img/cake.power.gif | Bin .../{Version_5_0 => Latest}/webroot/index.php | 0 .../webroot/js/.gitkeep | 0 .../Drupal/Version_9_5/composer.json | 2 +- .../Metapackage/CoreRecommended/composer.json | 42 ++-- .../PinnedDevDependencies/composer.json | 34 +-- .../DependencyInjection/composer.json | 2 +- .../Slim/{Version_4 => Latest}/.coveralls.yml | 0 .../Slim/{Version_4 => Latest}/.gitignore | 0 .../Slim/{Version_4 => Latest}/.travis.yml | 0 .../{Version_4 => Latest}/CONTRIBUTING.md | 0 .../Slim/{Version_4 => Latest}/README.md | 0 .../app/dependencies.php | 0 .../{Version_4 => Latest}/app/middleware.php | 0 .../app/repositories.php | 0 .../Slim/{Version_4 => Latest}/app/routes.php | 0 .../{Version_4 => Latest}/app/settings.php | 0 .../Slim/{Version_4 => Latest}/composer.json | 0 .../{Version_4 => Latest}/docker-compose.yml | 0 .../Slim/{Version_4 => Latest}/logs/README.md | 0 .../Slim/{Version_4 => Latest}/phpunit.xml | 0 .../{Version_4 => Latest}/public/.htaccess | 0 .../{Version_4 => Latest}/public/index.php | 0 .../src/Application/Actions/Action.php | 0 .../src/Application/Actions/ActionError.php | 0 .../src/Application/Actions/ActionPayload.php | 0 .../Actions/User/ListUsersAction.php | 0 .../Application/Actions/User/UserAction.php | 0 .../Actions/User/ViewUserAction.php | 0 .../Application/Handlers/HttpErrorHandler.php | 0 .../Application/Handlers/ShutdownHandler.php | 0 .../Middleware/SessionMiddleware.php | 0 .../ResponseEmitter/ResponseEmitter.php | 0 .../DomainException/DomainException.php | 0 .../DomainRecordNotFoundException.php | 0 .../src/Domain/User/User.php | 0 .../src/Domain/User/UserNotFoundException.php | 0 .../src/Domain/User/UserRepository.php | 0 .../User/InMemoryUserRepository.php | 0 .../templates/simple_view.phtml | 0 .../tests/Application/Actions/ActionTest.php | 0 .../Actions/User/ListUserActionTest.php | 0 .../Actions/User/ViewUserActionTest.php | 0 .../tests/Domain/User/UserTest.php | 0 .../User/InMemoryUserRepositoryTest.php | 0 .../{Version_4 => Latest}/tests/TestCase.php | 0 .../{Version_4 => Latest}/tests/bootstrap.php | 0 .../var/cache/.gitignore | 0 tests/Frameworks/Symfony/Latest/composer.json | 1 + tests/Frameworks/Symfony/Version_7_0/.env | 37 --- .../Frameworks/Symfony/Version_7_0/.gitignore | 10 - .../Symfony/Version_7_0/bin/console | 17 -- .../Symfony/Version_7_0/compose.override.yaml | 8 - .../Symfony/Version_7_0/compose.yaml | 21 -- .../Symfony/Version_7_0/composer.json | 94 -------- .../Symfony/Version_7_0/config/bundles.php | 12 - .../Version_7_0/config/packages/cache.yaml | 19 -- .../Version_7_0/config/packages/doctrine.yaml | 49 ---- .../config/packages/doctrine_migrations.yaml | 6 - .../config/packages/framework.yaml | 23 -- .../config/packages/messenger.yaml | 33 --- .../Version_7_0/config/packages/monolog.yaml | 61 ----- .../Version_7_0/config/packages/routing.yaml | 12 - .../Version_7_0/config/packages/security.yaml | 46 ---- .../config/packages/test/framework.yaml | 4 - .../config/packages/test/twig.yaml | 2 - .../Version_7_0/config/packages/twig.yaml | 6 - .../config/packages/validator.yaml | 13 -- .../Symfony/Version_7_0/config/preload.php | 5 - .../Symfony/Version_7_0/config/routes.yaml | 5 - .../Version_7_0/config/routes/attributes.yaml | 9 - .../Version_7_0/config/routes/framework.yaml | 4 - .../Version_7_0/config/routes/security.yaml | 3 - .../Symfony/Version_7_0/config/services.yaml | 31 --- .../Symfony/Version_7_0/migrations/.gitignore | 0 .../migrations/Version20230707083454.php | 31 --- .../migrations/Version20231227143831.php | 31 --- .../migrations/Version20240711115224.php | 31 --- .../Symfony/Version_7_0/public/index.php | 9 - .../Version_7_0/src/Command/ThrowCommand.php | 19 -- .../Version_7_0/src/Controller/.gitignore | 0 .../Controller/CommonScenariosController.php | 36 --- .../src/Controller/LoginController.php | 27 --- .../src/Controller/LuckyController.php | 29 --- .../src/Controller/RegistrationController.php | 65 ------ .../Symfony/Version_7_0/src/Entity/.gitignore | 0 .../Symfony/Version_7_0/src/Entity/User.php | 117 ---------- .../src/Form/RegistrationFormType.php | 55 ----- .../Symfony/Version_7_0/src/Kernel.php | 38 --- .../src/Message/LuckyNumberNotification.php | 8 - .../LuckyNumberNotificationHandler.php | 19 -- .../Version_7_0/src/Repository/.gitignore | 0 .../src/Repository/UserRepository.php | 67 ------ .../Version_7_0/templates/base.html.twig | 19 -- .../templates/login/index.html.twig | 23 -- .../templates/registration/register.html.twig | 19 -- .../templates/twig_template.html.twig | 1 - .../AMQP/{V3_5 => Latest}/AMQPTest.php | 4 +- .../AMQP/{V3_5 => Latest}/composer.json | 0 tests/Integrations/AMQP/V2/AMQPTest.php | 2 +- .../{V5_0 => Latest}/CommonScenariosTest.php | 6 +- .../CLI/CakePHP/V3_10/CommonScenariosTest.php | 7 +- .../{V11_X => Latest}/CommonScenariosTest.php | 6 +- .../CLI/Laravel/V10_X/CommonScenariosTest.php | 2 +- .../CLI/Laravel/V9_X/CommonScenariosTest.php | 7 +- .../{V7_0 => Latest}/CommonScenariosTest.php | 6 +- .../CLI/Symfony/V6_2/CommonScenariosTest.php | 7 +- .../{V5_0 => Latest}/CommonScenariosTest.php | 6 +- .../CakePHP/V4_5/CommonScenariosTest.php | 7 +- .../ElasticSearchIntegrationTest.php | 4 +- .../{V8 => Latest}/composer.json | 0 .../Guzzle/V7/GuzzleIntegrationTest.php | 120 ---------- tests/Integrations/Guzzle/V7/composer.json | 6 - .../Laravel/Latest/CommonScenariosTest.php | 7 +- .../Laravel/V11_x/CommonScenariosTest.php | 11 - .../Laravel/V5_7/CommonScenariosTest.php | 7 +- tests/Integrations/Logs/BaseLogsTest.php | 7 +- .../Logs/MonologLatest/MonologLatestTest.php | 9 + .../composer.json | 0 .../Logs/MonologV3/MonologV3Test.php | 9 - .../MongoDB/{ => Latest}/MongoDBTest.php | 12 +- .../MongoDB/{ => Latest}/composer.json | 0 .../OpenAI/{ => Latest}/OpenAITest.php | 4 +- .../OpenAI/{ => Latest}/composer.json | 0 .../Predis/{ => Latest}/PredisTest.php | 4 +- .../Predis/{ => Latest}/composer.json | 0 .../{V4 => Latest}/CommonScenariosTest.php | 11 +- .../Symfony/V7_0/AutomatedLoginEventsTest.php | 22 -- .../Symfony/V7_0/CommonScenariosTest.php | 221 ------------------ .../Symfony/V7_0/ConsoleCommandTest.php | 16 -- .../Symfony/V7_0/MessengerTest.php | 116 --------- .../Symfony/V7_0/TraceSearchConfigTest.php | 11 - tests/phpunit.xml | 24 +- tests/update-latest-versions.php | 29 ++- 229 files changed, 223 insertions(+), 1880 deletions(-) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/.editorconfig (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/.gitattributes (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/.gitignore (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/.htaccess (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/README.md (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/bin/bash_completion.sh (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/bin/cake (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/bin/cake.bat (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/bin/cake.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/composer.json (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/config/.env.example (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/config/app.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/config/app_local.example.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/config/bootstrap.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/config/bootstrap_cli.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/config/paths.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/config/plugins.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/config/routes.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/config/schema/i18n.sql (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/config/schema/sessions.sql (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/index.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/phpcs.xml (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/phpstan.neon (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/phpunit.xml.dist (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/plugins/.gitkeep (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/psalm.xml (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/resources/.gitkeep (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/Application.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/Console/Installer.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/Controller/AppController.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/Controller/Component/.gitkeep (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/Controller/ErrorController.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/Controller/PagesController.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/Controller/ParameterizedController.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/Controller/SimpleController.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/Controller/Simple_viewController.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/Model/Behavior/.gitkeep (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/Model/Entity/.gitkeep (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/Model/Table/.gitkeep (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/View/AjaxView.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/View/AppView.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/View/Cell/.gitkeep (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/src/View/Helper/.gitkeep (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/Error/error400.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/Error/error500.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/Pages/home.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/Simple_view/index.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/cell/.gitkeep (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/element/flash/default.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/element/flash/error.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/element/flash/info.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/element/flash/success.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/element/flash/warning.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/email/html/default.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/email/text/default.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/layout/ajax.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/layout/default.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/layout/email/html/default.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/layout/email/text/default.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/templates/layout/error.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/tests/Fixture/.gitkeep (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/tests/TestCase/ApplicationTest.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/tests/TestCase/Controller/Component/.gitkeep (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/tests/TestCase/Controller/PagesControllerTest.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/tests/TestCase/Model/Behavior/.gitkeep (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/tests/TestCase/View/Helper/.gitkeep (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/tests/bootstrap.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/tests/schema.sql (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/.htaccess (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/css/cake.css (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/css/fonts.css (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/css/home.css (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/css/milligram.min.css (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/css/normalize.min.css (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/favicon.ico (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/Raleway-License.txt (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/cakedingbats-webfont.eot (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/cakedingbats-webfont.svg (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/cakedingbats-webfont.ttf (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/cakedingbats-webfont.woff (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/cakedingbats-webfont.woff2 (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/raleway-400-cyrillic-ext.woff2 (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/raleway-400-cyrillic.woff2 (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/raleway-400-latin-ext.woff2 (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/raleway-400-latin.woff2 (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/raleway-400-vietnamese.woff2 (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/raleway-700-cyrillic-ext.woff2 (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/raleway-700-cyrillic.woff2 (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/raleway-700-latin-ext.woff2 (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/raleway-700-latin.woff2 (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/font/raleway-700-vietnamese.woff2 (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/img/cake-logo.png (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/img/cake.icon.png (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/img/cake.logo.svg (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/img/cake.power.gif (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/index.php (100%) rename tests/Frameworks/CakePHP/{Version_5_0 => Latest}/webroot/js/.gitkeep (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/.coveralls.yml (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/.gitignore (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/.travis.yml (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/CONTRIBUTING.md (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/README.md (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/app/dependencies.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/app/middleware.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/app/repositories.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/app/routes.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/app/settings.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/composer.json (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/docker-compose.yml (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/logs/README.md (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/phpunit.xml (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/public/.htaccess (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/public/index.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Application/Actions/Action.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Application/Actions/ActionError.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Application/Actions/ActionPayload.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Application/Actions/User/ListUsersAction.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Application/Actions/User/UserAction.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Application/Actions/User/ViewUserAction.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Application/Handlers/HttpErrorHandler.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Application/Handlers/ShutdownHandler.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Application/Middleware/SessionMiddleware.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Application/ResponseEmitter/ResponseEmitter.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Domain/DomainException/DomainException.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Domain/DomainException/DomainRecordNotFoundException.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Domain/User/User.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Domain/User/UserNotFoundException.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Domain/User/UserRepository.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/src/Infrastructure/Persistence/User/InMemoryUserRepository.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/templates/simple_view.phtml (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/tests/Application/Actions/ActionTest.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/tests/Application/Actions/User/ListUserActionTest.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/tests/Application/Actions/User/ViewUserActionTest.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/tests/Domain/User/UserTest.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/tests/Infrastructure/Persistence/User/InMemoryUserRepositoryTest.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/tests/TestCase.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/tests/bootstrap.php (100%) rename tests/Frameworks/Slim/{Version_4 => Latest}/var/cache/.gitignore (100%) delete mode 100644 tests/Frameworks/Symfony/Version_7_0/.env delete mode 100644 tests/Frameworks/Symfony/Version_7_0/.gitignore delete mode 100755 tests/Frameworks/Symfony/Version_7_0/bin/console delete mode 100644 tests/Frameworks/Symfony/Version_7_0/compose.override.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/compose.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/composer.json delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/bundles.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/packages/cache.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/packages/doctrine.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/packages/doctrine_migrations.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/packages/framework.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/packages/messenger.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/packages/monolog.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/packages/routing.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/packages/security.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/packages/test/framework.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/packages/test/twig.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/packages/twig.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/packages/validator.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/preload.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/routes.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/routes/attributes.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/routes/framework.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/routes/security.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/config/services.yaml delete mode 100644 tests/Frameworks/Symfony/Version_7_0/migrations/.gitignore delete mode 100644 tests/Frameworks/Symfony/Version_7_0/migrations/Version20230707083454.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/migrations/Version20231227143831.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/migrations/Version20240711115224.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/public/index.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/src/Command/ThrowCommand.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/src/Controller/.gitignore delete mode 100644 tests/Frameworks/Symfony/Version_7_0/src/Controller/CommonScenariosController.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/src/Controller/LoginController.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/src/Controller/LuckyController.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/src/Controller/RegistrationController.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/src/Entity/.gitignore delete mode 100644 tests/Frameworks/Symfony/Version_7_0/src/Entity/User.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/src/Form/RegistrationFormType.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/src/Kernel.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/src/Message/LuckyNumberNotification.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/src/MessageHandler/LuckyNumberNotificationHandler.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/src/Repository/.gitignore delete mode 100644 tests/Frameworks/Symfony/Version_7_0/src/Repository/UserRepository.php delete mode 100644 tests/Frameworks/Symfony/Version_7_0/templates/base.html.twig delete mode 100644 tests/Frameworks/Symfony/Version_7_0/templates/login/index.html.twig delete mode 100644 tests/Frameworks/Symfony/Version_7_0/templates/registration/register.html.twig delete mode 100644 tests/Frameworks/Symfony/Version_7_0/templates/twig_template.html.twig rename tests/Integrations/AMQP/{V3_5 => Latest}/AMQPTest.php (60%) rename tests/Integrations/AMQP/{V3_5 => Latest}/composer.json (100%) rename tests/Integrations/CLI/CakePHP/{V5_0 => Latest}/CommonScenariosTest.php (64%) rename tests/Integrations/CLI/Laravel/{V11_X => Latest}/CommonScenariosTest.php (97%) rename tests/Integrations/CLI/Symfony/{V7_0 => Latest}/CommonScenariosTest.php (54%) rename tests/Integrations/CakePHP/{V5_0 => Latest}/CommonScenariosTest.php (69%) rename tests/Integrations/Elasticsearch/{V8 => Latest}/ElasticSearchIntegrationTest.php (99%) rename tests/Integrations/Elasticsearch/{V8 => Latest}/composer.json (100%) delete mode 100644 tests/Integrations/Guzzle/V7/GuzzleIntegrationTest.php delete mode 100644 tests/Integrations/Guzzle/V7/composer.json delete mode 100644 tests/Integrations/Laravel/V11_x/CommonScenariosTest.php create mode 100644 tests/Integrations/Logs/MonologLatest/MonologLatestTest.php rename tests/Integrations/Logs/{MonologV3 => MonologLatest}/composer.json (100%) delete mode 100644 tests/Integrations/Logs/MonologV3/MonologV3Test.php rename tests/Integrations/MongoDB/{ => Latest}/MongoDBTest.php (99%) rename tests/Integrations/MongoDB/{ => Latest}/composer.json (100%) rename tests/Integrations/OpenAI/{ => Latest}/OpenAITest.php (99%) rename tests/Integrations/OpenAI/{ => Latest}/composer.json (100%) rename tests/Integrations/Predis/{ => Latest}/PredisTest.php (99%) rename tests/Integrations/Predis/{ => Latest}/composer.json (100%) rename tests/Integrations/Slim/{V4 => Latest}/CommonScenariosTest.php (97%) delete mode 100644 tests/Integrations/Symfony/V7_0/AutomatedLoginEventsTest.php delete mode 100644 tests/Integrations/Symfony/V7_0/CommonScenariosTest.php delete mode 100644 tests/Integrations/Symfony/V7_0/ConsoleCommandTest.php delete mode 100644 tests/Integrations/Symfony/V7_0/MessengerTest.php delete mode 100644 tests/Integrations/Symfony/V7_0/TraceSearchConfigTest.php diff --git a/Makefile b/Makefile index 87a4a56b70..2cb521e38f 100644 --- a/Makefile +++ b/Makefile @@ -550,7 +550,7 @@ TEST_INTEGRATIONS_70 := \ test_integrations_kafka \ test_integrations_memcache \ test_integrations_memcached \ - test_integrations_mongodb1 \ + test_integrations_mongodb_latest \ test_integrations_mysqli \ test_integrations_pdo \ test_integrations_elasticsearch1 \ @@ -560,7 +560,7 @@ TEST_INTEGRATIONS_70 := \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ - test_integrations_predis1 \ + test_integrations_predis_latest \ test_integrations_sqlsrv TEST_WEB_70 := \ @@ -587,12 +587,12 @@ TEST_WEB_70 := \ TEST_INTEGRATIONS_71 := \ test_integrations_deferred_loading \ test_integrations_amqp2 \ - test_integrations_amqp35 \ + test_integrations_amqp_latest \ test_integrations_curl \ test_integrations_kafka \ test_integrations_memcache \ test_integrations_memcached \ - test_integrations_mongodb1 \ + test_integrations_mongodb_latest \ test_integrations_monolog1 \ test_integrations_mysqli \ test_integrations_pdo \ @@ -603,7 +603,7 @@ TEST_INTEGRATIONS_71 := \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ - test_integrations_predis1 \ + test_integrations_predis_latest \ test_integrations_sqlsrv \ test_opentracing_10 @@ -639,12 +639,12 @@ TEST_WEB_71 := \ TEST_INTEGRATIONS_72 := \ test_integrations_deferred_loading \ test_integrations_amqp2 \ - test_integrations_amqp35 \ + test_integrations_amqp_latest \ test_integrations_curl \ test_integrations_kafka \ test_integrations_memcache \ test_integrations_memcached \ - test_integrations_mongodb1 \ + test_integrations_mongodb_latest \ test_integrations_monolog1 \ test_integrations_monolog2 \ test_integrations_mysqli \ @@ -657,7 +657,7 @@ TEST_INTEGRATIONS_72 := \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ - test_integrations_predis1 \ + test_integrations_predis_latest \ test_integrations_sqlsrv \ test_opentracing_10 @@ -676,7 +676,7 @@ TEST_WEB_72 := \ test_web_nette_24 \ test_web_nette_30 \ test_web_slim_312 \ - test_web_slim_4 \ + test_web_slim_latest \ test_web_symfony_23 \ test_web_symfony_28 \ test_web_symfony_30 \ @@ -698,12 +698,12 @@ TEST_WEB_72 := \ TEST_INTEGRATIONS_73 :=\ test_integrations_deferred_loading \ test_integrations_amqp2 \ - test_integrations_amqp35 \ + test_integrations_amqp_latest \ test_integrations_curl \ test_integrations_kafka \ test_integrations_memcache \ test_integrations_memcached \ - test_integrations_mongodb1 \ + test_integrations_mongodb_latest \ test_integrations_monolog1 \ test_integrations_monolog2 \ test_integrations_mysqli \ @@ -716,7 +716,7 @@ TEST_INTEGRATIONS_73 :=\ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ - test_integrations_predis1 \ + test_integrations_predis_latest \ test_integrations_sqlsrv \ test_opentracing_10 @@ -738,7 +738,7 @@ TEST_WEB_73 := \ test_web_nette_24 \ test_web_nette_30 \ test_web_slim_312 \ - test_web_slim_4 \ + test_web_slim_latest \ test_web_symfony_34 \ test_web_symfony_40 \ test_web_symfony_42 \ @@ -756,19 +756,19 @@ TEST_WEB_73 := \ TEST_INTEGRATIONS_74 := \ test_integrations_deferred_loading \ test_integrations_amqp2 \ - test_integrations_amqp35 \ + test_integrations_amqp_latest \ test_integrations_curl \ test_integrations_kafka \ test_integrations_memcache \ test_integrations_memcached \ - test_integrations_mongodb1 \ + test_integrations_mongodb_latest \ test_integrations_monolog1 \ test_integrations_monolog2 \ test_integrations_mysqli \ test_opentelemetry_1 \ test_integrations_pdo \ test_integrations_elasticsearch7 \ - test_integrations_elasticsearch8 \ + test_integrations_elasticsearch_latest \ test_integrations_guzzle5 \ test_integrations_guzzle6 \ test_integrations_guzzle7 \ @@ -776,7 +776,7 @@ TEST_INTEGRATIONS_74 := \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ - test_integrations_predis1 \ + test_integrations_predis_latest \ test_integrations_roadrunner \ test_integrations_sqlsrv \ test_opentracing_10 @@ -801,7 +801,7 @@ TEST_WEB_74 := \ test_web_nette_24 \ test_web_nette_30 \ test_web_slim_312 \ - test_web_slim_4 \ + test_web_slim_latest \ test_web_symfony_34 \ test_web_symfony_40 \ test_web_symfony_44 \ @@ -822,13 +822,13 @@ TEST_WEB_74 := \ TEST_INTEGRATIONS_80 := \ test_integrations_deferred_loading \ test_integrations_amqp2 \ - test_integrations_amqp35 \ + test_integrations_amqp_latest \ test_integrations_curl \ test_integrations_kafka \ test_integrations_laminaslog2 \ test_integrations_memcache \ test_integrations_memcached \ - test_integrations_mongodb1 \ + test_integrations_mongodb_latest \ test_integrations_monolog1 \ test_integrations_monolog2 \ test_integrations_mysqli \ @@ -841,7 +841,7 @@ TEST_INTEGRATIONS_80 := \ test_integrations_guzzle7 \ test_integrations_pcntl \ test_integrations_phpredis5 \ - test_integrations_predis1 \ + test_integrations_predis_latest \ test_integrations_sqlsrv \ test_integrations_swoole_5 \ test_opentracing_10 @@ -862,7 +862,7 @@ TEST_WEB_80 := \ test_web_nette_24 \ test_web_nette_30 \ test_web_slim_312 \ - test_web_slim_4 \ + test_web_slim_latest \ test_web_symfony_44 \ test_web_symfony_51 \ test_web_symfony_52 \ @@ -874,19 +874,19 @@ TEST_WEB_80 := \ TEST_INTEGRATIONS_81 := \ test_integrations_amqp2 \ - test_integrations_amqp35 \ + test_integrations_amqp_latest \ test_integrations_curl \ test_integrations_deferred_loading \ test_integrations_kafka \ test_integrations_laminaslog2 \ test_integrations_memcache \ test_integrations_memcached \ - test_integrations_mongodb1 \ + test_integrations_mongodb_latest \ test_integrations_monolog1 \ test_integrations_monolog2 \ - test_integrations_monolog3 \ + test_integrations_monolog_latest \ test_integrations_mysqli \ - test_integrations_openai \ + test_integrations_openai_latest \ test_opentelemetry_1 \ test_opentelemetry_beta \ test_integrations_googlespanner \ @@ -895,7 +895,7 @@ TEST_INTEGRATIONS_81 := \ test_integrations_pdo \ test_integrations_elasticsearch7 \ test_integrations_phpredis5 \ - test_integrations_predis1 \ + test_integrations_predis_latest \ test_integrations_sqlsrv \ test_integrations_swoole_5 \ test_opentracing_10 @@ -903,7 +903,7 @@ TEST_INTEGRATIONS_81 := \ TEST_WEB_81 := \ test_metrics \ test_web_cakephp_45 \ - test_web_cakephp_50 \ + test_web_cakephp_latest \ test_web_codeigniter_22 \ test_web_codeigniter_31 \ test_web_drupal_95 \ @@ -919,7 +919,7 @@ TEST_WEB_81 := \ test_web_nette_24 \ test_web_nette_30 \ test_web_slim_312 \ - test_web_slim_4 \ + test_web_slim_latest \ test_web_symfony_52 \ test_web_wordpress_59 \ test_web_wordpress_61 \ @@ -929,19 +929,19 @@ TEST_WEB_81 := \ TEST_INTEGRATIONS_82 := \ test_integrations_amqp2 \ - test_integrations_amqp35 \ + test_integrations_amqp_latest \ test_integrations_curl \ test_integrations_deferred_loading \ test_integrations_kafka \ test_integrations_laminaslog2 \ test_integrations_memcache \ test_integrations_memcached \ - test_integrations_mongodb1 \ + test_integrations_mongodb_latest \ test_integrations_monolog1 \ test_integrations_monolog2 \ - test_integrations_monolog3 \ + test_integrations_monolog_latest \ test_integrations_mysqli \ - test_integrations_openai \ + test_integrations_openai_latest \ test_opentelemetry_1 \ test_opentelemetry_beta \ test_integrations_googlespanner \ @@ -949,9 +949,9 @@ TEST_INTEGRATIONS_82 := \ test_integrations_pcntl \ test_integrations_pdo \ test_integrations_elasticsearch7 \ - test_integrations_elasticsearch8 \ + test_integrations_elasticsearch_latest \ test_integrations_phpredis5 \ - test_integrations_predis1 \ + test_integrations_predis_latest \ test_integrations_frankenphp \ test_integrations_roadrunner \ test_integrations_sqlsrv \ @@ -961,7 +961,7 @@ TEST_INTEGRATIONS_82 := \ TEST_WEB_82 := \ test_metrics \ test_web_cakephp_45 \ - test_web_cakephp_50 \ + test_web_cakephp_latest \ test_web_codeigniter_22 \ test_web_codeigniter_31 \ test_web_drupal_95 \ @@ -971,7 +971,7 @@ TEST_WEB_82 := \ test_web_laravel_8x \ test_web_laravel_9x \ test_web_laravel_10x \ - test_web_laravel_11x \ + test_web_laravel_latest \ test_web_laravel_octane \ test_web_lumen_81 \ test_web_lumen_90 \ @@ -980,10 +980,10 @@ TEST_WEB_82 := \ test_web_nette_24 \ test_web_nette_30 \ test_web_slim_312 \ - test_web_slim_4 \ + test_web_slim_latest \ test_web_symfony_52 \ test_web_symfony_62 \ - test_web_symfony_70 \ + test_web_symfony_latest \ test_web_wordpress_59 \ test_web_wordpress_61 \ test_web_custom \ @@ -992,19 +992,19 @@ TEST_WEB_82 := \ TEST_INTEGRATIONS_83 := \ test_integrations_amqp2 \ - test_integrations_amqp35 \ + test_integrations_amqp_latest \ test_integrations_curl \ test_integrations_deferred_loading \ test_integrations_kafka \ test_integrations_laminaslog2 \ test_integrations_memcache \ test_integrations_memcached \ - test_integrations_mongodb1 \ + test_integrations_mongodb_latest \ test_integrations_monolog1 \ test_integrations_monolog2 \ - test_integrations_monolog3 \ + test_integrations_monolog_latest \ test_integrations_mysqli \ - test_integrations_openai \ + test_integrations_openai_latest \ test_opentelemetry_1 \ test_opentelemetry_beta \ test_integrations_googlespanner \ @@ -1012,9 +1012,9 @@ TEST_INTEGRATIONS_83 := \ test_integrations_pcntl \ test_integrations_pdo \ test_integrations_elasticsearch7 \ - test_integrations_elasticsearch8 \ + test_integrations_elasticsearch_latest \ test_integrations_phpredis5 \ - test_integrations_predis1 \ + test_integrations_predis_latest \ test_integrations_frankenphp \ test_integrations_roadrunner \ test_integrations_sqlsrv \ @@ -1024,14 +1024,14 @@ TEST_INTEGRATIONS_83 := \ TEST_WEB_83 := \ test_metrics \ test_web_cakephp_45 \ - test_web_cakephp_50 \ + test_web_cakephp_latest \ test_web_codeigniter_22 \ test_web_codeigniter_31 \ test_web_drupal_95 \ test_web_laravel_8x \ test_web_laravel_9x \ test_web_laravel_10x \ - test_web_laravel_11x \ + test_web_laravel_latest \ test_web_laravel_octane \ test_web_lumen_81 \ test_web_lumen_90 \ @@ -1039,10 +1039,10 @@ TEST_WEB_83 := \ test_web_nette_24 \ test_web_nette_30 \ test_web_slim_312 \ - test_web_slim_4 \ + test_web_slim_latest \ test_web_symfony_52 \ test_web_symfony_62 \ - test_web_symfony_70 \ + test_web_symfony_latest \ test_web_wordpress_59 \ test_web_wordpress_61 \ test_web_custom \ @@ -1219,8 +1219,8 @@ test_integrations_coverage: test_integrations_amqp2: global_test_run_dependencies tests/Integrations/AMQP/V2/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/AMQP/V2) -test_integrations_amqp35: global_test_run_dependencies tests/Integrations/AMQP/V3_5/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,tests/Integrations/AMQP/V3_5) +test_integrations_amqp_latest: global_test_run_dependencies tests/Integrations/AMQP/Latest/composer.lock-php$(PHP_MAJOR_MINOR) + $(call run_tests_debug,tests/Integrations/AMQP/Latest) test_integrations_deferred_loading: global_test_run_dependencies tests/Integrations/DeferredLoading/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/DeferredLoading) test_integrations_filesystem: global_test_run_dependencies @@ -1231,8 +1231,8 @@ test_integrations_elasticsearch1: global_test_run_dependencies tests/Integration $(call run_tests_debug,tests/Integrations/Elasticsearch/V1) test_integrations_elasticsearch7: global_test_run_dependencies tests/Integrations/Elasticsearch/V7/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/Elasticsearch/V7) -test_integrations_elasticsearch8: global_test_run_dependencies tests/Integrations/Elasticsearch/V8/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,tests/Integrations/Elasticsearch/V8) +test_integrations_elasticsearch_latest: global_test_run_dependencies tests/Integrations/Elasticsearch/Latest/composer.lock-php$(PHP_MAJOR_MINOR) + $(call run_tests_debug,tests/Integrations/Elasticsearch/Latest) test_integrations_guzzle5: global_test_run_dependencies tests/Integrations/Guzzle/V5/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/Guzzle/V5) test_integrations_guzzle6: global_test_run_dependencies tests/Integrations/Guzzle/V6/composer.lock-php$(PHP_MAJOR_MINOR) @@ -1251,17 +1251,17 @@ test_integrations_monolog1: global_test_run_dependencies tests/Integrations/Logs $(call run_tests_debug,tests/Integrations/Logs/MonologV1) test_integrations_monolog2: global_test_run_dependencies tests/Integrations/Logs/MonologV2/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/Logs/MonologV2) -test_integrations_monolog3: global_test_run_dependencies tests/Integrations/Logs/MonologV3/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,tests/Integrations/Logs/MonologV3) +test_integrations_monolog_latest: global_test_run_dependencies tests/Integrations/Logs/MonologLatest/composer.lock-php$(PHP_MAJOR_MINOR) + $(call run_tests_debug,tests/Integrations/Logs/MonologLatest) test_integrations_mysqli: global_test_run_dependencies $(call run_tests_debug,tests/Integrations/Mysqli) test_integrations_mongo: global_test_run_dependencies $(call run_tests_debug,tests/Integrations/Mongo) -test_integrations_mongodb1: global_test_run_dependencies tests/Integrations/MongoDB/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,tests/Integrations/MongoDB) -test_integrations_openai: global_test_run_dependencies tests/Integrations/OpenAI/composer.lock-php$(PHP_MAJOR_MINOR) +test_integrations_mongodb_latest: global_test_run_dependencies tests/Integrations/MongoDB/Latest/composer.lock-php$(PHP_MAJOR_MINOR) + $(call run_tests_debug,tests/Integrations/MongoDB/Latest) +test_integrations_openai_latest: global_test_run_dependencies tests/Integrations/OpenAI/Latest/composer.lock-php$(PHP_MAJOR_MINOR) $(eval TELEMETRY_ENABLED=1) - $(call run_tests_debug,tests/Integrations/OpenAI) + $(call run_tests_debug,tests/Integrations/OpenAI/Latest) $(eval TELEMETRY_ENABLED=0) test_integrations_pcntl: global_test_run_dependencies $(call run_tests_debug,tests/Integrations/PCNTL) @@ -1281,8 +1281,8 @@ test_integrations_phpredis5: global_test_run_dependencies $(call run_tests_debug,tests/Integrations/PHPRedis/V5) $(eval TEST_EXTRA_INI=) $(eval TEST_EXTRA_ENV=) -test_integrations_predis1: global_test_run_dependencies tests/Integrations/Predis/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,tests/Integrations/Predis) +test_integrations_predis_latest: global_test_run_dependencies tests/Integrations/Predis/Latest/composer.lock-php$(PHP_MAJOR_MINOR) + $(call run_tests_debug,tests/Integrations/Predis/Latest) test_integrations_frankenphp: global_test_run_dependencies $(call run_tests_debug,--testsuite=frankenphp-test) test_integrations_roadrunner: global_test_run_dependencies tests/Frameworks/Roadrunner/Version_2/composer.lock-php$(PHP_MAJOR_MINOR) @@ -1303,8 +1303,8 @@ test_web_cakephp_310: global_test_run_dependencies tests/Frameworks/CakePHP/Vers $(call run_tests_debug,--testsuite=cakephp-310-test) test_web_cakephp_45: global_test_run_dependencies tests/Frameworks/CakePHP/Version_4_5/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,--testsuite=cakephp-45-test) -test_web_cakephp_50: global_test_run_dependencies tests/Frameworks/CakePHP/Version_5_0/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,--testsuite=cakephp-50-test) +test_web_cakephp_latest: global_test_run_dependencies tests/Frameworks/CakePHP/Latest/composer.lock-php$(PHP_MAJOR_MINOR) + $(call run_tests_debug,--testsuite=cakephp-latest-test) test_web_codeigniter_22: global_test_run_dependencies $(call run_tests_debug,--testsuite=codeigniter-22-test) test_web_codeigniter_31: global_test_run_dependencies tests/Frameworks/CodeIgniter/Version_3_1/composer.lock-php$(PHP_MAJOR_MINOR) @@ -1334,8 +1334,8 @@ test_web_laravel_9x: global_test_run_dependencies tests/Frameworks/Laravel/Versi $(call run_tests_debug,--testsuite=laravel-9x-test) test_web_laravel_10x: global_test_run_dependencies tests/Frameworks/Laravel/Version_10_x/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,--testsuite=laravel-10x-test) -test_web_laravel_11x: global_test_run_dependencies tests/Frameworks/Laravel/Version_11_x/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,--testsuite=laravel-11x-test) +test_web_laravel_latest: global_test_run_dependencies tests/Frameworks/Laravel/Latest/composer.lock-php$(PHP_MAJOR_MINOR) + $(call run_tests_debug,--testsuite=laravel-latest-test) test_web_laravel_octane: global_test_run_dependencies tests/Frameworks/Laravel/Octane/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,--testsuite=laravel-octane-test) test_web_lumen_52: global_test_run_dependencies tests/Frameworks/Lumen/Version_5_2/composer.lock-php$(PHP_MAJOR_MINOR) @@ -1352,7 +1352,7 @@ test_web_lumen_100: global_test_run_dependencies tests/Frameworks/Lumen/Version_ $(call run_tests_debug,tests/Integrations/Lumen/V10_0) test_web_slim_312: global_test_run_dependencies tests/Frameworks/Slim/Version_3_12/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,--testsuite=slim-312-test) -test_web_slim_4: global_test_run_dependencies tests/Frameworks/Slim/Version_4/composer.lock-php$(PHP_MAJOR_MINOR) +test_web_slim_latest: global_test_run_dependencies tests/Frameworks/Slim/Latest/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,--testsuite=slim-4-test) test_web_symfony_23: global_test_run_dependencies tests/Frameworks/Symfony/Version_2_3/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/Symfony/V2_3) @@ -1392,8 +1392,8 @@ test_web_symfony_52: global_test_run_dependencies tests/Frameworks/Symfony/Versi test_web_symfony_62: global_test_run_dependencies tests/Frameworks/Symfony/Version_6_2/composer.lock-php$(PHP_MAJOR_MINOR) php tests/Frameworks/Symfony/Version_6_2/bin/console cache:clear --no-warmup --env=prod $(call run_tests_debug,--testsuite=symfony-62-test) -test_web_symfony_70: global_test_run_dependencies tests/Frameworks/Symfony/Version_7_0/composer.lock-php$(PHP_MAJOR_MINOR) - php tests/Frameworks/Symfony/Version_7_0/bin/console cache:clear --no-warmup --env=prod +test_web_symfony_latest: global_test_run_dependencies tests/Frameworks/Symfony/Latest/composer.lock-php$(PHP_MAJOR_MINOR) + php tests/Frameworks/Symfony/Latest/bin/console cache:clear --no-warmup --env=prod $(call run_tests_debug,--testsuite=symfony-70-test) test_web_wordpress_48: global_test_run_dependencies $(call run_tests_debug,tests/Integrations/WordPress/V4_8) @@ -1444,4 +1444,4 @@ composer.lock: composer.json $(call run_composer_with_retry,,) .PHONY: dev dist_clean clean cores all clang_format_check clang_format_fix install sudo_install test_c test_c_mem test_extension_ci test_zai test_zai_asan test install_ini install_all \ - .apk .rpm .deb .tar.gz sudo debug prod strict run-tests.php verify_pecl_file_definitions verify_package_xml cbindgen cbindgen_binary + .apk .rpm .deb .tar.gz sudo debug prod strict run-tests.php verify_pecl_file_definitions verify_package_xml cbindgen cbindgen_binary \ No newline at end of file diff --git a/tests/Frameworks/CakePHP/Version_5_0/.editorconfig b/tests/Frameworks/CakePHP/Latest/.editorconfig similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/.editorconfig rename to tests/Frameworks/CakePHP/Latest/.editorconfig diff --git a/tests/Frameworks/CakePHP/Version_5_0/.gitattributes b/tests/Frameworks/CakePHP/Latest/.gitattributes similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/.gitattributes rename to tests/Frameworks/CakePHP/Latest/.gitattributes diff --git a/tests/Frameworks/CakePHP/Version_5_0/.gitignore b/tests/Frameworks/CakePHP/Latest/.gitignore similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/.gitignore rename to tests/Frameworks/CakePHP/Latest/.gitignore diff --git a/tests/Frameworks/CakePHP/Version_5_0/.htaccess b/tests/Frameworks/CakePHP/Latest/.htaccess similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/.htaccess rename to tests/Frameworks/CakePHP/Latest/.htaccess diff --git a/tests/Frameworks/CakePHP/Version_5_0/README.md b/tests/Frameworks/CakePHP/Latest/README.md similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/README.md rename to tests/Frameworks/CakePHP/Latest/README.md diff --git a/tests/Frameworks/CakePHP/Version_5_0/bin/bash_completion.sh b/tests/Frameworks/CakePHP/Latest/bin/bash_completion.sh similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/bin/bash_completion.sh rename to tests/Frameworks/CakePHP/Latest/bin/bash_completion.sh diff --git a/tests/Frameworks/CakePHP/Version_5_0/bin/cake b/tests/Frameworks/CakePHP/Latest/bin/cake similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/bin/cake rename to tests/Frameworks/CakePHP/Latest/bin/cake diff --git a/tests/Frameworks/CakePHP/Version_5_0/bin/cake.bat b/tests/Frameworks/CakePHP/Latest/bin/cake.bat similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/bin/cake.bat rename to tests/Frameworks/CakePHP/Latest/bin/cake.bat diff --git a/tests/Frameworks/CakePHP/Version_5_0/bin/cake.php b/tests/Frameworks/CakePHP/Latest/bin/cake.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/bin/cake.php rename to tests/Frameworks/CakePHP/Latest/bin/cake.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/composer.json b/tests/Frameworks/CakePHP/Latest/composer.json similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/composer.json rename to tests/Frameworks/CakePHP/Latest/composer.json diff --git a/tests/Frameworks/CakePHP/Version_5_0/config/.env.example b/tests/Frameworks/CakePHP/Latest/config/.env.example similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/config/.env.example rename to tests/Frameworks/CakePHP/Latest/config/.env.example diff --git a/tests/Frameworks/CakePHP/Version_5_0/config/app.php b/tests/Frameworks/CakePHP/Latest/config/app.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/config/app.php rename to tests/Frameworks/CakePHP/Latest/config/app.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/config/app_local.example.php b/tests/Frameworks/CakePHP/Latest/config/app_local.example.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/config/app_local.example.php rename to tests/Frameworks/CakePHP/Latest/config/app_local.example.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/config/bootstrap.php b/tests/Frameworks/CakePHP/Latest/config/bootstrap.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/config/bootstrap.php rename to tests/Frameworks/CakePHP/Latest/config/bootstrap.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/config/bootstrap_cli.php b/tests/Frameworks/CakePHP/Latest/config/bootstrap_cli.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/config/bootstrap_cli.php rename to tests/Frameworks/CakePHP/Latest/config/bootstrap_cli.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/config/paths.php b/tests/Frameworks/CakePHP/Latest/config/paths.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/config/paths.php rename to tests/Frameworks/CakePHP/Latest/config/paths.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/config/plugins.php b/tests/Frameworks/CakePHP/Latest/config/plugins.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/config/plugins.php rename to tests/Frameworks/CakePHP/Latest/config/plugins.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/config/routes.php b/tests/Frameworks/CakePHP/Latest/config/routes.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/config/routes.php rename to tests/Frameworks/CakePHP/Latest/config/routes.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/config/schema/i18n.sql b/tests/Frameworks/CakePHP/Latest/config/schema/i18n.sql similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/config/schema/i18n.sql rename to tests/Frameworks/CakePHP/Latest/config/schema/i18n.sql diff --git a/tests/Frameworks/CakePHP/Version_5_0/config/schema/sessions.sql b/tests/Frameworks/CakePHP/Latest/config/schema/sessions.sql similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/config/schema/sessions.sql rename to tests/Frameworks/CakePHP/Latest/config/schema/sessions.sql diff --git a/tests/Frameworks/CakePHP/Version_5_0/index.php b/tests/Frameworks/CakePHP/Latest/index.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/index.php rename to tests/Frameworks/CakePHP/Latest/index.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/phpcs.xml b/tests/Frameworks/CakePHP/Latest/phpcs.xml similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/phpcs.xml rename to tests/Frameworks/CakePHP/Latest/phpcs.xml diff --git a/tests/Frameworks/CakePHP/Version_5_0/phpstan.neon b/tests/Frameworks/CakePHP/Latest/phpstan.neon similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/phpstan.neon rename to tests/Frameworks/CakePHP/Latest/phpstan.neon diff --git a/tests/Frameworks/CakePHP/Version_5_0/phpunit.xml.dist b/tests/Frameworks/CakePHP/Latest/phpunit.xml.dist similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/phpunit.xml.dist rename to tests/Frameworks/CakePHP/Latest/phpunit.xml.dist diff --git a/tests/Frameworks/CakePHP/Version_5_0/plugins/.gitkeep b/tests/Frameworks/CakePHP/Latest/plugins/.gitkeep similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/plugins/.gitkeep rename to tests/Frameworks/CakePHP/Latest/plugins/.gitkeep diff --git a/tests/Frameworks/CakePHP/Version_5_0/psalm.xml b/tests/Frameworks/CakePHP/Latest/psalm.xml similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/psalm.xml rename to tests/Frameworks/CakePHP/Latest/psalm.xml diff --git a/tests/Frameworks/CakePHP/Version_5_0/resources/.gitkeep b/tests/Frameworks/CakePHP/Latest/resources/.gitkeep similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/resources/.gitkeep rename to tests/Frameworks/CakePHP/Latest/resources/.gitkeep diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/Application.php b/tests/Frameworks/CakePHP/Latest/src/Application.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/Application.php rename to tests/Frameworks/CakePHP/Latest/src/Application.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/Console/Installer.php b/tests/Frameworks/CakePHP/Latest/src/Console/Installer.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/Console/Installer.php rename to tests/Frameworks/CakePHP/Latest/src/Console/Installer.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/Controller/AppController.php b/tests/Frameworks/CakePHP/Latest/src/Controller/AppController.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/Controller/AppController.php rename to tests/Frameworks/CakePHP/Latest/src/Controller/AppController.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/Controller/Component/.gitkeep b/tests/Frameworks/CakePHP/Latest/src/Controller/Component/.gitkeep similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/Controller/Component/.gitkeep rename to tests/Frameworks/CakePHP/Latest/src/Controller/Component/.gitkeep diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/Controller/ErrorController.php b/tests/Frameworks/CakePHP/Latest/src/Controller/ErrorController.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/Controller/ErrorController.php rename to tests/Frameworks/CakePHP/Latest/src/Controller/ErrorController.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/Controller/PagesController.php b/tests/Frameworks/CakePHP/Latest/src/Controller/PagesController.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/Controller/PagesController.php rename to tests/Frameworks/CakePHP/Latest/src/Controller/PagesController.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/Controller/ParameterizedController.php b/tests/Frameworks/CakePHP/Latest/src/Controller/ParameterizedController.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/Controller/ParameterizedController.php rename to tests/Frameworks/CakePHP/Latest/src/Controller/ParameterizedController.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/Controller/SimpleController.php b/tests/Frameworks/CakePHP/Latest/src/Controller/SimpleController.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/Controller/SimpleController.php rename to tests/Frameworks/CakePHP/Latest/src/Controller/SimpleController.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/Controller/Simple_viewController.php b/tests/Frameworks/CakePHP/Latest/src/Controller/Simple_viewController.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/Controller/Simple_viewController.php rename to tests/Frameworks/CakePHP/Latest/src/Controller/Simple_viewController.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/Model/Behavior/.gitkeep b/tests/Frameworks/CakePHP/Latest/src/Model/Behavior/.gitkeep similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/Model/Behavior/.gitkeep rename to tests/Frameworks/CakePHP/Latest/src/Model/Behavior/.gitkeep diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/Model/Entity/.gitkeep b/tests/Frameworks/CakePHP/Latest/src/Model/Entity/.gitkeep similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/Model/Entity/.gitkeep rename to tests/Frameworks/CakePHP/Latest/src/Model/Entity/.gitkeep diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/Model/Table/.gitkeep b/tests/Frameworks/CakePHP/Latest/src/Model/Table/.gitkeep similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/Model/Table/.gitkeep rename to tests/Frameworks/CakePHP/Latest/src/Model/Table/.gitkeep diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/View/AjaxView.php b/tests/Frameworks/CakePHP/Latest/src/View/AjaxView.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/View/AjaxView.php rename to tests/Frameworks/CakePHP/Latest/src/View/AjaxView.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/View/AppView.php b/tests/Frameworks/CakePHP/Latest/src/View/AppView.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/View/AppView.php rename to tests/Frameworks/CakePHP/Latest/src/View/AppView.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/View/Cell/.gitkeep b/tests/Frameworks/CakePHP/Latest/src/View/Cell/.gitkeep similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/View/Cell/.gitkeep rename to tests/Frameworks/CakePHP/Latest/src/View/Cell/.gitkeep diff --git a/tests/Frameworks/CakePHP/Version_5_0/src/View/Helper/.gitkeep b/tests/Frameworks/CakePHP/Latest/src/View/Helper/.gitkeep similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/src/View/Helper/.gitkeep rename to tests/Frameworks/CakePHP/Latest/src/View/Helper/.gitkeep diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/Error/error400.php b/tests/Frameworks/CakePHP/Latest/templates/Error/error400.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/Error/error400.php rename to tests/Frameworks/CakePHP/Latest/templates/Error/error400.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/Error/error500.php b/tests/Frameworks/CakePHP/Latest/templates/Error/error500.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/Error/error500.php rename to tests/Frameworks/CakePHP/Latest/templates/Error/error500.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/Pages/home.php b/tests/Frameworks/CakePHP/Latest/templates/Pages/home.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/Pages/home.php rename to tests/Frameworks/CakePHP/Latest/templates/Pages/home.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/Simple_view/index.php b/tests/Frameworks/CakePHP/Latest/templates/Simple_view/index.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/Simple_view/index.php rename to tests/Frameworks/CakePHP/Latest/templates/Simple_view/index.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/cell/.gitkeep b/tests/Frameworks/CakePHP/Latest/templates/cell/.gitkeep similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/cell/.gitkeep rename to tests/Frameworks/CakePHP/Latest/templates/cell/.gitkeep diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/element/flash/default.php b/tests/Frameworks/CakePHP/Latest/templates/element/flash/default.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/element/flash/default.php rename to tests/Frameworks/CakePHP/Latest/templates/element/flash/default.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/element/flash/error.php b/tests/Frameworks/CakePHP/Latest/templates/element/flash/error.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/element/flash/error.php rename to tests/Frameworks/CakePHP/Latest/templates/element/flash/error.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/element/flash/info.php b/tests/Frameworks/CakePHP/Latest/templates/element/flash/info.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/element/flash/info.php rename to tests/Frameworks/CakePHP/Latest/templates/element/flash/info.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/element/flash/success.php b/tests/Frameworks/CakePHP/Latest/templates/element/flash/success.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/element/flash/success.php rename to tests/Frameworks/CakePHP/Latest/templates/element/flash/success.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/element/flash/warning.php b/tests/Frameworks/CakePHP/Latest/templates/element/flash/warning.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/element/flash/warning.php rename to tests/Frameworks/CakePHP/Latest/templates/element/flash/warning.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/email/html/default.php b/tests/Frameworks/CakePHP/Latest/templates/email/html/default.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/email/html/default.php rename to tests/Frameworks/CakePHP/Latest/templates/email/html/default.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/email/text/default.php b/tests/Frameworks/CakePHP/Latest/templates/email/text/default.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/email/text/default.php rename to tests/Frameworks/CakePHP/Latest/templates/email/text/default.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/layout/ajax.php b/tests/Frameworks/CakePHP/Latest/templates/layout/ajax.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/layout/ajax.php rename to tests/Frameworks/CakePHP/Latest/templates/layout/ajax.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/layout/default.php b/tests/Frameworks/CakePHP/Latest/templates/layout/default.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/layout/default.php rename to tests/Frameworks/CakePHP/Latest/templates/layout/default.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/layout/email/html/default.php b/tests/Frameworks/CakePHP/Latest/templates/layout/email/html/default.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/layout/email/html/default.php rename to tests/Frameworks/CakePHP/Latest/templates/layout/email/html/default.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/layout/email/text/default.php b/tests/Frameworks/CakePHP/Latest/templates/layout/email/text/default.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/layout/email/text/default.php rename to tests/Frameworks/CakePHP/Latest/templates/layout/email/text/default.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/templates/layout/error.php b/tests/Frameworks/CakePHP/Latest/templates/layout/error.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/templates/layout/error.php rename to tests/Frameworks/CakePHP/Latest/templates/layout/error.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/tests/Fixture/.gitkeep b/tests/Frameworks/CakePHP/Latest/tests/Fixture/.gitkeep similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/tests/Fixture/.gitkeep rename to tests/Frameworks/CakePHP/Latest/tests/Fixture/.gitkeep diff --git a/tests/Frameworks/CakePHP/Version_5_0/tests/TestCase/ApplicationTest.php b/tests/Frameworks/CakePHP/Latest/tests/TestCase/ApplicationTest.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/tests/TestCase/ApplicationTest.php rename to tests/Frameworks/CakePHP/Latest/tests/TestCase/ApplicationTest.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/tests/TestCase/Controller/Component/.gitkeep b/tests/Frameworks/CakePHP/Latest/tests/TestCase/Controller/Component/.gitkeep similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/tests/TestCase/Controller/Component/.gitkeep rename to tests/Frameworks/CakePHP/Latest/tests/TestCase/Controller/Component/.gitkeep diff --git a/tests/Frameworks/CakePHP/Version_5_0/tests/TestCase/Controller/PagesControllerTest.php b/tests/Frameworks/CakePHP/Latest/tests/TestCase/Controller/PagesControllerTest.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/tests/TestCase/Controller/PagesControllerTest.php rename to tests/Frameworks/CakePHP/Latest/tests/TestCase/Controller/PagesControllerTest.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/tests/TestCase/Model/Behavior/.gitkeep b/tests/Frameworks/CakePHP/Latest/tests/TestCase/Model/Behavior/.gitkeep similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/tests/TestCase/Model/Behavior/.gitkeep rename to tests/Frameworks/CakePHP/Latest/tests/TestCase/Model/Behavior/.gitkeep diff --git a/tests/Frameworks/CakePHP/Version_5_0/tests/TestCase/View/Helper/.gitkeep b/tests/Frameworks/CakePHP/Latest/tests/TestCase/View/Helper/.gitkeep similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/tests/TestCase/View/Helper/.gitkeep rename to tests/Frameworks/CakePHP/Latest/tests/TestCase/View/Helper/.gitkeep diff --git a/tests/Frameworks/CakePHP/Version_5_0/tests/bootstrap.php b/tests/Frameworks/CakePHP/Latest/tests/bootstrap.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/tests/bootstrap.php rename to tests/Frameworks/CakePHP/Latest/tests/bootstrap.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/tests/schema.sql b/tests/Frameworks/CakePHP/Latest/tests/schema.sql similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/tests/schema.sql rename to tests/Frameworks/CakePHP/Latest/tests/schema.sql diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/.htaccess b/tests/Frameworks/CakePHP/Latest/webroot/.htaccess similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/.htaccess rename to tests/Frameworks/CakePHP/Latest/webroot/.htaccess diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/css/cake.css b/tests/Frameworks/CakePHP/Latest/webroot/css/cake.css similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/css/cake.css rename to tests/Frameworks/CakePHP/Latest/webroot/css/cake.css diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/css/fonts.css b/tests/Frameworks/CakePHP/Latest/webroot/css/fonts.css similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/css/fonts.css rename to tests/Frameworks/CakePHP/Latest/webroot/css/fonts.css diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/css/home.css b/tests/Frameworks/CakePHP/Latest/webroot/css/home.css similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/css/home.css rename to tests/Frameworks/CakePHP/Latest/webroot/css/home.css diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/css/milligram.min.css b/tests/Frameworks/CakePHP/Latest/webroot/css/milligram.min.css similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/css/milligram.min.css rename to tests/Frameworks/CakePHP/Latest/webroot/css/milligram.min.css diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/css/normalize.min.css b/tests/Frameworks/CakePHP/Latest/webroot/css/normalize.min.css similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/css/normalize.min.css rename to tests/Frameworks/CakePHP/Latest/webroot/css/normalize.min.css diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/favicon.ico b/tests/Frameworks/CakePHP/Latest/webroot/favicon.ico similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/favicon.ico rename to tests/Frameworks/CakePHP/Latest/webroot/favicon.ico diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/Raleway-License.txt b/tests/Frameworks/CakePHP/Latest/webroot/font/Raleway-License.txt similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/Raleway-License.txt rename to tests/Frameworks/CakePHP/Latest/webroot/font/Raleway-License.txt diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/cakedingbats-webfont.eot b/tests/Frameworks/CakePHP/Latest/webroot/font/cakedingbats-webfont.eot similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/cakedingbats-webfont.eot rename to tests/Frameworks/CakePHP/Latest/webroot/font/cakedingbats-webfont.eot diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/cakedingbats-webfont.svg b/tests/Frameworks/CakePHP/Latest/webroot/font/cakedingbats-webfont.svg similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/cakedingbats-webfont.svg rename to tests/Frameworks/CakePHP/Latest/webroot/font/cakedingbats-webfont.svg diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/cakedingbats-webfont.ttf b/tests/Frameworks/CakePHP/Latest/webroot/font/cakedingbats-webfont.ttf similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/cakedingbats-webfont.ttf rename to tests/Frameworks/CakePHP/Latest/webroot/font/cakedingbats-webfont.ttf diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/cakedingbats-webfont.woff b/tests/Frameworks/CakePHP/Latest/webroot/font/cakedingbats-webfont.woff similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/cakedingbats-webfont.woff rename to tests/Frameworks/CakePHP/Latest/webroot/font/cakedingbats-webfont.woff diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/cakedingbats-webfont.woff2 b/tests/Frameworks/CakePHP/Latest/webroot/font/cakedingbats-webfont.woff2 similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/cakedingbats-webfont.woff2 rename to tests/Frameworks/CakePHP/Latest/webroot/font/cakedingbats-webfont.woff2 diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-400-cyrillic-ext.woff2 b/tests/Frameworks/CakePHP/Latest/webroot/font/raleway-400-cyrillic-ext.woff2 similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-400-cyrillic-ext.woff2 rename to tests/Frameworks/CakePHP/Latest/webroot/font/raleway-400-cyrillic-ext.woff2 diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-400-cyrillic.woff2 b/tests/Frameworks/CakePHP/Latest/webroot/font/raleway-400-cyrillic.woff2 similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-400-cyrillic.woff2 rename to tests/Frameworks/CakePHP/Latest/webroot/font/raleway-400-cyrillic.woff2 diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-400-latin-ext.woff2 b/tests/Frameworks/CakePHP/Latest/webroot/font/raleway-400-latin-ext.woff2 similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-400-latin-ext.woff2 rename to tests/Frameworks/CakePHP/Latest/webroot/font/raleway-400-latin-ext.woff2 diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-400-latin.woff2 b/tests/Frameworks/CakePHP/Latest/webroot/font/raleway-400-latin.woff2 similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-400-latin.woff2 rename to tests/Frameworks/CakePHP/Latest/webroot/font/raleway-400-latin.woff2 diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-400-vietnamese.woff2 b/tests/Frameworks/CakePHP/Latest/webroot/font/raleway-400-vietnamese.woff2 similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-400-vietnamese.woff2 rename to tests/Frameworks/CakePHP/Latest/webroot/font/raleway-400-vietnamese.woff2 diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-700-cyrillic-ext.woff2 b/tests/Frameworks/CakePHP/Latest/webroot/font/raleway-700-cyrillic-ext.woff2 similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-700-cyrillic-ext.woff2 rename to tests/Frameworks/CakePHP/Latest/webroot/font/raleway-700-cyrillic-ext.woff2 diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-700-cyrillic.woff2 b/tests/Frameworks/CakePHP/Latest/webroot/font/raleway-700-cyrillic.woff2 similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-700-cyrillic.woff2 rename to tests/Frameworks/CakePHP/Latest/webroot/font/raleway-700-cyrillic.woff2 diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-700-latin-ext.woff2 b/tests/Frameworks/CakePHP/Latest/webroot/font/raleway-700-latin-ext.woff2 similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-700-latin-ext.woff2 rename to tests/Frameworks/CakePHP/Latest/webroot/font/raleway-700-latin-ext.woff2 diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-700-latin.woff2 b/tests/Frameworks/CakePHP/Latest/webroot/font/raleway-700-latin.woff2 similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-700-latin.woff2 rename to tests/Frameworks/CakePHP/Latest/webroot/font/raleway-700-latin.woff2 diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-700-vietnamese.woff2 b/tests/Frameworks/CakePHP/Latest/webroot/font/raleway-700-vietnamese.woff2 similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/font/raleway-700-vietnamese.woff2 rename to tests/Frameworks/CakePHP/Latest/webroot/font/raleway-700-vietnamese.woff2 diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/img/cake-logo.png b/tests/Frameworks/CakePHP/Latest/webroot/img/cake-logo.png similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/img/cake-logo.png rename to tests/Frameworks/CakePHP/Latest/webroot/img/cake-logo.png diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/img/cake.icon.png b/tests/Frameworks/CakePHP/Latest/webroot/img/cake.icon.png similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/img/cake.icon.png rename to tests/Frameworks/CakePHP/Latest/webroot/img/cake.icon.png diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/img/cake.logo.svg b/tests/Frameworks/CakePHP/Latest/webroot/img/cake.logo.svg similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/img/cake.logo.svg rename to tests/Frameworks/CakePHP/Latest/webroot/img/cake.logo.svg diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/img/cake.power.gif b/tests/Frameworks/CakePHP/Latest/webroot/img/cake.power.gif similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/img/cake.power.gif rename to tests/Frameworks/CakePHP/Latest/webroot/img/cake.power.gif diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/index.php b/tests/Frameworks/CakePHP/Latest/webroot/index.php similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/index.php rename to tests/Frameworks/CakePHP/Latest/webroot/index.php diff --git a/tests/Frameworks/CakePHP/Version_5_0/webroot/js/.gitkeep b/tests/Frameworks/CakePHP/Latest/webroot/js/.gitkeep similarity index 100% rename from tests/Frameworks/CakePHP/Version_5_0/webroot/js/.gitkeep rename to tests/Frameworks/CakePHP/Latest/webroot/js/.gitkeep diff --git a/tests/Frameworks/Drupal/Version_9_5/composer.json b/tests/Frameworks/Drupal/Version_9_5/composer.json index 20cc8f7d45..7e9257e637 100644 --- a/tests/Frameworks/Drupal/Version_9_5/composer.json +++ b/tests/Frameworks/Drupal/Version_9_5/composer.json @@ -135,4 +135,4 @@ "url": "https://packages.drupal.org/8" } ] -} +} \ No newline at end of file diff --git a/tests/Frameworks/Drupal/Version_9_5/composer/Metapackage/CoreRecommended/composer.json b/tests/Frameworks/Drupal/Version_9_5/composer/Metapackage/CoreRecommended/composer.json index 92073a2784..bc433ef197 100644 --- a/tests/Frameworks/Drupal/Version_9_5/composer/Metapackage/CoreRecommended/composer.json +++ b/tests/Frameworks/Drupal/Version_9_5/composer/Metapackage/CoreRecommended/composer.json @@ -9,23 +9,23 @@ "require": { "drupal/core": "9.5.x-dev", "asm89/stack-cors": "~1.3.0", - "composer/semver": "~3.4.2", - "doctrine/annotations": "~1.14.3", - "doctrine/deprecations": "~1.1.3", + "composer/semver": "~3.4.3", + "doctrine/annotations": "~1.14.4", + "doctrine/deprecations": "~1.1.4", "doctrine/lexer": "~2.1.1", "doctrine/reflection": "~1.2.4", "egulias/email-validator": "~3.2.6", "guzzlehttp/guzzle": "~7.9.2", - "guzzlehttp/promises": "~2.0.3", + "guzzlehttp/promises": "~2.0.4", "guzzlehttp/psr7": "~2.7.0", - "longwave/laminas-diactoros": "~2.14.2", + "longwave/laminas-diactoros": "~2.14.3", "masterminds/html5": "~2.9.0", "pear/archive_tar": "~1.5.0", "pear/console_getopt": "~v1.4.3", - "pear/pear-core-minimal": "~v1.10.15", + "pear/pear-core-minimal": "~v1.10.16", "pear/pear_exception": "~v1.0.2", - "psr/cache": "~3.0.0", - "psr/container": "~1.1.2", + "psr/cache": "~1.0.1", + "psr/container": "~1.1.1", "psr/http-client": "~1.0.3", "psr/http-factory": "~1.1.0", "psr/http-message": "~1.1", @@ -36,31 +36,31 @@ "symfony/console": "~v4.4.49", "symfony/debug": "~v4.4.44", "symfony/dependency-injection": "~v4.4.49", - "symfony/deprecation-contracts": "~v3.5.0", + "symfony/deprecation-contracts": "~v2.5.4", "symfony/error-handler": "~v4.4.44", "symfony/event-dispatcher": "~v4.4.44", "symfony/event-dispatcher-contracts": "~v1.10.0", - "symfony/http-client-contracts": "~v2.5.3", + "symfony/http-client-contracts": "~v2.5.5", "symfony/http-foundation": "~v4.4.49", "symfony/http-kernel": "~v4.4.51", "symfony/mime": "~v5.4.13", - "symfony/polyfill-ctype": "~v1.30.0", - "symfony/polyfill-iconv": "~v1.30.0", - "symfony/polyfill-intl-idn": "~v1.30.0", - "symfony/polyfill-intl-normalizer": "~v1.30.0", - "symfony/polyfill-mbstring": "~v1.30.0", - "symfony/polyfill-php80": "~v1.30.0", + "symfony/polyfill-ctype": "~v1.31.0", + "symfony/polyfill-iconv": "~v1.31.0", + "symfony/polyfill-intl-idn": "~v1.31.0", + "symfony/polyfill-intl-normalizer": "~v1.31.0", + "symfony/polyfill-mbstring": "~v1.31.0", + "symfony/polyfill-php80": "~v1.31.0", "symfony/process": "~v4.4.44", "symfony/psr-http-message-bridge": "~v2.1.4", "symfony/routing": "~v4.4.44", "symfony/serializer": "~v4.4.47", - "symfony/service-contracts": "~v2.5.3", + "symfony/service-contracts": "~v2.5.4", "symfony/translation": "~v4.4.47", - "symfony/translation-contracts": "~v2.5.3", + "symfony/translation-contracts": "~v2.5.4", "symfony/validator": "~v4.4.48", - "symfony/var-dumper": "~v5.4.42", + "symfony/var-dumper": "~v5.4.48", "symfony/yaml": "~v4.4.45", - "twig/twig": "~v2.16.0", - "typo3/phar-stream-wrapper": "~v3.1.7" + "twig/twig": "~v2.16.1", + "typo3/phar-stream-wrapper": "~v3.1.8" } } diff --git a/tests/Frameworks/Drupal/Version_9_5/composer/Metapackage/PinnedDevDependencies/composer.json b/tests/Frameworks/Drupal/Version_9_5/composer/Metapackage/PinnedDevDependencies/composer.json index 945c52aac1..f6b3cbc2d1 100644 --- a/tests/Frameworks/Drupal/Version_9_5/composer/Metapackage/PinnedDevDependencies/composer.json +++ b/tests/Frameworks/Drupal/Version_9_5/composer/Metapackage/PinnedDevDependencies/composer.json @@ -8,32 +8,32 @@ }, "require": { "drupal/core": "9.5.x-dev", - "behat/mink": "v1.11.0", + "behat/mink": "v1.12.0", "behat/mink-selenium2-driver": "v1.7.0", - "composer/ca-bundle": "1.5.1", - "composer/composer": "2.2.24", + "composer/ca-bundle": "1.5.5", + "composer/composer": "2.2.25", "composer/metadata-minifier": "1.0.0", "composer/pcre": "1.0.1", "composer/spdx-licenses": "1.5.8", "composer/xdebug-handler": "3.0.5", "dealerdirect/phpcodesniffer-composer-installer": "v1.0.0", - "doctrine/instantiator": "2.0.0", - "drupal/coder": "8.3.24", + "doctrine/instantiator": "1.5.0", + "drupal/coder": "8.3.27", "easyrdf/easyrdf": "1.1.1", - "friends-of-behat/mink-browserkit-driver": "v1.6.2", + "friends-of-behat/mink-browserkit-driver": "v1.5.0", "instaclick/php-webdriver": "1.4.19", "justinrainbow/json-schema": "5.3.0", - "mikey179/vfsstream": "v1.6.11", - "myclabs/deep-copy": "1.12.0", - "nikic/php-parser": "v5.1.0", + "mikey179/vfsstream": "v1.6.12", + "myclabs/deep-copy": "1.12.1", + "nikic/php-parser": "v4.19.4", "phar-io/manifest": "2.0.4", "phar-io/version": "3.2.1", "phpdocumentor/reflection-common": "2.2.0", - "phpdocumentor/reflection-docblock": "5.4.1", - "phpdocumentor/type-resolver": "1.8.2", - "phpspec/prophecy": "v1.19.0", - "phpstan/phpdoc-parser": "1.29.1", - "phpunit/php-code-coverage": "9.2.31", + "phpdocumentor/reflection-docblock": "5.3.0", + "phpdocumentor/type-resolver": "1.10.0", + "phpspec/prophecy": "v1.20.0", + "phpstan/phpdoc-parser": "1.33.0", + "phpunit/php-code-coverage": "9.2.32", "phpunit/php-file-iterator": "3.0.6", "phpunit/php-invoker": "3.1.1", "phpunit/php-text-template": "2.0.4", @@ -58,16 +58,16 @@ "sebastian/version": "3.0.2", "seld/jsonlint": "1.11.0", "seld/phar-utils": "1.2.1", - "sirbrillig/phpcs-variable-analysis": "v2.11.19", + "sirbrillig/phpcs-variable-analysis": "v2.11.22", "slevomat/coding-standard": "8.15.0", - "squizlabs/php_codesniffer": "3.10.2", + "squizlabs/php_codesniffer": "3.11.2", "symfony/browser-kit": "v4.4.44", "symfony/css-selector": "v4.4.44", "symfony/dom-crawler": "v4.4.45", "symfony/filesystem": "v4.4.42", "symfony/finder": "v4.4.44", "symfony/lock": "v4.4.46", - "symfony/phpunit-bridge": "v5.4.42", + "symfony/phpunit-bridge": "v5.4.48", "theseer/tokenizer": "1.2.3", "webmozart/assert": "1.11.0" } diff --git a/tests/Frameworks/Drupal/Version_9_5/core/lib/Drupal/Component/DependencyInjection/composer.json b/tests/Frameworks/Drupal/Version_9_5/core/lib/Drupal/Component/DependencyInjection/composer.json index be6eea2034..25fa7f90e5 100644 --- a/tests/Frameworks/Drupal/Version_9_5/core/lib/Drupal/Component/DependencyInjection/composer.json +++ b/tests/Frameworks/Drupal/Version_9_5/core/lib/Drupal/Component/DependencyInjection/composer.json @@ -15,7 +15,7 @@ "require": { "php": ">=7.3.0", "symfony/dependency-injection": "^4.4", - "symfony/service-contracts": "v2.5.3" + "symfony/service-contracts": "v2.5.4" }, "suggest": { "symfony/expression-language": "For using expressions in service container configuration" diff --git a/tests/Frameworks/Slim/Version_4/.coveralls.yml b/tests/Frameworks/Slim/Latest/.coveralls.yml similarity index 100% rename from tests/Frameworks/Slim/Version_4/.coveralls.yml rename to tests/Frameworks/Slim/Latest/.coveralls.yml diff --git a/tests/Frameworks/Slim/Version_4/.gitignore b/tests/Frameworks/Slim/Latest/.gitignore similarity index 100% rename from tests/Frameworks/Slim/Version_4/.gitignore rename to tests/Frameworks/Slim/Latest/.gitignore diff --git a/tests/Frameworks/Slim/Version_4/.travis.yml b/tests/Frameworks/Slim/Latest/.travis.yml similarity index 100% rename from tests/Frameworks/Slim/Version_4/.travis.yml rename to tests/Frameworks/Slim/Latest/.travis.yml diff --git a/tests/Frameworks/Slim/Version_4/CONTRIBUTING.md b/tests/Frameworks/Slim/Latest/CONTRIBUTING.md similarity index 100% rename from tests/Frameworks/Slim/Version_4/CONTRIBUTING.md rename to tests/Frameworks/Slim/Latest/CONTRIBUTING.md diff --git a/tests/Frameworks/Slim/Version_4/README.md b/tests/Frameworks/Slim/Latest/README.md similarity index 100% rename from tests/Frameworks/Slim/Version_4/README.md rename to tests/Frameworks/Slim/Latest/README.md diff --git a/tests/Frameworks/Slim/Version_4/app/dependencies.php b/tests/Frameworks/Slim/Latest/app/dependencies.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/app/dependencies.php rename to tests/Frameworks/Slim/Latest/app/dependencies.php diff --git a/tests/Frameworks/Slim/Version_4/app/middleware.php b/tests/Frameworks/Slim/Latest/app/middleware.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/app/middleware.php rename to tests/Frameworks/Slim/Latest/app/middleware.php diff --git a/tests/Frameworks/Slim/Version_4/app/repositories.php b/tests/Frameworks/Slim/Latest/app/repositories.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/app/repositories.php rename to tests/Frameworks/Slim/Latest/app/repositories.php diff --git a/tests/Frameworks/Slim/Version_4/app/routes.php b/tests/Frameworks/Slim/Latest/app/routes.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/app/routes.php rename to tests/Frameworks/Slim/Latest/app/routes.php diff --git a/tests/Frameworks/Slim/Version_4/app/settings.php b/tests/Frameworks/Slim/Latest/app/settings.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/app/settings.php rename to tests/Frameworks/Slim/Latest/app/settings.php diff --git a/tests/Frameworks/Slim/Version_4/composer.json b/tests/Frameworks/Slim/Latest/composer.json similarity index 100% rename from tests/Frameworks/Slim/Version_4/composer.json rename to tests/Frameworks/Slim/Latest/composer.json diff --git a/tests/Frameworks/Slim/Version_4/docker-compose.yml b/tests/Frameworks/Slim/Latest/docker-compose.yml similarity index 100% rename from tests/Frameworks/Slim/Version_4/docker-compose.yml rename to tests/Frameworks/Slim/Latest/docker-compose.yml diff --git a/tests/Frameworks/Slim/Version_4/logs/README.md b/tests/Frameworks/Slim/Latest/logs/README.md similarity index 100% rename from tests/Frameworks/Slim/Version_4/logs/README.md rename to tests/Frameworks/Slim/Latest/logs/README.md diff --git a/tests/Frameworks/Slim/Version_4/phpunit.xml b/tests/Frameworks/Slim/Latest/phpunit.xml similarity index 100% rename from tests/Frameworks/Slim/Version_4/phpunit.xml rename to tests/Frameworks/Slim/Latest/phpunit.xml diff --git a/tests/Frameworks/Slim/Version_4/public/.htaccess b/tests/Frameworks/Slim/Latest/public/.htaccess similarity index 100% rename from tests/Frameworks/Slim/Version_4/public/.htaccess rename to tests/Frameworks/Slim/Latest/public/.htaccess diff --git a/tests/Frameworks/Slim/Version_4/public/index.php b/tests/Frameworks/Slim/Latest/public/index.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/public/index.php rename to tests/Frameworks/Slim/Latest/public/index.php diff --git a/tests/Frameworks/Slim/Version_4/src/Application/Actions/Action.php b/tests/Frameworks/Slim/Latest/src/Application/Actions/Action.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Application/Actions/Action.php rename to tests/Frameworks/Slim/Latest/src/Application/Actions/Action.php diff --git a/tests/Frameworks/Slim/Version_4/src/Application/Actions/ActionError.php b/tests/Frameworks/Slim/Latest/src/Application/Actions/ActionError.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Application/Actions/ActionError.php rename to tests/Frameworks/Slim/Latest/src/Application/Actions/ActionError.php diff --git a/tests/Frameworks/Slim/Version_4/src/Application/Actions/ActionPayload.php b/tests/Frameworks/Slim/Latest/src/Application/Actions/ActionPayload.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Application/Actions/ActionPayload.php rename to tests/Frameworks/Slim/Latest/src/Application/Actions/ActionPayload.php diff --git a/tests/Frameworks/Slim/Version_4/src/Application/Actions/User/ListUsersAction.php b/tests/Frameworks/Slim/Latest/src/Application/Actions/User/ListUsersAction.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Application/Actions/User/ListUsersAction.php rename to tests/Frameworks/Slim/Latest/src/Application/Actions/User/ListUsersAction.php diff --git a/tests/Frameworks/Slim/Version_4/src/Application/Actions/User/UserAction.php b/tests/Frameworks/Slim/Latest/src/Application/Actions/User/UserAction.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Application/Actions/User/UserAction.php rename to tests/Frameworks/Slim/Latest/src/Application/Actions/User/UserAction.php diff --git a/tests/Frameworks/Slim/Version_4/src/Application/Actions/User/ViewUserAction.php b/tests/Frameworks/Slim/Latest/src/Application/Actions/User/ViewUserAction.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Application/Actions/User/ViewUserAction.php rename to tests/Frameworks/Slim/Latest/src/Application/Actions/User/ViewUserAction.php diff --git a/tests/Frameworks/Slim/Version_4/src/Application/Handlers/HttpErrorHandler.php b/tests/Frameworks/Slim/Latest/src/Application/Handlers/HttpErrorHandler.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Application/Handlers/HttpErrorHandler.php rename to tests/Frameworks/Slim/Latest/src/Application/Handlers/HttpErrorHandler.php diff --git a/tests/Frameworks/Slim/Version_4/src/Application/Handlers/ShutdownHandler.php b/tests/Frameworks/Slim/Latest/src/Application/Handlers/ShutdownHandler.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Application/Handlers/ShutdownHandler.php rename to tests/Frameworks/Slim/Latest/src/Application/Handlers/ShutdownHandler.php diff --git a/tests/Frameworks/Slim/Version_4/src/Application/Middleware/SessionMiddleware.php b/tests/Frameworks/Slim/Latest/src/Application/Middleware/SessionMiddleware.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Application/Middleware/SessionMiddleware.php rename to tests/Frameworks/Slim/Latest/src/Application/Middleware/SessionMiddleware.php diff --git a/tests/Frameworks/Slim/Version_4/src/Application/ResponseEmitter/ResponseEmitter.php b/tests/Frameworks/Slim/Latest/src/Application/ResponseEmitter/ResponseEmitter.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Application/ResponseEmitter/ResponseEmitter.php rename to tests/Frameworks/Slim/Latest/src/Application/ResponseEmitter/ResponseEmitter.php diff --git a/tests/Frameworks/Slim/Version_4/src/Domain/DomainException/DomainException.php b/tests/Frameworks/Slim/Latest/src/Domain/DomainException/DomainException.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Domain/DomainException/DomainException.php rename to tests/Frameworks/Slim/Latest/src/Domain/DomainException/DomainException.php diff --git a/tests/Frameworks/Slim/Version_4/src/Domain/DomainException/DomainRecordNotFoundException.php b/tests/Frameworks/Slim/Latest/src/Domain/DomainException/DomainRecordNotFoundException.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Domain/DomainException/DomainRecordNotFoundException.php rename to tests/Frameworks/Slim/Latest/src/Domain/DomainException/DomainRecordNotFoundException.php diff --git a/tests/Frameworks/Slim/Version_4/src/Domain/User/User.php b/tests/Frameworks/Slim/Latest/src/Domain/User/User.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Domain/User/User.php rename to tests/Frameworks/Slim/Latest/src/Domain/User/User.php diff --git a/tests/Frameworks/Slim/Version_4/src/Domain/User/UserNotFoundException.php b/tests/Frameworks/Slim/Latest/src/Domain/User/UserNotFoundException.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Domain/User/UserNotFoundException.php rename to tests/Frameworks/Slim/Latest/src/Domain/User/UserNotFoundException.php diff --git a/tests/Frameworks/Slim/Version_4/src/Domain/User/UserRepository.php b/tests/Frameworks/Slim/Latest/src/Domain/User/UserRepository.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Domain/User/UserRepository.php rename to tests/Frameworks/Slim/Latest/src/Domain/User/UserRepository.php diff --git a/tests/Frameworks/Slim/Version_4/src/Infrastructure/Persistence/User/InMemoryUserRepository.php b/tests/Frameworks/Slim/Latest/src/Infrastructure/Persistence/User/InMemoryUserRepository.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/src/Infrastructure/Persistence/User/InMemoryUserRepository.php rename to tests/Frameworks/Slim/Latest/src/Infrastructure/Persistence/User/InMemoryUserRepository.php diff --git a/tests/Frameworks/Slim/Version_4/templates/simple_view.phtml b/tests/Frameworks/Slim/Latest/templates/simple_view.phtml similarity index 100% rename from tests/Frameworks/Slim/Version_4/templates/simple_view.phtml rename to tests/Frameworks/Slim/Latest/templates/simple_view.phtml diff --git a/tests/Frameworks/Slim/Version_4/tests/Application/Actions/ActionTest.php b/tests/Frameworks/Slim/Latest/tests/Application/Actions/ActionTest.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/tests/Application/Actions/ActionTest.php rename to tests/Frameworks/Slim/Latest/tests/Application/Actions/ActionTest.php diff --git a/tests/Frameworks/Slim/Version_4/tests/Application/Actions/User/ListUserActionTest.php b/tests/Frameworks/Slim/Latest/tests/Application/Actions/User/ListUserActionTest.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/tests/Application/Actions/User/ListUserActionTest.php rename to tests/Frameworks/Slim/Latest/tests/Application/Actions/User/ListUserActionTest.php diff --git a/tests/Frameworks/Slim/Version_4/tests/Application/Actions/User/ViewUserActionTest.php b/tests/Frameworks/Slim/Latest/tests/Application/Actions/User/ViewUserActionTest.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/tests/Application/Actions/User/ViewUserActionTest.php rename to tests/Frameworks/Slim/Latest/tests/Application/Actions/User/ViewUserActionTest.php diff --git a/tests/Frameworks/Slim/Version_4/tests/Domain/User/UserTest.php b/tests/Frameworks/Slim/Latest/tests/Domain/User/UserTest.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/tests/Domain/User/UserTest.php rename to tests/Frameworks/Slim/Latest/tests/Domain/User/UserTest.php diff --git a/tests/Frameworks/Slim/Version_4/tests/Infrastructure/Persistence/User/InMemoryUserRepositoryTest.php b/tests/Frameworks/Slim/Latest/tests/Infrastructure/Persistence/User/InMemoryUserRepositoryTest.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/tests/Infrastructure/Persistence/User/InMemoryUserRepositoryTest.php rename to tests/Frameworks/Slim/Latest/tests/Infrastructure/Persistence/User/InMemoryUserRepositoryTest.php diff --git a/tests/Frameworks/Slim/Version_4/tests/TestCase.php b/tests/Frameworks/Slim/Latest/tests/TestCase.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/tests/TestCase.php rename to tests/Frameworks/Slim/Latest/tests/TestCase.php diff --git a/tests/Frameworks/Slim/Version_4/tests/bootstrap.php b/tests/Frameworks/Slim/Latest/tests/bootstrap.php similarity index 100% rename from tests/Frameworks/Slim/Version_4/tests/bootstrap.php rename to tests/Frameworks/Slim/Latest/tests/bootstrap.php diff --git a/tests/Frameworks/Slim/Version_4/var/cache/.gitignore b/tests/Frameworks/Slim/Latest/var/cache/.gitignore similarity index 100% rename from tests/Frameworks/Slim/Version_4/var/cache/.gitignore rename to tests/Frameworks/Slim/Latest/var/cache/.gitignore diff --git a/tests/Frameworks/Symfony/Latest/composer.json b/tests/Frameworks/Symfony/Latest/composer.json index 4557c70afc..00073fc320 100644 --- a/tests/Frameworks/Symfony/Latest/composer.json +++ b/tests/Frameworks/Symfony/Latest/composer.json @@ -13,6 +13,7 @@ "doctrine/orm": "^2.17", "phpdocumentor/reflection-docblock": "^5.6", "phpstan/phpdoc-parser": "^1.0", + "symfony/console": "7.2.1", "symfony/doctrine-messenger": "^7.1", "symfony/flex": "^2", "symfony/framework-bundle": "7.1.10", diff --git a/tests/Frameworks/Symfony/Version_7_0/.env b/tests/Frameworks/Symfony/Version_7_0/.env deleted file mode 100644 index 4c4d4e3ac6..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/.env +++ /dev/null @@ -1,37 +0,0 @@ -# In all environments, the following files are loaded if they exist, -# the latter taking precedence over the former: -# -# * .env contains default values for the environment variables needed by the app -# * .env.local uncommitted file with local overrides -# * .env.$APP_ENV committed environment-specific defaults -# * .env.$APP_ENV.local uncommitted environment-specific overrides -# -# Real environment variables win over .env files. -# -# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES. -# https://symfony.com/doc/current/configuration/secrets.html -# -# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2). -# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration - -###> symfony/framework-bundle ### -APP_ENV=dev -APP_SECRET=7b46ee8a78f39224283035fe148d0a79 -###< symfony/framework-bundle ### - -###> doctrine/doctrine-bundle ### -# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url -# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml -# -# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" -# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4" -# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4" -DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8" -###< doctrine/doctrine-bundle ### - -###> symfony/messenger ### -# Choose one of the transports below -# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages -# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages -MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0 -###< symfony/messenger ### diff --git a/tests/Frameworks/Symfony/Version_7_0/.gitignore b/tests/Frameworks/Symfony/Version_7_0/.gitignore deleted file mode 100644 index a67f91e25c..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/.gitignore +++ /dev/null @@ -1,10 +0,0 @@ - -###> symfony/framework-bundle ### -/.env.local -/.env.local.php -/.env.*.local -/config/secrets/prod/prod.decrypt.private.php -/public/bundles/ -/var/ -/vendor/ -###< symfony/framework-bundle ### diff --git a/tests/Frameworks/Symfony/Version_7_0/bin/console b/tests/Frameworks/Symfony/Version_7_0/bin/console deleted file mode 100755 index c933dc535d..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/bin/console +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env php - doctrine/doctrine-bundle ### - database: - ports: - - "5432" -###< doctrine/doctrine-bundle ### diff --git a/tests/Frameworks/Symfony/Version_7_0/compose.yaml b/tests/Frameworks/Symfony/Version_7_0/compose.yaml deleted file mode 100644 index 1067b9ca01..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/compose.yaml +++ /dev/null @@ -1,21 +0,0 @@ -version: '3' - -services: -###> doctrine/doctrine-bundle ### - database: - image: postgres:${POSTGRES_VERSION:-15}-alpine - environment: - POSTGRES_DB: ${POSTGRES_DB:-app} - # You should definitely change the password in production - POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!} - POSTGRES_USER: ${POSTGRES_USER:-app} - volumes: - - database_data:/var/lib/postgresql/data:rw - # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data! - # - ./docker/db/data:/var/lib/postgresql/data:rw -###< doctrine/doctrine-bundle ### - -volumes: -###> doctrine/doctrine-bundle ### - database_data: -###< doctrine/doctrine-bundle ### diff --git a/tests/Frameworks/Symfony/Version_7_0/composer.json b/tests/Frameworks/Symfony/Version_7_0/composer.json deleted file mode 100644 index 54133f91d6..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/composer.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "type": "project", - "license": "proprietary", - "minimum-stability": "stable", - "prefer-stable": true, - "require": { - "php": ">=8.2", - "ext-ctype": "*", - "ext-iconv": "*", - "doctrine/annotations": "^2.0", - "doctrine/doctrine-bundle": "^2.11", - "doctrine/doctrine-migrations-bundle": "^3.3", - "doctrine/orm": "^2.17", - "phpdocumentor/reflection-docblock": "^5.6", - "phpstan/phpdoc-parser": "^1.0", - "symfony/console": "7.0.*", - "symfony/doctrine-messenger": "^7.1", - "symfony/dotenv": "7.0.*", - "symfony/flex": "^2", - "symfony/form": "7.0.*", - "symfony/framework-bundle": "7.0.*", - "symfony/messenger": "^7.1", - "symfony/monolog-bundle": "^3.10", - "symfony/property-access": "7.0.*", - "symfony/property-info": "7.0.*", - "symfony/runtime": "7.0.*", - "symfony/security-bundle": "7.0.*", - "symfony/serializer": "7.0.*", - "symfony/twig-bundle": "7.0.*", - "symfony/validator": "7.0.*", - "symfony/yaml": "7.0.*", - "symfonycasts/verify-email-bundle": "^1.16" - }, - "config": { - "allow-plugins": { - "symfony/flex": true, - "php-http/discovery": true, - "symfony/runtime": true - }, - "sort-packages": true - }, - "autoload": { - "psr-4": { - "App\\": "src/" - }, - "files": ["../../../Appsec/Mock.php"] - }, - "autoload-dev": { - "psr-4": { - "App\\Tests\\": "tests/" - } - }, - "replace": { - "symfony/polyfill-ctype": "*", - "symfony/polyfill-iconv": "*", - "symfony/polyfill-php72": "*", - "symfony/polyfill-php73": "*", - "symfony/polyfill-php74": "*", - "symfony/polyfill-php80": "*", - "symfony/polyfill-php81": "*", - "symfony/polyfill-php82": "*" - }, - "scripts": { - "auto-scripts": { - "cache:clear": "symfony-cmd", - "assets:install %PUBLIC_DIR%": "symfony-cmd" - }, - "post-install-cmd": [ - "@auto-scripts" - ], - "post-update-cmd": [ - "@auto-scripts" - ], - "post-autoload-dump": [ - "rm -rf var/cache/dev/*", - "rm -rf var/cache/prod/*", - "@php bin/console doctrine:database:drop --force || true", - "@php bin/console doctrine:database:create", - "@php bin/console doctrine:migrations:migrate -n" - ] - }, - "conflict": { - "symfony/symfony": "*" - }, - "extra": { - "symfony": { - "allow-contrib": false, - "require": "7.0.*" - } - }, - "require-dev": { - "symfony/maker-bundle": "^1.49" - } -} diff --git a/tests/Frameworks/Symfony/Version_7_0/config/bundles.php b/tests/Frameworks/Symfony/Version_7_0/config/bundles.php deleted file mode 100644 index 1b41cf8c0b..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/config/bundles.php +++ /dev/null @@ -1,12 +0,0 @@ - ['all' => true], - Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], - Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], - Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true], - Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true], - Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true], - SymfonyCasts\Bundle\VerifyEmail\SymfonyCastsVerifyEmailBundle::class => ['all' => true], - Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true], -]; diff --git a/tests/Frameworks/Symfony/Version_7_0/config/packages/cache.yaml b/tests/Frameworks/Symfony/Version_7_0/config/packages/cache.yaml deleted file mode 100644 index 6899b72003..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/config/packages/cache.yaml +++ /dev/null @@ -1,19 +0,0 @@ -framework: - cache: - # Unique name of your app: used to compute stable namespaces for cache keys. - #prefix_seed: your_vendor_name/app_name - - # The "app" cache stores to the filesystem by default. - # The data in this cache should persist between deploys. - # Other options include: - - # Redis - #app: cache.adapter.redis - #default_redis_provider: redis://localhost - - # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues) - #app: cache.adapter.apcu - - # Namespaced pools use the above "app" backend by default - #pools: - #my.dedicated.cache: null diff --git a/tests/Frameworks/Symfony/Version_7_0/config/packages/doctrine.yaml b/tests/Frameworks/Symfony/Version_7_0/config/packages/doctrine.yaml deleted file mode 100644 index 6e9e0bea02..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/config/packages/doctrine.yaml +++ /dev/null @@ -1,49 +0,0 @@ -doctrine: - dbal: - url: 'mysql://test:test@mysql_integration:3306/symfony70?serverVersion=5&charset=utf8mb4' - - # IMPORTANT: You MUST configure your server version, - # either here or in the DATABASE_URL env var (see .env file) - #server_version: '15' - - profiling_collect_backtrace: '%kernel.debug%' - orm: - auto_generate_proxy_classes: true - enable_lazy_ghost_objects: true - report_fields_where_declared: true - validate_xml_mapping: true - naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware - auto_mapping: true - mappings: - App: - type: attribute - is_bundle: false - dir: '%kernel.project_dir%/src/Entity' - prefix: 'App\Entity' - alias: App - -when@test: - doctrine: - dbal: - # "TEST_TOKEN" is typically set by ParaTest - dbname_suffix: '_test%env(default::TEST_TOKEN)%' - -when@prod: - doctrine: - orm: - auto_generate_proxy_classes: false - proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies' - query_cache_driver: - type: pool - pool: doctrine.system_cache_pool - result_cache_driver: - type: pool - pool: doctrine.result_cache_pool - - framework: - cache: - pools: - doctrine.result_cache_pool: - adapter: cache.app - doctrine.system_cache_pool: - adapter: cache.system diff --git a/tests/Frameworks/Symfony/Version_7_0/config/packages/doctrine_migrations.yaml b/tests/Frameworks/Symfony/Version_7_0/config/packages/doctrine_migrations.yaml deleted file mode 100644 index 29231d94bd..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/config/packages/doctrine_migrations.yaml +++ /dev/null @@ -1,6 +0,0 @@ -doctrine_migrations: - migrations_paths: - # namespace is arbitrary but should be different from App\Migrations - # as migrations classes should NOT be autoloaded - 'DoctrineMigrations': '%kernel.project_dir%/migrations' - enable_profiler: false diff --git a/tests/Frameworks/Symfony/Version_7_0/config/packages/framework.yaml b/tests/Frameworks/Symfony/Version_7_0/config/packages/framework.yaml deleted file mode 100644 index 949ea2f45f..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/config/packages/framework.yaml +++ /dev/null @@ -1,23 +0,0 @@ -# see https://symfony.com/doc/current/reference/configuration/framework.html -framework: - secret: '%env(APP_SECRET)%' - csrf_protection: false - handle_all_throwables: true - - # Enables session support. Note that the session will ONLY be started if you read or write from it. - # Remove or comment this section to explicitly disable session support. - session: - handler_id: null - cookie_secure: false - cookie_samesite: lax - - #esi: true - #fragments: true - php_errors: - log: true - -when@test: - framework: - test: true - session: - storage_factory_id: session.storage.factory.mock_file diff --git a/tests/Frameworks/Symfony/Version_7_0/config/packages/messenger.yaml b/tests/Frameworks/Symfony/Version_7_0/config/packages/messenger.yaml deleted file mode 100644 index 81aba0cb9b..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/config/packages/messenger.yaml +++ /dev/null @@ -1,33 +0,0 @@ -framework: - messenger: - serializer: - default_serializer: messenger.transport.symfony_serializer - symfony_serializer: - format: json - context: { } - # Uncomment this (and the failed transport below) to send failed messages to this transport for later handling. - failure_transport: failed - - transports: - # https://symfony.com/doc/current/messenger.html#transport-configuration - async: - dsn: '%env(MESSENGER_TRANSPORT_DSN)%' - options: - queue_name: high - retry_strategy: - max_retries: 0 - failed: 'doctrine://default?queue_name=failed' - sync: 'sync://' - - routing: - # Route your messages to the transports - 'App\Message\LuckyNumberNotification': async - - -# when@test: -# framework: -# messenger: -# transports: -# # replace with your transport name here (e.g., my_transport: 'in-memory://') -# # For more Messenger testing tools, see https://github.com/zenstruck/messenger-test -# async: 'in-memory://' diff --git a/tests/Frameworks/Symfony/Version_7_0/config/packages/monolog.yaml b/tests/Frameworks/Symfony/Version_7_0/config/packages/monolog.yaml deleted file mode 100644 index 8c9efa91e0..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/config/packages/monolog.yaml +++ /dev/null @@ -1,61 +0,0 @@ -monolog: - channels: - - deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists - -when@dev: - monolog: - handlers: - main: - type: stream - path: "%kernel.logs_dir%/%kernel.environment%.log" - level: debug - channels: ["!event"] - # uncomment to get logging in your browser - # you may have to allow bigger header sizes in your Web server configuration - #firephp: - # type: firephp - # level: info - #chromephp: - # type: chromephp - # level: info - console: - type: console - process_psr_3_messages: false - channels: ["!event", "!doctrine", "!console"] - -when@test: - monolog: - handlers: - main: - type: fingers_crossed - action_level: error - handler: nested - excluded_http_codes: [404, 405] - channels: ["!event"] - nested: - type: stream - path: "%kernel.logs_dir%/%kernel.environment%.log" - level: debug - -when@prod: - monolog: - handlers: - main: - type: fingers_crossed - action_level: error - handler: nested - excluded_http_codes: [404, 405] - buffer_size: 50 # How many messages should be saved? Prevent memory leaks - nested: - type: stream - path: php://stderr - level: debug - formatter: monolog.formatter.json - console: - type: console - process_psr_3_messages: false - channels: ["!event", "!doctrine"] - deprecation: - type: stream - channels: [deprecation] - path: php://stderr diff --git a/tests/Frameworks/Symfony/Version_7_0/config/packages/routing.yaml b/tests/Frameworks/Symfony/Version_7_0/config/packages/routing.yaml deleted file mode 100644 index 4b766ce57f..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/config/packages/routing.yaml +++ /dev/null @@ -1,12 +0,0 @@ -framework: - router: - utf8: true - - # Configure how to generate URLs in non-HTTP contexts, such as CLI commands. - # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands - #default_uri: http://localhost - -when@prod: - framework: - router: - strict_requirements: null diff --git a/tests/Frameworks/Symfony/Version_7_0/config/packages/security.yaml b/tests/Frameworks/Symfony/Version_7_0/config/packages/security.yaml deleted file mode 100644 index a370a958a3..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/config/packages/security.yaml +++ /dev/null @@ -1,46 +0,0 @@ -security: - # https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords - password_hashers: - Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto' - # https://symfony.com/doc/current/security.html#loading-the-user-the-user-provider - providers: - # used to reload user from session & other features (e.g. switch_user) - app_user_provider: - entity: - class: App\Entity\User - property: email - firewalls: - dev: - pattern: ^/(_(profiler|wdt)|css|images|js)/ - security: false - main: - lazy: true - provider: app_user_provider - - # activate different ways to authenticate - # https://symfony.com/doc/current/security.html#the-firewall - - # https://symfony.com/doc/current/security/impersonating_user.html - # switch_user: true - form_login: - # "app_login" is the name of the route created previously - login_path: app_login - check_path: app_login - # Easy way to control access for large sections of your site - # Note: Only the *first* access control that matches will be used - access_control: - # - { path: ^/admin, roles: ROLE_ADMIN } - # - { path: ^/profile, roles: ROLE_USER } - -when@test: - security: - password_hashers: - # By default, password hashers are resource intensive and take time. This is - # important to generate secure password hashes. In tests however, secure hashes - # are not important, waste resources and increase test times. The following - # reduces the work factor to the lowest possible values. - Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: - algorithm: auto - cost: 4 # Lowest possible value for bcrypt - time_cost: 3 # Lowest possible value for argon - memory_cost: 10 # Lowest possible value for argon diff --git a/tests/Frameworks/Symfony/Version_7_0/config/packages/test/framework.yaml b/tests/Frameworks/Symfony/Version_7_0/config/packages/test/framework.yaml deleted file mode 100644 index d051c84008..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/config/packages/test/framework.yaml +++ /dev/null @@ -1,4 +0,0 @@ -framework: - test: true - session: - storage_id: session.storage.mock_file diff --git a/tests/Frameworks/Symfony/Version_7_0/config/packages/test/twig.yaml b/tests/Frameworks/Symfony/Version_7_0/config/packages/test/twig.yaml deleted file mode 100644 index 8c6e0b401d..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/config/packages/test/twig.yaml +++ /dev/null @@ -1,2 +0,0 @@ -twig: - strict_variables: true diff --git a/tests/Frameworks/Symfony/Version_7_0/config/packages/twig.yaml b/tests/Frameworks/Symfony/Version_7_0/config/packages/twig.yaml deleted file mode 100644 index f9f4cc539b..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/config/packages/twig.yaml +++ /dev/null @@ -1,6 +0,0 @@ -twig: - default_path: '%kernel.project_dir%/templates' - -when@test: - twig: - strict_variables: true diff --git a/tests/Frameworks/Symfony/Version_7_0/config/packages/validator.yaml b/tests/Frameworks/Symfony/Version_7_0/config/packages/validator.yaml deleted file mode 100644 index 0201281d3c..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/config/packages/validator.yaml +++ /dev/null @@ -1,13 +0,0 @@ -framework: - validation: - email_validation_mode: html5 - - # Enables validator auto-mapping support. - # For instance, basic validation constraints will be inferred from Doctrine's metadata. - #auto_mapping: - # App\Entity\: [] - -when@test: - framework: - validation: - not_compromised_password: false diff --git a/tests/Frameworks/Symfony/Version_7_0/config/preload.php b/tests/Frameworks/Symfony/Version_7_0/config/preload.php deleted file mode 100644 index 5ebcdb2153..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/config/preload.php +++ /dev/null @@ -1,5 +0,0 @@ -addSql('CREATE TABLE `user` (id INT AUTO_INCREMENT NOT NULL, email VARCHAR(180) NOT NULL, roles LONGTEXT NOT NULL COMMENT \'(DC2Type:json)\', password VARCHAR(255) NOT NULL, UNIQUE INDEX UNIQ_8D93D649E7927C74 (email), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB'); - } - - public function down(Schema $schema): void - { - // this down() migration is auto-generated, please modify it to your needs - $this->addSql('DROP TABLE `user`'); - } -} diff --git a/tests/Frameworks/Symfony/Version_7_0/migrations/Version20231227143831.php b/tests/Frameworks/Symfony/Version_7_0/migrations/Version20231227143831.php deleted file mode 100644 index 7f6d49843f..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/migrations/Version20231227143831.php +++ /dev/null @@ -1,31 +0,0 @@ -addSql('ALTER TABLE user ADD is_verified TINYINT(1) NOT NULL'); - } - - public function down(Schema $schema): void - { - // this down() migration is auto-generated, please modify it to your needs - $this->addSql('ALTER TABLE `user` DROP is_verified'); - } -} diff --git a/tests/Frameworks/Symfony/Version_7_0/migrations/Version20240711115224.php b/tests/Frameworks/Symfony/Version_7_0/migrations/Version20240711115224.php deleted file mode 100644 index b8145fbb96..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/migrations/Version20240711115224.php +++ /dev/null @@ -1,31 +0,0 @@ -addSql('CREATE TABLE messenger_messages (id BIGINT AUTO_INCREMENT NOT NULL, body LONGTEXT NOT NULL, headers LONGTEXT NOT NULL, queue_name VARCHAR(190) NOT NULL, created_at DATETIME NOT NULL COMMENT \'(DC2Type:datetime_immutable)\', available_at DATETIME NOT NULL COMMENT \'(DC2Type:datetime_immutable)\', delivered_at DATETIME DEFAULT NULL COMMENT \'(DC2Type:datetime_immutable)\', INDEX IDX_75EA56E0FB7336F0 (queue_name), INDEX IDX_75EA56E0E3BD61CE (available_at), INDEX IDX_75EA56E016BA31DB (delivered_at), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB'); - } - - public function down(Schema $schema): void - { - // this down() migration is auto-generated, please modify it to your needs - $this->addSql('DROP TABLE messenger_messages'); - } -} diff --git a/tests/Frameworks/Symfony/Version_7_0/public/index.php b/tests/Frameworks/Symfony/Version_7_0/public/index.php deleted file mode 100644 index 9982c218d6..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/public/index.php +++ /dev/null @@ -1,9 +0,0 @@ -render('twig_template.html.twig', [ - 'base_dir' => realpath($this->getParameter('kernel.project_dir')).DIRECTORY_SEPARATOR, - ]); - } - - #[Route('/error', name: 'error')] - public function errorAction(Request $request) - { - throw new \Exception('An exception occurred'); - } -} diff --git a/tests/Frameworks/Symfony/Version_7_0/src/Controller/LoginController.php b/tests/Frameworks/Symfony/Version_7_0/src/Controller/LoginController.php deleted file mode 100644 index 4cfa2d14fb..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/src/Controller/LoginController.php +++ /dev/null @@ -1,27 +0,0 @@ -getLastAuthenticationError(); - - // last username entered by the user - $lastUsername = $authenticationUtils->getLastUsername(); - - return $this->render('login/index.html.twig', [ - 'last_username' => $lastUsername, - 'error' => $error, - ]); - } -} diff --git a/tests/Frameworks/Symfony/Version_7_0/src/Controller/LuckyController.php b/tests/Frameworks/Symfony/Version_7_0/src/Controller/LuckyController.php deleted file mode 100644 index f82efd38cd..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/src/Controller/LuckyController.php +++ /dev/null @@ -1,29 +0,0 @@ -dispatch(new LuckyNumberNotification($number)); - - return new Response("$number"); - } - - #[Route('/lucky/fail', 'lucky_fail')] - public function fail(MessageBusInterface $bus): Response - { - $bus->dispatch(new LuckyNumberNotification(101)); - - return new Response("101"); - } -} diff --git a/tests/Frameworks/Symfony/Version_7_0/src/Controller/RegistrationController.php b/tests/Frameworks/Symfony/Version_7_0/src/Controller/RegistrationController.php deleted file mode 100644 index c0ea3b78ca..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/src/Controller/RegistrationController.php +++ /dev/null @@ -1,65 +0,0 @@ -logger = $logger; - } - - #[Route('/register', name: 'app_register')] - public function register(Request $request, UserPasswordHasherInterface $userPasswordHasher, EntityManagerInterface $entityManager): Response - { - $this->logger->debug('Registering a new user'); - $user = new User(); - $this->logger->debug('Created a new user'); - $form = $this->createForm(RegistrationFormType::class, $user); - $this->logger->debug('Created a new form'); - $form->handleRequest($request); - $this->logger->debug('Handled a new form'); - - $this->logger->debug('Form is submitted: ' . $form->isSubmitted()); - $this->logger->debug('Form is valid: ' . $form->isValid()); - // Print errors - foreach ($form->getErrors(true) as $error) { - $this->logger->debug('Error: ' . $error->getMessage()); - } - - if ($form->isSubmitted() && $form->isValid()) { - $this->logger->debug('Form is valid'); - // encode the plain password - $user->setPassword( - $userPasswordHasher->hashPassword( - $user, - $form->get('plainPassword')->getData() - ) - ); - - $entityManager->persist($user); - $entityManager->flush(); - // do anything else you need here, like send an email - - return $this->redirectToRoute('simple'); - } - $this->logger->debug('Form is not valid'); - - return $this->render('registration/register.html.twig', [ - 'registrationForm' => $form->createView(), - ]); - } -} diff --git a/tests/Frameworks/Symfony/Version_7_0/src/Entity/.gitignore b/tests/Frameworks/Symfony/Version_7_0/src/Entity/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/Frameworks/Symfony/Version_7_0/src/Entity/User.php b/tests/Frameworks/Symfony/Version_7_0/src/Entity/User.php deleted file mode 100644 index c80827b39c..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/src/Entity/User.php +++ /dev/null @@ -1,117 +0,0 @@ -id; - } - - public function getEmail(): ?string - { - return $this->email; - } - - public function setEmail(string $email): static - { - $this->email = $email; - - return $this; - } - - /** - * A visual identifier that represents this user. - * - * @see UserInterface - */ - public function getUserIdentifier(): string - { - return (string) $this->email; - } - - /** - * @see UserInterface - */ - public function getRoles(): array - { - $roles = $this->roles; - // guarantee every user at least has ROLE_USER - $roles[] = 'ROLE_USER'; - - return array_unique($roles); - } - - public function setRoles(array $roles): static - { - $this->roles = $roles; - - return $this; - } - - /** - * @see PasswordAuthenticatedUserInterface - */ - public function getPassword(): string - { - return $this->password; - } - - public function setPassword(string $password): static - { - $this->password = $password; - - return $this; - } - - /** - * @see UserInterface - */ - public function eraseCredentials(): void - { - // If you store any temporary, sensitive data on the user, clear it here - // $this->plainPassword = null; - } - - public function isVerified(): bool - { - return $this->isVerified; - } - - public function setIsVerified(bool $isVerified): static - { - $this->isVerified = $isVerified; - - return $this; - } -} diff --git a/tests/Frameworks/Symfony/Version_7_0/src/Form/RegistrationFormType.php b/tests/Frameworks/Symfony/Version_7_0/src/Form/RegistrationFormType.php deleted file mode 100644 index bbd42aec26..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/src/Form/RegistrationFormType.php +++ /dev/null @@ -1,55 +0,0 @@ -add('email') - ->add('agreeTerms', CheckboxType::class, [ - 'mapped' => false, - 'constraints' => [ - new IsTrue([ - 'message' => 'You should agree to our terms.', - ]), - ], - ]) - ->add('plainPassword', PasswordType::class, [ - // instead of being set onto the object directly, - // this is read and encoded in the controller - 'mapped' => false, - 'attr' => ['autocomplete' => 'new-password'], - 'constraints' => [ - new NotBlank([ - 'message' => 'Please enter a password', - ]), - new Length([ - 'min' => 6, - 'minMessage' => 'Your password should be at least {{ limit }} characters', - // max length allowed by Symfony for security reasons - 'max' => 4096, - ]), - ], - ]); - } - - public function configureOptions(OptionsResolver $resolver): void - { - $resolver->setDefaults([ - 'data_class' => User::class, - 'csrf_protection' => false - ]); - } -} diff --git a/tests/Frameworks/Symfony/Version_7_0/src/Kernel.php b/tests/Frameworks/Symfony/Version_7_0/src/Kernel.php deleted file mode 100644 index 655e796658..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/src/Kernel.php +++ /dev/null @@ -1,38 +0,0 @@ -import('../config/{packages}/*.yaml'); - $container->import('../config/{packages}/'.$this->environment.'/*.yaml'); - - if (is_file(\dirname(__DIR__).'/config/services.yaml')) { - $container->import('../config/services.yaml'); - $container->import('../config/{services}_'.$this->environment.'.yaml'); - } elseif (is_file($path = \dirname(__DIR__).'/config/services.php')) { - (require $path)($container->withPath($path), $this); - } - } - - protected function configureRoutes(RoutingConfigurator $routes): void - { - $routes->import('../config/{routes}/'.$this->environment.'/*.yaml'); - $routes->import('../config/{routes}/*.yaml'); - - if (is_file(\dirname(__DIR__).'/config/routes.yaml')) { - $routes->import('../config/routes.yaml'); - } elseif (is_file($path = \dirname(__DIR__).'/config/routes.php')) { - (require $path)($routes->withPath($path), $this); - } - } -} diff --git a/tests/Frameworks/Symfony/Version_7_0/src/Message/LuckyNumberNotification.php b/tests/Frameworks/Symfony/Version_7_0/src/Message/LuckyNumberNotification.php deleted file mode 100644 index 93c28e3527..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/src/Message/LuckyNumberNotification.php +++ /dev/null @@ -1,8 +0,0 @@ -content > 100 || $message->content < 0) { - throw new \OutOfBoundsException("Number is out of bounds"); - } - - echo "Received number: {$message->content}\n"; - } -} diff --git a/tests/Frameworks/Symfony/Version_7_0/src/Repository/.gitignore b/tests/Frameworks/Symfony/Version_7_0/src/Repository/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/Frameworks/Symfony/Version_7_0/src/Repository/UserRepository.php b/tests/Frameworks/Symfony/Version_7_0/src/Repository/UserRepository.php deleted file mode 100644 index c788f463d3..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/src/Repository/UserRepository.php +++ /dev/null @@ -1,67 +0,0 @@ - - * - * @implements PasswordUpgraderInterface - * - * @method User|null find($id, $lockMode = null, $lockVersion = null) - * @method User|null findOneBy(array $criteria, array $orderBy = null) - * @method User[] findAll() - * @method User[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) - */ -class UserRepository extends ServiceEntityRepository implements PasswordUpgraderInterface -{ - public function __construct(ManagerRegistry $registry) - { - parent::__construct($registry, User::class); - } - - /** - * Used to upgrade (rehash) the user's password automatically over time. - */ - public function upgradePassword(PasswordAuthenticatedUserInterface $user, string $newHashedPassword): void - { - if (!$user instanceof User) { - throw new UnsupportedUserException(sprintf('Instances of "%s" are not supported.', $user::class)); - } - - $user->setPassword($newHashedPassword); - $this->getEntityManager()->persist($user); - $this->getEntityManager()->flush(); - } - -// /** -// * @return User[] Returns an array of User objects -// */ -// public function findByExampleField($value): array -// { -// return $this->createQueryBuilder('u') -// ->andWhere('u.exampleField = :val') -// ->setParameter('val', $value) -// ->orderBy('u.id', 'ASC') -// ->setMaxResults(10) -// ->getQuery() -// ->getResult() -// ; -// } - -// public function findOneBySomeField($value): ?User -// { -// return $this->createQueryBuilder('u') -// ->andWhere('u.exampleField = :val') -// ->setParameter('val', $value) -// ->getQuery() -// ->getOneOrNullResult() -// ; -// } -} diff --git a/tests/Frameworks/Symfony/Version_7_0/templates/base.html.twig b/tests/Frameworks/Symfony/Version_7_0/templates/base.html.twig deleted file mode 100644 index 16d7273bb4..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/templates/base.html.twig +++ /dev/null @@ -1,19 +0,0 @@ - - - - - {% block title %}Welcome!{% endblock %} - {# Run `composer require symfony/webpack-encore-bundle` - and uncomment the following Encore helpers to start using Symfony UX #} - {% block stylesheets %} - {#{{ encore_entry_link_tags('app') }}#} - {% endblock %} - - {% block javascripts %} - {#{{ encore_entry_script_tags('app') }}#} - {% endblock %} - - - {% block body %}{% endblock %} - - diff --git a/tests/Frameworks/Symfony/Version_7_0/templates/login/index.html.twig b/tests/Frameworks/Symfony/Version_7_0/templates/login/index.html.twig deleted file mode 100644 index fee5a5c26e..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/templates/login/index.html.twig +++ /dev/null @@ -1,23 +0,0 @@ -{# templates/login/index.html.twig #} -{% extends 'base.html.twig' %} - -{% block body %} - {% if error %} -
{{ error.messageKey|trans(error.messageData, 'security') }}
- {% endif %} - -
- - - - - - - - - {# If you want to control the URL the user is redirected to on success - #} - - -
-{% endblock %} diff --git a/tests/Frameworks/Symfony/Version_7_0/templates/registration/register.html.twig b/tests/Frameworks/Symfony/Version_7_0/templates/registration/register.html.twig deleted file mode 100644 index 97f32c9af1..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/templates/registration/register.html.twig +++ /dev/null @@ -1,19 +0,0 @@ -{% extends 'base.html.twig' %} - -{% block title %}Register{% endblock %} - -{% block body %} -

Register

- - {{ form_errors(registrationForm) }} - - {{ form_start(registrationForm) }} - {{ form_row(registrationForm.email) }} - {{ form_row(registrationForm.plainPassword, { - label: 'Password' - }) }} - {{ form_row(registrationForm.agreeTerms) }} - - - {{ form_end(registrationForm) }} -{% endblock %} diff --git a/tests/Frameworks/Symfony/Version_7_0/templates/twig_template.html.twig b/tests/Frameworks/Symfony/Version_7_0/templates/twig_template.html.twig deleted file mode 100644 index cacda46b55..0000000000 --- a/tests/Frameworks/Symfony/Version_7_0/templates/twig_template.html.twig +++ /dev/null @@ -1 +0,0 @@ -This is the view diff --git a/tests/Integrations/AMQP/V3_5/AMQPTest.php b/tests/Integrations/AMQP/Latest/AMQPTest.php similarity index 60% rename from tests/Integrations/AMQP/V3_5/AMQPTest.php rename to tests/Integrations/AMQP/Latest/AMQPTest.php index 34869f8498..606d713964 100644 --- a/tests/Integrations/AMQP/V3_5/AMQPTest.php +++ b/tests/Integrations/AMQP/Latest/AMQPTest.php @@ -1,7 +1,7 @@ getTracesFromCommand(); @@ -52,4 +57,4 @@ public function testCommandWithArgument() ]) ]); } -} +} \ No newline at end of file diff --git a/tests/Integrations/CLI/Laravel/V11_X/CommonScenariosTest.php b/tests/Integrations/CLI/Laravel/Latest/CommonScenariosTest.php similarity index 97% rename from tests/Integrations/CLI/Laravel/V11_X/CommonScenariosTest.php rename to tests/Integrations/CLI/Laravel/Latest/CommonScenariosTest.php index 680d8b92de..58f04c6162 100644 --- a/tests/Integrations/CLI/Laravel/V11_X/CommonScenariosTest.php +++ b/tests/Integrations/CLI/Laravel/Latest/CommonScenariosTest.php @@ -1,6 +1,6 @@ setError(), ]); } -} +} \ No newline at end of file diff --git a/tests/Integrations/CLI/Laravel/V9_X/CommonScenariosTest.php b/tests/Integrations/CLI/Laravel/V9_X/CommonScenariosTest.php index bfcc6f196d..dc1b21d2c1 100644 --- a/tests/Integrations/CLI/Laravel/V9_X/CommonScenariosTest.php +++ b/tests/Integrations/CLI/Laravel/V9_X/CommonScenariosTest.php @@ -26,6 +26,11 @@ protected static function getEnvs() ]); } + public static function getTestedLibrary() + { + return 'laravel/framework'; + } + public function testCommandWithNoArguments() { $this->retrieveDumpedData(); @@ -147,4 +152,4 @@ public function testCommandWithError() ])->setError(), ]); } -} +} \ No newline at end of file diff --git a/tests/Integrations/CLI/Symfony/V7_0/CommonScenariosTest.php b/tests/Integrations/CLI/Symfony/Latest/CommonScenariosTest.php similarity index 54% rename from tests/Integrations/CLI/Symfony/V7_0/CommonScenariosTest.php rename to tests/Integrations/CLI/Symfony/Latest/CommonScenariosTest.php index 683851f693..eeb3263dd0 100644 --- a/tests/Integrations/CLI/Symfony/V7_0/CommonScenariosTest.php +++ b/tests/Integrations/CLI/Symfony/Latest/CommonScenariosTest.php @@ -1,11 +1,11 @@ inCli(static::getConsoleScript(), [ @@ -160,4 +165,4 @@ public function testLongRunningCommandWithoutRootSpan() [] ); } -} +} \ No newline at end of file diff --git a/tests/Integrations/CakePHP/V5_0/CommonScenariosTest.php b/tests/Integrations/CakePHP/Latest/CommonScenariosTest.php similarity index 69% rename from tests/Integrations/CakePHP/V5_0/CommonScenariosTest.php rename to tests/Integrations/CakePHP/Latest/CommonScenariosTest.php index bdd1c6e234..7e872ff135 100644 --- a/tests/Integrations/CakePHP/V5_0/CommonScenariosTest.php +++ b/tests/Integrations/CakePHP/Latest/CommonScenariosTest.php @@ -1,6 +1,6 @@ isolateTracer(function () { - $request = new Request('put', 'http://example.com'); - $this->getMockedClient()->sendRequest($request); - }); - $this->assertFlameGraph($traces, [ - SpanAssertion::build('Psr\Http\Client\ClientInterface.sendRequest', 'phpunit', 'http', 'sendRequest') - ->withExactTags([ - 'http.method' => 'PUT', - 'http.url' => 'http://example.com', - 'http.status_code' => '200', - 'network.destination.name' => 'example.com', - TAG::SPAN_KIND => 'client', - Tag::COMPONENT => 'psr18' - ]) - ->withChildren([ - SpanAssertion::build('GuzzleHttp\Client.transfer', 'guzzle', 'http', 'transfer') - ->withExactTags([ - 'http.method' => 'PUT', - 'http.url' => 'http://example.com', - 'http.status_code' => '200', - 'network.destination.name' => 'example.com', - TAG::SPAN_KIND => 'client', - Tag::COMPONENT => 'guzzle', - '_dd.base_service' => 'phpunit' - ]), - ]) - ]); - } - - public function testMultiExec() - { - if (\PHP_VERSION_ID < 70300) { - $this->markTestSkipped('This test loose a lot of relevance with old cURL versions'); - } - - $this->putEnvAndReloadConfig([ - 'DD_TRACE_HTTP_CLIENT_SPLIT_BY_DOMAIN=true', - 'DD_SERVICE=my-shop', - 'DD_TRACE_GENERATE_ROOT_SPAN=0' - ]); - \dd_trace_serialize_closed_spans(); - - $this->isolateTracerSnapshot(function () { - /** @var Tracer $tracer */ - $tracer = GlobalTracer::get(); - $span = $tracer->startActiveSpan('custom')->getSpan(); - - $client = $this->getRealClient(); - try { - $promises = [ - $client->getAsync('https://google.wrong/', ['http_errors' => false]), - $client->getAsync(self::URL . '/redirect-to?url=' . self::URL . '/status/200'), - $client->getAsync(self::URL . '/status/200'), - $client->getAsync(self::URL . '/status/201'), - $client->getAsync(self::URL . '/status/202'), - $client->getAsync('https://google.still.wrong/', ['http_errors' => false]), - $client->getAsync('https://www.google.com'), - $client->getAsync('https://www.google.com'), - $client->getAsync('https://www.google.com'), - ]; - Utils::unwrap($promises); - } catch (\Exception $e) { - echo $e->getMessage(); - } - - sleep(1); - - $span->finish(); - }, [ - 'start', - 'metrics.php.compilation.total_time_ms', - 'metrics.php.memory.peak_usage_bytes', - 'metrics.php.memory.peak_real_usage_bytes', - 'meta.error.stack', - 'meta._dd.p.tid', - 'meta.curl.appconnect_time_us', - 'meta.curl.connect_time', - 'meta.curl.connect_time_us', - 'meta.curl.download_content_length', - 'meta.curl.filetime', - 'meta.curl.header_size', - 'meta.curl.namelookup_time', - 'meta.curl.namelookup_time_us', - 'meta.curl.pretransfer_time', - 'meta.curl.pretransfer_time_us', - 'meta.curl.redirect_time', - 'meta.curl.redirect_time_us', - 'meta.curl.request_size', - 'meta.curl.speed_download', - 'meta.curl.speed_upload', - 'meta.curl.starttransfer_time', - 'meta.curl.starttransfer_time_us', - 'meta.curl.total_time', - 'meta.curl.total_time_us', - 'meta.curl.upload_content_length', - 'meta.network.bytes_read', - 'meta.network.bytes_written', - 'meta.network.client.ip', - 'meta.network.client.port', - 'meta.network.destination.ip', - 'meta.network.destination.port', - 'meta._dd.base_service', - ]); - } -} diff --git a/tests/Integrations/Guzzle/V7/composer.json b/tests/Integrations/Guzzle/V7/composer.json deleted file mode 100644 index 47ac7ad9d4..0000000000 --- a/tests/Integrations/Guzzle/V7/composer.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "require": { - "guzzlehttp/guzzle": "~7.0", - "guzzlehttp/promises": "~2.0" - } -} diff --git a/tests/Integrations/Laravel/Latest/CommonScenariosTest.php b/tests/Integrations/Laravel/Latest/CommonScenariosTest.php index d03a0cb0ba..d5262ba8a4 100644 --- a/tests/Integrations/Laravel/Latest/CommonScenariosTest.php +++ b/tests/Integrations/Laravel/Latest/CommonScenariosTest.php @@ -8,9 +8,4 @@ public static function getAppIndexScript() { return __DIR__ . '/../../../Frameworks/Laravel/Latest/public/index.php'; } - - public static function getTestedLibrary() - { - return 'laravel/framework'; - } -} +} \ No newline at end of file diff --git a/tests/Integrations/Laravel/V11_x/CommonScenariosTest.php b/tests/Integrations/Laravel/V11_x/CommonScenariosTest.php deleted file mode 100644 index 3e13d8f8c2..0000000000 --- a/tests/Integrations/Laravel/V11_x/CommonScenariosTest.php +++ /dev/null @@ -1,11 +0,0 @@ -tracesFromWebRequestSnapshot(function () { @@ -80,4 +85,4 @@ public function testScenarioGetDynamicRoute() ); }); } -} +} \ No newline at end of file diff --git a/tests/Integrations/Logs/BaseLogsTest.php b/tests/Integrations/Logs/BaseLogsTest.php index 3e72b215db..fd105033f4 100644 --- a/tests/Integrations/Logs/BaseLogsTest.php +++ b/tests/Integrations/Logs/BaseLogsTest.php @@ -8,6 +8,11 @@ class BaseLogsTest extends \DDTrace\Tests\Common\IntegrationTestCase { + public static function getTestedLibrary() + { + return 'monolog/monolog'; + } + protected static function logFile() { return "/tmp/test-" . substr(static::class, strrpos(static::class, '\\') + 1) . '.log'; @@ -152,4 +157,4 @@ public function usingJson( $logLevelName ); } -} +} \ No newline at end of file diff --git a/tests/Integrations/Logs/MonologLatest/MonologLatestTest.php b/tests/Integrations/Logs/MonologLatest/MonologLatestTest.php new file mode 100644 index 0000000000..01d4d4d332 --- /dev/null +++ b/tests/Integrations/Logs/MonologLatest/MonologLatestTest.php @@ -0,0 +1,9 @@ +isolateTracer(function () use ($pipeline) { $this->client()->test_db->cars->aggregate( - \array_map('\DDTrace\Tests\Integrations\Mongo\MongoDBTest::arrayToStdClass', $pipeline) + \array_map('\DDTrace\Tests\Integrations\Mongo\Latest\MongoDBTest::arrayToStdClass', $pipeline) ); }); $this->assertFlameGraph($traces, $expected); @@ -147,7 +147,7 @@ public function testFilterAggregation() // As object $traces = $this->isolateTracer(function () use ($pipeline) { $this->client()->test_db->cars->aggregate( - \array_map('\DDTrace\Tests\Integrations\Mongo\MongoDBTest::arrayToObject', $pipeline) + \array_map('\DDTrace\Tests\Integrations\Mongo\Latest\MongoDBTest::arrayToObject', $pipeline) ); }); $this->assertFlameGraph($traces, $expected); @@ -1007,7 +1007,7 @@ private function arrayToStdClass(array $array) { $obj = new stdClass(); if (self::isListArray($array)) { - return \array_map('\DDTrace\Tests\Integrations\Mongo\MongoDBTest::' . __FUNCTION__, $array); + return \array_map('\DDTrace\Tests\Integrations\Mongo\Latest\MongoDBTest::' . __FUNCTION__, $array); } foreach ($array as $name => $value) { @@ -1020,7 +1020,7 @@ private function arrayToObject(array $array) { $obj = new AnObject(); if (self::isListArray($array)) { - return \array_map('\DDTrace\Tests\Integrations\Mongo\MongoDBTest::' . __FUNCTION__, $array); + return \array_map('\DDTrace\Tests\Integrations\Mongo\Latest\MongoDBTest::' . __FUNCTION__, $array); } foreach ($array as $name => $value) { @@ -1028,4 +1028,4 @@ private function arrayToObject(array $array) } return $obj; } -} +} \ No newline at end of file diff --git a/tests/Integrations/MongoDB/composer.json b/tests/Integrations/MongoDB/Latest/composer.json similarity index 100% rename from tests/Integrations/MongoDB/composer.json rename to tests/Integrations/MongoDB/Latest/composer.json diff --git a/tests/Integrations/OpenAI/OpenAITest.php b/tests/Integrations/OpenAI/Latest/OpenAITest.php similarity index 99% rename from tests/Integrations/OpenAI/OpenAITest.php rename to tests/Integrations/OpenAI/Latest/OpenAITest.php index 2a4851fc5b..03b51b7ec9 100644 --- a/tests/Integrations/OpenAI/OpenAITest.php +++ b/tests/Integrations/OpenAI/Latest/OpenAITest.php @@ -1,6 +1,6 @@ 'dd-trace' ]); } -} +} \ No newline at end of file diff --git a/tests/Integrations/OpenAI/composer.json b/tests/Integrations/OpenAI/Latest/composer.json similarity index 100% rename from tests/Integrations/OpenAI/composer.json rename to tests/Integrations/OpenAI/Latest/composer.json diff --git a/tests/Integrations/Predis/PredisTest.php b/tests/Integrations/Predis/Latest/PredisTest.php similarity index 99% rename from tests/Integrations/Predis/PredisTest.php rename to tests/Integrations/Predis/Latest/PredisTest.php index f7e5d0e703..da0e0a119b 100644 --- a/tests/Integrations/Predis/PredisTest.php +++ b/tests/Integrations/Predis/Latest/PredisTest.php @@ -1,6 +1,6 @@ 'redis', ]; } -} +} \ No newline at end of file diff --git a/tests/Integrations/Predis/composer.json b/tests/Integrations/Predis/Latest/composer.json similarity index 100% rename from tests/Integrations/Predis/composer.json rename to tests/Integrations/Predis/Latest/composer.json diff --git a/tests/Integrations/Slim/V4/CommonScenariosTest.php b/tests/Integrations/Slim/Latest/CommonScenariosTest.php similarity index 97% rename from tests/Integrations/Slim/V4/CommonScenariosTest.php rename to tests/Integrations/Slim/Latest/CommonScenariosTest.php index 8d7bb3f426..8a656d443c 100644 --- a/tests/Integrations/Slim/V4/CommonScenariosTest.php +++ b/tests/Integrations/Slim/Latest/CommonScenariosTest.php @@ -1,6 +1,6 @@ connection()->exec('insert into user (roles, email, password) VALUES ("{}", "'.$email.'", "$2y$13$WNnAxSuifzgXGx9kYfFr.eMaXzE50MmrMnXxmrlZqxSa21oiMyy0i")'); - } -} diff --git a/tests/Integrations/Symfony/V7_0/CommonScenariosTest.php b/tests/Integrations/Symfony/V7_0/CommonScenariosTest.php deleted file mode 100644 index 7def4245a8..0000000000 --- a/tests/Integrations/Symfony/V7_0/CommonScenariosTest.php +++ /dev/null @@ -1,221 +0,0 @@ - 'true', - 'DD_SERVICE' => 'test_symfony_70', - ]); - } - - /** - * @dataProvider provideSpecs - * @param RequestSpec $spec - * @param array $spanExpectations - * @throws \Exception - */ - public function testScenario(RequestSpec $spec, array $spanExpectations) - { - $traces = $this->tracesFromWebRequest(function () use ($spec) { - $this->call($spec); - }); - - $this->assertFlameGraph($traces, $spanExpectations); - } - - public function provideSpecs() - { - return $this->buildDataProvider( - [ - 'A simple GET request returning a string' => [ - SpanAssertion::build( - 'symfony.request', - 'test_symfony_70', - 'web', - 'simple' - )->withExactTags([ - 'symfony.route.action' => 'App\Controller\CommonScenariosController@simpleAction', - 'symfony.route.name' => 'simple', - 'http.method' => 'GET', - 'http.url' => 'http://localhost/simple?key=value&', - 'http.status_code' => '200', - Tag::SPAN_KIND => 'server', - Tag::COMPONENT => 'symfony', - ])->withChildren([ - SpanAssertion::exists('symfony.httpkernel.kernel.handle') - ->withChildren([ - SpanAssertion::exists('symfony.httpkernel.kernel.boot'), - SpanAssertion::exists('symfony.kernel.handle') - ->withChildren([ - SpanAssertion::exists('symfony.kernel.request'), - SpanAssertion::exists('symfony.kernel.controller'), - SpanAssertion::exists('symfony.kernel.controller_arguments'), - SpanAssertion::exists('symfony.kernel.response'), - SpanAssertion::exists('symfony.kernel.finish_request'), - SpanAssertion::build( - 'symfony.controller', - 'test_symfony_70', - 'web', - 'App\Controller\CommonScenariosController::simpleAction' - )->withExactTags([ - Tag::COMPONENT => 'symfony', - ]) - ]), - ]), - SpanAssertion::exists('symfony.kernel.terminate'), - ]), - ], - 'A simple GET request with a view' => [ - SpanAssertion::build( - 'symfony.request', - 'test_symfony_70', - 'web', - 'simple_view' - )->withExactTags([ - 'symfony.route.action' => 'App\Controller\CommonScenariosController@simpleViewAction', - 'symfony.route.name' => 'simple_view', - 'http.method' => 'GET', - 'http.url' => 'http://localhost/simple_view?key=value&', - 'http.status_code' => '200', - Tag::SPAN_KIND => 'server', - Tag::COMPONENT => 'symfony', - ])->withChildren([ - SpanAssertion::exists('symfony.kernel.terminate'), - SpanAssertion::exists('symfony.httpkernel.kernel.handle')->withChildren([ - SpanAssertion::exists('symfony.httpkernel.kernel.boot'), - SpanAssertion::exists('symfony.kernel.handle')->withChildren([ - SpanAssertion::exists('symfony.kernel.request'), - SpanAssertion::exists('symfony.kernel.controller'), - SpanAssertion::exists('symfony.kernel.controller_arguments'), - SpanAssertion::build( - 'symfony.controller', - 'test_symfony_70', - 'web', - 'App\Controller\CommonScenariosController::simpleViewAction' - )->withExactTags([ - Tag::COMPONENT => 'symfony', - ])->withChildren([ - SpanAssertion::build( - 'symfony.templating.render', - 'test_symfony_70', - 'web', - 'Twig\Environment twig_template.html.twig' - )->withExactTags([ - Tag::COMPONENT => 'symfony', - ]), - ]), - SpanAssertion::exists('symfony.kernel.response'), - SpanAssertion::exists('symfony.kernel.finish_request'), - ]), - ]), - ]), - ], - 'A GET request with an exception' => [ - SpanAssertion::build( - 'symfony.request', - 'test_symfony_70', - 'web', - 'error' - )->withExactTags([ - 'symfony.route.action' => 'App\Controller\CommonScenariosController@errorAction', - 'symfony.route.name' => 'error', - 'http.method' => 'GET', - 'http.url' => 'http://localhost/error?key=value&', - 'http.status_code' => '500', - Tag::SPAN_KIND => 'server', - Tag::COMPONENT => 'symfony', - ]) - ->setError('Exception', 'An exception occurred') - ->withExistingTagsNames(['error.stack']) - ->withChildren([ - SpanAssertion::exists('symfony.kernel.terminate'), - SpanAssertion::exists('symfony.httpkernel.kernel.handle') - ->withChildren([ - SpanAssertion::exists('symfony.httpkernel.kernel.boot'), - SpanAssertion::exists('symfony.kernel.handle')->withChildren([ - SpanAssertion::exists('symfony.kernel.request'), - SpanAssertion::exists('symfony.kernel.controller'), - SpanAssertion::exists('symfony.kernel.controller_arguments'), - SpanAssertion::build( - 'symfony.controller', - 'test_symfony_70', - 'web', - 'App\Controller\CommonScenariosController::errorAction' - )->withExactTags([ - Tag::COMPONENT => 'symfony', - ]) - ->setError('Exception', 'An exception occurred') - ->withExistingTagsNames(['error.stack']), - SpanAssertion::exists('symfony.kernel.handleException')->withChildren([ - SpanAssertion::exists('symfony.kernel.exception')->withChildren([ - SpanAssertion::exists('symfony.controller'), - SpanAssertion::exists('symfony.kernel.controller'), - SpanAssertion::exists('symfony.kernel.controller_arguments'), - SpanAssertion::exists('symfony.kernel.finish_request'), - SpanAssertion::exists('symfony.kernel.request'), - SpanAssertion::exists('symfony.kernel.response'), - ]), - SpanAssertion::exists('symfony.kernel.response'), - SpanAssertion::exists('symfony.kernel.finish_request'), - ]), - ]), - ]), - ]), - ], - 'A GET request to a missing route' => [ - SpanAssertion::build( - 'symfony.request', - 'test_symfony_70', - 'web', - 'GET /does_not_exist' - )->withExactTags([ - 'http.method' => 'GET', - 'http.url' => 'http://localhost/does_not_exist?key=value&', - 'http.status_code' => '404', - Tag::SPAN_KIND => 'server', - Tag::COMPONENT => 'symfony', - ])->withChildren([ - SpanAssertion::exists('symfony.kernel.terminate'), - SpanAssertion::exists('symfony.httpkernel.kernel.handle')->withChildren([ - SpanAssertion::exists('symfony.httpkernel.kernel.boot'), - SpanAssertion::exists('symfony.kernel.handle')->withChildren([ - SpanAssertion::exists('symfony.kernel.handleException')->withChildren([ - SpanAssertion::exists('symfony.kernel.finish_request'), - SpanAssertion::exists('symfony.kernel.response'), - SpanAssertion::exists('symfony.kernel.exception')->withChildren([ - SpanAssertion::exists('symfony.controller'), - SpanAssertion::exists('symfony.kernel.controller'), - SpanAssertion::exists('symfony.kernel.controller_arguments'), - SpanAssertion::exists('symfony.kernel.finish_request'), - SpanAssertion::exists('symfony.kernel.request'), - SpanAssertion::exists('symfony.kernel.response'), - ]), - ]), - SpanAssertion::exists('symfony.kernel.request') - ->setError( - 'Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException', - 'No route found for "GET /does_not_exist"' - ) - ->withExistingTagsNames(['error.stack']), - ]), - ]), - ]), - ], - ] - ); - } -} diff --git a/tests/Integrations/Symfony/V7_0/ConsoleCommandTest.php b/tests/Integrations/Symfony/V7_0/ConsoleCommandTest.php deleted file mode 100644 index 51b4ded067..0000000000 --- a/tests/Integrations/Symfony/V7_0/ConsoleCommandTest.php +++ /dev/null @@ -1,16 +0,0 @@ -assertTrue(true); - } -} diff --git a/tests/Integrations/Symfony/V7_0/MessengerTest.php b/tests/Integrations/Symfony/V7_0/MessengerTest.php deleted file mode 100644 index 5dbb2cc6a3..0000000000 --- a/tests/Integrations/Symfony/V7_0/MessengerTest.php +++ /dev/null @@ -1,116 +0,0 @@ - '1', - 'DD_TRACE_CLI_ENABLED' => '1', - 'DD_SERVICE' => 'symfony_messenger_test', - 'DD_TRACE_DEBUG' => 'true', - 'DD_TRACE_SYMFONY_MESSENGER_MIDDLEWARES' => 'true', - 'DD_INSTRUMENTATION_TELEMETRY_ENABLED' => 'false', - ]); - } - - public function testAsyncSuccess() - { - $this->tracesFromWebRequestSnapshot(function () { - $spec = GetSpec::create('Lucky number', '/lucky/number'); - $this->call($spec); - }, self::FIELDS_TO_IGNORE); - - list($consumerTraces) = $this->inCli(self::getConsoleScript(), [ - 'DD_TRACE_CLI_ENABLED' => 'true', - 'DD_TRACE_EXEC_ENABLED' => 'false', - 'DD_SERVICE' => 'symfony_messenger_test', - 'DD_TRACE_REMOVE_AUTOINSTRUMENTATION_ORPHANS' => 'true', - 'DD_TRACE_SYMFONY_MESSENGER_MIDDLEWARES' => 'true', - 'DD_TRACE_DEBUG' => 'true', - 'DD_INSTRUMENTATION_TELEMETRY_ENABLED' => 'false', - ], [], ['messenger:consume', 'async', '--limit=1']); - - $this->snapshotFromTraces( - $consumerTraces, - self::FIELDS_TO_IGNORE, - 'tests.integrations.symfony.v7_0.messenger_test.test_async_success_consumer', - true - ); - } - - public function testAsyncFailure() - { - $this->tracesFromWebRequestSnapshot(function () { - $spec = GetSpec::create('Lucky fail', '/lucky/fail'); - $this->call($spec); - }, self::FIELDS_TO_IGNORE); - - list($consumerTraces) = $this->inCli(self::getConsoleScript(), [ - 'DD_TRACE_CLI_ENABLED' => 'true', - 'DD_TRACE_EXEC_ENABLED' => 'false', - 'DD_SERVICE' => 'symfony_messenger_test', - 'DD_TRACE_REMOVE_AUTOINSTRUMENTATION_ORPHANS' => 'true', - 'DD_TRACE_SYMFONY_MESSENGER_MIDDLEWARES' => 'true', - 'DD_INSTRUMENTATION_TELEMETRY_ENABLED' => 'false', - ], [], ['messenger:consume', 'async', '--limit=1']); - - $this->snapshotFromTraces( - $consumerTraces, - self::FIELDS_TO_IGNORE, - 'tests.integrations.symfony.v7_0.messenger_test.test_async_failure_consumer', - true - ); - } - - public function testAsyncWithTracerDisabledOnConsume() - { - // GH Issue: https://github.com/DataDog/dd-trace-php/pull/2749#issuecomment-2467409884 - - $this->tracesFromWebRequestSnapshot(function () { - $spec = GetSpec::create('Lucky number', '/lucky/number'); - $this->call($spec); - }, self::FIELDS_TO_IGNORE); - - list($output, $exitCode) = $this->executeCli( - self::getConsoleScript(), - [], - ['ddtrace.disable' => 'true'], - ['messenger:consume', 'async', '--limit=1'], - true, - true, - true - ); - - $this->assertEquals(0, $exitCode, "Command failed with exit code 1. Output: $output"); - } -} diff --git a/tests/Integrations/Symfony/V7_0/TraceSearchConfigTest.php b/tests/Integrations/Symfony/V7_0/TraceSearchConfigTest.php deleted file mode 100644 index 5630a069a2..0000000000 --- a/tests/Integrations/Symfony/V7_0/TraceSearchConfigTest.php +++ /dev/null @@ -1,11 +0,0 @@ -./Integrations/CakePHP/V4_5 ./Integrations/CLI/CakePHP/V4_5 - - ./Integrations/CakePHP/V5_0 - ./Integrations/CLI/CakePHP/V5_0 + + ./Integrations/CakePHP/Latest + ./Integrations/CLI/CakePHP/Latest ./Integrations/CodeIgniter/V2_2 @@ -66,9 +66,9 @@ ./Integrations/Laravel/V10_x ./Integrations/CLI/Laravel/V10_X - - ./Integrations/Laravel/V11_x - ./Integrations/CLI/Laravel/V11_X + + ./Integrations/Laravel/Latest + ./Integrations/CLI/Laravel/Latest ./Integrations/Laravel/Octane @@ -88,8 +88,8 @@ ./Integrations/Slim/V3_12 - - ./Integrations/Slim/V4 + + ./Integrations/Slim/Latest ./Integrations/Frankenphp @@ -109,9 +109,9 @@ ./Integrations/Symfony/V6_2 ./Integrations/CLI/Symfony/V6_2 - - ./Integrations/Symfony/V7_0 - ./Integrations/CLI/Symfony/V7_0 + + ./Integrations/Symfony/Latest + ./Integrations/CLI/Symfony/Latest ./Integrations/Custom/Autoloaded @@ -133,4 +133,4 @@ ../src/dogstatsd - + \ No newline at end of file diff --git a/tests/update-latest-versions.php b/tests/update-latest-versions.php index 3ec9ab69a3..864a955b50 100644 --- a/tests/update-latest-versions.php +++ b/tests/update-latest-versions.php @@ -17,6 +17,12 @@ //var_dump($testFiles); foreach ($testFiles as $file) { + if (basename(dirname($file)) !== 'Latest') { + continue; + } + + echo "File: $file\n"; + try { $content = file_get_contents($file); $matches = []; @@ -27,22 +33,25 @@ $class = $namespace . '\\' . $class; if (!class_exists($class)) { require_once $file; + if (!class_exists($class)) { + continue; + } } - if (!class_exists($class) || !method_exists($class, 'getTestedLibrary')) { - continue; - } - $library = call_user_func([$class, 'getTestedLibrary']); - if (empty($library)) { + + if (method_exists($class, 'getTestedLibrary')) { + $library = call_user_func([$class, 'getTestedLibrary']); + } elseif (file_exists(dirname($file) . '/composer.json')) { + $composer = dirname($file) . '/composer.json'; + $composerData = json_decode(file_get_contents($composer), true); + $library = key($composerData['require']); + } else { continue; } - - if (basename(dirname($file)) !== 'Latest') { + if (empty($library)) { continue; } - echo "File: $file\n"; - if (method_exists($class, 'getAppIndexScript')) { $workingDir = call_user_func([$class, 'getAppIndexScript']); do { @@ -136,4 +145,4 @@ function getLatestComposerVersion($packageName) { } return ""; -} +} \ No newline at end of file From 00dbb8cd64bf21f2b69d30160683f5c2229c857c Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Thu, 16 Jan 2025 10:58:29 +0100 Subject: [PATCH 11/65] Update Latest Version Dependencies --- tests/Common/CLITestCase.php | 2 +- tests/Frameworks/CakePHP/Latest/composer.json | 4 ++-- tests/Frameworks/Laravel/Latest/composer.json | 2 +- tests/Frameworks/Slim/Latest/composer.json | 4 ++-- tests/Frameworks/Symfony/Latest/composer.json | 4 ++-- tests/Integration/DisabledTest.php | 2 +- tests/Integration/LongRunning/LongRunningScriptTest.php | 2 +- tests/Integrations/AMQP/Latest/composer.json | 4 ++-- tests/Integrations/CLI/CakePHP/V2_8/CommonScenariosTest.php | 2 +- .../Integrations/CLI/CakePHP/V3_10/CommonScenariosTest.php | 5 ----- tests/Integrations/CLI/CakePHP/V4_5/CommonScenariosTest.php | 2 +- .../CLI/Custom/Autoloaded/CommonScenariosTest.php | 2 +- tests/Integrations/CLI/Custom/Autoloaded/NoRootSpanTest.php | 2 +- .../CLI/Custom/NotAutoloaded/NotAutoloadedTestCase.php | 2 +- .../Integrations/CLI/Laravel/Latest/CommonScenariosTest.php | 5 ----- tests/Integrations/CLI/Laravel/V5_8/CommonScenariosTest.php | 2 +- tests/Integrations/CLI/Laravel/V8_X/CommonScenariosTest.php | 2 +- tests/Integrations/CLI/Laravel/V9_X/CommonScenariosTest.php | 5 ----- tests/Integrations/Elasticsearch/Latest/composer.json | 4 ++-- tests/Integrations/Guzzle/Latest/composer.json | 2 +- tests/Integrations/MongoDB/Latest/composer.json | 4 ++-- tests/Integrations/OpenAI/Latest/composer.json | 4 ++-- tests/Integrations/Predis/Latest/composer.json | 4 ++-- tests/OpenTelemetry/Integration/InternalTelemetryTest.php | 2 +- tests/OpenTracing/InternalTelemetryTest.php | 2 +- tests/update-latest-versions.php | 6 +++++- 26 files changed, 35 insertions(+), 46 deletions(-) diff --git a/tests/Common/CLITestCase.php b/tests/Common/CLITestCase.php index 646e16ea92..1d5fa6af33 100644 --- a/tests/Common/CLITestCase.php +++ b/tests/Common/CLITestCase.php @@ -113,4 +113,4 @@ public function loadTraces($request) } return $traces; } -} +} \ No newline at end of file diff --git a/tests/Frameworks/CakePHP/Latest/composer.json b/tests/Frameworks/CakePHP/Latest/composer.json index bbcb4956fc..d385298851 100644 --- a/tests/Frameworks/CakePHP/Latest/composer.json +++ b/tests/Frameworks/CakePHP/Latest/composer.json @@ -6,7 +6,7 @@ "license": "MIT", "require": { "php": ">=8.1", - "cakephp/cakephp": "^5.0.1", + "cakephp/cakephp": "5.1.4", "cakephp/migrations": "^4.0.0", "cakephp/plugin-installer": "^2.0", "mobiledetect/mobiledetectlib": "^3.74" @@ -55,4 +55,4 @@ "dealerdirect/phpcodesniffer-composer-installer": true } } -} +} \ No newline at end of file diff --git a/tests/Frameworks/Laravel/Latest/composer.json b/tests/Frameworks/Laravel/Latest/composer.json index bcff135dbe..e51819c867 100644 --- a/tests/Frameworks/Laravel/Latest/composer.json +++ b/tests/Frameworks/Laravel/Latest/composer.json @@ -9,7 +9,7 @@ "license": "MIT", "require": { "php": "^8.2", - "laravel/framework": "11.37.0", + "laravel/framework": "11.38.2", "laravel/tinker": "^2.9" }, "require-dev": { diff --git a/tests/Frameworks/Slim/Latest/composer.json b/tests/Frameworks/Slim/Latest/composer.json index 88421d3a18..09ebe91d2e 100644 --- a/tests/Frameworks/Slim/Latest/composer.json +++ b/tests/Frameworks/Slim/Latest/composer.json @@ -27,7 +27,7 @@ "monolog/monolog": "^2.0", "php-di/php-di": "^6.1", "slim/psr7": "^1.1", - "slim/slim": "^4.5", + "slim/slim": "4.14.0", "slim/twig-view": "^3.0" }, "config": { @@ -47,4 +47,4 @@ "scripts": { "start": "php -S localhost:8080 -t public" } -} +} \ No newline at end of file diff --git a/tests/Frameworks/Symfony/Latest/composer.json b/tests/Frameworks/Symfony/Latest/composer.json index 00073fc320..af9577204e 100644 --- a/tests/Frameworks/Symfony/Latest/composer.json +++ b/tests/Frameworks/Symfony/Latest/composer.json @@ -16,8 +16,8 @@ "symfony/console": "7.2.1", "symfony/doctrine-messenger": "^7.1", "symfony/flex": "^2", - "symfony/framework-bundle": "7.1.10", - "symfony/messenger": "7.1.9", + "symfony/framework-bundle": "7.2.2", + "symfony/messenger": "7.2.1", "symfony/monolog-bundle": "^3.10", "symfonycasts/verify-email-bundle": "^1.16" }, diff --git a/tests/Integration/DisabledTest.php b/tests/Integration/DisabledTest.php index 70bec0c517..4adcfe24a2 100644 --- a/tests/Integration/DisabledTest.php +++ b/tests/Integration/DisabledTest.php @@ -23,4 +23,4 @@ public function testDisablingCLI() $this->assertEmpty($agentRequest); } -} +} \ No newline at end of file diff --git a/tests/Integration/LongRunning/LongRunningScriptTest.php b/tests/Integration/LongRunning/LongRunningScriptTest.php index fe2791a8cc..ea557f8da0 100644 --- a/tests/Integration/LongRunning/LongRunningScriptTest.php +++ b/tests/Integration/LongRunning/LongRunningScriptTest.php @@ -66,4 +66,4 @@ public function testTracesFromLongRunningFunctionWithMixedTracing() $rootTraceAssertion(2), ]); } -} +} \ No newline at end of file diff --git a/tests/Integrations/AMQP/Latest/composer.json b/tests/Integrations/AMQP/Latest/composer.json index 97da4ac105..1f74369250 100644 --- a/tests/Integrations/AMQP/Latest/composer.json +++ b/tests/Integrations/AMQP/Latest/composer.json @@ -1,5 +1,5 @@ { "require": { - "php-amqplib/php-amqplib": "^3.5" + "php-amqplib/php-amqplib": "3.7.2" } -} +} \ No newline at end of file diff --git a/tests/Integrations/CLI/CakePHP/V2_8/CommonScenariosTest.php b/tests/Integrations/CLI/CakePHP/V2_8/CommonScenariosTest.php index ae9e45581a..dcd31525a5 100644 --- a/tests/Integrations/CLI/CakePHP/V2_8/CommonScenariosTest.php +++ b/tests/Integrations/CLI/CakePHP/V2_8/CommonScenariosTest.php @@ -75,4 +75,4 @@ public function testCommandWithError() ]); } */ -} +} \ No newline at end of file diff --git a/tests/Integrations/CLI/CakePHP/V3_10/CommonScenariosTest.php b/tests/Integrations/CLI/CakePHP/V3_10/CommonScenariosTest.php index 9977b90d65..140c64eb4e 100644 --- a/tests/Integrations/CLI/CakePHP/V3_10/CommonScenariosTest.php +++ b/tests/Integrations/CLI/CakePHP/V3_10/CommonScenariosTest.php @@ -21,11 +21,6 @@ protected static function getEnvs() ]); } - public static function getTestedLibrary() - { - return 'cakephp/cakephp'; - } - public function testCommandWithNoArguments() { $traces = $this->getTracesFromCommand(); diff --git a/tests/Integrations/CLI/CakePHP/V4_5/CommonScenariosTest.php b/tests/Integrations/CLI/CakePHP/V4_5/CommonScenariosTest.php index 6deb31d8cf..2593190f9b 100644 --- a/tests/Integrations/CLI/CakePHP/V4_5/CommonScenariosTest.php +++ b/tests/Integrations/CLI/CakePHP/V4_5/CommonScenariosTest.php @@ -12,4 +12,4 @@ protected function getScriptLocation() { return __DIR__ . '/../../../../Frameworks/CakePHP/Version_4_5/bin/cake.php'; } -} +} \ No newline at end of file diff --git a/tests/Integrations/CLI/Custom/Autoloaded/CommonScenariosTest.php b/tests/Integrations/CLI/Custom/Autoloaded/CommonScenariosTest.php index 7cbcc6cfd3..8d5edba79e 100644 --- a/tests/Integrations/CLI/Custom/Autoloaded/CommonScenariosTest.php +++ b/tests/Integrations/CLI/Custom/Autoloaded/CommonScenariosTest.php @@ -33,4 +33,4 @@ public function testCommandWithNoArguments() ) ]); } -} +} \ No newline at end of file diff --git a/tests/Integrations/CLI/Custom/Autoloaded/NoRootSpanTest.php b/tests/Integrations/CLI/Custom/Autoloaded/NoRootSpanTest.php index 48f1db27c6..e8004d595a 100644 --- a/tests/Integrations/CLI/Custom/Autoloaded/NoRootSpanTest.php +++ b/tests/Integrations/CLI/Custom/Autoloaded/NoRootSpanTest.php @@ -50,4 +50,4 @@ public function testCommandWillAutoFlush() ]) ]); } -} +} \ No newline at end of file diff --git a/tests/Integrations/CLI/Custom/NotAutoloaded/NotAutoloadedTestCase.php b/tests/Integrations/CLI/Custom/NotAutoloaded/NotAutoloadedTestCase.php index 488326c20d..a38822c7f6 100644 --- a/tests/Integrations/CLI/Custom/NotAutoloaded/NotAutoloadedTestCase.php +++ b/tests/Integrations/CLI/Custom/NotAutoloaded/NotAutoloadedTestCase.php @@ -32,4 +32,4 @@ public function testCliCommandNoAutoloaderEnabledByEnv() SpanAssertion::exists('test-script.php'), ]); } -} +} \ No newline at end of file diff --git a/tests/Integrations/CLI/Laravel/Latest/CommonScenariosTest.php b/tests/Integrations/CLI/Laravel/Latest/CommonScenariosTest.php index 58f04c6162..a317486761 100644 --- a/tests/Integrations/CLI/Laravel/Latest/CommonScenariosTest.php +++ b/tests/Integrations/CLI/Laravel/Latest/CommonScenariosTest.php @@ -8,11 +8,6 @@ class CommonScenariosTest extends \DDTrace\Tests\Integrations\CLI\Laravel\V10_X\CommonScenariosTest { - protected function getScriptLocation() - { - return __DIR__ . '/../../../../Frameworks/Laravel/Latest/artisan'; - } - public function testCommandWithNoArguments() { $this->retrieveDumpedData(); diff --git a/tests/Integrations/CLI/Laravel/V5_8/CommonScenariosTest.php b/tests/Integrations/CLI/Laravel/V5_8/CommonScenariosTest.php index 9311e5a9cf..b53a16bb39 100644 --- a/tests/Integrations/CLI/Laravel/V5_8/CommonScenariosTest.php +++ b/tests/Integrations/CLI/Laravel/V5_8/CommonScenariosTest.php @@ -137,4 +137,4 @@ public function testCommandWithError() ])->setError(), ]); } -} +} \ No newline at end of file diff --git a/tests/Integrations/CLI/Laravel/V8_X/CommonScenariosTest.php b/tests/Integrations/CLI/Laravel/V8_X/CommonScenariosTest.php index 4758d66e44..49de6dd0c0 100644 --- a/tests/Integrations/CLI/Laravel/V8_X/CommonScenariosTest.php +++ b/tests/Integrations/CLI/Laravel/V8_X/CommonScenariosTest.php @@ -144,4 +144,4 @@ public function testCommandWithError() ])->setError(), ]); } -} +} \ No newline at end of file diff --git a/tests/Integrations/CLI/Laravel/V9_X/CommonScenariosTest.php b/tests/Integrations/CLI/Laravel/V9_X/CommonScenariosTest.php index dc1b21d2c1..1554c239ec 100644 --- a/tests/Integrations/CLI/Laravel/V9_X/CommonScenariosTest.php +++ b/tests/Integrations/CLI/Laravel/V9_X/CommonScenariosTest.php @@ -26,11 +26,6 @@ protected static function getEnvs() ]); } - public static function getTestedLibrary() - { - return 'laravel/framework'; - } - public function testCommandWithNoArguments() { $this->retrieveDumpedData(); diff --git a/tests/Integrations/Elasticsearch/Latest/composer.json b/tests/Integrations/Elasticsearch/Latest/composer.json index d248e533b2..190a7c0fcd 100644 --- a/tests/Integrations/Elasticsearch/Latest/composer.json +++ b/tests/Integrations/Elasticsearch/Latest/composer.json @@ -1,5 +1,5 @@ { "require": { - "elasticsearch/elasticsearch": "~8.5" + "elasticsearch/elasticsearch": "8.17.0" } -} +} \ No newline at end of file diff --git a/tests/Integrations/Guzzle/Latest/composer.json b/tests/Integrations/Guzzle/Latest/composer.json index cf84a4d91a..b9bf367ea8 100644 --- a/tests/Integrations/Guzzle/Latest/composer.json +++ b/tests/Integrations/Guzzle/Latest/composer.json @@ -1,6 +1,6 @@ { "require": { - "guzzlehttp/guzzle": "7.9.1", + "guzzlehttp/guzzle": "7.9.2", "guzzlehttp/promises": "2.0.4" } } \ No newline at end of file diff --git a/tests/Integrations/MongoDB/Latest/composer.json b/tests/Integrations/MongoDB/Latest/composer.json index 14ff1e3bda..68f4e44c32 100644 --- a/tests/Integrations/MongoDB/Latest/composer.json +++ b/tests/Integrations/MongoDB/Latest/composer.json @@ -1,5 +1,5 @@ { "require": { - "mongodb/mongodb": "1.*" + "mongodb/mongodb": "1.20.0" } -} +} \ No newline at end of file diff --git a/tests/Integrations/OpenAI/Latest/composer.json b/tests/Integrations/OpenAI/Latest/composer.json index 6bbc027b03..1e8aff5f09 100644 --- a/tests/Integrations/OpenAI/Latest/composer.json +++ b/tests/Integrations/OpenAI/Latest/composer.json @@ -1,7 +1,7 @@ { "require": { - "openai-php/client": "@stable", + "openai-php/client": "0.10.3", "guzzlehttp/guzzle": "^7.8.1", "guzzlehttp/psr7": "^2.6.2" } -} +} \ No newline at end of file diff --git a/tests/Integrations/Predis/Latest/composer.json b/tests/Integrations/Predis/Latest/composer.json index 5b58b88b4d..776d2df256 100644 --- a/tests/Integrations/Predis/Latest/composer.json +++ b/tests/Integrations/Predis/Latest/composer.json @@ -1,5 +1,5 @@ { "require": { - "predis/predis": "^1.1" + "predis/predis": "2.3.0" } -} +} \ No newline at end of file diff --git a/tests/OpenTelemetry/Integration/InternalTelemetryTest.php b/tests/OpenTelemetry/Integration/InternalTelemetryTest.php index 9df322e544..c147629d1b 100644 --- a/tests/OpenTelemetry/Integration/InternalTelemetryTest.php +++ b/tests/OpenTelemetry/Integration/InternalTelemetryTest.php @@ -70,4 +70,4 @@ public function testInternalMetricWithOpenTelemetry() $this->assertEquals("spans_created", $allMetrics["spans_created"]["metric"]); $this->assertEquals(["integration_name:otel"], $allMetrics["spans_created"]["tags"]); } -} +} \ No newline at end of file diff --git a/tests/OpenTracing/InternalTelemetryTest.php b/tests/OpenTracing/InternalTelemetryTest.php index 9ff657148e..2a463f291e 100644 --- a/tests/OpenTracing/InternalTelemetryTest.php +++ b/tests/OpenTracing/InternalTelemetryTest.php @@ -58,4 +58,4 @@ public function testInternalMetricWithOpenTracing() $this->assertEquals("spans_created", $metrics['spans_created'][0]["metric"]); $this->assertEquals(["integration_name:opentracing"], $metrics['spans_created'][0]["tags"]); } -} +} \ No newline at end of file diff --git a/tests/update-latest-versions.php b/tests/update-latest-versions.php index 864a955b50..07c7d69a29 100644 --- a/tests/update-latest-versions.php +++ b/tests/update-latest-versions.php @@ -135,7 +135,7 @@ function getLatestComposerVersion($packageName) { foreach ($data['packages'][$packageName] as $package) { $currentVersion = $package['version_normalized'] ?? null; - if ($currentVersion && (is_null($latestVersion) || version_compare($currentVersion, $latestVersion, '>'))) { + if ($currentVersion && isStableVersion($currentVersion) && (is_null($latestVersion) || version_compare($currentVersion, $latestVersion, '>'))) { $latestVersion = $currentVersion; } } @@ -145,4 +145,8 @@ function getLatestComposerVersion($packageName) { } return ""; +} + +function isStableVersion($version) { + return !preg_match('/(alpha|beta|rc|dev)/i', $version); } \ No newline at end of file From fba243f335c1c60260e06943639fb8fe83869686 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Thu, 16 Jan 2025 11:28:06 +0100 Subject: [PATCH 12/65] Prettify script + summary --- .github/workflows/update_latest_versions.yml | 2 +- tests/PackageUpdater.php | 180 +++++++++++++++++++ tests/composer.json | 2 +- tests/update-latest-versions.php | 152 ---------------- 4 files changed, 182 insertions(+), 154 deletions(-) create mode 100644 tests/PackageUpdater.php delete mode 100644 tests/update-latest-versions.php diff --git a/.github/workflows/update_latest_versions.yml b/.github/workflows/update_latest_versions.yml index 02da990a74..8d4e683774 100644 --- a/.github/workflows/update_latest_versions.yml +++ b/.github/workflows/update_latest_versions.yml @@ -37,7 +37,7 @@ jobs: run: make composer_tests_update - name: Update Latest Versions - run: php tests/update-latest-versions.php + run: php tests/PackageUpdater.php - name: Show changes run: git diff diff --git a/tests/PackageUpdater.php b/tests/PackageUpdater.php new file mode 100644 index 0000000000..fe988dff2d --- /dev/null +++ b/tests/PackageUpdater.php @@ -0,0 +1,180 @@ +findTestFiles(); + foreach ($files as $file) { + $this->processFile($file); + } + $this->displaySummary(); + } catch (Throwable $e) { + echo "Fatal error: " . $e->getMessage() . "\n"; + exit(1); + } + } + + private function findTestFiles(): array + { + $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(self::INTEGRATIONS_DIR)); + $regex = new RegexIterator($iterator, '/^.+Test\.php$/i', RecursiveRegexIterator::GET_MATCH); + $files = array_map(fn($file) => $file[0], iterator_to_array($regex)); + sort($files); + return array_filter($files, fn($file) => basename(dirname($file)) === 'Latest'); + } + + private function processFile(string $file): void + { + echo "Processing: $file\n"; + + try { + // Get class info + $content = file_get_contents($file); + if (!preg_match('/namespace (.+);/', $content, $nsMatch) || + !preg_match('/class (.+) extends/', $content, $classMatch)) { + return; + } + + $className = "{$nsMatch[1]}\\{$classMatch[1]}"; + if (!class_exists($className)) { + require_once $file; + if (!class_exists($className)) return; + } + + // Find library and composer.json + $library = $this->findLibrary($className, $file); + if (!$library) return; + + $composer = $this->findComposerFile($className, $file); + if (!$composer) return; + + $this->updatePackageVersion($library, $composer); + } catch (Throwable $e) { + $this->errors[] = "Error processing $file: " . $e->getMessage(); + } + } + + private function findLibrary(string $className, string $file): ?string + { + if (method_exists($className, 'getTestedLibrary')) { + return call_user_func([$className, 'getTestedLibrary']); + } + + $composerFile = dirname($file) . '/composer.json'; + if (file_exists($composerFile)) { + $data = json_decode(file_get_contents($composerFile), true); + return key($data['require'] ?? []) ?: null; + } + + return null; + } + + private function findComposerFile(string $className, string $file): ?string + { + foreach (['getAppIndexScript', 'getConsoleScript'] as $method) { + if (method_exists($className, $method)) { + $dir = dirname(call_user_func([$className, $method])); + while (basename($dir) !== 'Frameworks') { + $possible = "$dir/composer.json"; + if (file_exists($possible)) { + return $possible; + } + $dir = dirname($dir); + } + } + } + + $composer = dirname($file) . '/composer.json'; + return file_exists($composer) ? $composer : null; + } + + private function updatePackageVersion(string $library, string $composerFile): void + { + $latestVersion = $this->getLatestVersion($library); + if (!$latestVersion) return; + + $composerData = json_decode(file_get_contents($composerFile), true); + $currentVersion = $composerData['require'][$library] ?? null; + + if ($latestVersion !== $currentVersion) { + $composerData['require'][$library] = $latestVersion; + file_put_contents($composerFile, json_encode($composerData, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)); + $this->updates[] = compact('library', 'currentVersion', 'latestVersion', 'composerFile'); + } + } + + private function getLatestVersion(string $library): ?string + { + $ch = curl_init(sprintf(self::PACKAGIST_API_URL, $library)); + curl_setopt_array($ch, [ + CURLOPT_RETURNTRANSFER => true, + CURLOPT_TIMEOUT => 10, + CURLOPT_FOLLOWLOCATION => true, + CURLOPT_SSL_VERIFYPEER => true, + CURLOPT_USERAGENT => 'Package-Updater/1.0' + ]); + + $response = curl_exec($ch); + curl_close($ch); + if (!$response) { + return null; + } + + $data = json_decode($response, true); + if (empty($data['packages'][$library])) { + return null; + } + + $versions = array_filter( + $data['packages'][$library], + fn($pkg) => isset($pkg['version_normalized']) && + !preg_match('/(alpha|beta|rc|dev)/i', $pkg['version_normalized']) + ); + if (empty($versions)) { + return null; + } + + usort($versions, fn($a, $b) => + version_compare($b['version_normalized'], $a['version_normalized']) + ); + + return preg_replace('/^(\d+\.\d+\.\d+).*$/', '$1', $versions[0]['version_normalized']); + } + + private function displaySummary(): void + { + if ($this->updates) { + echo "\nPackages updated:\n"; + foreach ($this->updates as $update) { + echo sprintf("- %s: %s → %s (%s)\n", + $update['library'], + $update['currentVersion'], + $update['latestVersion'], + $update['composerFile'] + ); + } + } + + if ($this->errors) { + echo "\nErrors encountered:\n"; + foreach ($this->errors as $error) { + echo "- $error\n"; + } + } + } +} + +(new PackageUpdater())->run(); \ No newline at end of file diff --git a/tests/composer.json b/tests/composer.json index f714b921d3..01ce8cca47 100644 --- a/tests/composer.json +++ b/tests/composer.json @@ -26,4 +26,4 @@ "cakephp/plugin-installer": true } } -} +} \ No newline at end of file diff --git a/tests/update-latest-versions.php b/tests/update-latest-versions.php deleted file mode 100644 index 07c7d69a29..0000000000 --- a/tests/update-latest-versions.php +++ /dev/null @@ -1,152 +0,0 @@ -getMessage() . "\n"; - } -} - -function getLatestComposerVersion($packageName) { - $packagistUrl = "https://repo.packagist.org/p2/{$packageName}.json"; - $ch = curl_init($packagistUrl); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); - curl_setopt($ch, CURLOPT_TIMEOUT, 10); - - $response = curl_exec($ch); - $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); - curl_close($ch); - - if ($httpCode !== 200 || !$response) { - echo "Error: Unable to fetch package information for {$packageName}.\n"; - return ""; - } - - $data = json_decode($response, true); - - if (!isset($data['packages'][$packageName])) { - echo "Error: Package {$packageName} not found on Packagist.\n"; - return ""; - } - - $latestVersion = null; - - foreach ($data['packages'][$packageName] as $package) { - $currentVersion = $package['version_normalized'] ?? null; - if ($currentVersion && isStableVersion($currentVersion) && (is_null($latestVersion) || version_compare($currentVersion, $latestVersion, '>'))) { - $latestVersion = $currentVersion; - } - } - - if ($latestVersion) { - return preg_replace('/^(\d+\.\d+\.\d+).*$/', '$1', $latestVersion); - } - - return ""; -} - -function isStableVersion($version) { - return !preg_match('/(alpha|beta|rc|dev)/i', $version); -} \ No newline at end of file From 32c4e6d7e8fb95e39b3a977b20a35cb17d575f51 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Thu, 16 Jan 2025 11:40:43 +0100 Subject: [PATCH 13/65] Check for Latest in basename --- tests/PackageUpdater.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PackageUpdater.php b/tests/PackageUpdater.php index fe988dff2d..d0c3ed9573 100644 --- a/tests/PackageUpdater.php +++ b/tests/PackageUpdater.php @@ -33,7 +33,7 @@ private function findTestFiles(): array $regex = new RegexIterator($iterator, '/^.+Test\.php$/i', RecursiveRegexIterator::GET_MATCH); $files = array_map(fn($file) => $file[0], iterator_to_array($regex)); sort($files); - return array_filter($files, fn($file) => basename(dirname($file)) === 'Latest'); + return array_filter($files, fn($file) => \str_contains(basename(dirname($file)), 'Latest')); } private function processFile(string $file): void From aa127df00c4f1febc509081d083675fd96f60d1a Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Thu, 16 Jan 2025 14:34:30 +0100 Subject: [PATCH 14/65] newline --- tests/Integrations/Logs/MonologLatest/composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integrations/Logs/MonologLatest/composer.json b/tests/Integrations/Logs/MonologLatest/composer.json index 5156e664e6..b866f6ef4e 100644 --- a/tests/Integrations/Logs/MonologLatest/composer.json +++ b/tests/Integrations/Logs/MonologLatest/composer.json @@ -2,4 +2,4 @@ "require": { "monolog/monolog": "~3.0" } -} +} \ No newline at end of file From 029a91f37e59b8f6fca4bb865f4cb1cfb58b8bf8 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Thu, 16 Jan 2025 17:01:21 +0100 Subject: [PATCH 15/65] Stup Nette & Laminas latests frameworks --- Makefile | 40 +++---- .../{Version_1_9 => Latest}/.dockerignore | 0 .../{Version_1_9 => Latest}/.gitattributes | 0 .../{Version_1_9 => Latest}/.gitignore | 0 .../{Version_1_9 => Latest}/.laminas-ci.json | 0 .../{Version_1_9 => Latest}/COPYRIGHT.md | 0 .../{Version_1_9 => Latest}/Dockerfile | 0 .../{Version_1_9 => Latest}/LICENSE.md | 0 .../{Version_1_9 => Latest}/README.md | 0 .../{Version_1_9 => Latest}/Vagrantfile | 0 .../{Version_1_9 => Latest}/composer.json | 4 +- .../config/application.config.php | 0 .../config/autoload/.gitignore | 0 .../config/autoload/README.md | 0 .../autoload/api-tools-config.global.php | 0 ...-tools-mvc-auth-oauth2-override.global.php | 0 .../config/autoload/global-development.php | 0 .../config/autoload/global.php | 0 .../config/autoload/local.php.dist | 0 .../config/autoload/user.global.php | 0 .../config/development.config.php.dist | 0 .../config/modules.config.php | 0 .../docker-compose.yml | 0 .../Application/config/module.config.php | 0 .../src/Controller/IndexController.php | 0 .../module/Application/src/Module.php | 0 .../test/Controller/IndexControllerTest.php | 0 .../ZZIndexControllerDevModeTest.php | 0 .../view/application/index/index.phtml | 0 .../module/Application/view/error/404.phtml | 0 .../module/Application/view/error/index.phtml | 0 .../Application/view/layout/layout.phtml | 0 .../module/DatadogApi/Module.php | 0 .../DatadogApi/config/module.config.php | 0 .../DatadogRestServiceCollection.php | 0 .../DatadogRestServiceEntity.php | 0 .../DatadogRestServiceResource.php | 0 .../DatadogRestServiceResourceFactory.php | 0 .../{Version_1_9 => Latest}/phpcs.xml.dist | 0 .../{Version_1_9 => Latest}/phpunit.xml.dist | 0 .../psalm-baseline.xml | 0 .../{Version_1_9 => Latest}/psalm.xml.dist | 0 .../{Version_1_9 => Latest}/public/.gitignore | 0 .../{Version_1_9 => Latest}/public/.htaccess | 0 .../public/img/ag-hero.png | Bin .../public/img/favicon.png | Bin .../{Version_1_9 => Latest}/public/index.php | 0 .../{Version_1_9 => Latest}/public/web.config | 0 .../src/ApiTools/constants.php | 0 .../Latest}/.gitattributes | 0 .../{Version_1_4 => Mvc/Latest}/.gitignore | 0 .../{Version_1_4 => Mvc/Latest}/CHANGELOG.md | 0 .../{Version_1_4 => Mvc/Latest}/COPYRIGHT.md | 0 .../{Version_2_0 => Mvc/Latest}/Dockerfile | 0 .../{Version_1_4 => Mvc/Latest}/LICENSE.md | 0 .../{Version_2_0 => Mvc/Latest}/README.md | 0 .../{Version_1_4 => Mvc/Latest}/Vagrantfile | 0 .../Latest}/bin/clear-config-cache.php | 0 .../Latest}/bin/update-gitignore.php | 0 .../{Version_2_0 => Mvc/Latest}/composer.json | 4 +- .../Latest}/config/application.config.php | 0 .../Latest}/config/autoload/.gitignore | 0 .../Latest}/config/autoload/README.md | 0 .../autoload/development.local.php.dist | 0 .../Latest}/config/autoload/global.php | 0 ...inas-developer-tools.local-development.php | 0 .../Latest}/config/autoload/local.php.dist | 0 .../Latest}/config/container.php | 0 .../config/development.config.php.dist | 0 .../Latest}/config/modules.config.php | 0 .../Latest}/data/cache/.gitkeep | 0 .../Latest}/docker-compose.yml | 0 .../Application/config/module.config.php | 0 .../src/Controller/CommonSpecsController.php | 0 .../src/Controller/IndexController.php | 0 .../Latest}/module/Application/src/Module.php | 0 .../test/Controller/IndexControllerTest.php | 0 .../view/application/common-specs/view.phtml | 0 .../view/application/index/index.phtml | 0 .../module/Application/view/error/404.phtml | 0 .../module/Application/view/error/index.phtml | 0 .../Application/view/layout/layout.phtml | 0 .../{Version_1_4 => Mvc/Latest}/phpcs.xml | 0 .../Latest}/phpunit.xml.dist | 0 .../{Version_1_4 => Mvc/Latest}/psalm.xml | 0 .../Latest}/public/.htaccess | 0 .../Latest}/public/css/bootstrap.css | 0 .../Latest}/public/css/bootstrap.css.map | 0 .../Latest}/public/css/bootstrap.min.css | 0 .../Latest}/public/css/bootstrap.min.css.map | 0 .../Latest}/public/css/style.css | 0 .../Latest}/public/img/favicon.ico | Bin .../Latest}/public/img/laminas-logo.svg | 0 .../Latest}/public/index.php | 0 .../Latest}/public/js/bootstrap.js | 0 .../Latest}/public/js/bootstrap.js.map | 0 .../Latest}/public/js/bootstrap.min.js | 0 .../Latest}/public/js/bootstrap.min.js.map | 0 .../Latest}/public/js/jquery-3.5.1.min.js | 0 .../Latest}/public/web.config | 0 .../{Version_2_0 => Mvc/Latest}/renovate.json | 0 .../Version_3_6}/.gitattributes | 0 .../Version_3_6}/.gitignore | 0 .../Version_3_6}/CHANGELOG.md | 0 .../Version_3_6}/COPYRIGHT.md | 0 .../Version_3_6}/Dockerfile | 0 .../Version_3_6}/LICENSE.md | 0 .../Version_3_6}/README.md | 0 .../Version_3_6}/Vagrantfile | 0 .../Version_3_6}/bin/update-gitignore.php | 0 .../Version_3_6}/composer.json | 2 +- .../config/application.config.php | 0 .../Version_3_6}/config/autoload/.gitignore | 0 .../Version_3_6}/config/autoload/README.md | 0 .../autoload/development.local.php.dist | 0 .../Version_3_6}/config/autoload/global.php | 0 ...inas-developer-tools.local-development.php | 0 .../config/autoload/local.php.dist | 0 .../config/development.config.php.dist | 0 .../Version_3_6}/config/modules.config.php | 0 .../Version_3_6}/data/cache/.gitkeep | 0 .../Version_3_6}/docker-compose.yml | 0 .../Application/config/module.config.php | 0 .../src/Controller/CommonSpecsController.php | 0 .../src/Controller/IndexController.php | 0 .../module/Application/src/Module.php | 0 .../test/Controller/IndexControllerTest.php | 0 .../view/application/common-specs/view.phtml | 0 .../view/application/index/index.phtml | 0 .../module/Application/view/error/404.phtml | 0 .../module/Application/view/error/index.phtml | 0 .../Application/view/layout/layout.phtml | 0 .../Version_3_6}/phpcs.xml | 0 .../Version_3_6}/phpunit.xml.dist | 0 .../Version_3_6}/psalm.xml | 0 .../Version_3_6}/public/.htaccess | 0 .../Version_3_6}/public/css/bootstrap.css | 0 .../Version_3_6}/public/css/bootstrap.css.map | 0 .../Version_3_6}/public/css/bootstrap.min.css | 0 .../public/css/bootstrap.min.css.map | 0 .../Version_3_6}/public/css/style.css | 0 .../Version_3_6/public/img/favicon.ico} | 0 .../Version_3_6}/public/img/laminas-logo.svg | 0 .../Version_3_6}/public/index.php | 0 .../Version_3_6}/public/js/bootstrap.js | 0 .../Version_3_6}/public/js/bootstrap.js.map | 0 .../Version_3_6}/public/js/bootstrap.min.js | 0 .../public/js/bootstrap.min.js.map | 0 .../public/js/jquery-3.5.1.min.js | 0 .../Version_3_6}/public/web.config | 0 .../Version_2_0/public/img/favicon.ico | Bin 15086 -> 0 bytes .../Nette/{Version_3_0 => Latest}/.gitignore | 0 .../{Version_3_0 => Latest}/app/Bootstrap.php | 0 .../app/Presenters/ErrorPresenter.php | 0 .../app/Presenters/HomepagePresenter.php | 0 .../app/Presenters/templates/@layout.latte | 0 .../app/Presenters/templates/Error/500.phtml | 0 .../templates/Homepage/default.latte | 0 .../templates/Homepage/simpleView.latte | 0 .../app/Router/RouterFactory.php | 0 .../app/config/common.neon | 0 .../{Version_3_0 => Latest}/composer.json | 2 +- .../{Version_3_0 => Latest}/log/.gitignore | 0 .../{Version_3_0 => Latest}/temp/.gitignore | 0 .../{Version_3_0 => Latest}/www/.htaccess | 0 .../{Version_3_0 => Latest}/www/index.php | 0 .../ApiTools/{V1_9 => Latest}/RESTTest.php | 11 +- .../Latest}/CommonScenariosTest.php | 13 ++- .../Laminas/Mvc/V3_6/CommonScenariosTest.php | 11 ++ .../Laminas/V1_4/CommonScenariosTest.php | 16 --- .../Logs/MonologLatest/composer.json | 2 +- .../Nette/{V3_0 => Latest}/NetteTest.php | 9 +- ....v1_9.rest_test.test_scenario_rest2xx.json | 98 +++++++++--------- ....v1_9.rest_test.test_scenario_rest4xx.json | 66 ++++++------ ....v1_9.rest_test.test_scenario_rest5xx.json | 66 ++++++------ ..._test.test_scenario_get_return_string.json | 40 +++---- ...st.test_scenario_get_to_missing_route.json | 50 ++++----- ...test.test_scenario_get_with_exception.json | 62 +++++------ ...rios_test.test_scenario_get_with_view.json | 56 +++++----- ..._test.test_scenario_get_return_string.json | 40 +++---- ...st.test_scenario_get_to_missing_route.json | 50 ++++----- ...test.test_scenario_get_with_exception.json | 62 +++++------ ...rios_test.test_scenario_get_with_view.json | 56 +++++----- 183 files changed, 384 insertions(+), 376 deletions(-) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/.dockerignore (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/.gitattributes (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/.gitignore (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/.laminas-ci.json (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/COPYRIGHT.md (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/Dockerfile (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/LICENSE.md (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/README.md (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/Vagrantfile (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/composer.json (98%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/config/application.config.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/config/autoload/.gitignore (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/config/autoload/README.md (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/config/autoload/api-tools-config.global.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/config/autoload/api-tools-mvc-auth-oauth2-override.global.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/config/autoload/global-development.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/config/autoload/global.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/config/autoload/local.php.dist (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/config/autoload/user.global.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/config/development.config.php.dist (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/config/modules.config.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/docker-compose.yml (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/Application/config/module.config.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/Application/src/Controller/IndexController.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/Application/src/Module.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/Application/test/Controller/IndexControllerTest.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/Application/test/Controller/ZZIndexControllerDevModeTest.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/Application/view/application/index/index.phtml (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/Application/view/error/404.phtml (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/Application/view/error/index.phtml (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/Application/view/layout/layout.phtml (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/DatadogApi/Module.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/DatadogApi/config/module.config.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceCollection.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceEntity.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResource.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResourceFactory.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/phpcs.xml.dist (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/phpunit.xml.dist (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/psalm-baseline.xml (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/psalm.xml.dist (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/public/.gitignore (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/public/.htaccess (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/public/img/ag-hero.png (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/public/img/favicon.png (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/public/index.php (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/public/web.config (100%) rename tests/Frameworks/Laminas/ApiTools/{Version_1_9 => Latest}/src/ApiTools/constants.php (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/.gitattributes (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/.gitignore (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/CHANGELOG.md (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/COPYRIGHT.md (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Latest}/Dockerfile (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/LICENSE.md (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Latest}/README.md (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/Vagrantfile (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Latest}/bin/clear-config-cache.php (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/bin/update-gitignore.php (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Latest}/composer.json (98%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/config/application.config.php (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/config/autoload/.gitignore (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/config/autoload/README.md (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/config/autoload/development.local.php.dist (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/config/autoload/global.php (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/config/autoload/laminas-developer-tools.local-development.php (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/config/autoload/local.php.dist (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Latest}/config/container.php (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/config/development.config.php.dist (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/config/modules.config.php (100%) rename tests/Frameworks/Laminas/{ApiTools/Version_1_9 => Mvc/Latest}/data/cache/.gitkeep (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Latest}/docker-compose.yml (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Latest}/module/Application/config/module.config.php (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/module/Application/src/Controller/CommonSpecsController.php (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/module/Application/src/Controller/IndexController.php (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/module/Application/src/Module.php (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/module/Application/test/Controller/IndexControllerTest.php (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/module/Application/view/application/common-specs/view.phtml (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/module/Application/view/application/index/index.phtml (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/module/Application/view/error/404.phtml (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/module/Application/view/error/index.phtml (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/module/Application/view/layout/layout.phtml (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/phpcs.xml (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Latest}/phpunit.xml.dist (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/psalm.xml (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/public/.htaccess (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/public/css/bootstrap.css (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/public/css/bootstrap.css.map (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/public/css/bootstrap.min.css (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/public/css/bootstrap.min.css.map (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/public/css/style.css (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/public/img/favicon.ico (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/public/img/laminas-logo.svg (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Latest}/public/index.php (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/public/js/bootstrap.js (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/public/js/bootstrap.js.map (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/public/js/bootstrap.min.js (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/public/js/bootstrap.min.js.map (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/public/js/jquery-3.5.1.min.js (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Latest}/public/web.config (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Latest}/renovate.json (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/.gitattributes (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/.gitignore (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/CHANGELOG.md (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/COPYRIGHT.md (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Version_3_6}/Dockerfile (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/LICENSE.md (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Version_3_6}/README.md (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/Vagrantfile (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/bin/update-gitignore.php (100%) mode change 100755 => 100644 rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Version_3_6}/composer.json (98%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/config/application.config.php (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/config/autoload/.gitignore (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/config/autoload/README.md (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/config/autoload/development.local.php.dist (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/config/autoload/global.php (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/config/autoload/laminas-developer-tools.local-development.php (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/config/autoload/local.php.dist (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/config/development.config.php.dist (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/config/modules.config.php (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Version_3_6}/data/cache/.gitkeep (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Version_3_6}/docker-compose.yml (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Version_3_6}/module/Application/config/module.config.php (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/module/Application/src/Controller/CommonSpecsController.php (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/module/Application/src/Controller/IndexController.php (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/module/Application/src/Module.php (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/module/Application/test/Controller/IndexControllerTest.php (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/module/Application/view/application/common-specs/view.phtml (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/module/Application/view/application/index/index.phtml (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/module/Application/view/error/404.phtml (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/module/Application/view/error/index.phtml (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/module/Application/view/layout/layout.phtml (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/phpcs.xml (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Version_3_6}/phpunit.xml.dist (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/psalm.xml (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/public/.htaccess (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/public/css/bootstrap.css (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/public/css/bootstrap.css.map (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/public/css/bootstrap.min.css (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/public/css/bootstrap.min.css.map (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/public/css/style.css (100%) rename tests/Frameworks/Laminas/{Version_2_0/data/cache/.gitkeep => Mvc/Version_3_6/public/img/favicon.ico} (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/public/img/laminas-logo.svg (100%) rename tests/Frameworks/Laminas/{Version_1_4 => Mvc/Version_3_6}/public/index.php (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/public/js/bootstrap.js (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/public/js/bootstrap.js.map (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/public/js/bootstrap.min.js (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/public/js/bootstrap.min.js.map (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/public/js/jquery-3.5.1.min.js (100%) rename tests/Frameworks/Laminas/{Version_2_0 => Mvc/Version_3_6}/public/web.config (100%) delete mode 100644 tests/Frameworks/Laminas/Version_2_0/public/img/favicon.ico rename tests/Frameworks/Nette/{Version_3_0 => Latest}/.gitignore (100%) rename tests/Frameworks/Nette/{Version_3_0 => Latest}/app/Bootstrap.php (100%) rename tests/Frameworks/Nette/{Version_3_0 => Latest}/app/Presenters/ErrorPresenter.php (100%) rename tests/Frameworks/Nette/{Version_3_0 => Latest}/app/Presenters/HomepagePresenter.php (100%) rename tests/Frameworks/Nette/{Version_3_0 => Latest}/app/Presenters/templates/@layout.latte (100%) rename tests/Frameworks/Nette/{Version_3_0 => Latest}/app/Presenters/templates/Error/500.phtml (100%) rename tests/Frameworks/Nette/{Version_3_0 => Latest}/app/Presenters/templates/Homepage/default.latte (100%) rename tests/Frameworks/Nette/{Version_3_0 => Latest}/app/Presenters/templates/Homepage/simpleView.latte (100%) rename tests/Frameworks/Nette/{Version_3_0 => Latest}/app/Router/RouterFactory.php (100%) rename tests/Frameworks/Nette/{Version_3_0 => Latest}/app/config/common.neon (100%) rename tests/Frameworks/Nette/{Version_3_0 => Latest}/composer.json (96%) rename tests/Frameworks/Nette/{Version_3_0 => Latest}/log/.gitignore (100%) rename tests/Frameworks/Nette/{Version_3_0 => Latest}/temp/.gitignore (100%) rename tests/Frameworks/Nette/{Version_3_0 => Latest}/www/.htaccess (100%) rename tests/Frameworks/Nette/{Version_3_0 => Latest}/www/index.php (100%) rename tests/Integrations/Laminas/ApiTools/{V1_9 => Latest}/RESTTest.php (87%) rename tests/Integrations/Laminas/{V2_0 => Mvc/Latest}/CommonScenariosTest.php (87%) create mode 100644 tests/Integrations/Laminas/Mvc/V3_6/CommonScenariosTest.php delete mode 100644 tests/Integrations/Laminas/V1_4/CommonScenariosTest.php rename tests/Integrations/Nette/{V3_0 => Latest}/NetteTest.php (97%) diff --git a/Makefile b/Makefile index 2cb521e38f..c995619ca1 100644 --- a/Makefile +++ b/Makefile @@ -620,7 +620,7 @@ TEST_WEB_71 := \ test_web_lumen_56 \ test_web_lumen_58 \ test_web_nette_24 \ - test_web_nette_30 \ + test_web_nette_latest \ test_web_slim_312 \ test_web_symfony_23 \ test_web_symfony_28 \ @@ -674,7 +674,7 @@ TEST_WEB_72 := \ test_web_lumen_56 \ test_web_lumen_58 \ test_web_nette_24 \ - test_web_nette_30 \ + test_web_nette_latest \ test_web_slim_312 \ test_web_slim_latest \ test_web_symfony_23 \ @@ -726,7 +726,7 @@ TEST_WEB_73 := \ test_web_codeigniter_22 \ test_web_codeigniter_31 \ test_web_drupal_89 \ - test_web_laminas_14 \ + test_web_laminas_36 \ test_web_laravel_57 \ test_web_laravel_58 \ test_web_laravel_8x \ @@ -736,7 +736,7 @@ TEST_WEB_73 := \ test_web_lumen_81 \ test_web_magento_23 \ test_web_nette_24 \ - test_web_nette_30 \ + test_web_nette_latest \ test_web_slim_312 \ test_web_slim_latest \ test_web_symfony_34 \ @@ -789,7 +789,7 @@ TEST_WEB_74 := \ test_web_codeigniter_31 \ test_web_drupal_89 \ test_web_drupal_95 \ - test_web_laminas_14 \ + test_web_laminas_36 \ test_web_laravel_57 \ test_web_laravel_58 \ test_web_laravel_8x \ @@ -799,7 +799,7 @@ TEST_WEB_74 := \ test_web_lumen_81 \ test_web_magento_23 \ test_web_nette_24 \ - test_web_nette_30 \ + test_web_nette_latest \ test_web_slim_312 \ test_web_slim_latest \ test_web_symfony_34 \ @@ -853,14 +853,14 @@ TEST_WEB_80 := \ test_web_codeigniter_31 \ test_web_drupal_95 \ test_web_laminas_rest_19 \ - test_web_laminas_14 \ - test_web_laminas_20 \ + test_web_laminas_36 \ + test_web_laminas_latest \ test_web_laravel_8x \ test_web_laravel_9x \ test_web_lumen_81 \ test_web_lumen_90 \ test_web_nette_24 \ - test_web_nette_30 \ + test_web_nette_latest \ test_web_slim_312 \ test_web_slim_latest \ test_web_symfony_44 \ @@ -909,7 +909,7 @@ TEST_WEB_81 := \ test_web_drupal_95 \ test_web_drupal_101 \ test_web_laminas_rest_19 \ - test_web_laminas_20 \ + test_web_laminas_latest \ test_web_laravel_8x \ test_web_laravel_9x \ test_web_laravel_10x \ @@ -917,7 +917,7 @@ TEST_WEB_81 := \ test_web_lumen_90 \ test_web_magento_24 \ test_web_nette_24 \ - test_web_nette_30 \ + test_web_nette_latest \ test_web_slim_312 \ test_web_slim_latest \ test_web_symfony_52 \ @@ -967,7 +967,7 @@ TEST_WEB_82 := \ test_web_drupal_95 \ test_web_drupal_101 \ test_web_laminas_rest_19 \ - test_web_laminas_20 \ + test_web_laminas_latest \ test_web_laravel_8x \ test_web_laravel_9x \ test_web_laravel_10x \ @@ -978,7 +978,7 @@ TEST_WEB_82 := \ test_web_lumen_100 \ test_web_magento_24 \ test_web_nette_24 \ - test_web_nette_30 \ + test_web_nette_latest \ test_web_slim_312 \ test_web_slim_latest \ test_web_symfony_52 \ @@ -1037,7 +1037,7 @@ TEST_WEB_83 := \ test_web_lumen_90 \ test_web_lumen_100 \ test_web_nette_24 \ - test_web_nette_30 \ + test_web_nette_latest \ test_web_slim_312 \ test_web_slim_latest \ test_web_symfony_52 \ @@ -1317,10 +1317,10 @@ test_web_drupal_101: global_test_run_dependencies tests/Frameworks/Drupal/Versio $(call run_tests_debug,tests/Integrations/Drupal/V10_1) test_web_laminas_rest_19: global_test_run_dependencies tests/Frameworks/Laminas/ApiTools/Version_1_9/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/Laminas/ApiTools/V1_9) -test_web_laminas_14: global_test_run_dependencies tests/Frameworks/Laminas/Version_1_4/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,tests/Integrations/Laminas/V1_4) -test_web_laminas_20: global_test_run_dependencies tests/Frameworks/Laminas/Version_2_0/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,tests/Integrations/Laminas/V2_0) +test_web_laminas_36: global_test_run_dependencies tests/Frameworks/Laminas/Mvc/Version_3_6/composer.lock-php$(PHP_MAJOR_MINOR) + $(call run_tests_debug,tests/Integrations/Laminas/Mvc/V3_6) +test_web_laminas_latest: global_test_run_dependencies tests/Frameworks/Laminas/Mvc/Latest/composer.lock-php$(PHP_MAJOR_MINOR) + $(call run_tests_debug,tests/Integrations/Laminas/Mvc/Latest) test_web_laravel_42: global_test_run_dependencies tests/Frameworks/Laravel/Version_4_2/composer.lock-php$(PHP_MAJOR_MINOR) php tests/Frameworks/Laravel/Version_4_2/artisan optimize $(call run_tests_debug,tests/Integrations/Laravel/V4) @@ -1411,8 +1411,8 @@ test_web_magento_24: global_test_run_dependencies tests/Frameworks/Magento/Versi $(call run_tests_debug,tests/Integrations/Magento/V2_4) test_web_nette_24: global_test_run_dependencies tests/Frameworks/Nette/Version_2_4/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/Nette/V2_4) -test_web_nette_30: global_test_run_dependencies tests/Frameworks/Nette/Version_3_0/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,tests/Integrations/Nette/V3_0) +test_web_nette_latest: global_test_run_dependencies tests/Frameworks/Nette/Latest/composer.lock-php$(PHP_MAJOR_MINOR) + $(call run_tests_debug,tests/Integrations/Nette/Latest) test_web_zend_1: global_test_run_dependencies $(call run_tests_debug,tests/Integrations/ZendFramework/V1) test_web_zend_1_21: global_test_run_dependencies diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/.dockerignore b/tests/Frameworks/Laminas/ApiTools/Latest/.dockerignore similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/.dockerignore rename to tests/Frameworks/Laminas/ApiTools/Latest/.dockerignore diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/.gitattributes b/tests/Frameworks/Laminas/ApiTools/Latest/.gitattributes similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/.gitattributes rename to tests/Frameworks/Laminas/ApiTools/Latest/.gitattributes diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/.gitignore b/tests/Frameworks/Laminas/ApiTools/Latest/.gitignore similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/.gitignore rename to tests/Frameworks/Laminas/ApiTools/Latest/.gitignore diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/.laminas-ci.json b/tests/Frameworks/Laminas/ApiTools/Latest/.laminas-ci.json similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/.laminas-ci.json rename to tests/Frameworks/Laminas/ApiTools/Latest/.laminas-ci.json diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/COPYRIGHT.md b/tests/Frameworks/Laminas/ApiTools/Latest/COPYRIGHT.md similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/COPYRIGHT.md rename to tests/Frameworks/Laminas/ApiTools/Latest/COPYRIGHT.md diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/Dockerfile b/tests/Frameworks/Laminas/ApiTools/Latest/Dockerfile similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/Dockerfile rename to tests/Frameworks/Laminas/ApiTools/Latest/Dockerfile diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/LICENSE.md b/tests/Frameworks/Laminas/ApiTools/Latest/LICENSE.md similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/LICENSE.md rename to tests/Frameworks/Laminas/ApiTools/Latest/LICENSE.md diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/README.md b/tests/Frameworks/Laminas/ApiTools/Latest/README.md similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/README.md rename to tests/Frameworks/Laminas/ApiTools/Latest/README.md diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/Vagrantfile b/tests/Frameworks/Laminas/ApiTools/Latest/Vagrantfile similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/Vagrantfile rename to tests/Frameworks/Laminas/ApiTools/Latest/Vagrantfile diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/composer.json b/tests/Frameworks/Laminas/ApiTools/Latest/composer.json similarity index 98% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/composer.json rename to tests/Frameworks/Laminas/ApiTools/Latest/composer.json index 87ea7326bc..c6be091b55 100644 --- a/tests/Frameworks/Laminas/ApiTools/Version_1_9/composer.json +++ b/tests/Frameworks/Laminas/ApiTools/Latest/composer.json @@ -29,7 +29,7 @@ }, "require": { "php": "~8.0.0 || ~8.1.0 || ~8.2.0", - "laminas-api-tools/api-tools": "^1.7", + "laminas-api-tools/api-tools": "1.7.0", "laminas-api-tools/api-tools-content-negotiation": "^1.8", "laminas-api-tools/api-tools-documentation": "^1.6", "laminas-api-tools/api-tools-rest": "^1.8", @@ -90,4 +90,4 @@ "serve": "php -S 0.0.0.0:8080 -t public/ public/index.php", "test": "phpunit" } -} +} \ No newline at end of file diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/config/application.config.php b/tests/Frameworks/Laminas/ApiTools/Latest/config/application.config.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/config/application.config.php rename to tests/Frameworks/Laminas/ApiTools/Latest/config/application.config.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/.gitignore b/tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/.gitignore similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/.gitignore rename to tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/.gitignore diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/README.md b/tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/README.md similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/README.md rename to tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/README.md diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/api-tools-config.global.php b/tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/api-tools-config.global.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/api-tools-config.global.php rename to tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/api-tools-config.global.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/api-tools-mvc-auth-oauth2-override.global.php b/tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/api-tools-mvc-auth-oauth2-override.global.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/api-tools-mvc-auth-oauth2-override.global.php rename to tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/api-tools-mvc-auth-oauth2-override.global.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/global-development.php b/tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/global-development.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/global-development.php rename to tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/global-development.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/global.php b/tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/global.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/global.php rename to tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/global.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/local.php.dist b/tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/local.php.dist similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/local.php.dist rename to tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/local.php.dist diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/user.global.php b/tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/user.global.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/config/autoload/user.global.php rename to tests/Frameworks/Laminas/ApiTools/Latest/config/autoload/user.global.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/config/development.config.php.dist b/tests/Frameworks/Laminas/ApiTools/Latest/config/development.config.php.dist similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/config/development.config.php.dist rename to tests/Frameworks/Laminas/ApiTools/Latest/config/development.config.php.dist diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/config/modules.config.php b/tests/Frameworks/Laminas/ApiTools/Latest/config/modules.config.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/config/modules.config.php rename to tests/Frameworks/Laminas/ApiTools/Latest/config/modules.config.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/docker-compose.yml b/tests/Frameworks/Laminas/ApiTools/Latest/docker-compose.yml similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/docker-compose.yml rename to tests/Frameworks/Laminas/ApiTools/Latest/docker-compose.yml diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/config/module.config.php b/tests/Frameworks/Laminas/ApiTools/Latest/module/Application/config/module.config.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/config/module.config.php rename to tests/Frameworks/Laminas/ApiTools/Latest/module/Application/config/module.config.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/src/Controller/IndexController.php b/tests/Frameworks/Laminas/ApiTools/Latest/module/Application/src/Controller/IndexController.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/src/Controller/IndexController.php rename to tests/Frameworks/Laminas/ApiTools/Latest/module/Application/src/Controller/IndexController.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/src/Module.php b/tests/Frameworks/Laminas/ApiTools/Latest/module/Application/src/Module.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/src/Module.php rename to tests/Frameworks/Laminas/ApiTools/Latest/module/Application/src/Module.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/test/Controller/IndexControllerTest.php b/tests/Frameworks/Laminas/ApiTools/Latest/module/Application/test/Controller/IndexControllerTest.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/test/Controller/IndexControllerTest.php rename to tests/Frameworks/Laminas/ApiTools/Latest/module/Application/test/Controller/IndexControllerTest.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/test/Controller/ZZIndexControllerDevModeTest.php b/tests/Frameworks/Laminas/ApiTools/Latest/module/Application/test/Controller/ZZIndexControllerDevModeTest.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/test/Controller/ZZIndexControllerDevModeTest.php rename to tests/Frameworks/Laminas/ApiTools/Latest/module/Application/test/Controller/ZZIndexControllerDevModeTest.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/view/application/index/index.phtml b/tests/Frameworks/Laminas/ApiTools/Latest/module/Application/view/application/index/index.phtml similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/view/application/index/index.phtml rename to tests/Frameworks/Laminas/ApiTools/Latest/module/Application/view/application/index/index.phtml diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/view/error/404.phtml b/tests/Frameworks/Laminas/ApiTools/Latest/module/Application/view/error/404.phtml similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/view/error/404.phtml rename to tests/Frameworks/Laminas/ApiTools/Latest/module/Application/view/error/404.phtml diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/view/error/index.phtml b/tests/Frameworks/Laminas/ApiTools/Latest/module/Application/view/error/index.phtml similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/view/error/index.phtml rename to tests/Frameworks/Laminas/ApiTools/Latest/module/Application/view/error/index.phtml diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/view/layout/layout.phtml b/tests/Frameworks/Laminas/ApiTools/Latest/module/Application/view/layout/layout.phtml similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/Application/view/layout/layout.phtml rename to tests/Frameworks/Laminas/ApiTools/Latest/module/Application/view/layout/layout.phtml diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/Module.php b/tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/Module.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/Module.php rename to tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/Module.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/config/module.config.php b/tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/config/module.config.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/config/module.config.php rename to tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/config/module.config.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceCollection.php b/tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceCollection.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceCollection.php rename to tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceCollection.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceEntity.php b/tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceEntity.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceEntity.php rename to tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceEntity.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResource.php b/tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResource.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResource.php rename to tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResource.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResourceFactory.php b/tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResourceFactory.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResourceFactory.php rename to tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResourceFactory.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/phpcs.xml.dist b/tests/Frameworks/Laminas/ApiTools/Latest/phpcs.xml.dist similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/phpcs.xml.dist rename to tests/Frameworks/Laminas/ApiTools/Latest/phpcs.xml.dist diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/phpunit.xml.dist b/tests/Frameworks/Laminas/ApiTools/Latest/phpunit.xml.dist similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/phpunit.xml.dist rename to tests/Frameworks/Laminas/ApiTools/Latest/phpunit.xml.dist diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/psalm-baseline.xml b/tests/Frameworks/Laminas/ApiTools/Latest/psalm-baseline.xml similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/psalm-baseline.xml rename to tests/Frameworks/Laminas/ApiTools/Latest/psalm-baseline.xml diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/psalm.xml.dist b/tests/Frameworks/Laminas/ApiTools/Latest/psalm.xml.dist similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/psalm.xml.dist rename to tests/Frameworks/Laminas/ApiTools/Latest/psalm.xml.dist diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/public/.gitignore b/tests/Frameworks/Laminas/ApiTools/Latest/public/.gitignore similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/public/.gitignore rename to tests/Frameworks/Laminas/ApiTools/Latest/public/.gitignore diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/public/.htaccess b/tests/Frameworks/Laminas/ApiTools/Latest/public/.htaccess similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/public/.htaccess rename to tests/Frameworks/Laminas/ApiTools/Latest/public/.htaccess diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/public/img/ag-hero.png b/tests/Frameworks/Laminas/ApiTools/Latest/public/img/ag-hero.png similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/public/img/ag-hero.png rename to tests/Frameworks/Laminas/ApiTools/Latest/public/img/ag-hero.png diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/public/img/favicon.png b/tests/Frameworks/Laminas/ApiTools/Latest/public/img/favicon.png similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/public/img/favicon.png rename to tests/Frameworks/Laminas/ApiTools/Latest/public/img/favicon.png diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/public/index.php b/tests/Frameworks/Laminas/ApiTools/Latest/public/index.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/public/index.php rename to tests/Frameworks/Laminas/ApiTools/Latest/public/index.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/public/web.config b/tests/Frameworks/Laminas/ApiTools/Latest/public/web.config similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/public/web.config rename to tests/Frameworks/Laminas/ApiTools/Latest/public/web.config diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/src/ApiTools/constants.php b/tests/Frameworks/Laminas/ApiTools/Latest/src/ApiTools/constants.php similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/src/ApiTools/constants.php rename to tests/Frameworks/Laminas/ApiTools/Latest/src/ApiTools/constants.php diff --git a/tests/Frameworks/Laminas/Version_1_4/.gitattributes b/tests/Frameworks/Laminas/Mvc/Latest/.gitattributes similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/.gitattributes rename to tests/Frameworks/Laminas/Mvc/Latest/.gitattributes diff --git a/tests/Frameworks/Laminas/Version_1_4/.gitignore b/tests/Frameworks/Laminas/Mvc/Latest/.gitignore similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/.gitignore rename to tests/Frameworks/Laminas/Mvc/Latest/.gitignore diff --git a/tests/Frameworks/Laminas/Version_1_4/CHANGELOG.md b/tests/Frameworks/Laminas/Mvc/Latest/CHANGELOG.md similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/CHANGELOG.md rename to tests/Frameworks/Laminas/Mvc/Latest/CHANGELOG.md diff --git a/tests/Frameworks/Laminas/Version_1_4/COPYRIGHT.md b/tests/Frameworks/Laminas/Mvc/Latest/COPYRIGHT.md similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/COPYRIGHT.md rename to tests/Frameworks/Laminas/Mvc/Latest/COPYRIGHT.md diff --git a/tests/Frameworks/Laminas/Version_2_0/Dockerfile b/tests/Frameworks/Laminas/Mvc/Latest/Dockerfile similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/Dockerfile rename to tests/Frameworks/Laminas/Mvc/Latest/Dockerfile diff --git a/tests/Frameworks/Laminas/Version_1_4/LICENSE.md b/tests/Frameworks/Laminas/Mvc/Latest/LICENSE.md similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/LICENSE.md rename to tests/Frameworks/Laminas/Mvc/Latest/LICENSE.md diff --git a/tests/Frameworks/Laminas/Version_2_0/README.md b/tests/Frameworks/Laminas/Mvc/Latest/README.md similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/README.md rename to tests/Frameworks/Laminas/Mvc/Latest/README.md diff --git a/tests/Frameworks/Laminas/Version_1_4/Vagrantfile b/tests/Frameworks/Laminas/Mvc/Latest/Vagrantfile similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/Vagrantfile rename to tests/Frameworks/Laminas/Mvc/Latest/Vagrantfile diff --git a/tests/Frameworks/Laminas/Version_2_0/bin/clear-config-cache.php b/tests/Frameworks/Laminas/Mvc/Latest/bin/clear-config-cache.php similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/bin/clear-config-cache.php rename to tests/Frameworks/Laminas/Mvc/Latest/bin/clear-config-cache.php diff --git a/tests/Frameworks/Laminas/Version_1_4/bin/update-gitignore.php b/tests/Frameworks/Laminas/Mvc/Latest/bin/update-gitignore.php similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/bin/update-gitignore.php rename to tests/Frameworks/Laminas/Mvc/Latest/bin/update-gitignore.php diff --git a/tests/Frameworks/Laminas/Version_2_0/composer.json b/tests/Frameworks/Laminas/Mvc/Latest/composer.json similarity index 98% rename from tests/Frameworks/Laminas/Version_2_0/composer.json rename to tests/Frameworks/Laminas/Mvc/Latest/composer.json index ade7a1850d..84dfde3942 100644 --- a/tests/Frameworks/Laminas/Version_2_0/composer.json +++ b/tests/Frameworks/Laminas/Mvc/Latest/composer.json @@ -14,7 +14,7 @@ "laminas/laminas-component-installer": "^3.2", "laminas/laminas-development-mode": "^3.10", "laminas/laminas-skeleton-installer": "^1.2", - "laminas/laminas-mvc": "^3.6.0" + "laminas/laminas-mvc": "3.8.0" }, "autoload": { "psr-4": { @@ -64,4 +64,4 @@ "laminas/laminas-skeleton-installer": true } } -} +} \ No newline at end of file diff --git a/tests/Frameworks/Laminas/Version_1_4/config/application.config.php b/tests/Frameworks/Laminas/Mvc/Latest/config/application.config.php similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/config/application.config.php rename to tests/Frameworks/Laminas/Mvc/Latest/config/application.config.php diff --git a/tests/Frameworks/Laminas/Version_1_4/config/autoload/.gitignore b/tests/Frameworks/Laminas/Mvc/Latest/config/autoload/.gitignore similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/config/autoload/.gitignore rename to tests/Frameworks/Laminas/Mvc/Latest/config/autoload/.gitignore diff --git a/tests/Frameworks/Laminas/Version_1_4/config/autoload/README.md b/tests/Frameworks/Laminas/Mvc/Latest/config/autoload/README.md similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/config/autoload/README.md rename to tests/Frameworks/Laminas/Mvc/Latest/config/autoload/README.md diff --git a/tests/Frameworks/Laminas/Version_1_4/config/autoload/development.local.php.dist b/tests/Frameworks/Laminas/Mvc/Latest/config/autoload/development.local.php.dist similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/config/autoload/development.local.php.dist rename to tests/Frameworks/Laminas/Mvc/Latest/config/autoload/development.local.php.dist diff --git a/tests/Frameworks/Laminas/Version_1_4/config/autoload/global.php b/tests/Frameworks/Laminas/Mvc/Latest/config/autoload/global.php similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/config/autoload/global.php rename to tests/Frameworks/Laminas/Mvc/Latest/config/autoload/global.php diff --git a/tests/Frameworks/Laminas/Version_1_4/config/autoload/laminas-developer-tools.local-development.php b/tests/Frameworks/Laminas/Mvc/Latest/config/autoload/laminas-developer-tools.local-development.php similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/config/autoload/laminas-developer-tools.local-development.php rename to tests/Frameworks/Laminas/Mvc/Latest/config/autoload/laminas-developer-tools.local-development.php diff --git a/tests/Frameworks/Laminas/Version_1_4/config/autoload/local.php.dist b/tests/Frameworks/Laminas/Mvc/Latest/config/autoload/local.php.dist similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/config/autoload/local.php.dist rename to tests/Frameworks/Laminas/Mvc/Latest/config/autoload/local.php.dist diff --git a/tests/Frameworks/Laminas/Version_2_0/config/container.php b/tests/Frameworks/Laminas/Mvc/Latest/config/container.php similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/config/container.php rename to tests/Frameworks/Laminas/Mvc/Latest/config/container.php diff --git a/tests/Frameworks/Laminas/Version_1_4/config/development.config.php.dist b/tests/Frameworks/Laminas/Mvc/Latest/config/development.config.php.dist similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/config/development.config.php.dist rename to tests/Frameworks/Laminas/Mvc/Latest/config/development.config.php.dist diff --git a/tests/Frameworks/Laminas/Version_1_4/config/modules.config.php b/tests/Frameworks/Laminas/Mvc/Latest/config/modules.config.php similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/config/modules.config.php rename to tests/Frameworks/Laminas/Mvc/Latest/config/modules.config.php diff --git a/tests/Frameworks/Laminas/ApiTools/Version_1_9/data/cache/.gitkeep b/tests/Frameworks/Laminas/Mvc/Latest/data/cache/.gitkeep similarity index 100% rename from tests/Frameworks/Laminas/ApiTools/Version_1_9/data/cache/.gitkeep rename to tests/Frameworks/Laminas/Mvc/Latest/data/cache/.gitkeep diff --git a/tests/Frameworks/Laminas/Version_2_0/docker-compose.yml b/tests/Frameworks/Laminas/Mvc/Latest/docker-compose.yml similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/docker-compose.yml rename to tests/Frameworks/Laminas/Mvc/Latest/docker-compose.yml diff --git a/tests/Frameworks/Laminas/Version_2_0/module/Application/config/module.config.php b/tests/Frameworks/Laminas/Mvc/Latest/module/Application/config/module.config.php similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/module/Application/config/module.config.php rename to tests/Frameworks/Laminas/Mvc/Latest/module/Application/config/module.config.php diff --git a/tests/Frameworks/Laminas/Version_1_4/module/Application/src/Controller/CommonSpecsController.php b/tests/Frameworks/Laminas/Mvc/Latest/module/Application/src/Controller/CommonSpecsController.php similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/module/Application/src/Controller/CommonSpecsController.php rename to tests/Frameworks/Laminas/Mvc/Latest/module/Application/src/Controller/CommonSpecsController.php diff --git a/tests/Frameworks/Laminas/Version_1_4/module/Application/src/Controller/IndexController.php b/tests/Frameworks/Laminas/Mvc/Latest/module/Application/src/Controller/IndexController.php similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/module/Application/src/Controller/IndexController.php rename to tests/Frameworks/Laminas/Mvc/Latest/module/Application/src/Controller/IndexController.php diff --git a/tests/Frameworks/Laminas/Version_1_4/module/Application/src/Module.php b/tests/Frameworks/Laminas/Mvc/Latest/module/Application/src/Module.php similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/module/Application/src/Module.php rename to tests/Frameworks/Laminas/Mvc/Latest/module/Application/src/Module.php diff --git a/tests/Frameworks/Laminas/Version_1_4/module/Application/test/Controller/IndexControllerTest.php b/tests/Frameworks/Laminas/Mvc/Latest/module/Application/test/Controller/IndexControllerTest.php similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/module/Application/test/Controller/IndexControllerTest.php rename to tests/Frameworks/Laminas/Mvc/Latest/module/Application/test/Controller/IndexControllerTest.php diff --git a/tests/Frameworks/Laminas/Version_1_4/module/Application/view/application/common-specs/view.phtml b/tests/Frameworks/Laminas/Mvc/Latest/module/Application/view/application/common-specs/view.phtml similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/module/Application/view/application/common-specs/view.phtml rename to tests/Frameworks/Laminas/Mvc/Latest/module/Application/view/application/common-specs/view.phtml diff --git a/tests/Frameworks/Laminas/Version_1_4/module/Application/view/application/index/index.phtml b/tests/Frameworks/Laminas/Mvc/Latest/module/Application/view/application/index/index.phtml similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/module/Application/view/application/index/index.phtml rename to tests/Frameworks/Laminas/Mvc/Latest/module/Application/view/application/index/index.phtml diff --git a/tests/Frameworks/Laminas/Version_1_4/module/Application/view/error/404.phtml b/tests/Frameworks/Laminas/Mvc/Latest/module/Application/view/error/404.phtml similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/module/Application/view/error/404.phtml rename to tests/Frameworks/Laminas/Mvc/Latest/module/Application/view/error/404.phtml diff --git a/tests/Frameworks/Laminas/Version_1_4/module/Application/view/error/index.phtml b/tests/Frameworks/Laminas/Mvc/Latest/module/Application/view/error/index.phtml similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/module/Application/view/error/index.phtml rename to tests/Frameworks/Laminas/Mvc/Latest/module/Application/view/error/index.phtml diff --git a/tests/Frameworks/Laminas/Version_1_4/module/Application/view/layout/layout.phtml b/tests/Frameworks/Laminas/Mvc/Latest/module/Application/view/layout/layout.phtml similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/module/Application/view/layout/layout.phtml rename to tests/Frameworks/Laminas/Mvc/Latest/module/Application/view/layout/layout.phtml diff --git a/tests/Frameworks/Laminas/Version_1_4/phpcs.xml b/tests/Frameworks/Laminas/Mvc/Latest/phpcs.xml similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/phpcs.xml rename to tests/Frameworks/Laminas/Mvc/Latest/phpcs.xml diff --git a/tests/Frameworks/Laminas/Version_2_0/phpunit.xml.dist b/tests/Frameworks/Laminas/Mvc/Latest/phpunit.xml.dist similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/phpunit.xml.dist rename to tests/Frameworks/Laminas/Mvc/Latest/phpunit.xml.dist diff --git a/tests/Frameworks/Laminas/Version_1_4/psalm.xml b/tests/Frameworks/Laminas/Mvc/Latest/psalm.xml similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/psalm.xml rename to tests/Frameworks/Laminas/Mvc/Latest/psalm.xml diff --git a/tests/Frameworks/Laminas/Version_1_4/public/.htaccess b/tests/Frameworks/Laminas/Mvc/Latest/public/.htaccess similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/.htaccess rename to tests/Frameworks/Laminas/Mvc/Latest/public/.htaccess diff --git a/tests/Frameworks/Laminas/Version_1_4/public/css/bootstrap.css b/tests/Frameworks/Laminas/Mvc/Latest/public/css/bootstrap.css similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/css/bootstrap.css rename to tests/Frameworks/Laminas/Mvc/Latest/public/css/bootstrap.css diff --git a/tests/Frameworks/Laminas/Version_1_4/public/css/bootstrap.css.map b/tests/Frameworks/Laminas/Mvc/Latest/public/css/bootstrap.css.map similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/css/bootstrap.css.map rename to tests/Frameworks/Laminas/Mvc/Latest/public/css/bootstrap.css.map diff --git a/tests/Frameworks/Laminas/Version_1_4/public/css/bootstrap.min.css b/tests/Frameworks/Laminas/Mvc/Latest/public/css/bootstrap.min.css similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/css/bootstrap.min.css rename to tests/Frameworks/Laminas/Mvc/Latest/public/css/bootstrap.min.css diff --git a/tests/Frameworks/Laminas/Version_1_4/public/css/bootstrap.min.css.map b/tests/Frameworks/Laminas/Mvc/Latest/public/css/bootstrap.min.css.map similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/css/bootstrap.min.css.map rename to tests/Frameworks/Laminas/Mvc/Latest/public/css/bootstrap.min.css.map diff --git a/tests/Frameworks/Laminas/Version_1_4/public/css/style.css b/tests/Frameworks/Laminas/Mvc/Latest/public/css/style.css similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/css/style.css rename to tests/Frameworks/Laminas/Mvc/Latest/public/css/style.css diff --git a/tests/Frameworks/Laminas/Version_1_4/public/img/favicon.ico b/tests/Frameworks/Laminas/Mvc/Latest/public/img/favicon.ico similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/img/favicon.ico rename to tests/Frameworks/Laminas/Mvc/Latest/public/img/favicon.ico diff --git a/tests/Frameworks/Laminas/Version_1_4/public/img/laminas-logo.svg b/tests/Frameworks/Laminas/Mvc/Latest/public/img/laminas-logo.svg similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/img/laminas-logo.svg rename to tests/Frameworks/Laminas/Mvc/Latest/public/img/laminas-logo.svg diff --git a/tests/Frameworks/Laminas/Version_2_0/public/index.php b/tests/Frameworks/Laminas/Mvc/Latest/public/index.php similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/public/index.php rename to tests/Frameworks/Laminas/Mvc/Latest/public/index.php diff --git a/tests/Frameworks/Laminas/Version_1_4/public/js/bootstrap.js b/tests/Frameworks/Laminas/Mvc/Latest/public/js/bootstrap.js similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/js/bootstrap.js rename to tests/Frameworks/Laminas/Mvc/Latest/public/js/bootstrap.js diff --git a/tests/Frameworks/Laminas/Version_1_4/public/js/bootstrap.js.map b/tests/Frameworks/Laminas/Mvc/Latest/public/js/bootstrap.js.map similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/js/bootstrap.js.map rename to tests/Frameworks/Laminas/Mvc/Latest/public/js/bootstrap.js.map diff --git a/tests/Frameworks/Laminas/Version_1_4/public/js/bootstrap.min.js b/tests/Frameworks/Laminas/Mvc/Latest/public/js/bootstrap.min.js similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/js/bootstrap.min.js rename to tests/Frameworks/Laminas/Mvc/Latest/public/js/bootstrap.min.js diff --git a/tests/Frameworks/Laminas/Version_1_4/public/js/bootstrap.min.js.map b/tests/Frameworks/Laminas/Mvc/Latest/public/js/bootstrap.min.js.map similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/js/bootstrap.min.js.map rename to tests/Frameworks/Laminas/Mvc/Latest/public/js/bootstrap.min.js.map diff --git a/tests/Frameworks/Laminas/Version_1_4/public/js/jquery-3.5.1.min.js b/tests/Frameworks/Laminas/Mvc/Latest/public/js/jquery-3.5.1.min.js similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/js/jquery-3.5.1.min.js rename to tests/Frameworks/Laminas/Mvc/Latest/public/js/jquery-3.5.1.min.js diff --git a/tests/Frameworks/Laminas/Version_1_4/public/web.config b/tests/Frameworks/Laminas/Mvc/Latest/public/web.config similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/web.config rename to tests/Frameworks/Laminas/Mvc/Latest/public/web.config diff --git a/tests/Frameworks/Laminas/Version_2_0/renovate.json b/tests/Frameworks/Laminas/Mvc/Latest/renovate.json similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/renovate.json rename to tests/Frameworks/Laminas/Mvc/Latest/renovate.json diff --git a/tests/Frameworks/Laminas/Version_2_0/.gitattributes b/tests/Frameworks/Laminas/Mvc/Version_3_6/.gitattributes similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/.gitattributes rename to tests/Frameworks/Laminas/Mvc/Version_3_6/.gitattributes diff --git a/tests/Frameworks/Laminas/Version_2_0/.gitignore b/tests/Frameworks/Laminas/Mvc/Version_3_6/.gitignore similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/.gitignore rename to tests/Frameworks/Laminas/Mvc/Version_3_6/.gitignore diff --git a/tests/Frameworks/Laminas/Version_2_0/CHANGELOG.md b/tests/Frameworks/Laminas/Mvc/Version_3_6/CHANGELOG.md similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/CHANGELOG.md rename to tests/Frameworks/Laminas/Mvc/Version_3_6/CHANGELOG.md diff --git a/tests/Frameworks/Laminas/Version_2_0/COPYRIGHT.md b/tests/Frameworks/Laminas/Mvc/Version_3_6/COPYRIGHT.md similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/COPYRIGHT.md rename to tests/Frameworks/Laminas/Mvc/Version_3_6/COPYRIGHT.md diff --git a/tests/Frameworks/Laminas/Version_1_4/Dockerfile b/tests/Frameworks/Laminas/Mvc/Version_3_6/Dockerfile similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/Dockerfile rename to tests/Frameworks/Laminas/Mvc/Version_3_6/Dockerfile diff --git a/tests/Frameworks/Laminas/Version_2_0/LICENSE.md b/tests/Frameworks/Laminas/Mvc/Version_3_6/LICENSE.md similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/LICENSE.md rename to tests/Frameworks/Laminas/Mvc/Version_3_6/LICENSE.md diff --git a/tests/Frameworks/Laminas/Version_1_4/README.md b/tests/Frameworks/Laminas/Mvc/Version_3_6/README.md similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/README.md rename to tests/Frameworks/Laminas/Mvc/Version_3_6/README.md diff --git a/tests/Frameworks/Laminas/Version_2_0/Vagrantfile b/tests/Frameworks/Laminas/Mvc/Version_3_6/Vagrantfile similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/Vagrantfile rename to tests/Frameworks/Laminas/Mvc/Version_3_6/Vagrantfile diff --git a/tests/Frameworks/Laminas/Version_2_0/bin/update-gitignore.php b/tests/Frameworks/Laminas/Mvc/Version_3_6/bin/update-gitignore.php old mode 100755 new mode 100644 similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/bin/update-gitignore.php rename to tests/Frameworks/Laminas/Mvc/Version_3_6/bin/update-gitignore.php diff --git a/tests/Frameworks/Laminas/Version_1_4/composer.json b/tests/Frameworks/Laminas/Mvc/Version_3_6/composer.json similarity index 98% rename from tests/Frameworks/Laminas/Version_1_4/composer.json rename to tests/Frameworks/Laminas/Mvc/Version_3_6/composer.json index 320adfda43..f4e28ec4e3 100644 --- a/tests/Frameworks/Laminas/Version_1_4/composer.json +++ b/tests/Frameworks/Laminas/Mvc/Version_3_6/composer.json @@ -13,7 +13,7 @@ "php": "^7.3 || ~8.0.0", "laminas/laminas-component-installer": "^2.4", "laminas/laminas-development-mode": "^3.2", - "laminas/laminas-mvc": "^3.1.1" + "laminas/laminas-mvc": "3.6.1" }, "autoload": { "psr-4": { diff --git a/tests/Frameworks/Laminas/Version_2_0/config/application.config.php b/tests/Frameworks/Laminas/Mvc/Version_3_6/config/application.config.php similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/config/application.config.php rename to tests/Frameworks/Laminas/Mvc/Version_3_6/config/application.config.php diff --git a/tests/Frameworks/Laminas/Version_2_0/config/autoload/.gitignore b/tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/.gitignore similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/config/autoload/.gitignore rename to tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/.gitignore diff --git a/tests/Frameworks/Laminas/Version_2_0/config/autoload/README.md b/tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/README.md similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/config/autoload/README.md rename to tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/README.md diff --git a/tests/Frameworks/Laminas/Version_2_0/config/autoload/development.local.php.dist b/tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/development.local.php.dist similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/config/autoload/development.local.php.dist rename to tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/development.local.php.dist diff --git a/tests/Frameworks/Laminas/Version_2_0/config/autoload/global.php b/tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/global.php similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/config/autoload/global.php rename to tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/global.php diff --git a/tests/Frameworks/Laminas/Version_2_0/config/autoload/laminas-developer-tools.local-development.php b/tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/laminas-developer-tools.local-development.php similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/config/autoload/laminas-developer-tools.local-development.php rename to tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/laminas-developer-tools.local-development.php diff --git a/tests/Frameworks/Laminas/Version_2_0/config/autoload/local.php.dist b/tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/local.php.dist similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/config/autoload/local.php.dist rename to tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/local.php.dist diff --git a/tests/Frameworks/Laminas/Version_2_0/config/development.config.php.dist b/tests/Frameworks/Laminas/Mvc/Version_3_6/config/development.config.php.dist similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/config/development.config.php.dist rename to tests/Frameworks/Laminas/Mvc/Version_3_6/config/development.config.php.dist diff --git a/tests/Frameworks/Laminas/Version_2_0/config/modules.config.php b/tests/Frameworks/Laminas/Mvc/Version_3_6/config/modules.config.php similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/config/modules.config.php rename to tests/Frameworks/Laminas/Mvc/Version_3_6/config/modules.config.php diff --git a/tests/Frameworks/Laminas/Version_1_4/data/cache/.gitkeep b/tests/Frameworks/Laminas/Mvc/Version_3_6/data/cache/.gitkeep similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/data/cache/.gitkeep rename to tests/Frameworks/Laminas/Mvc/Version_3_6/data/cache/.gitkeep diff --git a/tests/Frameworks/Laminas/Version_1_4/docker-compose.yml b/tests/Frameworks/Laminas/Mvc/Version_3_6/docker-compose.yml similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/docker-compose.yml rename to tests/Frameworks/Laminas/Mvc/Version_3_6/docker-compose.yml diff --git a/tests/Frameworks/Laminas/Version_1_4/module/Application/config/module.config.php b/tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/config/module.config.php similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/module/Application/config/module.config.php rename to tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/config/module.config.php diff --git a/tests/Frameworks/Laminas/Version_2_0/module/Application/src/Controller/CommonSpecsController.php b/tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/src/Controller/CommonSpecsController.php similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/module/Application/src/Controller/CommonSpecsController.php rename to tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/src/Controller/CommonSpecsController.php diff --git a/tests/Frameworks/Laminas/Version_2_0/module/Application/src/Controller/IndexController.php b/tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/src/Controller/IndexController.php similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/module/Application/src/Controller/IndexController.php rename to tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/src/Controller/IndexController.php diff --git a/tests/Frameworks/Laminas/Version_2_0/module/Application/src/Module.php b/tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/src/Module.php similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/module/Application/src/Module.php rename to tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/src/Module.php diff --git a/tests/Frameworks/Laminas/Version_2_0/module/Application/test/Controller/IndexControllerTest.php b/tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/test/Controller/IndexControllerTest.php similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/module/Application/test/Controller/IndexControllerTest.php rename to tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/test/Controller/IndexControllerTest.php diff --git a/tests/Frameworks/Laminas/Version_2_0/module/Application/view/application/common-specs/view.phtml b/tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/application/common-specs/view.phtml similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/module/Application/view/application/common-specs/view.phtml rename to tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/application/common-specs/view.phtml diff --git a/tests/Frameworks/Laminas/Version_2_0/module/Application/view/application/index/index.phtml b/tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/application/index/index.phtml similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/module/Application/view/application/index/index.phtml rename to tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/application/index/index.phtml diff --git a/tests/Frameworks/Laminas/Version_2_0/module/Application/view/error/404.phtml b/tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/error/404.phtml similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/module/Application/view/error/404.phtml rename to tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/error/404.phtml diff --git a/tests/Frameworks/Laminas/Version_2_0/module/Application/view/error/index.phtml b/tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/error/index.phtml similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/module/Application/view/error/index.phtml rename to tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/error/index.phtml diff --git a/tests/Frameworks/Laminas/Version_2_0/module/Application/view/layout/layout.phtml b/tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/layout/layout.phtml similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/module/Application/view/layout/layout.phtml rename to tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/layout/layout.phtml diff --git a/tests/Frameworks/Laminas/Version_2_0/phpcs.xml b/tests/Frameworks/Laminas/Mvc/Version_3_6/phpcs.xml similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/phpcs.xml rename to tests/Frameworks/Laminas/Mvc/Version_3_6/phpcs.xml diff --git a/tests/Frameworks/Laminas/Version_1_4/phpunit.xml.dist b/tests/Frameworks/Laminas/Mvc/Version_3_6/phpunit.xml.dist similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/phpunit.xml.dist rename to tests/Frameworks/Laminas/Mvc/Version_3_6/phpunit.xml.dist diff --git a/tests/Frameworks/Laminas/Version_2_0/psalm.xml b/tests/Frameworks/Laminas/Mvc/Version_3_6/psalm.xml similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/psalm.xml rename to tests/Frameworks/Laminas/Mvc/Version_3_6/psalm.xml diff --git a/tests/Frameworks/Laminas/Version_2_0/public/.htaccess b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/.htaccess similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/public/.htaccess rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/.htaccess diff --git a/tests/Frameworks/Laminas/Version_2_0/public/css/bootstrap.css b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/bootstrap.css similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/public/css/bootstrap.css rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/bootstrap.css diff --git a/tests/Frameworks/Laminas/Version_2_0/public/css/bootstrap.css.map b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/bootstrap.css.map similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/public/css/bootstrap.css.map rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/bootstrap.css.map diff --git a/tests/Frameworks/Laminas/Version_2_0/public/css/bootstrap.min.css b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/bootstrap.min.css similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/public/css/bootstrap.min.css rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/bootstrap.min.css diff --git a/tests/Frameworks/Laminas/Version_2_0/public/css/bootstrap.min.css.map b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/bootstrap.min.css.map similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/public/css/bootstrap.min.css.map rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/bootstrap.min.css.map diff --git a/tests/Frameworks/Laminas/Version_2_0/public/css/style.css b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/style.css similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/public/css/style.css rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/style.css diff --git a/tests/Frameworks/Laminas/Version_2_0/data/cache/.gitkeep b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/img/favicon.ico similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/data/cache/.gitkeep rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/img/favicon.ico diff --git a/tests/Frameworks/Laminas/Version_2_0/public/img/laminas-logo.svg b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/img/laminas-logo.svg similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/public/img/laminas-logo.svg rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/img/laminas-logo.svg diff --git a/tests/Frameworks/Laminas/Version_1_4/public/index.php b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php similarity index 100% rename from tests/Frameworks/Laminas/Version_1_4/public/index.php rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php diff --git a/tests/Frameworks/Laminas/Version_2_0/public/js/bootstrap.js b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/bootstrap.js similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/public/js/bootstrap.js rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/bootstrap.js diff --git a/tests/Frameworks/Laminas/Version_2_0/public/js/bootstrap.js.map b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/bootstrap.js.map similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/public/js/bootstrap.js.map rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/bootstrap.js.map diff --git a/tests/Frameworks/Laminas/Version_2_0/public/js/bootstrap.min.js b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/bootstrap.min.js similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/public/js/bootstrap.min.js rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/bootstrap.min.js diff --git a/tests/Frameworks/Laminas/Version_2_0/public/js/bootstrap.min.js.map b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/bootstrap.min.js.map similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/public/js/bootstrap.min.js.map rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/bootstrap.min.js.map diff --git a/tests/Frameworks/Laminas/Version_2_0/public/js/jquery-3.5.1.min.js b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/jquery-3.5.1.min.js similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/public/js/jquery-3.5.1.min.js rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/jquery-3.5.1.min.js diff --git a/tests/Frameworks/Laminas/Version_2_0/public/web.config b/tests/Frameworks/Laminas/Mvc/Version_3_6/public/web.config similarity index 100% rename from tests/Frameworks/Laminas/Version_2_0/public/web.config rename to tests/Frameworks/Laminas/Mvc/Version_3_6/public/web.config diff --git a/tests/Frameworks/Laminas/Version_2_0/public/img/favicon.ico b/tests/Frameworks/Laminas/Version_2_0/public/img/favicon.ico deleted file mode 100644 index f629ead87d4fb85e5f68006e243e66a67da48c7c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15086 zcmeI332YQq7{{lj<-S2w&ZLFhExbB5Jra8bXi~ zqY)&=81D<>ff$ceqDF!Qq8wFGt5z+wrQ`3vJF}V2%yxHYyN!uE$&dHm_rBxx?aZ6^ zzFiC>%V=f{8Ddc88N2%$MuA}%d3jd5qhTCF){#>E3v&!(JqrEN!Niygl83MSNRjzB zGXt3!$jm@y1~M~{=nTvpnbi^o0&kjNmuxK`ErNLnZbjUi;0%-m@iJqSk%jG}@FPqO z;v*FsVru**d;sl&_`+_pMvN~}m!#_|4U4uBpE(Dr` zokcv;L3{+YA!aZ57Aj#(5I@*m4b^Z6&I{rrs15OQU@vI?mIm>IT~9ayf5NyRK2otE z=2Fo3_ZE%J%1zc6cAA4dmXBr0+NY{d+%cg0NB2?BApWph0-A#tAn7>>64SOJURU@6 z^c+vN<;j%TT?v1{QRtnFZK}G&(>`DaX#Um&@rRw}Kx>%h;MyQQQn4ZCJka>{K5OOY z3wdwQJbU(P#k@O^ZwL8U>t~-%88HWg-l5u0^mE5T)*N=juQ0*guQu|zpz*&At^IV; zB_m!t&^}IknPPXG;)1Mf&cnBb{yH<-l{G@!jVa3wg-u ze~Qv`UO{#td;@>O1V10?lo4|=X#6iib9XFc*FZJ+o>!1JgJ(fLmb>lK-6rNJ_#KWx zA9p-t&hyGxcfZ=`ECP-HCGgCFpG{-Qh}RiDgBqCT_KQsS*z=(A-Q(_88+ifz2FD>! zvZlOg|&%o?h7+|e%*#M|%^zT(UmWB-r`ewM$JV8PHfa3&pp7kWijsKROYR57za>aa>;{4U ze$B(6AU;yDA?8{*2X_VWgI#M-Zcfi}pxjcBxV8;3^)8+Yf%0%Owb@j`Vl5o4Oq@+;&btNIIEDV=sVYDn&KW(cljg+O)vMk(RS{f-gmqp65 z;|Ig?GX6B#yGzZSBc)^2zU;+|d5SqEQ(C+FHwoQC@FwFth4xWDp6XA0=^Ds0GSGJW_O0XjST ze%Ijig^t#XqtIyiK745%_#C#lVs%3{AEM_{>N%i%<;#%k)K8_3uWfJ;qQB3gJ`BoX zhSN9gW#F50bm}Ej$DeXAiWU8R6?NqY%b?zOD744GPjFo_F&fgv*8n&L^>XdBx5EK& z&WpYS*Y^&MxfUx2qVE)U6+3d}wC8~4UNYIS;HwYlzP{IK zOZyQx1YK-7^>%O&w%M{&OMK;mo@+hd{BMZJMSVJGUPjw8m9)2j){Rb1c`9{$EeEY{ zy=*_!^FZ^m$d;+3T?AS;M>yrF)bTYQw7yTV{ZQAMr+5EQTc(nBKIpx1r&FFv9bZ~= z^?vis=R19)(-QRF+yimJ+HFT`rotQZGlO|$$R z)2!MDb*5QKYNg5yd83$Sf2Lb$i9CqrDWa<@!vEmKGu7VxT+!BEU3>dN{JuiYy5O>{0M}PMnmM{I@MQ0toPd7q-yfL8DAGH6G zO%Dj?KPVT&^$FPP9XT56omFUG42`yTj5m%%`Xjke= 7.1", - "nette/application": "~3.0.0", + "nette/application": "3.2.6", "nette/bootstrap": "~3.0.0", "nette/caching": "~3.0.0", "nette/database": "~3.0.0", diff --git a/tests/Frameworks/Nette/Version_3_0/log/.gitignore b/tests/Frameworks/Nette/Latest/log/.gitignore similarity index 100% rename from tests/Frameworks/Nette/Version_3_0/log/.gitignore rename to tests/Frameworks/Nette/Latest/log/.gitignore diff --git a/tests/Frameworks/Nette/Version_3_0/temp/.gitignore b/tests/Frameworks/Nette/Latest/temp/.gitignore similarity index 100% rename from tests/Frameworks/Nette/Version_3_0/temp/.gitignore rename to tests/Frameworks/Nette/Latest/temp/.gitignore diff --git a/tests/Frameworks/Nette/Version_3_0/www/.htaccess b/tests/Frameworks/Nette/Latest/www/.htaccess similarity index 100% rename from tests/Frameworks/Nette/Version_3_0/www/.htaccess rename to tests/Frameworks/Nette/Latest/www/.htaccess diff --git a/tests/Frameworks/Nette/Version_3_0/www/index.php b/tests/Frameworks/Nette/Latest/www/index.php similarity index 100% rename from tests/Frameworks/Nette/Version_3_0/www/index.php rename to tests/Frameworks/Nette/Latest/www/index.php diff --git a/tests/Integrations/Laminas/ApiTools/V1_9/RESTTest.php b/tests/Integrations/Laminas/ApiTools/Latest/RESTTest.php similarity index 87% rename from tests/Integrations/Laminas/ApiTools/V1_9/RESTTest.php rename to tests/Integrations/Laminas/ApiTools/Latest/RESTTest.php index d3a04d2770..b8ffe5278f 100644 --- a/tests/Integrations/Laminas/ApiTools/V1_9/RESTTest.php +++ b/tests/Integrations/Laminas/ApiTools/Latest/RESTTest.php @@ -1,6 +1,6 @@ 'test_laminas_rest_19']); + return array_merge(parent::getEnvs(), ['DD_SERVICE' => 'test_laminas_rest_latest']); + } + + public static function getTestedLibrary() + { + return 'laminas-api-tools/api-tools'; } public function testScenarioRest4xx() diff --git a/tests/Integrations/Laminas/V2_0/CommonScenariosTest.php b/tests/Integrations/Laminas/Mvc/Latest/CommonScenariosTest.php similarity index 87% rename from tests/Integrations/Laminas/V2_0/CommonScenariosTest.php rename to tests/Integrations/Laminas/Mvc/Latest/CommonScenariosTest.php index 26083fd6b3..31bd22b31e 100644 --- a/tests/Integrations/Laminas/V2_0/CommonScenariosTest.php +++ b/tests/Integrations/Laminas/Mvc/Latest/CommonScenariosTest.php @@ -1,9 +1,7 @@ 'test_laminas_20']); + return array_merge(parent::getEnvs(), ['DD_SERVICE' => 'test_laminas']); + } + + public static function getTestedLibrary() + { + return 'laminas/laminas-mvc'; } public function testScenarioGetReturnString() diff --git a/tests/Integrations/Laminas/Mvc/V3_6/CommonScenariosTest.php b/tests/Integrations/Laminas/Mvc/V3_6/CommonScenariosTest.php new file mode 100644 index 0000000000..87c608035a --- /dev/null +++ b/tests/Integrations/Laminas/Mvc/V3_6/CommonScenariosTest.php @@ -0,0 +1,11 @@ + Date: Fri, 17 Jan 2025 08:51:03 +0100 Subject: [PATCH 16/65] Setup Yii latest framework --- Makefile | 20 +++++++++--------- .../Yii/{Version_2_0 => Latest}/.bowerrc | 0 .../Yii/{Version_2_0 => Latest}/.gitignore | 0 .../Yii/{Version_2_0 => Latest}/LICENSE.md | 0 .../Yii/{Version_2_0 => Latest}/README.md | 0 .../Yii/{Version_2_0 => Latest}/Vagrantfile | 0 .../assets/AppAsset.php | 0 .../{Version_2_0 => Latest}/codeception.yml | 0 .../commands/HelloController.php | 0 .../Yii/{Version_2_0 => Latest}/composer.json | 0 .../config/console.php | 0 .../Yii/{Version_2_0 => Latest}/config/db.php | 0 .../{Version_2_0 => Latest}/config/params.php | 0 .../{Version_2_0 => Latest}/config/test.php | 0 .../config/test_db.php | 0 .../{Version_2_0 => Latest}/config/web.php | 0 .../controllers/HomesController.php | 0 .../controllers/SimpleController.php | 0 .../controllers/SiteController.php | 0 .../docker-compose.yml | 0 .../mail/layouts/html.php | 0 .../models/ContactForm.php | 0 .../models/LoginForm.php | 0 .../{Version_2_0 => Latest}/models/User.php | 0 .../modules/forum/Module.php | 0 .../forum/controllers/ModuleController.php | 0 .../{Version_2_0 => Latest}/requirements.php | 0 .../runtime/.gitignore | 0 .../tests/_bootstrap.php | 0 .../tests/_data/.gitkeep | 0 .../tests/_output/.gitignore | 0 .../tests/_support/AcceptanceTester.php | 0 .../tests/_support/FunctionalTester.php | 0 .../tests/_support/UnitTester.php | 0 .../tests/acceptance.suite.yml.example | 0 .../tests/acceptance/AboutCest.php | 0 .../tests/acceptance/ContactCest.php | 0 .../tests/acceptance/HomeCest.php | 0 .../tests/acceptance/LoginCest.php | 0 .../tests/acceptance/_bootstrap.php | 0 .../Yii/{Version_2_0 => Latest}/tests/bin/yii | 0 .../{Version_2_0 => Latest}/tests/bin/yii.bat | 0 .../tests/functional.suite.yml | 0 .../tests/functional/ContactFormCest.php | 0 .../tests/functional/LoginFormCest.php | 0 .../tests/functional/_bootstrap.php | 0 .../tests/unit.suite.yml | 0 .../tests/unit/_bootstrap.php | 0 .../tests/unit/models/ContactFormTest.php | 0 .../tests/unit/models/LoginFormTest.php | 0 .../tests/unit/models/UserTest.php | 0 .../vagrant/config/.gitignore | 0 .../vagrant/config/vagrant-local.example.yml | 0 .../vagrant/nginx/app.conf | 0 .../vagrant/nginx/log/.gitignore | 0 .../vagrant/provision/always-as-root.sh | 0 .../vagrant/provision/once-as-root.sh | 0 .../vagrant/provision/once-as-vagrant.sh | 0 .../views/layouts/main.php | 0 .../views/simple/index.php | 0 .../views/site/about.php | 0 .../views/site/contact.php | 0 .../views/site/error.php | 0 .../views/site/index.php | 0 .../views/site/login.php | 0 .../Yii/{Version_2_0 => Latest}/web/.htaccess | 0 .../web/assets/.gitignore | 0 .../{Version_2_0 => Latest}/web/css/site.css | 0 .../{Version_2_0 => Latest}/web/favicon.ico | Bin .../web/index-test.php | 0 .../Yii/{Version_2_0 => Latest}/web/index.php | 0 .../{Version_2_0 => Latest}/web/robots.txt | 0 .../{Version_2_0 => Latest}/widgets/Alert.php | 0 .../Yii/{Version_2_0 => Latest}/yii | 0 .../Yii/{Version_2_0 => Latest}/yii.bat | 0 .../{V2_0 => Latest}/CommonScenariosTest.php | 4 ++-- .../Yii/{V2_0 => Latest}/ModuleTest.php | 4 ++-- .../ParameterizedRouteTest.php | 4 ++-- .../Yii/{V2_0 => Latest}/YiiDetailsTest.php | 4 ++-- 79 files changed, 18 insertions(+), 18 deletions(-) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/.bowerrc (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/.gitignore (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/LICENSE.md (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/README.md (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/Vagrantfile (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/assets/AppAsset.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/codeception.yml (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/commands/HelloController.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/composer.json (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/config/console.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/config/db.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/config/params.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/config/test.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/config/test_db.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/config/web.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/controllers/HomesController.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/controllers/SimpleController.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/controllers/SiteController.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/docker-compose.yml (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/mail/layouts/html.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/models/ContactForm.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/models/LoginForm.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/models/User.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/modules/forum/Module.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/modules/forum/controllers/ModuleController.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/requirements.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/runtime/.gitignore (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/_bootstrap.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/_data/.gitkeep (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/_output/.gitignore (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/_support/AcceptanceTester.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/_support/FunctionalTester.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/_support/UnitTester.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/acceptance.suite.yml.example (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/acceptance/AboutCest.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/acceptance/ContactCest.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/acceptance/HomeCest.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/acceptance/LoginCest.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/acceptance/_bootstrap.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/bin/yii (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/bin/yii.bat (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/functional.suite.yml (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/functional/ContactFormCest.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/functional/LoginFormCest.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/functional/_bootstrap.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/unit.suite.yml (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/unit/_bootstrap.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/unit/models/ContactFormTest.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/unit/models/LoginFormTest.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/tests/unit/models/UserTest.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/vagrant/config/.gitignore (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/vagrant/config/vagrant-local.example.yml (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/vagrant/nginx/app.conf (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/vagrant/nginx/log/.gitignore (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/vagrant/provision/always-as-root.sh (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/vagrant/provision/once-as-root.sh (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/vagrant/provision/once-as-vagrant.sh (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/views/layouts/main.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/views/simple/index.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/views/site/about.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/views/site/contact.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/views/site/error.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/views/site/index.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/views/site/login.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/web/.htaccess (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/web/assets/.gitignore (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/web/css/site.css (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/web/favicon.ico (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/web/index-test.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/web/index.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/web/robots.txt (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/widgets/Alert.php (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/yii (100%) rename tests/Frameworks/Yii/{Version_2_0 => Latest}/yii.bat (100%) rename tests/Integrations/Yii/{V2_0 => Latest}/CommonScenariosTest.php (98%) rename tests/Integrations/Yii/{V2_0 => Latest}/ModuleTest.php (95%) rename tests/Integrations/Yii/{V2_0 => Latest}/ParameterizedRouteTest.php (95%) rename tests/Integrations/Yii/{V2_0 => Latest}/YiiDetailsTest.php (95%) diff --git a/Makefile b/Makefile index c995619ca1..d52b582382 100644 --- a/Makefile +++ b/Makefile @@ -577,7 +577,7 @@ TEST_WEB_70 := \ test_web_symfony_30 \ test_web_symfony_33 \ test_web_symfony_34 \ - test_web_yii_2 \ + test_web_yii_latest \ test_web_wordpress_48 \ test_web_wordpress_55 \ test_web_wordpress_61 \ @@ -629,7 +629,7 @@ TEST_WEB_71 := \ test_web_symfony_34 \ test_web_symfony_40 \ test_web_symfony_42 \ - test_web_yii_2 \ + test_web_yii_latest \ test_web_wordpress_48 \ test_web_wordpress_55 \ test_web_wordpress_61 \ @@ -691,7 +691,7 @@ TEST_WEB_72 := \ test_web_wordpress_48 \ test_web_wordpress_55 \ test_web_wordpress_61 \ - test_web_yii_2 \ + test_web_yii_latest \ test_web_zend_1 \ test_web_custom @@ -749,7 +749,7 @@ TEST_WEB_73 := \ test_web_wordpress_48 \ test_web_wordpress_55 \ test_web_wordpress_61 \ - test_web_yii_2 \ + test_web_yii_latest \ test_web_zend_1 \ test_web_custom @@ -812,7 +812,7 @@ TEST_WEB_74 := \ test_web_wordpress_55 \ test_web_wordpress_59 \ test_web_wordpress_61 \ - test_web_yii_2 \ + test_web_yii_latest \ test_web_zend_1 \ test_web_custom @@ -868,7 +868,7 @@ TEST_WEB_80 := \ test_web_symfony_52 \ test_web_wordpress_59 \ test_web_wordpress_61 \ - test_web_yii_2 \ + test_web_yii_latest \ test_web_zend_1_21 \ test_web_custom @@ -925,7 +925,7 @@ TEST_WEB_81 := \ test_web_wordpress_61 \ test_web_custom \ test_web_zend_1_21 -# test_web_yii_2 \ +# test_web_yii_latest \ TEST_INTEGRATIONS_82 := \ test_integrations_amqp2 \ @@ -988,7 +988,7 @@ TEST_WEB_82 := \ test_web_wordpress_61 \ test_web_custom \ test_web_zend_1_21 -# test_web_yii_2 \ +# test_web_yii_latest \ TEST_INTEGRATIONS_83 := \ test_integrations_amqp2 \ @@ -1403,8 +1403,8 @@ test_web_wordpress_59: global_test_run_dependencies $(call run_tests_debug,tests/Integrations/WordPress/V5_9) test_web_wordpress_61: global_test_run_dependencies $(call run_tests_debug,tests/Integrations/WordPress/V6_1) -test_web_yii_2: global_test_run_dependencies tests/Frameworks/Yii/Version_2_0/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,tests/Integrations/Yii/V2_0) +test_web_yii_latest: global_test_run_dependencies tests/Frameworks/Yii/Latest/composer.lock-php$(PHP_MAJOR_MINOR) + $(call run_tests_debug,tests/Integrations/Yii/Latest) test_web_magento_23: global_test_run_dependencies tests/Frameworks/Magento/Version_2_3/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/Magento/V2_3) test_web_magento_24: global_test_run_dependencies tests/Frameworks/Magento/Version_2_4/composer.lock-php$(PHP_MAJOR_MINOR) diff --git a/tests/Frameworks/Yii/Version_2_0/.bowerrc b/tests/Frameworks/Yii/Latest/.bowerrc similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/.bowerrc rename to tests/Frameworks/Yii/Latest/.bowerrc diff --git a/tests/Frameworks/Yii/Version_2_0/.gitignore b/tests/Frameworks/Yii/Latest/.gitignore similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/.gitignore rename to tests/Frameworks/Yii/Latest/.gitignore diff --git a/tests/Frameworks/Yii/Version_2_0/LICENSE.md b/tests/Frameworks/Yii/Latest/LICENSE.md similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/LICENSE.md rename to tests/Frameworks/Yii/Latest/LICENSE.md diff --git a/tests/Frameworks/Yii/Version_2_0/README.md b/tests/Frameworks/Yii/Latest/README.md similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/README.md rename to tests/Frameworks/Yii/Latest/README.md diff --git a/tests/Frameworks/Yii/Version_2_0/Vagrantfile b/tests/Frameworks/Yii/Latest/Vagrantfile similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/Vagrantfile rename to tests/Frameworks/Yii/Latest/Vagrantfile diff --git a/tests/Frameworks/Yii/Version_2_0/assets/AppAsset.php b/tests/Frameworks/Yii/Latest/assets/AppAsset.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/assets/AppAsset.php rename to tests/Frameworks/Yii/Latest/assets/AppAsset.php diff --git a/tests/Frameworks/Yii/Version_2_0/codeception.yml b/tests/Frameworks/Yii/Latest/codeception.yml similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/codeception.yml rename to tests/Frameworks/Yii/Latest/codeception.yml diff --git a/tests/Frameworks/Yii/Version_2_0/commands/HelloController.php b/tests/Frameworks/Yii/Latest/commands/HelloController.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/commands/HelloController.php rename to tests/Frameworks/Yii/Latest/commands/HelloController.php diff --git a/tests/Frameworks/Yii/Version_2_0/composer.json b/tests/Frameworks/Yii/Latest/composer.json similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/composer.json rename to tests/Frameworks/Yii/Latest/composer.json diff --git a/tests/Frameworks/Yii/Version_2_0/config/console.php b/tests/Frameworks/Yii/Latest/config/console.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/config/console.php rename to tests/Frameworks/Yii/Latest/config/console.php diff --git a/tests/Frameworks/Yii/Version_2_0/config/db.php b/tests/Frameworks/Yii/Latest/config/db.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/config/db.php rename to tests/Frameworks/Yii/Latest/config/db.php diff --git a/tests/Frameworks/Yii/Version_2_0/config/params.php b/tests/Frameworks/Yii/Latest/config/params.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/config/params.php rename to tests/Frameworks/Yii/Latest/config/params.php diff --git a/tests/Frameworks/Yii/Version_2_0/config/test.php b/tests/Frameworks/Yii/Latest/config/test.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/config/test.php rename to tests/Frameworks/Yii/Latest/config/test.php diff --git a/tests/Frameworks/Yii/Version_2_0/config/test_db.php b/tests/Frameworks/Yii/Latest/config/test_db.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/config/test_db.php rename to tests/Frameworks/Yii/Latest/config/test_db.php diff --git a/tests/Frameworks/Yii/Version_2_0/config/web.php b/tests/Frameworks/Yii/Latest/config/web.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/config/web.php rename to tests/Frameworks/Yii/Latest/config/web.php diff --git a/tests/Frameworks/Yii/Version_2_0/controllers/HomesController.php b/tests/Frameworks/Yii/Latest/controllers/HomesController.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/controllers/HomesController.php rename to tests/Frameworks/Yii/Latest/controllers/HomesController.php diff --git a/tests/Frameworks/Yii/Version_2_0/controllers/SimpleController.php b/tests/Frameworks/Yii/Latest/controllers/SimpleController.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/controllers/SimpleController.php rename to tests/Frameworks/Yii/Latest/controllers/SimpleController.php diff --git a/tests/Frameworks/Yii/Version_2_0/controllers/SiteController.php b/tests/Frameworks/Yii/Latest/controllers/SiteController.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/controllers/SiteController.php rename to tests/Frameworks/Yii/Latest/controllers/SiteController.php diff --git a/tests/Frameworks/Yii/Version_2_0/docker-compose.yml b/tests/Frameworks/Yii/Latest/docker-compose.yml similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/docker-compose.yml rename to tests/Frameworks/Yii/Latest/docker-compose.yml diff --git a/tests/Frameworks/Yii/Version_2_0/mail/layouts/html.php b/tests/Frameworks/Yii/Latest/mail/layouts/html.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/mail/layouts/html.php rename to tests/Frameworks/Yii/Latest/mail/layouts/html.php diff --git a/tests/Frameworks/Yii/Version_2_0/models/ContactForm.php b/tests/Frameworks/Yii/Latest/models/ContactForm.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/models/ContactForm.php rename to tests/Frameworks/Yii/Latest/models/ContactForm.php diff --git a/tests/Frameworks/Yii/Version_2_0/models/LoginForm.php b/tests/Frameworks/Yii/Latest/models/LoginForm.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/models/LoginForm.php rename to tests/Frameworks/Yii/Latest/models/LoginForm.php diff --git a/tests/Frameworks/Yii/Version_2_0/models/User.php b/tests/Frameworks/Yii/Latest/models/User.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/models/User.php rename to tests/Frameworks/Yii/Latest/models/User.php diff --git a/tests/Frameworks/Yii/Version_2_0/modules/forum/Module.php b/tests/Frameworks/Yii/Latest/modules/forum/Module.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/modules/forum/Module.php rename to tests/Frameworks/Yii/Latest/modules/forum/Module.php diff --git a/tests/Frameworks/Yii/Version_2_0/modules/forum/controllers/ModuleController.php b/tests/Frameworks/Yii/Latest/modules/forum/controllers/ModuleController.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/modules/forum/controllers/ModuleController.php rename to tests/Frameworks/Yii/Latest/modules/forum/controllers/ModuleController.php diff --git a/tests/Frameworks/Yii/Version_2_0/requirements.php b/tests/Frameworks/Yii/Latest/requirements.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/requirements.php rename to tests/Frameworks/Yii/Latest/requirements.php diff --git a/tests/Frameworks/Yii/Version_2_0/runtime/.gitignore b/tests/Frameworks/Yii/Latest/runtime/.gitignore similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/runtime/.gitignore rename to tests/Frameworks/Yii/Latest/runtime/.gitignore diff --git a/tests/Frameworks/Yii/Version_2_0/tests/_bootstrap.php b/tests/Frameworks/Yii/Latest/tests/_bootstrap.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/_bootstrap.php rename to tests/Frameworks/Yii/Latest/tests/_bootstrap.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/_data/.gitkeep b/tests/Frameworks/Yii/Latest/tests/_data/.gitkeep similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/_data/.gitkeep rename to tests/Frameworks/Yii/Latest/tests/_data/.gitkeep diff --git a/tests/Frameworks/Yii/Version_2_0/tests/_output/.gitignore b/tests/Frameworks/Yii/Latest/tests/_output/.gitignore similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/_output/.gitignore rename to tests/Frameworks/Yii/Latest/tests/_output/.gitignore diff --git a/tests/Frameworks/Yii/Version_2_0/tests/_support/AcceptanceTester.php b/tests/Frameworks/Yii/Latest/tests/_support/AcceptanceTester.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/_support/AcceptanceTester.php rename to tests/Frameworks/Yii/Latest/tests/_support/AcceptanceTester.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/_support/FunctionalTester.php b/tests/Frameworks/Yii/Latest/tests/_support/FunctionalTester.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/_support/FunctionalTester.php rename to tests/Frameworks/Yii/Latest/tests/_support/FunctionalTester.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/_support/UnitTester.php b/tests/Frameworks/Yii/Latest/tests/_support/UnitTester.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/_support/UnitTester.php rename to tests/Frameworks/Yii/Latest/tests/_support/UnitTester.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/acceptance.suite.yml.example b/tests/Frameworks/Yii/Latest/tests/acceptance.suite.yml.example similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/acceptance.suite.yml.example rename to tests/Frameworks/Yii/Latest/tests/acceptance.suite.yml.example diff --git a/tests/Frameworks/Yii/Version_2_0/tests/acceptance/AboutCest.php b/tests/Frameworks/Yii/Latest/tests/acceptance/AboutCest.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/acceptance/AboutCest.php rename to tests/Frameworks/Yii/Latest/tests/acceptance/AboutCest.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/acceptance/ContactCest.php b/tests/Frameworks/Yii/Latest/tests/acceptance/ContactCest.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/acceptance/ContactCest.php rename to tests/Frameworks/Yii/Latest/tests/acceptance/ContactCest.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/acceptance/HomeCest.php b/tests/Frameworks/Yii/Latest/tests/acceptance/HomeCest.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/acceptance/HomeCest.php rename to tests/Frameworks/Yii/Latest/tests/acceptance/HomeCest.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/acceptance/LoginCest.php b/tests/Frameworks/Yii/Latest/tests/acceptance/LoginCest.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/acceptance/LoginCest.php rename to tests/Frameworks/Yii/Latest/tests/acceptance/LoginCest.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/acceptance/_bootstrap.php b/tests/Frameworks/Yii/Latest/tests/acceptance/_bootstrap.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/acceptance/_bootstrap.php rename to tests/Frameworks/Yii/Latest/tests/acceptance/_bootstrap.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/bin/yii b/tests/Frameworks/Yii/Latest/tests/bin/yii similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/bin/yii rename to tests/Frameworks/Yii/Latest/tests/bin/yii diff --git a/tests/Frameworks/Yii/Version_2_0/tests/bin/yii.bat b/tests/Frameworks/Yii/Latest/tests/bin/yii.bat similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/bin/yii.bat rename to tests/Frameworks/Yii/Latest/tests/bin/yii.bat diff --git a/tests/Frameworks/Yii/Version_2_0/tests/functional.suite.yml b/tests/Frameworks/Yii/Latest/tests/functional.suite.yml similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/functional.suite.yml rename to tests/Frameworks/Yii/Latest/tests/functional.suite.yml diff --git a/tests/Frameworks/Yii/Version_2_0/tests/functional/ContactFormCest.php b/tests/Frameworks/Yii/Latest/tests/functional/ContactFormCest.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/functional/ContactFormCest.php rename to tests/Frameworks/Yii/Latest/tests/functional/ContactFormCest.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/functional/LoginFormCest.php b/tests/Frameworks/Yii/Latest/tests/functional/LoginFormCest.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/functional/LoginFormCest.php rename to tests/Frameworks/Yii/Latest/tests/functional/LoginFormCest.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/functional/_bootstrap.php b/tests/Frameworks/Yii/Latest/tests/functional/_bootstrap.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/functional/_bootstrap.php rename to tests/Frameworks/Yii/Latest/tests/functional/_bootstrap.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/unit.suite.yml b/tests/Frameworks/Yii/Latest/tests/unit.suite.yml similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/unit.suite.yml rename to tests/Frameworks/Yii/Latest/tests/unit.suite.yml diff --git a/tests/Frameworks/Yii/Version_2_0/tests/unit/_bootstrap.php b/tests/Frameworks/Yii/Latest/tests/unit/_bootstrap.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/unit/_bootstrap.php rename to tests/Frameworks/Yii/Latest/tests/unit/_bootstrap.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/unit/models/ContactFormTest.php b/tests/Frameworks/Yii/Latest/tests/unit/models/ContactFormTest.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/unit/models/ContactFormTest.php rename to tests/Frameworks/Yii/Latest/tests/unit/models/ContactFormTest.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/unit/models/LoginFormTest.php b/tests/Frameworks/Yii/Latest/tests/unit/models/LoginFormTest.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/unit/models/LoginFormTest.php rename to tests/Frameworks/Yii/Latest/tests/unit/models/LoginFormTest.php diff --git a/tests/Frameworks/Yii/Version_2_0/tests/unit/models/UserTest.php b/tests/Frameworks/Yii/Latest/tests/unit/models/UserTest.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/tests/unit/models/UserTest.php rename to tests/Frameworks/Yii/Latest/tests/unit/models/UserTest.php diff --git a/tests/Frameworks/Yii/Version_2_0/vagrant/config/.gitignore b/tests/Frameworks/Yii/Latest/vagrant/config/.gitignore similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/vagrant/config/.gitignore rename to tests/Frameworks/Yii/Latest/vagrant/config/.gitignore diff --git a/tests/Frameworks/Yii/Version_2_0/vagrant/config/vagrant-local.example.yml b/tests/Frameworks/Yii/Latest/vagrant/config/vagrant-local.example.yml similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/vagrant/config/vagrant-local.example.yml rename to tests/Frameworks/Yii/Latest/vagrant/config/vagrant-local.example.yml diff --git a/tests/Frameworks/Yii/Version_2_0/vagrant/nginx/app.conf b/tests/Frameworks/Yii/Latest/vagrant/nginx/app.conf similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/vagrant/nginx/app.conf rename to tests/Frameworks/Yii/Latest/vagrant/nginx/app.conf diff --git a/tests/Frameworks/Yii/Version_2_0/vagrant/nginx/log/.gitignore b/tests/Frameworks/Yii/Latest/vagrant/nginx/log/.gitignore similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/vagrant/nginx/log/.gitignore rename to tests/Frameworks/Yii/Latest/vagrant/nginx/log/.gitignore diff --git a/tests/Frameworks/Yii/Version_2_0/vagrant/provision/always-as-root.sh b/tests/Frameworks/Yii/Latest/vagrant/provision/always-as-root.sh similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/vagrant/provision/always-as-root.sh rename to tests/Frameworks/Yii/Latest/vagrant/provision/always-as-root.sh diff --git a/tests/Frameworks/Yii/Version_2_0/vagrant/provision/once-as-root.sh b/tests/Frameworks/Yii/Latest/vagrant/provision/once-as-root.sh similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/vagrant/provision/once-as-root.sh rename to tests/Frameworks/Yii/Latest/vagrant/provision/once-as-root.sh diff --git a/tests/Frameworks/Yii/Version_2_0/vagrant/provision/once-as-vagrant.sh b/tests/Frameworks/Yii/Latest/vagrant/provision/once-as-vagrant.sh similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/vagrant/provision/once-as-vagrant.sh rename to tests/Frameworks/Yii/Latest/vagrant/provision/once-as-vagrant.sh diff --git a/tests/Frameworks/Yii/Version_2_0/views/layouts/main.php b/tests/Frameworks/Yii/Latest/views/layouts/main.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/views/layouts/main.php rename to tests/Frameworks/Yii/Latest/views/layouts/main.php diff --git a/tests/Frameworks/Yii/Version_2_0/views/simple/index.php b/tests/Frameworks/Yii/Latest/views/simple/index.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/views/simple/index.php rename to tests/Frameworks/Yii/Latest/views/simple/index.php diff --git a/tests/Frameworks/Yii/Version_2_0/views/site/about.php b/tests/Frameworks/Yii/Latest/views/site/about.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/views/site/about.php rename to tests/Frameworks/Yii/Latest/views/site/about.php diff --git a/tests/Frameworks/Yii/Version_2_0/views/site/contact.php b/tests/Frameworks/Yii/Latest/views/site/contact.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/views/site/contact.php rename to tests/Frameworks/Yii/Latest/views/site/contact.php diff --git a/tests/Frameworks/Yii/Version_2_0/views/site/error.php b/tests/Frameworks/Yii/Latest/views/site/error.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/views/site/error.php rename to tests/Frameworks/Yii/Latest/views/site/error.php diff --git a/tests/Frameworks/Yii/Version_2_0/views/site/index.php b/tests/Frameworks/Yii/Latest/views/site/index.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/views/site/index.php rename to tests/Frameworks/Yii/Latest/views/site/index.php diff --git a/tests/Frameworks/Yii/Version_2_0/views/site/login.php b/tests/Frameworks/Yii/Latest/views/site/login.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/views/site/login.php rename to tests/Frameworks/Yii/Latest/views/site/login.php diff --git a/tests/Frameworks/Yii/Version_2_0/web/.htaccess b/tests/Frameworks/Yii/Latest/web/.htaccess similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/web/.htaccess rename to tests/Frameworks/Yii/Latest/web/.htaccess diff --git a/tests/Frameworks/Yii/Version_2_0/web/assets/.gitignore b/tests/Frameworks/Yii/Latest/web/assets/.gitignore similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/web/assets/.gitignore rename to tests/Frameworks/Yii/Latest/web/assets/.gitignore diff --git a/tests/Frameworks/Yii/Version_2_0/web/css/site.css b/tests/Frameworks/Yii/Latest/web/css/site.css similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/web/css/site.css rename to tests/Frameworks/Yii/Latest/web/css/site.css diff --git a/tests/Frameworks/Yii/Version_2_0/web/favicon.ico b/tests/Frameworks/Yii/Latest/web/favicon.ico similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/web/favicon.ico rename to tests/Frameworks/Yii/Latest/web/favicon.ico diff --git a/tests/Frameworks/Yii/Version_2_0/web/index-test.php b/tests/Frameworks/Yii/Latest/web/index-test.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/web/index-test.php rename to tests/Frameworks/Yii/Latest/web/index-test.php diff --git a/tests/Frameworks/Yii/Version_2_0/web/index.php b/tests/Frameworks/Yii/Latest/web/index.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/web/index.php rename to tests/Frameworks/Yii/Latest/web/index.php diff --git a/tests/Frameworks/Yii/Version_2_0/web/robots.txt b/tests/Frameworks/Yii/Latest/web/robots.txt similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/web/robots.txt rename to tests/Frameworks/Yii/Latest/web/robots.txt diff --git a/tests/Frameworks/Yii/Version_2_0/widgets/Alert.php b/tests/Frameworks/Yii/Latest/widgets/Alert.php similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/widgets/Alert.php rename to tests/Frameworks/Yii/Latest/widgets/Alert.php diff --git a/tests/Frameworks/Yii/Version_2_0/yii b/tests/Frameworks/Yii/Latest/yii similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/yii rename to tests/Frameworks/Yii/Latest/yii diff --git a/tests/Frameworks/Yii/Version_2_0/yii.bat b/tests/Frameworks/Yii/Latest/yii.bat similarity index 100% rename from tests/Frameworks/Yii/Version_2_0/yii.bat rename to tests/Frameworks/Yii/Latest/yii.bat diff --git a/tests/Integrations/Yii/V2_0/CommonScenariosTest.php b/tests/Integrations/Yii/Latest/CommonScenariosTest.php similarity index 98% rename from tests/Integrations/Yii/V2_0/CommonScenariosTest.php rename to tests/Integrations/Yii/Latest/CommonScenariosTest.php index 4d4247a39f..0dfe717ad2 100644 --- a/tests/Integrations/Yii/V2_0/CommonScenariosTest.php +++ b/tests/Integrations/Yii/Latest/CommonScenariosTest.php @@ -1,6 +1,6 @@ Date: Fri, 17 Jan 2025 08:52:27 +0100 Subject: [PATCH 17/65] Setup Yii latest framework --- tests/Frameworks/Yii/Latest/composer.json | 11 ++++++++--- tests/Integrations/Yii/Latest/CommonScenariosTest.php | 5 +++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/tests/Frameworks/Yii/Latest/composer.json b/tests/Frameworks/Yii/Latest/composer.json index 22c9cca3d2..615d0eb576 100644 --- a/tests/Frameworks/Yii/Latest/composer.json +++ b/tests/Frameworks/Yii/Latest/composer.json @@ -1,7 +1,12 @@ { "name": "yiisoft/yii2-app-basic", "description": "Yii 2 Basic Project Template", - "keywords": ["yii2", "framework", "basic", "project template"], + "keywords": [ + "yii2", + "framework", + "basic", + "project template" + ], "homepage": "http://www.yiiframework.com/", "type": "project", "license": "BSD-3-Clause", @@ -15,7 +20,7 @@ "minimum-stability": "stable", "require": { "php": ">=5.4.0", - "yiisoft/yii2": "~2.0.14", + "yiisoft/yii2": "2.0.51", "yiisoft/yii2-bootstrap": "~2.0.0", "yiisoft/yii2-swiftmailer": "~2.0.0 || ~2.1.0" }, @@ -64,4 +69,4 @@ "url": "https://asset-packagist.org" } ] -} +} \ No newline at end of file diff --git a/tests/Integrations/Yii/Latest/CommonScenariosTest.php b/tests/Integrations/Yii/Latest/CommonScenariosTest.php index 0dfe717ad2..f63664fa40 100644 --- a/tests/Integrations/Yii/Latest/CommonScenariosTest.php +++ b/tests/Integrations/Yii/Latest/CommonScenariosTest.php @@ -22,6 +22,11 @@ protected static function getEnvs() ]); } + public static function getTestedLibrary() + { + return 'yiisoft/yii2'; + } + /** * @dataProvider provideSpecs * @param RequestSpec $spec From 56e9dfe7f2d12133b1d1c8af1a5c381d805657c1 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Fri, 17 Jan 2025 08:56:21 +0100 Subject: [PATCH 18/65] Fix Laminas calls --- Makefile | 26 ++++---- .../Mvc/Latest/CommonScenariosTest.php | 2 +- ..._test.test_scenario_get_return_string.json | 40 ++++++------ ...st.test_scenario_get_to_missing_route.json | 50 +++++++-------- ...test.test_scenario_get_with_exception.json | 62 +++++++++---------- ...rios_test.test_scenario_get_with_view.json | 56 ++++++++--------- ..._test.test_scenario_get_return_string.json | 40 ++++++------ ...st.test_scenario_get_to_missing_route.json | 50 +++++++-------- ...test.test_scenario_get_with_exception.json | 62 +++++++++---------- ...rios_test.test_scenario_get_with_view.json | 56 ++++++++--------- 10 files changed, 222 insertions(+), 222 deletions(-) diff --git a/Makefile b/Makefile index d52b582382..5620be6564 100644 --- a/Makefile +++ b/Makefile @@ -726,7 +726,7 @@ TEST_WEB_73 := \ test_web_codeigniter_22 \ test_web_codeigniter_31 \ test_web_drupal_89 \ - test_web_laminas_36 \ + test_web_laminas_mvc_36 \ test_web_laravel_57 \ test_web_laravel_58 \ test_web_laravel_8x \ @@ -789,7 +789,7 @@ TEST_WEB_74 := \ test_web_codeigniter_31 \ test_web_drupal_89 \ test_web_drupal_95 \ - test_web_laminas_36 \ + test_web_laminas_mvc_36 \ test_web_laravel_57 \ test_web_laravel_58 \ test_web_laravel_8x \ @@ -852,9 +852,9 @@ TEST_WEB_80 := \ test_web_codeigniter_22 \ test_web_codeigniter_31 \ test_web_drupal_95 \ - test_web_laminas_rest_19 \ - test_web_laminas_36 \ - test_web_laminas_latest \ + test_web_laminas_rest_latest \ + test_web_laminas_mvc_36 \ + test_web_laminas_mvc_latest \ test_web_laravel_8x \ test_web_laravel_9x \ test_web_lumen_81 \ @@ -908,8 +908,8 @@ TEST_WEB_81 := \ test_web_codeigniter_31 \ test_web_drupal_95 \ test_web_drupal_101 \ - test_web_laminas_rest_19 \ - test_web_laminas_latest \ + test_web_laminas_rest_latest \ + test_web_laminas_mvc_latest \ test_web_laravel_8x \ test_web_laravel_9x \ test_web_laravel_10x \ @@ -966,8 +966,8 @@ TEST_WEB_82 := \ test_web_codeigniter_31 \ test_web_drupal_95 \ test_web_drupal_101 \ - test_web_laminas_rest_19 \ - test_web_laminas_latest \ + test_web_laminas_rest_latest \ + test_web_laminas_mvc_latest \ test_web_laravel_8x \ test_web_laravel_9x \ test_web_laravel_10x \ @@ -1315,11 +1315,11 @@ test_web_drupal_95: global_test_run_dependencies tests/Frameworks/Drupal/Version $(call run_tests_debug,tests/Integrations/Drupal/V9_5) test_web_drupal_101: global_test_run_dependencies tests/Frameworks/Drupal/Version_10_1/core/composer.lock-php tests/Frameworks/Drupal/Version_10_1/composer.lock-php $(call run_tests_debug,tests/Integrations/Drupal/V10_1) -test_web_laminas_rest_19: global_test_run_dependencies tests/Frameworks/Laminas/ApiTools/Version_1_9/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,tests/Integrations/Laminas/ApiTools/V1_9) -test_web_laminas_36: global_test_run_dependencies tests/Frameworks/Laminas/Mvc/Version_3_6/composer.lock-php$(PHP_MAJOR_MINOR) +test_web_laminas_rest_latest: global_test_run_dependencies tests/Frameworks/Laminas/ApiTools/Latest/composer.lock-php$(PHP_MAJOR_MINOR) + $(call run_tests_debug,tests/Integrations/Laminas/ApiTools/Latest) +test_web_laminas_mvc_36: global_test_run_dependencies tests/Frameworks/Laminas/Mvc/Version_3_6/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/Laminas/Mvc/V3_6) -test_web_laminas_latest: global_test_run_dependencies tests/Frameworks/Laminas/Mvc/Latest/composer.lock-php$(PHP_MAJOR_MINOR) +test_web_laminas_mvc_latest: global_test_run_dependencies tests/Frameworks/Laminas/Mvc/Latest/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/Laminas/Mvc/Latest) test_web_laravel_42: global_test_run_dependencies tests/Frameworks/Laravel/Version_4_2/composer.lock-php$(PHP_MAJOR_MINOR) php tests/Frameworks/Laravel/Version_4_2/artisan optimize diff --git a/tests/Integrations/Laminas/Mvc/Latest/CommonScenariosTest.php b/tests/Integrations/Laminas/Mvc/Latest/CommonScenariosTest.php index 31bd22b31e..3a5101c283 100644 --- a/tests/Integrations/Laminas/Mvc/Latest/CommonScenariosTest.php +++ b/tests/Integrations/Laminas/Mvc/Latest/CommonScenariosTest.php @@ -14,7 +14,7 @@ public static function getAppIndexScript() protected static function getEnvs() { - return array_merge(parent::getEnvs(), ['DD_SERVICE' => 'test_laminas']); + return array_merge(parent::getEnvs(), ['DD_SERVICE' => 'test_laminas_mvc_latest']); } public static function getTestedLibrary() diff --git a/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_return_string.json index 6b57632ef9..751701b213 100644 --- a/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_return_string.json +++ b/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_return_string.json @@ -1,7 +1,7 @@ [[ { "name": "laminas.request", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@simple simple", "trace_id": 0, "span_id": 1, @@ -24,7 +24,7 @@ }, { "name": "laminas.application.init", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.init", "trace_id": 0, "span_id": 2, @@ -36,7 +36,7 @@ }, { "name": "laminas.event.loadModules", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules", "trace_id": 0, "span_id": 4, @@ -48,7 +48,7 @@ }, { "name": "laminas.event.loadModules.post", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules.post", "trace_id": 0, "span_id": 5, @@ -60,7 +60,7 @@ }, { "name": "laminas.application.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.bootstrap", "trace_id": 0, "span_id": 6, @@ -72,7 +72,7 @@ }, { "name": "laminas.event.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.bootstrap", "trace_id": 0, "span_id": 10, @@ -84,7 +84,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\ViewManager@onBootstrap", "trace_id": 0, "span_id": 16, @@ -96,7 +96,7 @@ }, { "name": "laminas.application.run", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.run", "trace_id": 0, "span_id": 3, @@ -108,7 +108,7 @@ }, { "name": "laminas.event.route", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.route", "trace_id": 0, "span_id": 7, @@ -120,7 +120,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\HttpMethodListener@onRoute", "trace_id": 0, "span_id": 11, @@ -132,7 +132,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\RouteListener@onRoute", "trace_id": 0, "span_id": 12, @@ -144,7 +144,7 @@ }, { "name": "laminas.route.match", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Router\\Http\\TreeRouteStack@match", "trace_id": 0, "span_id": 17, @@ -156,7 +156,7 @@ }, { "name": "laminas.event.dispatch", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.dispatch", "trace_id": 0, "span_id": 8, @@ -168,7 +168,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\MiddlewareListener@onDispatch", "trace_id": 0, "span_id": 13, @@ -180,7 +180,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\DispatchListener@onDispatch", "trace_id": 0, "span_id": 14, @@ -192,7 +192,7 @@ }, { "name": "laminas.controller.dispatch", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController", "trace_id": 0, "span_id": 18, @@ -204,7 +204,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@onDispatch", "trace_id": 0, "span_id": 19, @@ -216,7 +216,7 @@ }, { "name": "laminas.controller.action", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@simpleAction", "trace_id": 0, "span_id": 20, @@ -228,7 +228,7 @@ }, { "name": "laminas.event.finish", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.finish", "trace_id": 0, "span_id": 9, @@ -240,7 +240,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\SendResponseListener@sendResponse", "trace_id": 0, "span_id": 15, diff --git a/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_to_missing_route.json b/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_to_missing_route.json index a29fc1de5e..2522e00374 100644 --- a/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_to_missing_route.json +++ b/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_to_missing_route.json @@ -1,7 +1,7 @@ [[ { "name": "laminas.request", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "GET /does_not_exist", "trace_id": 0, "span_id": 1, @@ -22,7 +22,7 @@ }, { "name": "laminas.application.init", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.init", "trace_id": 0, "span_id": 2, @@ -34,7 +34,7 @@ }, { "name": "laminas.event.loadModules", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules", "trace_id": 0, "span_id": 4, @@ -46,7 +46,7 @@ }, { "name": "laminas.event.loadModules.post", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules.post", "trace_id": 0, "span_id": 5, @@ -58,7 +58,7 @@ }, { "name": "laminas.application.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.bootstrap", "trace_id": 0, "span_id": 6, @@ -70,7 +70,7 @@ }, { "name": "laminas.event.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.bootstrap", "trace_id": 0, "span_id": 9, @@ -82,7 +82,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\ViewManager@onBootstrap", "trace_id": 0, "span_id": 14, @@ -94,7 +94,7 @@ }, { "name": "laminas.application.run", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.run", "trace_id": 0, "span_id": 3, @@ -106,7 +106,7 @@ }, { "name": "laminas.event.route", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.route", "trace_id": 0, "span_id": 7, @@ -118,7 +118,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\HttpMethodListener@onRoute", "trace_id": 0, "span_id": 10, @@ -130,7 +130,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\RouteListener@onRoute", "trace_id": 0, "span_id": 11, @@ -142,7 +142,7 @@ }, { "name": "laminas.route.match", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Router\\Http\\TreeRouteStack@match", "trace_id": 0, "span_id": 15, @@ -154,7 +154,7 @@ }, { "name": "laminas.mvcEvent.setError", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "error-router-no-match", "trace_id": 0, "span_id": 16, @@ -166,7 +166,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@detectNotFoundError", "trace_id": 0, "span_id": 17, @@ -178,7 +178,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@prepareNotFoundViewModel", "trace_id": 0, "span_id": 18, @@ -190,7 +190,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\ExceptionStrategy@prepareExceptionViewModel", "trace_id": 0, "span_id": 19, @@ -202,7 +202,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\InjectViewModelListener@injectViewModel", "trace_id": 0, "span_id": 20, @@ -214,7 +214,7 @@ }, { "name": "laminas.application.completeRequest", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.completeRequest", "trace_id": 0, "span_id": 8, @@ -226,7 +226,7 @@ }, { "name": "laminas.event.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.render", "trace_id": 0, "span_id": 12, @@ -238,7 +238,7 @@ }, { "name": "laminas.view.http.renderer", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy@render", "trace_id": 0, "span_id": 21, @@ -250,7 +250,7 @@ }, { "name": "laminas.view.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.view.render", "trace_id": 0, "span_id": 23, @@ -262,7 +262,7 @@ }, { "name": "laminas.templating.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "error/404", "trace_id": 0, "span_id": 24, @@ -274,7 +274,7 @@ }, { "name": "laminas.templating.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "layout/layout", "trace_id": 0, "span_id": 25, @@ -286,7 +286,7 @@ }, { "name": "laminas.event.finish", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.finish", "trace_id": 0, "span_id": 13, @@ -298,7 +298,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\SendResponseListener@sendResponse", "trace_id": 0, "span_id": 22, diff --git a/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_with_exception.json index ec7bda8f48..ee6fb7347d 100644 --- a/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_with_exception.json +++ b/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_with_exception.json @@ -1,7 +1,7 @@ [[ { "name": "laminas.request", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@error error", "trace_id": 0, "span_id": 1, @@ -28,7 +28,7 @@ }, { "name": "laminas.application.init", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.init", "trace_id": 0, "span_id": 2, @@ -40,7 +40,7 @@ }, { "name": "laminas.event.loadModules", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules", "trace_id": 0, "span_id": 4, @@ -52,7 +52,7 @@ }, { "name": "laminas.event.loadModules.post", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules.post", "trace_id": 0, "span_id": 5, @@ -64,7 +64,7 @@ }, { "name": "laminas.application.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.bootstrap", "trace_id": 0, "span_id": 6, @@ -76,7 +76,7 @@ }, { "name": "laminas.event.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.bootstrap", "trace_id": 0, "span_id": 10, @@ -88,7 +88,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\ViewManager@onBootstrap", "trace_id": 0, "span_id": 17, @@ -100,7 +100,7 @@ }, { "name": "laminas.application.run", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.run", "trace_id": 0, "span_id": 3, @@ -112,7 +112,7 @@ }, { "name": "laminas.event.route", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.route", "trace_id": 0, "span_id": 7, @@ -124,7 +124,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\HttpMethodListener@onRoute", "trace_id": 0, "span_id": 11, @@ -136,7 +136,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\RouteListener@onRoute", "trace_id": 0, "span_id": 12, @@ -148,7 +148,7 @@ }, { "name": "laminas.route.match", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Router\\Http\\TreeRouteStack@match", "trace_id": 0, "span_id": 18, @@ -160,7 +160,7 @@ }, { "name": "laminas.event.dispatch", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.dispatch", "trace_id": 0, "span_id": 8, @@ -172,7 +172,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\MiddlewareListener@onDispatch", "trace_id": 0, "span_id": 13, @@ -184,7 +184,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\DispatchListener@onDispatch", "trace_id": 0, "span_id": 14, @@ -196,7 +196,7 @@ }, { "name": "laminas.controller.dispatch", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController", "trace_id": 0, "span_id": 19, @@ -212,7 +212,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@onDispatch", "trace_id": 0, "span_id": 27, @@ -228,7 +228,7 @@ }, { "name": "laminas.controller.action", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@errorAction", "trace_id": 0, "span_id": 29, @@ -244,7 +244,7 @@ }, { "name": "laminas.mvcEvent.setError", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "error-exception", "trace_id": 0, "span_id": 20, @@ -256,7 +256,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@detectNotFoundError", "trace_id": 0, "span_id": 21, @@ -268,7 +268,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@prepareNotFoundViewModel", "trace_id": 0, "span_id": 22, @@ -280,7 +280,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\ExceptionStrategy@prepareExceptionViewModel", "trace_id": 0, "span_id": 23, @@ -292,7 +292,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\InjectViewModelListener@injectViewModel", "trace_id": 0, "span_id": 24, @@ -304,7 +304,7 @@ }, { "name": "laminas.application.completeRequest", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.completeRequest", "trace_id": 0, "span_id": 9, @@ -316,7 +316,7 @@ }, { "name": "laminas.event.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.render", "trace_id": 0, "span_id": 15, @@ -328,7 +328,7 @@ }, { "name": "laminas.view.http.renderer", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy@render", "trace_id": 0, "span_id": 25, @@ -340,7 +340,7 @@ }, { "name": "laminas.view.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.view.render", "trace_id": 0, "span_id": 28, @@ -352,7 +352,7 @@ }, { "name": "laminas.templating.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "error/index", "trace_id": 0, "span_id": 30, @@ -364,7 +364,7 @@ }, { "name": "laminas.templating.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "layout/layout", "trace_id": 0, "span_id": 31, @@ -376,7 +376,7 @@ }, { "name": "laminas.event.finish", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.finish", "trace_id": 0, "span_id": 16, @@ -388,7 +388,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\SendResponseListener@sendResponse", "trace_id": 0, "span_id": 26, diff --git a/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_with_view.json index 0425d258f1..6364489c84 100644 --- a/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_with_view.json +++ b/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_with_view.json @@ -1,7 +1,7 @@ [[ { "name": "laminas.request", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@view simpleView", "trace_id": 0, "span_id": 1, @@ -24,7 +24,7 @@ }, { "name": "laminas.application.init", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.init", "trace_id": 0, "span_id": 2, @@ -36,7 +36,7 @@ }, { "name": "laminas.event.loadModules", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules", "trace_id": 0, "span_id": 4, @@ -48,7 +48,7 @@ }, { "name": "laminas.event.loadModules.post", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules.post", "trace_id": 0, "span_id": 5, @@ -60,7 +60,7 @@ }, { "name": "laminas.application.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.bootstrap", "trace_id": 0, "span_id": 6, @@ -72,7 +72,7 @@ }, { "name": "laminas.event.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.bootstrap", "trace_id": 0, "span_id": 10, @@ -84,7 +84,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\ViewManager@onBootstrap", "trace_id": 0, "span_id": 18, @@ -96,7 +96,7 @@ }, { "name": "laminas.application.run", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.run", "trace_id": 0, "span_id": 3, @@ -108,7 +108,7 @@ }, { "name": "laminas.event.route", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.route", "trace_id": 0, "span_id": 7, @@ -120,7 +120,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\HttpMethodListener@onRoute", "trace_id": 0, "span_id": 11, @@ -132,7 +132,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\RouteListener@onRoute", "trace_id": 0, "span_id": 12, @@ -144,7 +144,7 @@ }, { "name": "laminas.route.match", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Router\\Http\\TreeRouteStack@match", "trace_id": 0, "span_id": 19, @@ -156,7 +156,7 @@ }, { "name": "laminas.event.dispatch", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.dispatch", "trace_id": 0, "span_id": 8, @@ -168,7 +168,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\MiddlewareListener@onDispatch", "trace_id": 0, "span_id": 13, @@ -180,7 +180,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\DispatchListener@onDispatch", "trace_id": 0, "span_id": 14, @@ -192,7 +192,7 @@ }, { "name": "laminas.controller.dispatch", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController", "trace_id": 0, "span_id": 20, @@ -204,7 +204,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@onDispatch", "trace_id": 0, "span_id": 23, @@ -216,7 +216,7 @@ }, { "name": "laminas.controller.action", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@viewAction", "trace_id": 0, "span_id": 27, @@ -228,7 +228,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@prepareNotFoundViewModel", "trace_id": 0, "span_id": 24, @@ -240,7 +240,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\InjectViewModelListener@injectViewModel", "trace_id": 0, "span_id": 25, @@ -252,7 +252,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@prepareNotFoundViewModel", "trace_id": 0, "span_id": 15, @@ -264,7 +264,7 @@ }, { "name": "laminas.application.completeRequest", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.completeRequest", "trace_id": 0, "span_id": 9, @@ -276,7 +276,7 @@ }, { "name": "laminas.event.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.render", "trace_id": 0, "span_id": 16, @@ -288,7 +288,7 @@ }, { "name": "laminas.view.http.renderer", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy@render", "trace_id": 0, "span_id": 21, @@ -300,7 +300,7 @@ }, { "name": "laminas.view.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.view.render", "trace_id": 0, "span_id": 26, @@ -312,7 +312,7 @@ }, { "name": "laminas.templating.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "application/common-specs/view", "trace_id": 0, "span_id": 28, @@ -324,7 +324,7 @@ }, { "name": "laminas.event.finish", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.finish", "trace_id": 0, "span_id": 17, @@ -336,7 +336,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\SendResponseListener@sendResponse", "trace_id": 0, "span_id": 22, diff --git a/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_return_string.json index 019fd8cbb4..8022cbe28f 100644 --- a/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_return_string.json +++ b/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_return_string.json @@ -1,7 +1,7 @@ [[ { "name": "laminas.request", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@simple simple", "trace_id": 0, "span_id": 1, @@ -24,7 +24,7 @@ }, { "name": "laminas.application.init", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.init", "trace_id": 0, "span_id": 2, @@ -36,7 +36,7 @@ }, { "name": "laminas.event.loadModules", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules", "trace_id": 0, "span_id": 4, @@ -48,7 +48,7 @@ }, { "name": "laminas.event.loadModules.post", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules.post", "trace_id": 0, "span_id": 5, @@ -60,7 +60,7 @@ }, { "name": "laminas.application.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.bootstrap", "trace_id": 0, "span_id": 6, @@ -72,7 +72,7 @@ }, { "name": "laminas.event.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.bootstrap", "trace_id": 0, "span_id": 10, @@ -84,7 +84,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\ViewManager@onBootstrap", "trace_id": 0, "span_id": 16, @@ -96,7 +96,7 @@ }, { "name": "laminas.application.run", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.run", "trace_id": 0, "span_id": 3, @@ -108,7 +108,7 @@ }, { "name": "laminas.event.route", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.route", "trace_id": 0, "span_id": 7, @@ -120,7 +120,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\HttpMethodListener@onRoute", "trace_id": 0, "span_id": 11, @@ -132,7 +132,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\RouteListener@onRoute", "trace_id": 0, "span_id": 12, @@ -144,7 +144,7 @@ }, { "name": "laminas.route.match", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Router\\Http\\TreeRouteStack@match", "trace_id": 0, "span_id": 17, @@ -156,7 +156,7 @@ }, { "name": "laminas.event.dispatch", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.dispatch", "trace_id": 0, "span_id": 8, @@ -168,7 +168,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\MiddlewareListener@onDispatch", "trace_id": 0, "span_id": 13, @@ -180,7 +180,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\DispatchListener@onDispatch", "trace_id": 0, "span_id": 14, @@ -192,7 +192,7 @@ }, { "name": "laminas.controller.dispatch", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController", "trace_id": 0, "span_id": 18, @@ -204,7 +204,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@onDispatch", "trace_id": 0, "span_id": 19, @@ -216,7 +216,7 @@ }, { "name": "laminas.controller.action", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@simpleAction", "trace_id": 0, "span_id": 20, @@ -228,7 +228,7 @@ }, { "name": "laminas.event.finish", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.finish", "trace_id": 0, "span_id": 9, @@ -240,7 +240,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\SendResponseListener@sendResponse", "trace_id": 0, "span_id": 15, diff --git a/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_to_missing_route.json b/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_to_missing_route.json index 825139a49c..cebd2538ca 100644 --- a/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_to_missing_route.json +++ b/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_to_missing_route.json @@ -1,7 +1,7 @@ [[ { "name": "laminas.request", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "GET /does_not_exist", "trace_id": 0, "span_id": 1, @@ -22,7 +22,7 @@ }, { "name": "laminas.application.init", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.init", "trace_id": 0, "span_id": 2, @@ -34,7 +34,7 @@ }, { "name": "laminas.event.loadModules", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules", "trace_id": 0, "span_id": 4, @@ -46,7 +46,7 @@ }, { "name": "laminas.event.loadModules.post", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules.post", "trace_id": 0, "span_id": 5, @@ -58,7 +58,7 @@ }, { "name": "laminas.application.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.bootstrap", "trace_id": 0, "span_id": 6, @@ -70,7 +70,7 @@ }, { "name": "laminas.event.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.bootstrap", "trace_id": 0, "span_id": 9, @@ -82,7 +82,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\ViewManager@onBootstrap", "trace_id": 0, "span_id": 14, @@ -94,7 +94,7 @@ }, { "name": "laminas.application.run", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.run", "trace_id": 0, "span_id": 3, @@ -106,7 +106,7 @@ }, { "name": "laminas.event.route", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.route", "trace_id": 0, "span_id": 7, @@ -118,7 +118,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\HttpMethodListener@onRoute", "trace_id": 0, "span_id": 10, @@ -130,7 +130,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\RouteListener@onRoute", "trace_id": 0, "span_id": 11, @@ -142,7 +142,7 @@ }, { "name": "laminas.route.match", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Router\\Http\\TreeRouteStack@match", "trace_id": 0, "span_id": 15, @@ -154,7 +154,7 @@ }, { "name": "laminas.mvcEvent.setError", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "error-router-no-match", "trace_id": 0, "span_id": 16, @@ -166,7 +166,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@detectNotFoundError", "trace_id": 0, "span_id": 17, @@ -178,7 +178,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@prepareNotFoundViewModel", "trace_id": 0, "span_id": 18, @@ -190,7 +190,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\ExceptionStrategy@prepareExceptionViewModel", "trace_id": 0, "span_id": 19, @@ -202,7 +202,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\InjectViewModelListener@injectViewModel", "trace_id": 0, "span_id": 20, @@ -214,7 +214,7 @@ }, { "name": "laminas.application.completeRequest", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.completeRequest", "trace_id": 0, "span_id": 8, @@ -226,7 +226,7 @@ }, { "name": "laminas.event.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.render", "trace_id": 0, "span_id": 12, @@ -238,7 +238,7 @@ }, { "name": "laminas.view.http.renderer", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy@render", "trace_id": 0, "span_id": 21, @@ -250,7 +250,7 @@ }, { "name": "laminas.view.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.view.render", "trace_id": 0, "span_id": 23, @@ -262,7 +262,7 @@ }, { "name": "laminas.templating.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "error/404", "trace_id": 0, "span_id": 24, @@ -274,7 +274,7 @@ }, { "name": "laminas.templating.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "layout/layout", "trace_id": 0, "span_id": 25, @@ -286,7 +286,7 @@ }, { "name": "laminas.event.finish", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.finish", "trace_id": 0, "span_id": 13, @@ -298,7 +298,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\SendResponseListener@sendResponse", "trace_id": 0, "span_id": 22, diff --git a/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_with_exception.json index 404ca686ec..2838b7c0a9 100644 --- a/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_with_exception.json +++ b/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_with_exception.json @@ -1,7 +1,7 @@ [[ { "name": "laminas.request", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@error error", "trace_id": 0, "span_id": 1, @@ -28,7 +28,7 @@ }, { "name": "laminas.application.init", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.init", "trace_id": 0, "span_id": 2, @@ -40,7 +40,7 @@ }, { "name": "laminas.event.loadModules", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules", "trace_id": 0, "span_id": 4, @@ -52,7 +52,7 @@ }, { "name": "laminas.event.loadModules.post", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules.post", "trace_id": 0, "span_id": 5, @@ -64,7 +64,7 @@ }, { "name": "laminas.application.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.bootstrap", "trace_id": 0, "span_id": 6, @@ -76,7 +76,7 @@ }, { "name": "laminas.event.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.bootstrap", "trace_id": 0, "span_id": 10, @@ -88,7 +88,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\ViewManager@onBootstrap", "trace_id": 0, "span_id": 17, @@ -100,7 +100,7 @@ }, { "name": "laminas.application.run", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.run", "trace_id": 0, "span_id": 3, @@ -112,7 +112,7 @@ }, { "name": "laminas.event.route", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.route", "trace_id": 0, "span_id": 7, @@ -124,7 +124,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\HttpMethodListener@onRoute", "trace_id": 0, "span_id": 11, @@ -136,7 +136,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\RouteListener@onRoute", "trace_id": 0, "span_id": 12, @@ -148,7 +148,7 @@ }, { "name": "laminas.route.match", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Router\\Http\\TreeRouteStack@match", "trace_id": 0, "span_id": 18, @@ -160,7 +160,7 @@ }, { "name": "laminas.event.dispatch", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.dispatch", "trace_id": 0, "span_id": 8, @@ -172,7 +172,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\MiddlewareListener@onDispatch", "trace_id": 0, "span_id": 13, @@ -184,7 +184,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\DispatchListener@onDispatch", "trace_id": 0, "span_id": 14, @@ -196,7 +196,7 @@ }, { "name": "laminas.controller.dispatch", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController", "trace_id": 0, "span_id": 19, @@ -212,7 +212,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@onDispatch", "trace_id": 0, "span_id": 27, @@ -228,7 +228,7 @@ }, { "name": "laminas.controller.action", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@errorAction", "trace_id": 0, "span_id": 29, @@ -244,7 +244,7 @@ }, { "name": "laminas.mvcEvent.setError", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "error-exception", "trace_id": 0, "span_id": 20, @@ -256,7 +256,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@detectNotFoundError", "trace_id": 0, "span_id": 21, @@ -268,7 +268,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@prepareNotFoundViewModel", "trace_id": 0, "span_id": 22, @@ -280,7 +280,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\ExceptionStrategy@prepareExceptionViewModel", "trace_id": 0, "span_id": 23, @@ -292,7 +292,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\InjectViewModelListener@injectViewModel", "trace_id": 0, "span_id": 24, @@ -304,7 +304,7 @@ }, { "name": "laminas.application.completeRequest", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.completeRequest", "trace_id": 0, "span_id": 9, @@ -316,7 +316,7 @@ }, { "name": "laminas.event.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.render", "trace_id": 0, "span_id": 15, @@ -328,7 +328,7 @@ }, { "name": "laminas.view.http.renderer", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy@render", "trace_id": 0, "span_id": 25, @@ -340,7 +340,7 @@ }, { "name": "laminas.view.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.view.render", "trace_id": 0, "span_id": 28, @@ -352,7 +352,7 @@ }, { "name": "laminas.templating.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "error/index", "trace_id": 0, "span_id": 30, @@ -364,7 +364,7 @@ }, { "name": "laminas.templating.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "layout/layout", "trace_id": 0, "span_id": 31, @@ -376,7 +376,7 @@ }, { "name": "laminas.event.finish", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.finish", "trace_id": 0, "span_id": 16, @@ -388,7 +388,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\SendResponseListener@sendResponse", "trace_id": 0, "span_id": 26, diff --git a/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_with_view.json index 9652927103..241060043b 100644 --- a/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_with_view.json +++ b/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_with_view.json @@ -1,7 +1,7 @@ [[ { "name": "laminas.request", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@view simpleView", "trace_id": 0, "span_id": 1, @@ -24,7 +24,7 @@ }, { "name": "laminas.application.init", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.init", "trace_id": 0, "span_id": 2, @@ -36,7 +36,7 @@ }, { "name": "laminas.event.loadModules", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules", "trace_id": 0, "span_id": 4, @@ -48,7 +48,7 @@ }, { "name": "laminas.event.loadModules.post", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.loadModules.post", "trace_id": 0, "span_id": 5, @@ -60,7 +60,7 @@ }, { "name": "laminas.application.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.bootstrap", "trace_id": 0, "span_id": 6, @@ -72,7 +72,7 @@ }, { "name": "laminas.event.bootstrap", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.bootstrap", "trace_id": 0, "span_id": 10, @@ -84,7 +84,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\ViewManager@onBootstrap", "trace_id": 0, "span_id": 18, @@ -96,7 +96,7 @@ }, { "name": "laminas.application.run", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.run", "trace_id": 0, "span_id": 3, @@ -108,7 +108,7 @@ }, { "name": "laminas.event.route", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.route", "trace_id": 0, "span_id": 7, @@ -120,7 +120,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\HttpMethodListener@onRoute", "trace_id": 0, "span_id": 11, @@ -132,7 +132,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\RouteListener@onRoute", "trace_id": 0, "span_id": 12, @@ -144,7 +144,7 @@ }, { "name": "laminas.route.match", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Router\\Http\\TreeRouteStack@match", "trace_id": 0, "span_id": 19, @@ -156,7 +156,7 @@ }, { "name": "laminas.event.dispatch", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.dispatch", "trace_id": 0, "span_id": 8, @@ -168,7 +168,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\MiddlewareListener@onDispatch", "trace_id": 0, "span_id": 13, @@ -180,7 +180,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\DispatchListener@onDispatch", "trace_id": 0, "span_id": 14, @@ -192,7 +192,7 @@ }, { "name": "laminas.controller.dispatch", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController", "trace_id": 0, "span_id": 20, @@ -204,7 +204,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@onDispatch", "trace_id": 0, "span_id": 23, @@ -216,7 +216,7 @@ }, { "name": "laminas.controller.action", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Application\\Controller\\CommonSpecsController@viewAction", "trace_id": 0, "span_id": 27, @@ -228,7 +228,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@prepareNotFoundViewModel", "trace_id": 0, "span_id": 24, @@ -240,7 +240,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\InjectViewModelListener@injectViewModel", "trace_id": 0, "span_id": 25, @@ -252,7 +252,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@prepareNotFoundViewModel", "trace_id": 0, "span_id": 15, @@ -264,7 +264,7 @@ }, { "name": "laminas.application.completeRequest", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.application.completeRequest", "trace_id": 0, "span_id": 9, @@ -276,7 +276,7 @@ }, { "name": "laminas.event.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.render", "trace_id": 0, "span_id": 16, @@ -288,7 +288,7 @@ }, { "name": "laminas.view.http.renderer", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy@render", "trace_id": 0, "span_id": 21, @@ -300,7 +300,7 @@ }, { "name": "laminas.view.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.view.render", "trace_id": 0, "span_id": 26, @@ -312,7 +312,7 @@ }, { "name": "laminas.templating.render", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "application/common-specs/view", "trace_id": 0, "span_id": 28, @@ -324,7 +324,7 @@ }, { "name": "laminas.event.finish", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "laminas.event.finish", "trace_id": 0, "span_id": 17, @@ -336,7 +336,7 @@ }, { "name": "laminas.mvcEventListener", - "service": "test_laminas", + "service": "test_laminas_mvc_latest", "resource": "Laminas\\Mvc\\SendResponseListener@sendResponse", "trace_id": 0, "span_id": 22, From 503d00f8db7e054f2ab8459e44d0286bf3bbe1b1 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Fri, 17 Jan 2025 09:40:14 +0100 Subject: [PATCH 19/65] Makefile fixes --- Makefile | 18 +++++++++--------- .../Integrations/OpenAI/Latest/OpenAITest.php | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 5620be6564..4a374832ee 100644 --- a/Makefile +++ b/Makefile @@ -652,7 +652,7 @@ TEST_INTEGRATIONS_72 := \ test_integrations_elasticsearch1 \ test_integrations_guzzle5 \ test_integrations_guzzle6 \ - test_integrations_guzzle7 \ + test_integrations_guzzle_latest \ test_integrations_pcntl \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ @@ -711,7 +711,7 @@ TEST_INTEGRATIONS_73 :=\ test_integrations_elasticsearch7 \ test_integrations_guzzle5 \ test_integrations_guzzle6 \ - test_integrations_guzzle7 \ + test_integrations_guzzle_latest \ test_integrations_pcntl \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ @@ -771,7 +771,7 @@ TEST_INTEGRATIONS_74 := \ test_integrations_elasticsearch_latest \ test_integrations_guzzle5 \ test_integrations_guzzle6 \ - test_integrations_guzzle7 \ + test_integrations_guzzle_latest \ test_integrations_pcntl \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ @@ -838,7 +838,7 @@ TEST_INTEGRATIONS_80 := \ test_integrations_googlespanner \ test_integrations_guzzle5 \ test_integrations_guzzle6 \ - test_integrations_guzzle7 \ + test_integrations_guzzle_latest \ test_integrations_pcntl \ test_integrations_phpredis5 \ test_integrations_predis_latest \ @@ -890,7 +890,7 @@ TEST_INTEGRATIONS_81 := \ test_opentelemetry_1 \ test_opentelemetry_beta \ test_integrations_googlespanner \ - test_integrations_guzzle7 \ + test_integrations_guzzle_latest \ test_integrations_pcntl \ test_integrations_pdo \ test_integrations_elasticsearch7 \ @@ -945,7 +945,7 @@ TEST_INTEGRATIONS_82 := \ test_opentelemetry_1 \ test_opentelemetry_beta \ test_integrations_googlespanner \ - test_integrations_guzzle7 \ + test_integrations_guzzle_latest \ test_integrations_pcntl \ test_integrations_pdo \ test_integrations_elasticsearch7 \ @@ -1008,7 +1008,7 @@ TEST_INTEGRATIONS_83 := \ test_opentelemetry_1 \ test_opentelemetry_beta \ test_integrations_googlespanner \ - test_integrations_guzzle7 \ + test_integrations_guzzle_latest \ test_integrations_pcntl \ test_integrations_pdo \ test_integrations_elasticsearch7 \ @@ -1237,8 +1237,8 @@ test_integrations_guzzle5: global_test_run_dependencies tests/Integrations/Guzzl $(call run_tests_debug,tests/Integrations/Guzzle/V5) test_integrations_guzzle6: global_test_run_dependencies tests/Integrations/Guzzle/V6/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/Guzzle/V6) -test_integrations_guzzle7: global_test_run_dependencies tests/Integrations/Guzzle/V7/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,tests/Integrations/Guzzle/V7) +test_integrations_guzzle_latest: global_test_run_dependencies tests/Integrations/Guzzle/Latest/composer.lock-php$(PHP_MAJOR_MINOR) + $(call run_tests_debug,tests/Integrations/Guzzle/Latest) test_integrations_kafka: global_test_run_dependencies $(call run_tests_debug,tests/Integrations/Kafka) test_integrations_laminaslog2: global_test_run_dependencies tests/Integrations/Logs/LaminasLogV2/composer.lock-php$(PHP_MAJOR_MINOR) diff --git a/tests/Integrations/OpenAI/Latest/OpenAITest.php b/tests/Integrations/OpenAI/Latest/OpenAITest.php index 03b51b7ec9..02a947f9a0 100644 --- a/tests/Integrations/OpenAI/Latest/OpenAITest.php +++ b/tests/Integrations/OpenAI/Latest/OpenAITest.php @@ -1,6 +1,6 @@ Date: Fri, 17 Jan 2025 09:49:51 +0100 Subject: [PATCH 20/65] update openai snapshots --- ...ai_test.test_create_chat_completion_stream_with_error.json | 4 ++-- ....test_create_completions_with_multiple_error_messages.json | 4 ++-- ...ions.open_ai.open_ai_test.test_list_models_with_error.json | 4 ++-- ...ai.open_ai_test.test_list_models_with_null_error_type.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_create_chat_completion_stream_with_error.json b/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_create_chat_completion_stream_with_error.json index dd561dfaa9..abc1b3a921 100644 --- a/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_create_chat_completion_stream_with_error.json +++ b/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_create_chat_completion_stream_with_error.json @@ -12,8 +12,8 @@ "_dd.p.dm": "0", "_dd.p.tid": "6659d8a000000000", "env": "test", - "error.message": "Uncaught OpenAI\\Exceptions\\ErrorException: The server had an error while processing your request. Sorry about that! in /home/circleci/app/tests/Integrations/OpenAI/vendor/openai-php/client/src/Responses/StreamResponse.php:60", - "error.stack": "#0 [internal function]: OpenAI\\Responses\\StreamResponse->getIterator()\n#1 /home/circleci/app/src/DDTrace/Integrations/OpenAI/OpenAIIntegration.php(1079): Generator->valid()\n#2 /home/circleci/app/src/DDTrace/Integrations/OpenAI/OpenAIIntegration.php(1033): DDTrace\\Integrations\\OpenAI\\OpenAIIntegration::readAndStoreStreamedResponse()\n#3 /home/circleci/app/src/DDTrace/Integrations/OpenAI/OpenAIIntegration.php(204): DDTrace\\Integrations\\OpenAI\\OpenAIIntegration::handleStreamedResponse()\n#4 /home/circleci/app/tests/Integrations/OpenAI/vendor/openai-php/client/src/Resources/Chat.php(54): OpenAI\\Resources\\Chat->DDTrace\\Integrations\\OpenAI\\{closure}()\n#5 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(100): OpenAI\\Resources\\Chat->createStreamed()\n#6 /home/circleci/app/tests/Common/SnapshotTestTrait.php(347): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->DDTrace\\Tests\\Integrations\\OpenAI\\{closure}()\n#7 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(93): DDTrace\\Tests\\Common\\IntegrationTestCase->isolateTracerSnapshot()\n#8 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(455): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->callStreamed()\n#9 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1617): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->testCreateChatCompletionStreamWithError()\n#10 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1223): PHPUnit\\Framework\\TestCase->runTest()\n#11 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestResult.php(729): PHPUnit\\Framework\\TestCase->runBare()\n#12 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(973): PHPUnit\\Framework\\TestResult->run()\n#13 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestCase->run()\n#14 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestSuite->run()\n#15 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(651): PHPUnit\\Framework\\TestSuite->run()\n#16 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(146): PHPUnit\\TextUI\\TestRunner->run()\n#17 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(99): PHPUnit\\TextUI\\Command->run()\n#18 /home/circleci/app/tests/vendor/phpunit/phpunit/phpunit(107): PHPUnit\\TextUI\\Command::main()\n#19 /home/circleci/app/tests/vendor/bin/phpunit(122): include()\n#20 {main}", + "error.message": "Uncaught OpenAI\\Exceptions\\ErrorException: The server had an error while processing your request. Sorry about that! in /home/circleci/app/tests/Integrations/OpenAI/Latest/vendor/openai-php/client/src/Responses/StreamResponse.php:60", + "error.stack": "#0 [internal function]: OpenAI\\Responses\\StreamResponse->getIterator()\n#1 /home/circleci/app/src/DDTrace/Integrations/OpenAI/OpenAIIntegration.php(1079): Generator->valid()\n#2 /home/circleci/app/src/DDTrace/Integrations/OpenAI/OpenAIIntegration.php(1033): DDTrace\\Integrations\\OpenAI\\OpenAIIntegration::readAndStoreStreamedResponse()\n#3 /home/circleci/app/src/DDTrace/Integrations/OpenAI/OpenAIIntegration.php(204): DDTrace\\Integrations\\OpenAI\\OpenAIIntegration::handleStreamedResponse()\n#4 /home/circleci/app/tests/Integrations/OpenAI/Latest/vendor/openai-php/client/src/Resources/Chat.php(54): OpenAI\\Resources\\Chat->DDTrace\\Integrations\\OpenAI\\{closure}()\n#5 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(100): OpenAI\\Resources\\Chat->createStreamed()\n#6 /home/circleci/app/tests/Common/SnapshotTestTrait.php(347): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->DDTrace\\Tests\\Integrations\\OpenAI\\{closure}()\n#7 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(93): DDTrace\\Tests\\Common\\IntegrationTestCase->isolateTracerSnapshot()\n#8 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(455): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->callStreamed()\n#9 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1617): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->testCreateChatCompletionStreamWithError()\n#10 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1223): PHPUnit\\Framework\\TestCase->runTest()\n#11 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestResult.php(729): PHPUnit\\Framework\\TestCase->runBare()\n#12 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(973): PHPUnit\\Framework\\TestResult->run()\n#13 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestCase->run()\n#14 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestSuite->run()\n#15 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(651): PHPUnit\\Framework\\TestSuite->run()\n#16 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(146): PHPUnit\\TextUI\\TestRunner->run()\n#17 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(99): PHPUnit\\TextUI\\Command->run()\n#18 /home/circleci/app/tests/vendor/phpunit/phpunit/phpunit(107): PHPUnit\\TextUI\\Command::main()\n#19 /home/circleci/app/tests/vendor/bin/phpunit(122): include()\n#20 {main}", "error.type": "OpenAI\\Exceptions\\ErrorException", "openai.api_base": "https://api.openai.com/v1/", "openai.request.endpoint": "/v1/chat/completions", diff --git a/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_create_completions_with_multiple_error_messages.json b/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_create_completions_with_multiple_error_messages.json index 1dca032d97..39cb346117 100644 --- a/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_create_completions_with_multiple_error_messages.json +++ b/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_create_completions_with_multiple_error_messages.json @@ -12,8 +12,8 @@ "_dd.p.dm": "0", "_dd.p.tid": "6659d74a00000000", "env": "test", - "error.message": "Uncaught OpenAI\\Exceptions\\ErrorException: Invalid schema for function 'get_current_weather':\nIn context=('properties', 'location'), array schema missing items in /home/circleci/app/tests/Integrations/OpenAI/vendor/openai-php/client/src/Transporters/HttpTransporter.php:133", - "error.stack": "#0 /home/circleci/app/tests/Integrations/OpenAI/vendor/openai-php/client/src/Transporters/HttpTransporter.php(57): OpenAI\\Transporters\\HttpTransporter->throwIfJsonError()\n#1 /home/circleci/app/tests/Integrations/OpenAI/vendor/openai-php/client/src/Resources/Completions.php(33): OpenAI\\Transporters\\HttpTransporter->requestObject()\n#2 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(81): OpenAI\\Resources\\Completions->create()\n#3 /home/circleci/app/tests/Common/SnapshotTestTrait.php(347): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->DDTrace\\Tests\\Integrations\\OpenAI\\{closure}()\n#4 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(76): DDTrace\\Tests\\Common\\IntegrationTestCase->isolateTracerSnapshot()\n#5 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(468): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->call()\n#6 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1617): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->testCreateCompletionsWithMultipleErrorMessages()\n#7 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1223): PHPUnit\\Framework\\TestCase->runTest()\n#8 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestResult.php(729): PHPUnit\\Framework\\TestCase->runBare()\n#9 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(973): PHPUnit\\Framework\\TestResult->run()\n#10 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestCase->run()\n#11 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestSuite->run()\n#12 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(651): PHPUnit\\Framework\\TestSuite->run()\n#13 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(146): PHPUnit\\TextUI\\TestRunner->run()\n#14 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(99): PHPUnit\\TextUI\\Command->run()\n#15 /home/circleci/app/tests/vendor/phpunit/phpunit/phpunit(107): PHPUnit\\TextUI\\Command::main()\n#16 /home/circleci/app/tests/vendor/bin/phpunit(122): include()\n#17 {main}", + "error.message": "Uncaught OpenAI\\Exceptions\\ErrorException: Invalid schema for function 'get_current_weather':\nIn context=('properties', 'location'), array schema missing items in /home/circleci/app/tests/Integrations/OpenAI/Latest/vendor/openai-php/client/src/Transporters/HttpTransporter.php:133", + "error.stack": "#0 /home/circleci/app/tests/Integrations/OpenAI/Latest/vendor/openai-php/client/src/Transporters/HttpTransporter.php(57): OpenAI\\Transporters\\HttpTransporter->throwIfJsonError()\n#1 /home/circleci/app/tests/Integrations/OpenAI/Latest/vendor/openai-php/client/src/Resources/Completions.php(33): OpenAI\\Transporters\\HttpTransporter->requestObject()\n#2 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(81): OpenAI\\Resources\\Completions->create()\n#3 /home/circleci/app/tests/Common/SnapshotTestTrait.php(347): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->DDTrace\\Tests\\Integrations\\OpenAI\\{closure}()\n#4 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(76): DDTrace\\Tests\\Common\\IntegrationTestCase->isolateTracerSnapshot()\n#5 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(468): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->call()\n#6 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1617): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->testCreateCompletionsWithMultipleErrorMessages()\n#7 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1223): PHPUnit\\Framework\\TestCase->runTest()\n#8 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestResult.php(729): PHPUnit\\Framework\\TestCase->runBare()\n#9 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(973): PHPUnit\\Framework\\TestResult->run()\n#10 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestCase->run()\n#11 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestSuite->run()\n#12 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(651): PHPUnit\\Framework\\TestSuite->run()\n#13 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(146): PHPUnit\\TextUI\\TestRunner->run()\n#14 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(99): PHPUnit\\TextUI\\Command->run()\n#15 /home/circleci/app/tests/vendor/phpunit/phpunit/phpunit(107): PHPUnit\\TextUI\\Command::main()\n#16 /home/circleci/app/tests/vendor/bin/phpunit(122): include()\n#17 {main}", "error.type": "OpenAI\\Exceptions\\ErrorException", "openai.api_base": "https://api.openai.com/v1/", "openai.request.endpoint": "/v1/completions", diff --git a/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_list_models_with_error.json b/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_list_models_with_error.json index aa59793a07..f2c6ab5f3d 100644 --- a/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_list_models_with_error.json +++ b/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_list_models_with_error.json @@ -12,8 +12,8 @@ "_dd.p.dm": "0", "_dd.p.tid": "6659d8a500000000", "env": "test", - "error.message": "Uncaught OpenAI\\Exceptions\\ErrorException: Incorrect API key provided: foo. You can find your API key at https://platform.openai.com. in /home/circleci/app/tests/Integrations/OpenAI/vendor/openai-php/client/src/Transporters/HttpTransporter.php:133", - "error.stack": "#0 /home/circleci/app/tests/Integrations/OpenAI/vendor/openai-php/client/src/Transporters/HttpTransporter.php(57): OpenAI\\Transporters\\HttpTransporter->throwIfJsonError()\n#1 /home/circleci/app/tests/Integrations/OpenAI/vendor/openai-php/client/src/Resources/Models.php(28): OpenAI\\Transporters\\HttpTransporter->requestObject()\n#2 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(83): OpenAI\\Resources\\Models->list()\n#3 /home/circleci/app/tests/Common/SnapshotTestTrait.php(347): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->DDTrace\\Tests\\Integrations\\OpenAI\\{closure}()\n#4 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(76): DDTrace\\Tests\\Common\\IntegrationTestCase->isolateTracerSnapshot()\n#5 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(463): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->call()\n#6 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1617): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->testListModelsWithError()\n#7 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1223): PHPUnit\\Framework\\TestCase->runTest()\n#8 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestResult.php(729): PHPUnit\\Framework\\TestCase->runBare()\n#9 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(973): PHPUnit\\Framework\\TestResult->run()\n#10 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestCase->run()\n#11 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestSuite->run()\n#12 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(651): PHPUnit\\Framework\\TestSuite->run()\n#13 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(146): PHPUnit\\TextUI\\TestRunner->run()\n#14 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(99): PHPUnit\\TextUI\\Command->run()\n#15 /home/circleci/app/tests/vendor/phpunit/phpunit/phpunit(107): PHPUnit\\TextUI\\Command::main()\n#16 /home/circleci/app/tests/vendor/bin/phpunit(122): include()\n#17 {main}", + "error.message": "Uncaught OpenAI\\Exceptions\\ErrorException: Incorrect API key provided: foo. You can find your API key at https://platform.openai.com. in /home/circleci/app/tests/Integrations/OpenAI/Latest/vendor/openai-php/client/src/Transporters/HttpTransporter.php:133", + "error.stack": "#0 /home/circleci/app/tests/Integrations/OpenAI/Latest/vendor/openai-php/client/src/Transporters/HttpTransporter.php(57): OpenAI\\Transporters\\HttpTransporter->throwIfJsonError()\n#1 /home/circleci/app/tests/Integrations/OpenAI/Latest/vendor/openai-php/client/src/Resources/Models.php(28): OpenAI\\Transporters\\HttpTransporter->requestObject()\n#2 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(83): OpenAI\\Resources\\Models->list()\n#3 /home/circleci/app/tests/Common/SnapshotTestTrait.php(347): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->DDTrace\\Tests\\Integrations\\OpenAI\\{closure}()\n#4 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(76): DDTrace\\Tests\\Common\\IntegrationTestCase->isolateTracerSnapshot()\n#5 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(463): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->call()\n#6 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1617): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->testListModelsWithError()\n#7 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1223): PHPUnit\\Framework\\TestCase->runTest()\n#8 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestResult.php(729): PHPUnit\\Framework\\TestCase->runBare()\n#9 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(973): PHPUnit\\Framework\\TestResult->run()\n#10 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestCase->run()\n#11 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestSuite->run()\n#12 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(651): PHPUnit\\Framework\\TestSuite->run()\n#13 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(146): PHPUnit\\TextUI\\TestRunner->run()\n#14 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(99): PHPUnit\\TextUI\\Command->run()\n#15 /home/circleci/app/tests/vendor/phpunit/phpunit/phpunit(107): PHPUnit\\TextUI\\Command::main()\n#16 /home/circleci/app/tests/vendor/bin/phpunit(122): include()\n#17 {main}", "error.type": "OpenAI\\Exceptions\\ErrorException", "openai.api_base": "https://api.openai.com/v1/", "openai.request.endpoint": "/v1/models", diff --git a/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_list_models_with_null_error_type.json b/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_list_models_with_null_error_type.json index 9e4e4eabe7..406d9e64a9 100644 --- a/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_list_models_with_null_error_type.json +++ b/tests/snapshots/tests.integrations.open_ai.open_ai_test.test_list_models_with_null_error_type.json @@ -12,8 +12,8 @@ "_dd.p.dm": "0", "_dd.p.tid": "6659d8b000000000", "env": "test", - "error.message": "Uncaught OpenAI\\Exceptions\\ErrorException: You exceeded your current quota, please check in /home/circleci/app/tests/Integrations/OpenAI/vendor/openai-php/client/src/Transporters/HttpTransporter.php:133", - "error.stack": "#0 /home/circleci/app/tests/Integrations/OpenAI/vendor/openai-php/client/src/Transporters/HttpTransporter.php(57): OpenAI\\Transporters\\HttpTransporter->throwIfJsonError()\n#1 /home/circleci/app/tests/Integrations/OpenAI/vendor/openai-php/client/src/Resources/Models.php(28): OpenAI\\Transporters\\HttpTransporter->requestObject()\n#2 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(83): OpenAI\\Resources\\Models->list()\n#3 /home/circleci/app/tests/Common/SnapshotTestTrait.php(347): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->DDTrace\\Tests\\Integrations\\OpenAI\\{closure}()\n#4 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(76): DDTrace\\Tests\\Common\\IntegrationTestCase->isolateTracerSnapshot()\n#5 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(473): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->call()\n#6 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1617): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->testListModelsWithNullErrorType()\n#7 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1223): PHPUnit\\Framework\\TestCase->runTest()\n#8 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestResult.php(729): PHPUnit\\Framework\\TestCase->runBare()\n#9 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(973): PHPUnit\\Framework\\TestResult->run()\n#10 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestCase->run()\n#11 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestSuite->run()\n#12 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(651): PHPUnit\\Framework\\TestSuite->run()\n#13 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(146): PHPUnit\\TextUI\\TestRunner->run()\n#14 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(99): PHPUnit\\TextUI\\Command->run()\n#15 /home/circleci/app/tests/vendor/phpunit/phpunit/phpunit(107): PHPUnit\\TextUI\\Command::main()\n#16 /home/circleci/app/tests/vendor/bin/phpunit(122): include()\n#17 {main}", + "error.message": "Uncaught OpenAI\\Exceptions\\ErrorException: You exceeded your current quota, please check in /home/circleci/app/tests/Integrations/OpenAI/Latest/vendor/openai-php/client/src/Transporters/HttpTransporter.php:133", + "error.stack": "#0 /home/circleci/app/tests/Integrations/OpenAI/Latest/vendor/openai-php/client/src/Transporters/HttpTransporter.php(57): OpenAI\\Transporters\\HttpTransporter->throwIfJsonError()\n#1 /home/circleci/app/tests/Integrations/OpenAI/Latest/vendor/openai-php/client/src/Resources/Models.php(28): OpenAI\\Transporters\\HttpTransporter->requestObject()\n#2 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(83): OpenAI\\Resources\\Models->list()\n#3 /home/circleci/app/tests/Common/SnapshotTestTrait.php(347): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->DDTrace\\Tests\\Integrations\\OpenAI\\{closure}()\n#4 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(76): DDTrace\\Tests\\Common\\IntegrationTestCase->isolateTracerSnapshot()\n#5 /home/circleci/app/tests/Integrations/OpenAI/OpenAITest.php(473): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->call()\n#6 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1617): DDTrace\\Tests\\Integrations\\OpenAI\\OpenAITest->testListModelsWithNullErrorType()\n#7 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(1223): PHPUnit\\Framework\\TestCase->runTest()\n#8 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestResult.php(729): PHPUnit\\Framework\\TestCase->runBare()\n#9 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestCase.php(973): PHPUnit\\Framework\\TestResult->run()\n#10 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestCase->run()\n#11 /home/circleci/app/tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\\Framework\\TestSuite->run()\n#12 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(651): PHPUnit\\Framework\\TestSuite->run()\n#13 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(146): PHPUnit\\TextUI\\TestRunner->run()\n#14 /home/circleci/app/tests/vendor/phpunit/phpunit/src/TextUI/Command.php(99): PHPUnit\\TextUI\\Command->run()\n#15 /home/circleci/app/tests/vendor/phpunit/phpunit/phpunit(107): PHPUnit\\TextUI\\Command::main()\n#16 /home/circleci/app/tests/vendor/bin/phpunit(122): include()\n#17 {main}", "error.type": "OpenAI\\Exceptions\\ErrorException", "openai.api_base": "https://api.openai.com/v1/", "openai.request.endpoint": "/v1/models", From b9b6c077cce9367be7f869493f2b70769f45c8aa Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Fri, 17 Jan 2025 10:01:29 +0100 Subject: [PATCH 21/65] fix OpenAI fixture path --- tests/Integrations/OpenAI/Latest/OpenAITest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integrations/OpenAI/Latest/OpenAITest.php b/tests/Integrations/OpenAI/Latest/OpenAITest.php index 02a947f9a0..0fd739c54c 100644 --- a/tests/Integrations/OpenAI/Latest/OpenAITest.php +++ b/tests/Integrations/OpenAI/Latest/OpenAITest.php @@ -434,7 +434,7 @@ public function testStreamedResponseUsability() $this->assertNotNull($responseIterator); $this->assertIsIterable($responseIterator); - $expectedContent = file_get_contents(__DIR__ . '/../../OpenAI/Fixtures/Streams/CompletionCreate.txt'); + $expectedContent = file_get_contents(__DIR__ . '/../../../OpenAI/Fixtures/Streams/CompletionCreate.txt'); $lines = explode("\n", $expectedContent); for ($i = 0; $i < 10; $i++) { $jsonContent = substr($lines[$i], 6); // 6 is the length of 'data: ' From c3b825d89a3246f63d1213bf372ce8c7c9db71f5 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Fri, 17 Jan 2025 10:02:05 +0100 Subject: [PATCH 22/65] fix Guzzle latest snapshot name --- ...ns.guzzle.latest.guzzle_integration_test.test_multi_exec.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/snapshots/{tests.integrations.guzzle.v7.guzzle_integration_test.test_multi_exec.json => tests.integrations.guzzle.latest.guzzle_integration_test.test_multi_exec.json} (100%) diff --git a/tests/snapshots/tests.integrations.guzzle.v7.guzzle_integration_test.test_multi_exec.json b/tests/snapshots/tests.integrations.guzzle.latest.guzzle_integration_test.test_multi_exec.json similarity index 100% rename from tests/snapshots/tests.integrations.guzzle.v7.guzzle_integration_test.test_multi_exec.json rename to tests/snapshots/tests.integrations.guzzle.latest.guzzle_integration_test.test_multi_exec.json From f412b76009cf24ae367c6380c72d3dc2a3ee7788 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Fri, 17 Jan 2025 10:15:05 +0100 Subject: [PATCH 23/65] fix Predis Tests --- Makefile | 11 +++++++++++ tests/Integrations/Predis/Latest/PredisTest.php | 8 ++++---- tests/Integrations/Predis/V1/PredisTest.php | 7 +++++++ tests/Integrations/Predis/V1/composer.json | 5 +++++ 4 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 tests/Integrations/Predis/V1/PredisTest.php create mode 100644 tests/Integrations/Predis/V1/composer.json diff --git a/Makefile b/Makefile index 4a374832ee..35e8edf1d9 100644 --- a/Makefile +++ b/Makefile @@ -560,6 +560,7 @@ TEST_INTEGRATIONS_70 := \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ + test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_sqlsrv @@ -603,6 +604,7 @@ TEST_INTEGRATIONS_71 := \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ + test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_sqlsrv \ test_opentracing_10 @@ -657,6 +659,7 @@ TEST_INTEGRATIONS_72 := \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ + test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_sqlsrv \ test_opentracing_10 @@ -716,6 +719,7 @@ TEST_INTEGRATIONS_73 :=\ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ + test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_sqlsrv \ test_opentracing_10 @@ -776,6 +780,7 @@ TEST_INTEGRATIONS_74 := \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ + test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_roadrunner \ test_integrations_sqlsrv \ @@ -841,6 +846,7 @@ TEST_INTEGRATIONS_80 := \ test_integrations_guzzle_latest \ test_integrations_pcntl \ test_integrations_phpredis5 \ + test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_sqlsrv \ test_integrations_swoole_5 \ @@ -895,6 +901,7 @@ TEST_INTEGRATIONS_81 := \ test_integrations_pdo \ test_integrations_elasticsearch7 \ test_integrations_phpredis5 \ + test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_sqlsrv \ test_integrations_swoole_5 \ @@ -951,6 +958,7 @@ TEST_INTEGRATIONS_82 := \ test_integrations_elasticsearch7 \ test_integrations_elasticsearch_latest \ test_integrations_phpredis5 \ + test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_frankenphp \ test_integrations_roadrunner \ @@ -1014,6 +1022,7 @@ TEST_INTEGRATIONS_83 := \ test_integrations_elasticsearch7 \ test_integrations_elasticsearch_latest \ test_integrations_phpredis5 \ + test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_frankenphp \ test_integrations_roadrunner \ @@ -1281,6 +1290,8 @@ test_integrations_phpredis5: global_test_run_dependencies $(call run_tests_debug,tests/Integrations/PHPRedis/V5) $(eval TEST_EXTRA_INI=) $(eval TEST_EXTRA_ENV=) +test_integrations_predis_1: global_test_run_dependencies tests/Integrations/Predis/V1/composer.lock-php$(PHP_MAJOR_MINOR) + $(call run_tests_debug,tests/Integrations/Predis/V1) test_integrations_predis_latest: global_test_run_dependencies tests/Integrations/Predis/Latest/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/Predis/Latest) test_integrations_frankenphp: global_test_run_dependencies diff --git a/tests/Integrations/Predis/Latest/PredisTest.php b/tests/Integrations/Predis/Latest/PredisTest.php index da0e0a119b..5863201d3b 100644 --- a/tests/Integrations/Predis/Latest/PredisTest.php +++ b/tests/Integrations/Predis/Latest/PredisTest.php @@ -1,17 +1,17 @@ host}"; $traces = $this->isolateTracer(function () use ($connectionString) { - $client = new \Predis\Client([$connectionString, $connectionString, $connectionString]); + $client = new \Predis\Client([$connectionString, $connectionString, $connectionString], ['cluster' => 'redis']); $client->connect(); }); diff --git a/tests/Integrations/Predis/V1/PredisTest.php b/tests/Integrations/Predis/V1/PredisTest.php new file mode 100644 index 0000000000..0c469bcd0f --- /dev/null +++ b/tests/Integrations/Predis/V1/PredisTest.php @@ -0,0 +1,7 @@ + Date: Fri, 17 Jan 2025 10:35:54 +0100 Subject: [PATCH 24/65] Don't try to fix predis in this PR --- Makefile | 11 ----------- tests/Integrations/Predis/Latest/PredisTest.php | 2 +- tests/Integrations/Predis/Latest/composer.json | 2 +- tests/Integrations/Predis/V1/PredisTest.php | 7 ------- tests/Integrations/Predis/V1/composer.json | 5 ----- 5 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 tests/Integrations/Predis/V1/PredisTest.php delete mode 100644 tests/Integrations/Predis/V1/composer.json diff --git a/Makefile b/Makefile index 35e8edf1d9..4a374832ee 100644 --- a/Makefile +++ b/Makefile @@ -560,7 +560,6 @@ TEST_INTEGRATIONS_70 := \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ - test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_sqlsrv @@ -604,7 +603,6 @@ TEST_INTEGRATIONS_71 := \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ - test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_sqlsrv \ test_opentracing_10 @@ -659,7 +657,6 @@ TEST_INTEGRATIONS_72 := \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ - test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_sqlsrv \ test_opentracing_10 @@ -719,7 +716,6 @@ TEST_INTEGRATIONS_73 :=\ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ - test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_sqlsrv \ test_opentracing_10 @@ -780,7 +776,6 @@ TEST_INTEGRATIONS_74 := \ test_integrations_phpredis3 \ test_integrations_phpredis4 \ test_integrations_phpredis5 \ - test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_roadrunner \ test_integrations_sqlsrv \ @@ -846,7 +841,6 @@ TEST_INTEGRATIONS_80 := \ test_integrations_guzzle_latest \ test_integrations_pcntl \ test_integrations_phpredis5 \ - test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_sqlsrv \ test_integrations_swoole_5 \ @@ -901,7 +895,6 @@ TEST_INTEGRATIONS_81 := \ test_integrations_pdo \ test_integrations_elasticsearch7 \ test_integrations_phpredis5 \ - test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_sqlsrv \ test_integrations_swoole_5 \ @@ -958,7 +951,6 @@ TEST_INTEGRATIONS_82 := \ test_integrations_elasticsearch7 \ test_integrations_elasticsearch_latest \ test_integrations_phpredis5 \ - test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_frankenphp \ test_integrations_roadrunner \ @@ -1022,7 +1014,6 @@ TEST_INTEGRATIONS_83 := \ test_integrations_elasticsearch7 \ test_integrations_elasticsearch_latest \ test_integrations_phpredis5 \ - test_integrations_predis_1 \ test_integrations_predis_latest \ test_integrations_frankenphp \ test_integrations_roadrunner \ @@ -1290,8 +1281,6 @@ test_integrations_phpredis5: global_test_run_dependencies $(call run_tests_debug,tests/Integrations/PHPRedis/V5) $(eval TEST_EXTRA_INI=) $(eval TEST_EXTRA_ENV=) -test_integrations_predis_1: global_test_run_dependencies tests/Integrations/Predis/V1/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,tests/Integrations/Predis/V1) test_integrations_predis_latest: global_test_run_dependencies tests/Integrations/Predis/Latest/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/Predis/Latest) test_integrations_frankenphp: global_test_run_dependencies diff --git a/tests/Integrations/Predis/Latest/PredisTest.php b/tests/Integrations/Predis/Latest/PredisTest.php index 5863201d3b..21cbad16f0 100644 --- a/tests/Integrations/Predis/Latest/PredisTest.php +++ b/tests/Integrations/Predis/Latest/PredisTest.php @@ -166,7 +166,7 @@ public function testPredisClusterConnect() $connectionString = "tcp://{$this->host}"; $traces = $this->isolateTracer(function () use ($connectionString) { - $client = new \Predis\Client([$connectionString, $connectionString, $connectionString], ['cluster' => 'redis']); + $client = new \Predis\Client([$connectionString, $connectionString, $connectionString]); $client->connect(); }); diff --git a/tests/Integrations/Predis/Latest/composer.json b/tests/Integrations/Predis/Latest/composer.json index 776d2df256..5265e3c417 100644 --- a/tests/Integrations/Predis/Latest/composer.json +++ b/tests/Integrations/Predis/Latest/composer.json @@ -1,5 +1,5 @@ { "require": { - "predis/predis": "2.3.0" + "predis/predis": "1.1.10" } } \ No newline at end of file diff --git a/tests/Integrations/Predis/V1/PredisTest.php b/tests/Integrations/Predis/V1/PredisTest.php deleted file mode 100644 index 0c469bcd0f..0000000000 --- a/tests/Integrations/Predis/V1/PredisTest.php +++ /dev/null @@ -1,7 +0,0 @@ - Date: Fri, 17 Jan 2025 11:45:13 +0100 Subject: [PATCH 25/65] Fix nette test range --- Makefile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Makefile b/Makefile index 4a374832ee..0ff2ad170c 100644 --- a/Makefile +++ b/Makefile @@ -620,7 +620,6 @@ TEST_WEB_71 := \ test_web_lumen_56 \ test_web_lumen_58 \ test_web_nette_24 \ - test_web_nette_latest \ test_web_slim_312 \ test_web_symfony_23 \ test_web_symfony_28 \ @@ -674,7 +673,6 @@ TEST_WEB_72 := \ test_web_lumen_56 \ test_web_lumen_58 \ test_web_nette_24 \ - test_web_nette_latest \ test_web_slim_312 \ test_web_slim_latest \ test_web_symfony_23 \ @@ -736,7 +734,6 @@ TEST_WEB_73 := \ test_web_lumen_81 \ test_web_magento_23 \ test_web_nette_24 \ - test_web_nette_latest \ test_web_slim_312 \ test_web_slim_latest \ test_web_symfony_34 \ @@ -799,7 +796,6 @@ TEST_WEB_74 := \ test_web_lumen_81 \ test_web_magento_23 \ test_web_nette_24 \ - test_web_nette_latest \ test_web_slim_312 \ test_web_slim_latest \ test_web_symfony_34 \ @@ -860,7 +856,6 @@ TEST_WEB_80 := \ test_web_lumen_81 \ test_web_lumen_90 \ test_web_nette_24 \ - test_web_nette_latest \ test_web_slim_312 \ test_web_slim_latest \ test_web_symfony_44 \ From 4fa69d5d1174d7e9a2579ff2ca1035342f450dd0 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Fri, 17 Jan 2025 11:47:30 +0100 Subject: [PATCH 26/65] Fix laminas test range --- tests/Frameworks/Laminas/Mvc/Version_3_6/composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Frameworks/Laminas/Mvc/Version_3_6/composer.json b/tests/Frameworks/Laminas/Mvc/Version_3_6/composer.json index f4e28ec4e3..62b3ecf46f 100644 --- a/tests/Frameworks/Laminas/Mvc/Version_3_6/composer.json +++ b/tests/Frameworks/Laminas/Mvc/Version_3_6/composer.json @@ -13,7 +13,7 @@ "php": "^7.3 || ~8.0.0", "laminas/laminas-component-installer": "^2.4", "laminas/laminas-development-mode": "^3.2", - "laminas/laminas-mvc": "3.6.1" + "laminas/laminas-mvc": "3.3.5 - 3.6.1" }, "autoload": { "psr-4": { From 912710c2ab52bfcab4dc1a8393bf7a8c22c98578 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Mon, 20 Jan 2025 09:02:43 +0100 Subject: [PATCH 27/65] Update snapshots & namespaces --- tests/Integrations/Laminas/Mvc/Latest/CommonScenariosTest.php | 2 +- ...minas.api_tools.latest.rest_test.test_scenario_rest2xx.json} | 0 ...minas.api_tools.latest.rest_test.test_scenario_rest4xx.json} | 0 ...minas.api_tools.latest.rest_test.test_scenario_rest5xx.json} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename tests/snapshots/{tests.integrations.laminas.api_tools.v1_9.rest_test.test_scenario_rest2xx.json => tests.integrations.laminas.api_tools.latest.rest_test.test_scenario_rest2xx.json} (100%) rename tests/snapshots/{tests.integrations.laminas.api_tools.v1_9.rest_test.test_scenario_rest4xx.json => tests.integrations.laminas.api_tools.latest.rest_test.test_scenario_rest4xx.json} (100%) rename tests/snapshots/{tests.integrations.laminas.api_tools.v1_9.rest_test.test_scenario_rest5xx.json => tests.integrations.laminas.api_tools.latest.rest_test.test_scenario_rest5xx.json} (100%) diff --git a/tests/Integrations/Laminas/Mvc/Latest/CommonScenariosTest.php b/tests/Integrations/Laminas/Mvc/Latest/CommonScenariosTest.php index 3a5101c283..07729b887f 100644 --- a/tests/Integrations/Laminas/Mvc/Latest/CommonScenariosTest.php +++ b/tests/Integrations/Laminas/Mvc/Latest/CommonScenariosTest.php @@ -1,6 +1,6 @@ Date: Mon, 20 Jan 2025 10:01:46 +0100 Subject: [PATCH 28/65] Add required symfony packages --- tests/Frameworks/Symfony/Latest/composer.json | 12 +++++++++++- .../Symfony/Latest/CommonScenariosTest.php | 5 +++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/tests/Frameworks/Symfony/Latest/composer.json b/tests/Frameworks/Symfony/Latest/composer.json index af9577204e..30ee3da6c3 100644 --- a/tests/Frameworks/Symfony/Latest/composer.json +++ b/tests/Frameworks/Symfony/Latest/composer.json @@ -15,10 +15,20 @@ "phpstan/phpdoc-parser": "^1.0", "symfony/console": "7.2.1", "symfony/doctrine-messenger": "^7.1", + "symfony/dotenv": "*", "symfony/flex": "^2", + "symfony/form": "*", "symfony/framework-bundle": "7.2.2", "symfony/messenger": "7.2.1", "symfony/monolog-bundle": "^3.10", + "symfony/property-access": "*", + "symfony/property-info": "*", + "symfony/runtime": "*", + "symfony/security-bundle": "*", + "symfony/serializer": "*", + "symfony/twig-bundle": "*", + "symfony/validator": "*", + "symfony/yaml": "*", "symfonycasts/verify-email-bundle": "^1.16" }, "config": { @@ -83,4 +93,4 @@ "require-dev": { "symfony/maker-bundle": "^1.49" } -} \ No newline at end of file +} diff --git a/tests/Integrations/Symfony/Latest/CommonScenariosTest.php b/tests/Integrations/Symfony/Latest/CommonScenariosTest.php index 59484da5c6..2c08d50ca3 100644 --- a/tests/Integrations/Symfony/Latest/CommonScenariosTest.php +++ b/tests/Integrations/Symfony/Latest/CommonScenariosTest.php @@ -27,6 +27,11 @@ protected static function getEnvs() ]); } + public function testFoo() + { + $this->assertTrue(true); + } + /** * @dataProvider provideSpecs * @param RequestSpec $spec From 80826f06700a9a607760e1a030bf8d3eff447116 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Mon, 20 Jan 2025 10:02:07 +0100 Subject: [PATCH 29/65] Remove `testFoo` --- tests/Integrations/Symfony/Latest/CommonScenariosTest.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/Integrations/Symfony/Latest/CommonScenariosTest.php b/tests/Integrations/Symfony/Latest/CommonScenariosTest.php index 2c08d50ca3..59484da5c6 100644 --- a/tests/Integrations/Symfony/Latest/CommonScenariosTest.php +++ b/tests/Integrations/Symfony/Latest/CommonScenariosTest.php @@ -27,11 +27,6 @@ protected static function getEnvs() ]); } - public function testFoo() - { - $this->assertTrue(true); - } - /** * @dataProvider provideSpecs * @param RequestSpec $spec From 31f70d710ebaf820e839722f1442a577dc5a85e8 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Mon, 20 Jan 2025 10:02:58 +0100 Subject: [PATCH 30/65] Change testsuite name --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0ff2ad170c..16167e60d9 100644 --- a/Makefile +++ b/Makefile @@ -1389,7 +1389,7 @@ test_web_symfony_62: global_test_run_dependencies tests/Frameworks/Symfony/Versi $(call run_tests_debug,--testsuite=symfony-62-test) test_web_symfony_latest: global_test_run_dependencies tests/Frameworks/Symfony/Latest/composer.lock-php$(PHP_MAJOR_MINOR) php tests/Frameworks/Symfony/Latest/bin/console cache:clear --no-warmup --env=prod - $(call run_tests_debug,--testsuite=symfony-70-test) + $(call run_tests_debug,--testsuite=symfony-latest-test) test_web_wordpress_48: global_test_run_dependencies $(call run_tests_debug,tests/Integrations/WordPress/V4_8) test_web_wordpress_55: global_test_run_dependencies From 767153a32f06a66481c01a8d5ae500a77a277ea2 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Mon, 20 Jan 2025 10:09:43 +0100 Subject: [PATCH 31/65] update snapshots --- ...st.common_scenarios_test.test_scenario_get_return_string.json} | 0 ...common_scenarios_test.test_scenario_get_to_missing_route.json} | 0 ...t.common_scenarios_test.test_scenario_get_with_exception.json} | 0 ...latest.common_scenarios_test.test_scenario_get_with_view.json} | 0 ..._4.common_scenarios_test.test_scenario_get_return_string.json} | 0 ...common_scenarios_test.test_scenario_get_to_missing_route.json} | 0 ...4.common_scenarios_test.test_scenario_get_with_exception.json} | 0 ...c.v1_4.common_scenarios_test.test_scenario_get_with_view.json} | 0 ...st.common_scenarios_test.test_scenario_get_dynamic_route.json} | 0 ...st.common_scenarios_test.test_scenario_get_return_string.json} | 0 ...common_scenarios_test.test_scenario_get_to_missing_route.json} | 0 ...t.common_scenarios_test.test_scenario_get_with_exception.json} | 0 ...latest.common_scenarios_test.test_scenario_get_with_view.json} | 0 13 files changed, 0 insertions(+), 0 deletions(-) rename tests/snapshots/{tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_return_string.json => tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_return_string.json} (100%) rename tests/snapshots/{tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_to_missing_route.json => tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_to_missing_route.json} (100%) rename tests/snapshots/{tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_with_exception.json => tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_with_exception.json} (100%) rename tests/snapshots/{tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_with_view.json => tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_with_view.json} (100%) rename tests/snapshots/{tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_return_string.json => tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_return_string.json} (100%) rename tests/snapshots/{tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_to_missing_route.json => tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_to_missing_route.json} (100%) rename tests/snapshots/{tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_with_exception.json => tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_with_exception.json} (100%) rename tests/snapshots/{tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_with_view.json => tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_with_view.json} (100%) rename tests/snapshots/{tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_dynamic_route.json => tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_dynamic_route.json} (100%) rename tests/snapshots/{tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_return_string.json => tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_return_string.json} (100%) rename tests/snapshots/{tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_to_missing_route.json => tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_to_missing_route.json} (100%) rename tests/snapshots/{tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_with_exception.json => tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_exception.json} (100%) rename tests/snapshots/{tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_with_view.json => tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_view.json} (100%) diff --git a/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_return_string.json similarity index 100% rename from tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_return_string.json rename to tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_return_string.json diff --git a/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_to_missing_route.json b/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_to_missing_route.json similarity index 100% rename from tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_to_missing_route.json rename to tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_to_missing_route.json diff --git a/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_with_exception.json similarity index 100% rename from tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_with_exception.json rename to tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_with_exception.json diff --git a/tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_with_view.json similarity index 100% rename from tests/snapshots/tests.integrations.laminas.v2_0.common_scenarios_test.test_scenario_get_with_view.json rename to tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_with_view.json diff --git a/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_return_string.json similarity index 100% rename from tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_return_string.json rename to tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_return_string.json diff --git a/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_to_missing_route.json b/tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_to_missing_route.json similarity index 100% rename from tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_to_missing_route.json rename to tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_to_missing_route.json diff --git a/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_with_exception.json similarity index 100% rename from tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_with_exception.json rename to tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_with_exception.json diff --git a/tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_with_view.json similarity index 100% rename from tests/snapshots/tests.integrations.laminas.v1_4.common_scenarios_test.test_scenario_get_with_view.json rename to tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_with_view.json diff --git a/tests/snapshots/tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_dynamic_route.json b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_dynamic_route.json similarity index 100% rename from tests/snapshots/tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_dynamic_route.json rename to tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_dynamic_route.json diff --git a/tests/snapshots/tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_return_string.json similarity index 100% rename from tests/snapshots/tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_return_string.json rename to tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_return_string.json diff --git a/tests/snapshots/tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_to_missing_route.json b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_to_missing_route.json similarity index 100% rename from tests/snapshots/tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_to_missing_route.json rename to tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_to_missing_route.json diff --git a/tests/snapshots/tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_exception.json similarity index 100% rename from tests/snapshots/tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_with_exception.json rename to tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_exception.json diff --git a/tests/snapshots/tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_view.json similarity index 100% rename from tests/snapshots/tests.integrations.laravel.v11_x.common_scenarios_test.test_scenario_get_with_view.json rename to tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_view.json From 74f57ca0c7ae3108b20588c4593004c0cb011e2f Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Mon, 20 Jan 2025 10:09:51 +0100 Subject: [PATCH 32/65] remove config platform from nette --- tests/Frameworks/Nette/Latest/composer.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/Frameworks/Nette/Latest/composer.json b/tests/Frameworks/Nette/Latest/composer.json index b2b3350006..34180614ce 100644 --- a/tests/Frameworks/Nette/Latest/composer.json +++ b/tests/Frameworks/Nette/Latest/composer.json @@ -36,10 +36,5 @@ "app/Bootstrap.php" ] }, - "minimum-stability": "stable", - "config": { - "platform": { - "php": "7.1" - } - } + "minimum-stability": "stable" } \ No newline at end of file From a422a594fef08fed0299e1eed1ac67032c851be6 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Mon, 20 Jan 2025 10:10:49 +0100 Subject: [PATCH 33/65] fix namespace --- tests/Integrations/Laminas/Mvc/V3_6/CommonScenariosTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integrations/Laminas/Mvc/V3_6/CommonScenariosTest.php b/tests/Integrations/Laminas/Mvc/V3_6/CommonScenariosTest.php index 87c608035a..a33474f493 100644 --- a/tests/Integrations/Laminas/Mvc/V3_6/CommonScenariosTest.php +++ b/tests/Integrations/Laminas/Mvc/V3_6/CommonScenariosTest.php @@ -2,7 +2,7 @@ namespace DDTrace\Tests\Integrations\Laminas\Mvc\V3_6; -class CommonScenariosTest extends \DDTrace\Tests\Integrations\Laminas\Latest\CommonScenariosTest +class CommonScenariosTest extends \DDTrace\Tests\Integrations\Laminas\Mvc\Latest\CommonScenariosTest { public static function getAppIndexScript() { From f738fd7a798bb073940802df51692f0a12ad3a5b Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Mon, 20 Jan 2025 10:11:59 +0100 Subject: [PATCH 34/65] Sett yii config platform to 7.3 --- tests/Frameworks/Yii/Latest/composer.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Frameworks/Yii/Latest/composer.json b/tests/Frameworks/Yii/Latest/composer.json index 615d0eb576..075fbdd9e3 100644 --- a/tests/Frameworks/Yii/Latest/composer.json +++ b/tests/Frameworks/Yii/Latest/composer.json @@ -36,6 +36,9 @@ }, "allow-plugins": { "yiisoft/yii2-composer": true + }, + "platform": { + "php": "7.3" } }, "scripts": { From c939243e3034e94fad80fc262a47ffafa52f9b0f Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Mon, 20 Jan 2025 10:13:14 +0100 Subject: [PATCH 35/65] Adapt makefile to slim latest --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 16167e60d9..65c68d615b 100644 --- a/Makefile +++ b/Makefile @@ -674,7 +674,6 @@ TEST_WEB_72 := \ test_web_lumen_58 \ test_web_nette_24 \ test_web_slim_312 \ - test_web_slim_latest \ test_web_symfony_23 \ test_web_symfony_28 \ test_web_symfony_30 \ @@ -735,7 +734,6 @@ TEST_WEB_73 := \ test_web_magento_23 \ test_web_nette_24 \ test_web_slim_312 \ - test_web_slim_latest \ test_web_symfony_34 \ test_web_symfony_40 \ test_web_symfony_42 \ From 8dedf8a61ead1789eeb34f98b821df1745319341 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Mon, 20 Jan 2025 10:33:10 +0100 Subject: [PATCH 36/65] Remove unsupported runtime for now --- Makefile | 8 -------- tests/Frameworks/Yii/Latest/composer.json | 3 --- 2 files changed, 11 deletions(-) diff --git a/Makefile b/Makefile index 65c68d615b..ae698de9ff 100644 --- a/Makefile +++ b/Makefile @@ -550,7 +550,6 @@ TEST_INTEGRATIONS_70 := \ test_integrations_kafka \ test_integrations_memcache \ test_integrations_memcached \ - test_integrations_mongodb_latest \ test_integrations_mysqli \ test_integrations_pdo \ test_integrations_elasticsearch1 \ @@ -577,7 +576,6 @@ TEST_WEB_70 := \ test_web_symfony_30 \ test_web_symfony_33 \ test_web_symfony_34 \ - test_web_yii_latest \ test_web_wordpress_48 \ test_web_wordpress_55 \ test_web_wordpress_61 \ @@ -587,12 +585,10 @@ TEST_WEB_70 := \ TEST_INTEGRATIONS_71 := \ test_integrations_deferred_loading \ test_integrations_amqp2 \ - test_integrations_amqp_latest \ test_integrations_curl \ test_integrations_kafka \ test_integrations_memcache \ test_integrations_memcached \ - test_integrations_mongodb_latest \ test_integrations_monolog1 \ test_integrations_mysqli \ test_integrations_pdo \ @@ -628,7 +624,6 @@ TEST_WEB_71 := \ test_web_symfony_34 \ test_web_symfony_40 \ test_web_symfony_42 \ - test_web_yii_latest \ test_web_wordpress_48 \ test_web_wordpress_55 \ test_web_wordpress_61 \ @@ -643,7 +638,6 @@ TEST_INTEGRATIONS_72 := \ test_integrations_kafka \ test_integrations_memcache \ test_integrations_memcached \ - test_integrations_mongodb_latest \ test_integrations_monolog1 \ test_integrations_monolog2 \ test_integrations_mysqli \ @@ -688,7 +682,6 @@ TEST_WEB_72 := \ test_web_wordpress_48 \ test_web_wordpress_55 \ test_web_wordpress_61 \ - test_web_yii_latest \ test_web_zend_1 \ test_web_custom @@ -700,7 +693,6 @@ TEST_INTEGRATIONS_73 :=\ test_integrations_kafka \ test_integrations_memcache \ test_integrations_memcached \ - test_integrations_mongodb_latest \ test_integrations_monolog1 \ test_integrations_monolog2 \ test_integrations_mysqli \ diff --git a/tests/Frameworks/Yii/Latest/composer.json b/tests/Frameworks/Yii/Latest/composer.json index 075fbdd9e3..615d0eb576 100644 --- a/tests/Frameworks/Yii/Latest/composer.json +++ b/tests/Frameworks/Yii/Latest/composer.json @@ -36,9 +36,6 @@ }, "allow-plugins": { "yiisoft/yii2-composer": true - }, - "platform": { - "php": "7.3" } }, "scripts": { From 85c86298f158b5db0dc9dae181033ef6ce0eabc3 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Mon, 20 Jan 2025 11:04:13 +0100 Subject: [PATCH 37/65] Update snapshots --- tests/Frameworks/Nette/Latest/composer.json | 18 +- ..._test.test_scenario_get_return_string.json | 6 +- ...st.test_scenario_get_to_missing_route.json | 4 +- ...test.test_scenario_get_with_exception.json | 22 +- ...rios_test.test_scenario_get_with_view.json | 6 +- ...rios_test.test_scenario_get_with_view.json | 348 -------------- ...test.test_scenario_get_return_string.json} | 6 +- ...t.test_scenario_get_to_missing_route.json} | 4 +- ...est.test_scenario_get_with_exception.json} | 22 +- ...rios_test.test_scenario_get_with_view.json | 434 ++++++++++++++++++ ..._test.test_scenario_get_dynamic_route.json | 2 +- ...st.test_scenario_get_to_missing_route.json | 2 +- ...test.test_scenario_get_with_exception.json | 10 +- ...rios_test.test_scenario_get_with_view.json | 4 +- ...st.messenger_test.test_async_failure.json} | 0 ...ger_test.test_async_failure_consumer.json} | 0 ...st.messenger_test.test_async_success.json} | 0 ...ger_test.test_async_success_consumer.json} | 0 ...sync_with_tracer_disabled_on_consume.json} | 0 19 files changed, 494 insertions(+), 394 deletions(-) delete mode 100644 tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_with_view.json rename tests/snapshots/{tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_return_string.json => tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_return_string.json} (98%) rename tests/snapshots/{tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_to_missing_route.json => tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_to_missing_route.json} (98%) rename tests/snapshots/{tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_with_exception.json => tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_with_exception.json} (66%) create mode 100644 tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_with_view.json rename tests/snapshots/{tests.integrations.symfony.v7_0.messenger_test.test_async_failure.json => tests.integrations.symfony.latest.messenger_test.test_async_failure.json} (100%) rename tests/snapshots/{tests.integrations.symfony.v7_0.messenger_test.test_async_failure_consumer.json => tests.integrations.symfony.latest.messenger_test.test_async_failure_consumer.json} (100%) rename tests/snapshots/{tests.integrations.symfony.v7_0.messenger_test.test_async_success.json => tests.integrations.symfony.latest.messenger_test.test_async_success.json} (100%) rename tests/snapshots/{tests.integrations.symfony.v7_0.messenger_test.test_async_success_consumer.json => tests.integrations.symfony.latest.messenger_test.test_async_success_consumer.json} (100%) rename tests/snapshots/{tests.integrations.symfony.v7_0.messenger_test.test_async_with_tracer_disabled_on_consume.json => tests.integrations.symfony.latest.messenger_test.test_async_with_tracer_disabled_on_consume.json} (100%) diff --git a/tests/Frameworks/Nette/Latest/composer.json b/tests/Frameworks/Nette/Latest/composer.json index 34180614ce..9b759c372f 100644 --- a/tests/Frameworks/Nette/Latest/composer.json +++ b/tests/Frameworks/Nette/Latest/composer.json @@ -14,17 +14,17 @@ "require": { "php": ">= 7.1", "nette/application": "3.2.6", - "nette/bootstrap": "~3.0.0", - "nette/caching": "~3.0.0", - "nette/database": "~3.0.0", - "nette/di": "~3.0.0", + "nette/bootstrap": "^3.0.0", + "nette/caching": "^3.0.0", + "nette/database": "^3.0.0", + "nette/di": "^3.0.0", "nette/finder": "^2.5", - "nette/forms": "~3.0.0", - "nette/http": "~3.0.0", - "nette/mail": "~3.0.0", + "nette/forms": "^3.0.0", + "nette/http": "^3.0.0", + "nette/mail": "^3.0.0", "nette/robot-loader": "^3.0", - "nette/security": "~3.0.0", - "nette/utils": "~3.0.0", + "nette/security": "^3.0.0", + "nette/utils": "^3.0.0", "latte/latte": "^2.5", "tracy/tracy": "^2.6" }, diff --git a/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_return_string.json index 8022cbe28f..17fae8cb34 100644 --- a/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_return_string.json +++ b/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_return_string.json @@ -5,17 +5,19 @@ "resource": "Application\\Controller\\CommonSpecsController@simple simple", "trace_id": 0, "span_id": 1, - "parent_id": 2883696377808074518, + "parent_id": 2299815508941289877, "type": "web", "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "678e1f5700000000", "component": "laminas", "http.method": "GET", - "laminas.route.name": "simple", "http.status_code": "200", "http.url": "http://localhost/simple?key=value&", "http.version": "1.1", "laminas.route.action": "Application\\Controller\\CommonSpecsController@simple", + "laminas.route.name": "simple", + "runtime-id": "1ee004ab-79db-4577-90da-25f08cb6aead", "span.kind": "server" }, "metrics": { diff --git a/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_to_missing_route.json b/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_to_missing_route.json index cebd2538ca..7607ac1ad5 100644 --- a/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_to_missing_route.json +++ b/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_to_missing_route.json @@ -5,15 +5,17 @@ "resource": "GET /does_not_exist", "trace_id": 0, "span_id": 1, - "parent_id": 2747341357639439789, + "parent_id": 13321508795723062988, "type": "web", "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "678e1f6c00000000", "component": "laminas", "http.method": "GET", "http.status_code": "404", "http.url": "http://localhost/does_not_exist?key=value&", "http.version": "1.1", + "runtime-id": "1ee004ab-79db-4577-90da-25f08cb6aead", "span.kind": "server" }, "metrics": { diff --git a/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_with_exception.json index 2838b7c0a9..1b6cefb591 100644 --- a/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_with_exception.json +++ b/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_with_exception.json @@ -5,21 +5,23 @@ "resource": "Application\\Controller\\CommonSpecsController@error error", "trace_id": 0, "span_id": 1, - "parent_id": 9335450213440539677, + "parent_id": 16291824678567063128, "type": "web", "error": 1, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "678e1f6700000000", "component": "laminas", - "error.message": "Uncaught Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/module/Application/src/Controller/CommonSpecsController.php:33", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(72): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch(Object(Laminas\\Mvc\\MvcEvent))\n#2 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners(Object(Laminas\\Mvc\\MvcEvent), Object(Closure))\n#3 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\\Mvc\\MvcEvent))\n#4 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractController->dispatch(Object(Laminas\\Http\\PhpEnvironment\\Request), Object(Laminas\\Http\\PhpEnvironment\\Response))\n#5 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\DispatchListener->onDispatch(Object(Laminas\\Mvc\\MvcEvent))\n#6 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners(Object(Laminas\\Mvc\\MvcEvent), Object(Closure))\n#7 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\\Mvc\\MvcEvent))\n#8 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/public/index.php(37): Laminas\\Mvc\\Application->run()\n#9 {main}", + "error.message": "Uncaught Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/module/Application/src/Controller/CommonSpecsController.php:33", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(72): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(318): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(176): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(318): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(176): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/public/index.php(37): Laminas\\Mvc\\Application->run()\n#9 {main}", "error.type": "Exception", "http.method": "GET", - "laminas.route.name": "error", "http.status_code": "500", "http.url": "http://localhost/error?key=value&", "http.version": "1.1", "laminas.route.action": "Application\\Controller\\CommonSpecsController@error", + "laminas.route.name": "error", + "runtime-id": "1ee004ab-79db-4577-90da-25f08cb6aead", "span.kind": "server" }, "metrics": { @@ -205,8 +207,8 @@ "error": 1, "meta": { "component": "laminas", - "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/module/Application/src/Controller/CommonSpecsController.php:33", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(72): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/public/index.php(37): Laminas\\Mvc\\Application->run()\n#9 {main}", + "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/module/Application/src/Controller/CommonSpecsController.php:33", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(72): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(318): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(176): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(318): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(176): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/public/index.php(37): Laminas\\Mvc\\Application->run()\n#9 {main}", "error.type": "Exception" } }, @@ -221,8 +223,8 @@ "error": 1, "meta": { "component": "laminas", - "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/module/Application/src/Controller/CommonSpecsController.php:33", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(72): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/public/index.php(37): Laminas\\Mvc\\Application->run()\n#9 {main}", + "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/module/Application/src/Controller/CommonSpecsController.php:33", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(72): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(318): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(176): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(318): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(176): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/public/index.php(37): Laminas\\Mvc\\Application->run()\n#9 {main}", "error.type": "Exception" } }, @@ -237,8 +239,8 @@ "error": 1, "meta": { "component": "laminas", - "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/module/Application/src/Controller/CommonSpecsController.php:33", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(72): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Version_2_0/public/index.php(37): Laminas\\Mvc\\Application->run()\n#9 {main}", + "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/module/Application/src/Controller/CommonSpecsController.php:33", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(72): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(318): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(176): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(318): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(176): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Latest/public/index.php(37): Laminas\\Mvc\\Application->run()\n#9 {main}", "error.type": "Exception" } }, diff --git a/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_with_view.json index 241060043b..be4966177c 100644 --- a/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_with_view.json +++ b/tests/snapshots/tests.integrations.laminas.mvc.latest.common_scenarios_test.test_scenario_get_with_view.json @@ -5,17 +5,19 @@ "resource": "Application\\Controller\\CommonSpecsController@view simpleView", "trace_id": 0, "span_id": 1, - "parent_id": 11972289175454604309, + "parent_id": 9163201745929683890, "type": "web", "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "678e1f5c00000000", "component": "laminas", "http.method": "GET", - "laminas.route.name": "simpleView", "http.status_code": "200", "http.url": "http://localhost/simple_view?key=value&", "http.version": "1.1", "laminas.route.action": "Application\\Controller\\CommonSpecsController@view", + "laminas.route.name": "simpleView", + "runtime-id": "1ee004ab-79db-4577-90da-25f08cb6aead", "span.kind": "server" }, "metrics": { diff --git a/tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_with_view.json deleted file mode 100644 index 6364489c84..0000000000 --- a/tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_with_view.json +++ /dev/null @@ -1,348 +0,0 @@ -[[ - { - "name": "laminas.request", - "service": "test_laminas_mvc_latest", - "resource": "Application\\Controller\\CommonSpecsController@view simpleView", - "trace_id": 0, - "span_id": 1, - "parent_id": 3103401253233543803, - "type": "web", - "meta": { - "_dd.p.dm": "-0", - "component": "laminas", - "http.method": "GET", - "laminas.route.name": "simpleView", - "http.status_code": "200", - "http.url": "http://localhost/simple_view?key=value&", - "http.version": "1.1", - "laminas.route.action": "Application\\Controller\\CommonSpecsController@view", - "span.kind": "server" - }, - "metrics": { - "_sampling_priority_v1": 1.0 - } - }, - { - "name": "laminas.application.init", - "service": "test_laminas_mvc_latest", - "resource": "laminas.application.init", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.event.loadModules", - "service": "test_laminas_mvc_latest", - "resource": "laminas.event.loadModules", - "trace_id": 0, - "span_id": 4, - "parent_id": 2, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.event.loadModules.post", - "service": "test_laminas_mvc_latest", - "resource": "laminas.event.loadModules.post", - "trace_id": 0, - "span_id": 5, - "parent_id": 2, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.application.bootstrap", - "service": "test_laminas_mvc_latest", - "resource": "laminas.application.bootstrap", - "trace_id": 0, - "span_id": 6, - "parent_id": 2, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.event.bootstrap", - "service": "test_laminas_mvc_latest", - "resource": "laminas.event.bootstrap", - "trace_id": 0, - "span_id": 10, - "parent_id": 6, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.mvcEventListener", - "service": "test_laminas_mvc_latest", - "resource": "Laminas\\Mvc\\View\\Http\\ViewManager@onBootstrap", - "trace_id": 0, - "span_id": 18, - "parent_id": 10, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.application.run", - "service": "test_laminas_mvc_latest", - "resource": "laminas.application.run", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.event.route", - "service": "test_laminas_mvc_latest", - "resource": "laminas.event.route", - "trace_id": 0, - "span_id": 7, - "parent_id": 3, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.mvcEventListener", - "service": "test_laminas_mvc_latest", - "resource": "Laminas\\Mvc\\HttpMethodListener@onRoute", - "trace_id": 0, - "span_id": 11, - "parent_id": 7, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.mvcEventListener", - "service": "test_laminas_mvc_latest", - "resource": "Laminas\\Mvc\\RouteListener@onRoute", - "trace_id": 0, - "span_id": 12, - "parent_id": 7, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.route.match", - "service": "test_laminas_mvc_latest", - "resource": "Laminas\\Router\\Http\\TreeRouteStack@match", - "trace_id": 0, - "span_id": 19, - "parent_id": 12, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.event.dispatch", - "service": "test_laminas_mvc_latest", - "resource": "laminas.event.dispatch", - "trace_id": 0, - "span_id": 8, - "parent_id": 3, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.mvcEventListener", - "service": "test_laminas_mvc_latest", - "resource": "Laminas\\Mvc\\MiddlewareListener@onDispatch", - "trace_id": 0, - "span_id": 13, - "parent_id": 8, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.mvcEventListener", - "service": "test_laminas_mvc_latest", - "resource": "Laminas\\Mvc\\DispatchListener@onDispatch", - "trace_id": 0, - "span_id": 14, - "parent_id": 8, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.controller.dispatch", - "service": "test_laminas_mvc_latest", - "resource": "Application\\Controller\\CommonSpecsController", - "trace_id": 0, - "span_id": 20, - "parent_id": 14, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.mvcEventListener", - "service": "test_laminas_mvc_latest", - "resource": "Application\\Controller\\CommonSpecsController@onDispatch", - "trace_id": 0, - "span_id": 23, - "parent_id": 20, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.controller.action", - "service": "test_laminas_mvc_latest", - "resource": "Application\\Controller\\CommonSpecsController@viewAction", - "trace_id": 0, - "span_id": 27, - "parent_id": 23, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.mvcEventListener", - "service": "test_laminas_mvc_latest", - "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@prepareNotFoundViewModel", - "trace_id": 0, - "span_id": 24, - "parent_id": 20, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.mvcEventListener", - "service": "test_laminas_mvc_latest", - "resource": "Laminas\\Mvc\\View\\Http\\InjectViewModelListener@injectViewModel", - "trace_id": 0, - "span_id": 25, - "parent_id": 20, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.mvcEventListener", - "service": "test_laminas_mvc_latest", - "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@prepareNotFoundViewModel", - "trace_id": 0, - "span_id": 15, - "parent_id": 8, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.application.completeRequest", - "service": "test_laminas_mvc_latest", - "resource": "laminas.application.completeRequest", - "trace_id": 0, - "span_id": 9, - "parent_id": 3, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.event.render", - "service": "test_laminas_mvc_latest", - "resource": "laminas.event.render", - "trace_id": 0, - "span_id": 16, - "parent_id": 9, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.view.http.renderer", - "service": "test_laminas_mvc_latest", - "resource": "Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy@render", - "trace_id": 0, - "span_id": 21, - "parent_id": 16, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.view.render", - "service": "test_laminas_mvc_latest", - "resource": "laminas.view.render", - "trace_id": 0, - "span_id": 26, - "parent_id": 21, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.templating.render", - "service": "test_laminas_mvc_latest", - "resource": "application/common-specs/view", - "trace_id": 0, - "span_id": 28, - "parent_id": 26, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.event.finish", - "service": "test_laminas_mvc_latest", - "resource": "laminas.event.finish", - "trace_id": 0, - "span_id": 17, - "parent_id": 9, - "type": "web", - "meta": { - "component": "laminas" - } - }, - { - "name": "laminas.mvcEventListener", - "service": "test_laminas_mvc_latest", - "resource": "Laminas\\Mvc\\SendResponseListener@sendResponse", - "trace_id": 0, - "span_id": 22, - "parent_id": 17, - "type": "web", - "meta": { - "component": "laminas" - } - }]] diff --git a/tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_return_string.json similarity index 98% rename from tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_return_string.json rename to tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_return_string.json index 751701b213..93ec55e705 100644 --- a/tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_return_string.json +++ b/tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_return_string.json @@ -5,17 +5,19 @@ "resource": "Application\\Controller\\CommonSpecsController@simple simple", "trace_id": 0, "span_id": 1, - "parent_id": 1138859447638824880, + "parent_id": 2020821974157024981, "type": "web", "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "678e1e7b00000000", "component": "laminas", "http.method": "GET", - "laminas.route.name": "simple", "http.status_code": "200", "http.url": "http://localhost/simple?key=value&", "http.version": "1.1", "laminas.route.action": "Application\\Controller\\CommonSpecsController@simple", + "laminas.route.name": "simple", + "runtime-id": "fe6c2ca1-6061-4e25-bb34-6442f13537d5", "span.kind": "server" }, "metrics": { diff --git a/tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_to_missing_route.json b/tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_to_missing_route.json similarity index 98% rename from tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_to_missing_route.json rename to tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_to_missing_route.json index 2522e00374..c6c3e6d75b 100644 --- a/tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_to_missing_route.json +++ b/tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_to_missing_route.json @@ -5,15 +5,17 @@ "resource": "GET /does_not_exist", "trace_id": 0, "span_id": 1, - "parent_id": 1625545689840073902, + "parent_id": 6196571315499949168, "type": "web", "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "678e1e8b00000000", "component": "laminas", "http.method": "GET", "http.status_code": "404", "http.url": "http://localhost/does_not_exist?key=value&", "http.version": "1.1", + "runtime-id": "fe6c2ca1-6061-4e25-bb34-6442f13537d5", "span.kind": "server" }, "metrics": { diff --git a/tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_with_exception.json similarity index 66% rename from tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_with_exception.json rename to tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_with_exception.json index ee6fb7347d..38c02bfefa 100644 --- a/tests/snapshots/tests.integrations.laminas.mvc.v1_4.common_scenarios_test.test_scenario_get_with_exception.json +++ b/tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_with_exception.json @@ -5,21 +5,23 @@ "resource": "Application\\Controller\\CommonSpecsController@error error", "trace_id": 0, "span_id": 1, - "parent_id": 4690303927266834989, + "parent_id": 10494737273565178309, "type": "web", "error": 1, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "678e1e8600000000", "component": "laminas", - "error.message": "Uncaught Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/module/Application/src/Controller/CommonSpecsController.php:33", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(71): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(97): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/DispatchListener.php(132): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/Application.php(325): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/public/index.php(42): Laminas\\Mvc\\Application->run()\n#9 {main}", + "error.message": "Uncaught Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/src/Controller/CommonSpecsController.php:33", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(72): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php(42): Laminas\\Mvc\\Application->run()\n#9 {main}", "error.type": "Exception", "http.method": "GET", - "laminas.route.name": "error", "http.status_code": "500", "http.url": "http://localhost/error?key=value&", "http.version": "1.1", "laminas.route.action": "Application\\Controller\\CommonSpecsController@error", + "laminas.route.name": "error", + "runtime-id": "fe6c2ca1-6061-4e25-bb34-6442f13537d5", "span.kind": "server" }, "metrics": { @@ -205,8 +207,8 @@ "error": 1, "meta": { "component": "laminas", - "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/module/Application/src/Controller/CommonSpecsController.php:33", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(71): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(97): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/DispatchListener.php(132): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/Application.php(325): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/public/index.php(42): Laminas\\Mvc\\Application->run()\n#9 {main}", + "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/src/Controller/CommonSpecsController.php:33", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(72): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php(42): Laminas\\Mvc\\Application->run()\n#9 {main}", "error.type": "Exception" } }, @@ -221,8 +223,8 @@ "error": 1, "meta": { "component": "laminas", - "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/module/Application/src/Controller/CommonSpecsController.php:33", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(71): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(97): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/DispatchListener.php(132): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/Application.php(325): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/public/index.php(42): Laminas\\Mvc\\Application->run()\n#9 {main}", + "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/src/Controller/CommonSpecsController.php:33", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(72): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php(42): Laminas\\Mvc\\Application->run()\n#9 {main}", "error.type": "Exception" } }, @@ -237,8 +239,8 @@ "error": 1, "meta": { "component": "laminas", - "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/module/Application/src/Controller/CommonSpecsController.php:33", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(71): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(97): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/DispatchListener.php(132): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/vendor/laminas/laminas-mvc/src/Application.php(325): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Version_1_4/public/index.php(42): Laminas\\Mvc\\Application->run()\n#9 {main}", + "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/src/Controller/CommonSpecsController.php:33", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(72): Application\\Controller\\CommonSpecsController->errorAction()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\Controller\\AbstractActionController->onDispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\DispatchListener->onDispatch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php(42): Laminas\\Mvc\\Application->run()\n#9 {main}", "error.type": "Exception" } }, diff --git a/tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_with_view.json new file mode 100644 index 0000000000..8e0332af0c --- /dev/null +++ b/tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_with_view.json @@ -0,0 +1,434 @@ +[[ + { + "name": "laminas.request", + "service": "test_laminas_mvc_latest", + "resource": "Application\\Controller\\CommonSpecsController@view simpleView", + "trace_id": 0, + "span_id": 1, + "parent_id": 1517573652244151879, + "type": "web", + "error": 1, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "678e1e8100000000", + "component": "laminas", + "error.message": "Uncaught Laminas\\View\\Exception\\RuntimeException: Laminas\\View\\Renderer\\PhpRenderer::render: Unable to render template \"application/common-specs/view\"; resolver could not resolve to a file in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:518", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/View.php(194): Laminas\\View\\Renderer\\PhpRenderer->render()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(92): Laminas\\View\\View->render()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(354): Laminas\\EventManager\\EventManager->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(335): Laminas\\Mvc\\Application->completeRequest()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php(42): Laminas\\Mvc\\Application->run()\n#7 {main}\n\nNext Laminas\\View\\Exception\\RuntimeException: Laminas\\View\\Renderer\\PhpRenderer::render: Unable to render template \"application/common-specs/view\"; resolver could not resolve to a file in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:518\nStack trace:\n#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/View.php(194): Laminas\\View\\Renderer\\PhpRenderer->render()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(92): Laminas\\View\\View->render()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(110): Laminas\\EventManager\\EventManager->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(354): Laminas\\EventManager\\EventManager->triggerEvent()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(335): Laminas\\Mvc\\Application->completeRequest()\n#9 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php(42): Laminas\\Mvc\\Application->run()\n#10 {main}", + "error.type": "Laminas\\View\\Exception\\RuntimeException", + "http.method": "GET", + "http.status_code": "200", + "http.url": "http://localhost/simple_view?key=value&", + "http.version": "1.1", + "laminas.route.action": "Application\\Controller\\CommonSpecsController@view", + "laminas.route.name": "simpleView", + "runtime-id": "fe6c2ca1-6061-4e25-bb34-6442f13537d5", + "span.kind": "server" + }, + "metrics": { + "_sampling_priority_v1": 1.0 + } + }, + { + "name": "laminas.application.init", + "service": "test_laminas_mvc_latest", + "resource": "laminas.application.init", + "trace_id": 0, + "span_id": 2, + "parent_id": 1, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.event.loadModules", + "service": "test_laminas_mvc_latest", + "resource": "laminas.event.loadModules", + "trace_id": 0, + "span_id": 4, + "parent_id": 2, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.event.loadModules.post", + "service": "test_laminas_mvc_latest", + "resource": "laminas.event.loadModules.post", + "trace_id": 0, + "span_id": 5, + "parent_id": 2, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.application.bootstrap", + "service": "test_laminas_mvc_latest", + "resource": "laminas.application.bootstrap", + "trace_id": 0, + "span_id": 6, + "parent_id": 2, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.event.bootstrap", + "service": "test_laminas_mvc_latest", + "resource": "laminas.event.bootstrap", + "trace_id": 0, + "span_id": 10, + "parent_id": 6, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.mvcEventListener", + "service": "test_laminas_mvc_latest", + "resource": "Laminas\\Mvc\\View\\Http\\ViewManager@onBootstrap", + "trace_id": 0, + "span_id": 17, + "parent_id": 10, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.application.run", + "service": "test_laminas_mvc_latest", + "resource": "laminas.application.run", + "trace_id": 0, + "span_id": 3, + "parent_id": 1, + "type": "web", + "error": 1, + "meta": { + "component": "laminas", + "error.message": "Thrown Laminas\\View\\Exception\\RuntimeException: Laminas\\View\\Renderer\\PhpRenderer::render: Unable to render template \"application/common-specs/view\"; resolver could not resolve to a file in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:518", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/View.php(194): Laminas\\View\\Renderer\\PhpRenderer->render()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(92): Laminas\\View\\View->render()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(110): Laminas\\EventManager\\EventManager->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(354): Laminas\\EventManager\\EventManager->triggerEvent()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(335): Laminas\\Mvc\\Application->completeRequest()\n#9 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php(42): Laminas\\Mvc\\Application->run()\n#10 {main}", + "error.type": "Laminas\\View\\Exception\\RuntimeException" + } + }, + { + "name": "laminas.event.route", + "service": "test_laminas_mvc_latest", + "resource": "laminas.event.route", + "trace_id": 0, + "span_id": 7, + "parent_id": 3, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.mvcEventListener", + "service": "test_laminas_mvc_latest", + "resource": "Laminas\\Mvc\\HttpMethodListener@onRoute", + "trace_id": 0, + "span_id": 11, + "parent_id": 7, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.mvcEventListener", + "service": "test_laminas_mvc_latest", + "resource": "Laminas\\Mvc\\RouteListener@onRoute", + "trace_id": 0, + "span_id": 12, + "parent_id": 7, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.route.match", + "service": "test_laminas_mvc_latest", + "resource": "Laminas\\Router\\Http\\TreeRouteStack@match", + "trace_id": 0, + "span_id": 18, + "parent_id": 12, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.event.dispatch", + "service": "test_laminas_mvc_latest", + "resource": "laminas.event.dispatch", + "trace_id": 0, + "span_id": 8, + "parent_id": 3, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.mvcEventListener", + "service": "test_laminas_mvc_latest", + "resource": "Laminas\\Mvc\\MiddlewareListener@onDispatch", + "trace_id": 0, + "span_id": 13, + "parent_id": 8, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.mvcEventListener", + "service": "test_laminas_mvc_latest", + "resource": "Laminas\\Mvc\\DispatchListener@onDispatch", + "trace_id": 0, + "span_id": 14, + "parent_id": 8, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.controller.dispatch", + "service": "test_laminas_mvc_latest", + "resource": "Application\\Controller\\CommonSpecsController", + "trace_id": 0, + "span_id": 19, + "parent_id": 14, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.mvcEventListener", + "service": "test_laminas_mvc_latest", + "resource": "Application\\Controller\\CommonSpecsController@onDispatch", + "trace_id": 0, + "span_id": 21, + "parent_id": 19, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.controller.action", + "service": "test_laminas_mvc_latest", + "resource": "Application\\Controller\\CommonSpecsController@viewAction", + "trace_id": 0, + "span_id": 29, + "parent_id": 21, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.mvcEventListener", + "service": "test_laminas_mvc_latest", + "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@prepareNotFoundViewModel", + "trace_id": 0, + "span_id": 22, + "parent_id": 19, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.mvcEventListener", + "service": "test_laminas_mvc_latest", + "resource": "Laminas\\Mvc\\View\\Http\\InjectViewModelListener@injectViewModel", + "trace_id": 0, + "span_id": 23, + "parent_id": 19, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.mvcEventListener", + "service": "test_laminas_mvc_latest", + "resource": "Laminas\\Mvc\\View\\Http\\RouteNotFoundStrategy@prepareNotFoundViewModel", + "trace_id": 0, + "span_id": 15, + "parent_id": 8, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.application.completeRequest", + "service": "test_laminas_mvc_latest", + "resource": "laminas.application.completeRequest", + "trace_id": 0, + "span_id": 9, + "parent_id": 3, + "type": "web", + "error": 1, + "meta": { + "component": "laminas", + "error.message": "Thrown Laminas\\View\\Exception\\RuntimeException: Laminas\\View\\Renderer\\PhpRenderer::render: Unable to render template \"application/common-specs/view\"; resolver could not resolve to a file in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:518", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/View.php(194): Laminas\\View\\Renderer\\PhpRenderer->render()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(92): Laminas\\View\\View->render()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(110): Laminas\\EventManager\\EventManager->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(354): Laminas\\EventManager\\EventManager->triggerEvent()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(335): Laminas\\Mvc\\Application->completeRequest()\n#9 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php(42): Laminas\\Mvc\\Application->run()\n#10 {main}", + "error.type": "Laminas\\View\\Exception\\RuntimeException" + } + }, + { + "name": "laminas.event.render", + "service": "test_laminas_mvc_latest", + "resource": "laminas.event.render", + "trace_id": 0, + "span_id": 16, + "parent_id": 9, + "type": "web", + "error": 1, + "meta": { + "component": "laminas", + "error.message": "Thrown Laminas\\View\\Exception\\RuntimeException: Laminas\\View\\Renderer\\PhpRenderer::render: Unable to render template \"application/common-specs/view\"; resolver could not resolve to a file in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:518", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/View.php(194): Laminas\\View\\Renderer\\PhpRenderer->render()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(92): Laminas\\View\\View->render()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(110): Laminas\\EventManager\\EventManager->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(354): Laminas\\EventManager\\EventManager->triggerEvent()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(335): Laminas\\Mvc\\Application->completeRequest()\n#9 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php(42): Laminas\\Mvc\\Application->run()\n#10 {main}", + "error.type": "Laminas\\View\\Exception\\RuntimeException" + } + }, + { + "name": "laminas.view.http.renderer", + "service": "test_laminas_mvc_latest", + "resource": "Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy@render", + "trace_id": 0, + "span_id": 20, + "parent_id": 16, + "type": "web", + "error": 1, + "meta": { + "component": "laminas", + "error.message": "Thrown Laminas\\View\\Exception\\RuntimeException: Laminas\\View\\Renderer\\PhpRenderer::render: Unable to render template \"application/common-specs/view\"; resolver could not resolve to a file in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:518", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/View.php(194): Laminas\\View\\Renderer\\PhpRenderer->render()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(92): Laminas\\View\\View->render()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(110): Laminas\\EventManager\\EventManager->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(354): Laminas\\EventManager\\EventManager->triggerEvent()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(335): Laminas\\Mvc\\Application->completeRequest()\n#9 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php(42): Laminas\\Mvc\\Application->run()\n#10 {main}", + "error.type": "Laminas\\View\\Exception\\RuntimeException" + } + }, + { + "name": "laminas.view.render", + "service": "test_laminas_mvc_latest", + "resource": "laminas.view.render", + "trace_id": 0, + "span_id": 24, + "parent_id": 20, + "type": "web", + "error": 1, + "meta": { + "component": "laminas", + "error.message": "Thrown Laminas\\View\\Exception\\RuntimeException: Laminas\\View\\Renderer\\PhpRenderer::render: Unable to render template \"application/common-specs/view\"; resolver could not resolve to a file in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:518", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/View.php(194): Laminas\\View\\Renderer\\PhpRenderer->render()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(92): Laminas\\View\\View->render()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(354): Laminas\\EventManager\\EventManager->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(335): Laminas\\Mvc\\Application->completeRequest()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php(42): Laminas\\Mvc\\Application->run()\n#7 {main}", + "error.type": "Laminas\\View\\Exception\\RuntimeException" + } + }, + { + "name": "laminas.templating.render", + "service": "test_laminas_mvc_latest", + "resource": "application/common-specs/view", + "trace_id": 0, + "span_id": 30, + "parent_id": 24, + "type": "web", + "error": 1, + "meta": { + "component": "laminas", + "error.message": "Thrown Laminas\\View\\Exception\\RuntimeException: Laminas\\View\\Renderer\\PhpRenderer::render: Unable to render template \"application/common-specs/view\"; resolver could not resolve to a file in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:518", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/View.php(194): Laminas\\View\\Renderer\\PhpRenderer->render()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(92): Laminas\\View\\View->render()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(354): Laminas\\EventManager\\EventManager->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(335): Laminas\\Mvc\\Application->completeRequest()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php(42): Laminas\\Mvc\\Application->run()\n#7 {main}", + "error.type": "Laminas\\View\\Exception\\RuntimeException" + } + }, + { + "name": "laminas.mvcEvent.setError", + "service": "test_laminas_mvc_latest", + "resource": "error-exception", + "trace_id": 0, + "span_id": 25, + "parent_id": 20, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.mvcEventListener", + "service": "test_laminas_mvc_latest", + "resource": "Laminas\\Mvc\\View\\Http\\ExceptionStrategy@prepareExceptionViewModel", + "trace_id": 0, + "span_id": 26, + "parent_id": 20, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.mvcEventListener", + "service": "test_laminas_mvc_latest", + "resource": "Laminas\\Mvc\\View\\Http\\InjectViewModelListener@injectViewModel", + "trace_id": 0, + "span_id": 27, + "parent_id": 20, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.view.render", + "service": "test_laminas_mvc_latest", + "resource": "laminas.view.render", + "trace_id": 0, + "span_id": 28, + "parent_id": 20, + "type": "web", + "error": 1, + "meta": { + "component": "laminas", + "error.message": "Thrown Laminas\\View\\Exception\\RuntimeException: Laminas\\View\\Renderer\\PhpRenderer::render: Unable to render template \"application/common-specs/view\"; resolver could not resolve to a file in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:518", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/View.php(194): Laminas\\View\\Renderer\\PhpRenderer->render()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(92): Laminas\\View\\View->render()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(110): Laminas\\EventManager\\EventManager->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(354): Laminas\\EventManager\\EventManager->triggerEvent()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(335): Laminas\\Mvc\\Application->completeRequest()\n#9 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php(42): Laminas\\Mvc\\Application->run()\n#10 {main}", + "error.type": "Laminas\\View\\Exception\\RuntimeException" + } + }, + { + "name": "laminas.templating.render", + "service": "test_laminas_mvc_latest", + "resource": "error/index", + "trace_id": 0, + "span_id": 31, + "parent_id": 28, + "type": "web", + "meta": { + "component": "laminas" + } + }, + { + "name": "laminas.templating.render", + "service": "test_laminas_mvc_latest", + "resource": "application/common-specs/view", + "trace_id": 0, + "span_id": 32, + "parent_id": 28, + "type": "web", + "error": 1, + "meta": { + "component": "laminas", + "error.message": "Thrown Laminas\\View\\Exception\\RuntimeException: Laminas\\View\\Renderer\\PhpRenderer::render: Unable to render template \"application/common-specs/view\"; resolver could not resolve to a file in /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:518", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-view/src/View.php(194): Laminas\\View\\Renderer\\PhpRenderer->render()\n#1 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(92): Laminas\\View\\View->render()\n#2 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#3 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#4 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(110): Laminas\\EventManager\\EventManager->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy->render()\n#6 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\\EventManager\\EventManager->triggerListeners()\n#7 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(354): Laminas\\EventManager\\EventManager->triggerEvent()\n#8 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/vendor/laminas/laminas-mvc/src/Application.php(335): Laminas\\Mvc\\Application->completeRequest()\n#9 /home/circleci/app/tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php(42): Laminas\\Mvc\\Application->run()\n#10 {main}", + "error.type": "Laminas\\View\\Exception\\RuntimeException" + } + }]] diff --git a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_dynamic_route.json b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_dynamic_route.json index 69b2d5ac11..67012f668e 100644 --- a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_dynamic_route.json +++ b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_dynamic_route.json @@ -203,7 +203,7 @@ { "name": "laravel.view", "service": "my_service", - "resource": "/home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views/404.blade.php", + "resource": "/home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views/404.blade.php", "trace_id": 0, "span_id": 19, "parent_id": 16, diff --git a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_to_missing_route.json b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_to_missing_route.json index 3d1e616fbd..0e0350b8cc 100644 --- a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_to_missing_route.json +++ b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_to_missing_route.json @@ -203,7 +203,7 @@ { "name": "laravel.view", "service": "my_service", - "resource": "/home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views/404.blade.php", + "resource": "/home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views/404.blade.php", "trace_id": 0, "span_id": 19, "parent_id": 16, diff --git a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_exception.json index ffceb2d891..eba2d4f587 100644 --- a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_exception.json +++ b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_exception.json @@ -12,8 +12,8 @@ "_dd.p.dm": "-0", "_dd.p.tid": "662b8a2800000000", "component": "laravel", - "error.message": "Uncaught Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/app/Http/Controllers/CommonSpecsController.php:19", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\CommonSpecsController->error()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Route.php(206): Illuminate\\Routing\\Route->runController()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Router.php(808): Illuminate\\Routing\\Route->run()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()\n#5 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#6 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()\n#7 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(88): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#8 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()\n#9 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#10 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()\n#11 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#12 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()\n#13 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Session\\Middleware\\StartSession->handle()\n#14 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#15 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()\n#16 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(75): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#17 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()\n#18 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#19 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Router.php(807): Illuminate\\Pipeline\\Pipeline->then()\n#20 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Router.php(786): Illuminate\\Routing\\Router->runRouteWithinStack()\n#21 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Router.php(750): Illuminate\\Routing\\Router->runRoute()\n#22 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Router.php(739): Illuminate\\Routing\\Router->dispatchToRoute()\n#23 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(201): Illuminate\\Routing\\Router->dispatch()\n#24 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()\n#25 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#26 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#27 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()\n#28 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#29 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#30 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()\n#31 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#32 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\ValidatePostSize->handle()\n#33 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#34 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()\n#35 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#36 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\HandleCors->handle()\n#37 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#38 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\TrustProxies->handle()\n#39 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#40 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Pipeline\\Pipeline->then()\n#41 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()\n#42 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1188): Illuminate\\Foundation\\Http\\Kernel->handle()\n#43 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest()\n#44 {main}", + "error.message": "Uncaught Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laravel/Latest/app/Http/Controllers/CommonSpecsController.php:19", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(47): App\\Http\\Controllers\\CommonSpecsController->error()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Route.php(266): Illuminate\\Routing\\ControllerDispatcher->dispatch()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Route.php(212): Illuminate\\Routing\\Route->runController()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(808): Illuminate\\Routing\\Route->run()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(170): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()\n#5 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(51): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#6 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()\n#7 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(88): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#8 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()\n#9 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#10 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()\n#11 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#12 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()\n#13 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Session\\Middleware\\StartSession->handle()\n#14 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#15 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()\n#16 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(75): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#17 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()\n#18 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#19 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(807): Illuminate\\Pipeline\\Pipeline->then()\n#20 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(786): Illuminate\\Routing\\Router->runRouteWithinStack()\n#21 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(750): Illuminate\\Routing\\Router->runRoute()\n#22 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(739): Illuminate\\Routing\\Router->dispatchToRoute()\n#23 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(201): Illuminate\\Routing\\Router->dispatch()\n#24 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(170): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()\n#25 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#26 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#27 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()\n#28 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#29 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#30 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()\n#31 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#32 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\ValidatePostSize->handle()\n#33 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#34 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()\n#35 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#36 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\HandleCors->handle()\n#37 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#38 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\TrustProxies->handle()\n#39 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#40 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle()\n#41 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#42 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Pipeline\\Pipeline->then()\n#43 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()\n#44 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1193): Illuminate\\Foundation\\Http\\Kernel->handle()\n#45 /home/circleci/app/tests/Frameworks/Laravel/Latest/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest()\n#46 {main}", "error.type": "Exception", "http.method": "GET", "http.route": "error", @@ -21,7 +21,7 @@ "http.url": "http://localhost/error?key=value&", "laravel.route.action": "App\\Http\\Controllers\\CommonSpecsController@error", "laravel.route.name": "unnamed_route", - "runtime-id": "4f76a87a-df89-41fb-909e-e269a4616334", + "runtime-id": "d65ed9d0-61e4-45c2-bb6b-2fee52df5416", "span.kind": "server" }, "metrics": { @@ -219,8 +219,8 @@ "error": 1, "meta": { "component": "laravel", - "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/app/Http/Controllers/CommonSpecsController.php:19", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\CommonSpecsController->error()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Route.php(206): Illuminate\\Routing\\Route->runController()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Router.php(808): Illuminate\\Routing\\Route->run()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()\n#5 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#6 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()\n#7 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(88): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#8 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()\n#9 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#10 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()\n#11 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#12 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()\n#13 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Session\\Middleware\\StartSession->handle()\n#14 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#15 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()\n#16 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(75): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#17 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()\n#18 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#19 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Router.php(807): Illuminate\\Pipeline\\Pipeline->then()\n#20 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Router.php(786): Illuminate\\Routing\\Router->runRouteWithinStack()\n#21 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Router.php(750): Illuminate\\Routing\\Router->runRoute()\n#22 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Routing/Router.php(739): Illuminate\\Routing\\Router->dispatchToRoute()\n#23 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(201): Illuminate\\Routing\\Router->dispatch()\n#24 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()\n#25 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#26 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#27 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()\n#28 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#29 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#30 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()\n#31 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#32 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\ValidatePostSize->handle()\n#33 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#34 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()\n#35 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#36 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\HandleCors->handle()\n#37 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#38 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\TrustProxies->handle()\n#39 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#40 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Pipeline\\Pipeline->then()\n#41 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()\n#42 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1188): Illuminate\\Foundation\\Http\\Kernel->handle()\n#43 /home/circleci/app/tests/Frameworks/Laravel/Version_11_x/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest()\n#44 {main}", + "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laravel/Latest/app/Http/Controllers/CommonSpecsController.php:19", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(47): App\\Http\\Controllers\\CommonSpecsController->error()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Route.php(266): Illuminate\\Routing\\ControllerDispatcher->dispatch()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Route.php(212): Illuminate\\Routing\\Route->runController()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(808): Illuminate\\Routing\\Route->run()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(170): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()\n#5 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(51): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#6 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()\n#7 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(88): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#8 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()\n#9 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#10 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()\n#11 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#12 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()\n#13 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Session\\Middleware\\StartSession->handle()\n#14 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#15 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()\n#16 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(75): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#17 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()\n#18 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#19 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(807): Illuminate\\Pipeline\\Pipeline->then()\n#20 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(786): Illuminate\\Routing\\Router->runRouteWithinStack()\n#21 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(750): Illuminate\\Routing\\Router->runRoute()\n#22 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(739): Illuminate\\Routing\\Router->dispatchToRoute()\n#23 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(201): Illuminate\\Routing\\Router->dispatch()\n#24 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(170): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()\n#25 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#26 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#27 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()\n#28 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#29 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#30 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()\n#31 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#32 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\ValidatePostSize->handle()\n#33 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#34 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()\n#35 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#36 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\HandleCors->handle()\n#37 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#38 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\TrustProxies->handle()\n#39 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#40 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle()\n#41 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#42 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Pipeline\\Pipeline->then()\n#43 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()\n#44 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1193): Illuminate\\Foundation\\Http\\Kernel->handle()\n#45 /home/circleci/app/tests/Frameworks/Laravel/Latest/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest()\n#46 {main}", "error.type": "Exception" } }, diff --git a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_view.json index 6403732db9..5d10bc94af 100644 --- a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_view.json +++ b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_view.json @@ -17,7 +17,7 @@ "http.url": "http://localhost/simple_view?key=value&", "laravel.route.action": "App\\Http\\Controllers\\CommonSpecsController@simple_view", "laravel.route.name": "unnamed_route", - "runtime-id": "4f76a87a-df89-41fb-909e-e269a4616334", + "runtime-id": "d65ed9d0-61e4-45c2-bb6b-2fee52df5416", "span.kind": "server" }, "metrics": { @@ -243,7 +243,7 @@ { "name": "laravel.view", "service": "my_service", - "resource": "/home/circleci/app/tests/Frameworks/Laravel/Version_11_x/resources/views/simple_view.blade.php", + "resource": "/home/circleci/app/tests/Frameworks/Laravel/Latest/resources/views/simple_view.blade.php", "trace_id": 0, "span_id": 25, "parent_id": 19, diff --git a/tests/snapshots/tests.integrations.symfony.v7_0.messenger_test.test_async_failure.json b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure.json similarity index 100% rename from tests/snapshots/tests.integrations.symfony.v7_0.messenger_test.test_async_failure.json rename to tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure.json diff --git a/tests/snapshots/tests.integrations.symfony.v7_0.messenger_test.test_async_failure_consumer.json b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure_consumer.json similarity index 100% rename from tests/snapshots/tests.integrations.symfony.v7_0.messenger_test.test_async_failure_consumer.json rename to tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure_consumer.json diff --git a/tests/snapshots/tests.integrations.symfony.v7_0.messenger_test.test_async_success.json b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_success.json similarity index 100% rename from tests/snapshots/tests.integrations.symfony.v7_0.messenger_test.test_async_success.json rename to tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_success.json diff --git a/tests/snapshots/tests.integrations.symfony.v7_0.messenger_test.test_async_success_consumer.json b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_success_consumer.json similarity index 100% rename from tests/snapshots/tests.integrations.symfony.v7_0.messenger_test.test_async_success_consumer.json rename to tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_success_consumer.json diff --git a/tests/snapshots/tests.integrations.symfony.v7_0.messenger_test.test_async_with_tracer_disabled_on_consume.json b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_with_tracer_disabled_on_consume.json similarity index 100% rename from tests/snapshots/tests.integrations.symfony.v7_0.messenger_test.test_async_with_tracer_disabled_on_consume.json rename to tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_with_tracer_disabled_on_consume.json From 3c807e6c1070cb4700b65d23e5d4cd44b8fa6558 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Mon, 20 Jan 2025 11:31:17 +0100 Subject: [PATCH 38/65] Update snapshots --- .../ApiTools/Latest/data/cache/.gitkeep | 0 ...lassmap-cache.application.module.cache.php | 4 + ...-config-cache.application.config.cache.php | 617 ++++++++++++++++++ tests/Frameworks/Nette/Latest/composer.json | 3 - ...atest.rest_test.test_scenario_rest4xx.json | 2 +- ...atest.rest_test.test_scenario_rest5xx.json | 12 +- ..._test.test_scenario_get_dynamic_route.json | 28 +- ..._test.test_scenario_get_return_string.json | 72 +- ...st.test_scenario_get_to_missing_route.json | 28 +- ...test.test_scenario_get_with_exception.json | 92 ++- ...rios_test.test_scenario_get_with_view.json | 60 +- ...est.messenger_test.test_async_failure.json | 8 +- ...nger_test.test_async_failure_consumer.json | 10 +- ...est.messenger_test.test_async_success.json | 8 +- ...nger_test.test_async_success_consumer.json | 4 +- ...async_with_tracer_disabled_on_consume.json | 8 +- 16 files changed, 867 insertions(+), 89 deletions(-) create mode 100644 tests/Frameworks/Laminas/ApiTools/Latest/data/cache/.gitkeep create mode 100644 tests/Frameworks/Laminas/ApiTools/Latest/data/cache/module-classmap-cache.application.module.cache.php create mode 100644 tests/Frameworks/Laminas/ApiTools/Latest/data/cache/module-config-cache.application.config.cache.php diff --git a/tests/Frameworks/Laminas/ApiTools/Latest/data/cache/.gitkeep b/tests/Frameworks/Laminas/ApiTools/Latest/data/cache/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/Frameworks/Laminas/ApiTools/Latest/data/cache/module-classmap-cache.application.module.cache.php b/tests/Frameworks/Laminas/ApiTools/Latest/data/cache/module-classmap-cache.application.module.cache.php new file mode 100644 index 0000000000..b032c47769 --- /dev/null +++ b/tests/Frameworks/Laminas/ApiTools/Latest/data/cache/module-classmap-cache.application.module.cache.php @@ -0,0 +1,4 @@ + '/home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/Module.php' +]; diff --git a/tests/Frameworks/Laminas/ApiTools/Latest/data/cache/module-config-cache.application.config.cache.php b/tests/Frameworks/Laminas/ApiTools/Latest/data/cache/module-config-cache.application.config.cache.php new file mode 100644 index 0000000000..52c574ba5d --- /dev/null +++ b/tests/Frameworks/Laminas/ApiTools/Latest/data/cache/module-config-cache.application.config.cache.php @@ -0,0 +1,617 @@ + [ + 'aliases' => [ + 'MvcTranslator' => 'Laminas\\Mvc\\I18n\\Translator', + 'Zend\\Mvc\\I18n\\Translator' => 'Laminas\\Mvc\\I18n\\Translator', + 'TranslatorPluginManager' => 'Laminas\\I18n\\Translator\\LoaderPluginManager', + 'Zend\\I18n\\Translator\\TranslatorInterface' => 'Laminas\\I18n\\Translator\\TranslatorInterface', + 'Zend\\I18n\\Translator\\LoaderPluginManager' => 'Laminas\\I18n\\Translator\\LoaderPluginManager', + 'Laminas\\I18n\\Geography\\CountryCodeListInterface' => 'Laminas\\I18n\\Geography\\DefaultCountryCodeList', + 'Laminas\\Db\\Adapter\\Adapter' => 'Laminas\\Db\\Adapter\\AdapterInterface', + 'Zend\\Db\\Adapter\\AdapterInterface' => 'Laminas\\Db\\Adapter\\AdapterInterface', + 'Zend\\Db\\Adapter\\Adapter' => 'Laminas\\Db\\Adapter\\Adapter', + 'FilterManager' => 'Laminas\\Filter\\FilterPluginManager', + 'Zend\\Filter\\FilterPluginManager' => 'Laminas\\Filter\\FilterPluginManager', + 'HydratorManager' => 'Laminas\\Hydrator\\HydratorPluginManager', + 'Zend\\Hydrator\\HydratorPluginManager' => 'Laminas\\Hydrator\\HydratorPluginManager', + 'Zend\\Hydrator\\StandaloneHydratorPluginManager' => 'Laminas\\Hydrator\\StandaloneHydratorPluginManager', + 'InputFilterManager' => 'Laminas\\InputFilter\\InputFilterPluginManager', + 'Zend\\InputFilter\\InputFilterPluginManager' => 'Laminas\\InputFilter\\InputFilterPluginManager', + 'Zend\\Paginator\\AdapterPluginManager' => 'Laminas\\Paginator\\AdapterPluginManager', + 'Zend\\Paginator\\ScrollingStylePluginManager' => 'Laminas\\Paginator\\ScrollingStylePluginManager', + 'HttpRouter' => 'Laminas\\Router\\Http\\TreeRouteStack', + 'router' => 'Laminas\\Router\\RouteStackInterface', + 'Router' => 'Laminas\\Router\\RouteStackInterface', + 'RoutePluginManager' => 'Laminas\\Router\\RoutePluginManager', + 'Zend\\Router\\Http\\TreeRouteStack' => 'Laminas\\Router\\Http\\TreeRouteStack', + 'Zend\\Router\\RoutePluginManager' => 'Laminas\\Router\\RoutePluginManager', + 'Zend\\Router\\RouteStackInterface' => 'Laminas\\Router\\RouteStackInterface', + 'ValidatorManager' => 'Laminas\\Validator\\ValidatorPluginManager', + 'Zend\\Validator\\ValidatorPluginManager' => 'Laminas\\Validator\\ValidatorPluginManager', + 'ZF\\Apigility\\MvcAuth\\UnauthenticatedListener' => 'Laminas\\ApiTools\\MvcAuth\\UnauthenticatedListener', + 'ZF\\Apigility\\MvcAuth\\UnauthorizedListener' => 'Laminas\\ApiTools\\MvcAuth\\UnauthorizedListener', + 'ZF\\Apigility\\Documentation\\ApiFactory' => 'Laminas\\ApiTools\\Documentation\\ApiFactory', + 'Laminas\\ApiTools\\ApiProblem\\ApiProblemListener' => 'Laminas\\ApiTools\\ApiProblem\\Listener\\ApiProblemListener', + 'Laminas\\ApiTools\\ApiProblem\\RenderErrorListener' => 'Laminas\\ApiTools\\ApiProblem\\Listener\\RenderErrorListener', + 'Laminas\\ApiTools\\ApiProblem\\ApiProblemRenderer' => 'Laminas\\ApiTools\\ApiProblem\\View\\ApiProblemRenderer', + 'Laminas\\ApiTools\\ApiProblem\\ApiProblemStrategy' => 'Laminas\\ApiTools\\ApiProblem\\View\\ApiProblemStrategy', + 'ZF\\ApiProblem\\ApiProblemListener' => 'Laminas\\ApiTools\\ApiProblem\\ApiProblemListener', + 'ZF\\ApiProblem\\RenderErrorListener' => 'Laminas\\ApiTools\\ApiProblem\\RenderErrorListener', + 'ZF\\ApiProblem\\ApiProblemRenderer' => 'Laminas\\ApiTools\\ApiProblem\\ApiProblemRenderer', + 'ZF\\ApiProblem\\ApiProblemStrategy' => 'Laminas\\ApiTools\\ApiProblem\\ApiProblemStrategy', + 'ZF\\ApiProblem\\Listener\\ApiProblemListener' => 'Laminas\\ApiTools\\ApiProblem\\Listener\\ApiProblemListener', + 'ZF\\ApiProblem\\Listener\\RenderErrorListener' => 'Laminas\\ApiTools\\ApiProblem\\Listener\\RenderErrorListener', + 'ZF\\ApiProblem\\Listener\\SendApiProblemResponseListener' => 'Laminas\\ApiTools\\ApiProblem\\Listener\\SendApiProblemResponseListener', + 'ZF\\ApiProblem\\View\\ApiProblemRenderer' => 'Laminas\\ApiTools\\ApiProblem\\View\\ApiProblemRenderer', + 'ZF\\ApiProblem\\View\\ApiProblemStrategy' => 'Laminas\\ApiTools\\ApiProblem\\View\\ApiProblemStrategy', + 'ZF\\Configuration\\ConfigResource' => 'Laminas\\ApiTools\\Configuration\\ConfigResource', + 'ZF\\Configuration\\ConfigResourceFactory' => 'Laminas\\ApiTools\\Configuration\\ConfigResourceFactory', + 'ZF\\Configuration\\ConfigWriter' => 'Laminas\\ApiTools\\Configuration\\ConfigWriter', + 'ZF\\Configuration\\ModuleUtils' => 'Laminas\\ApiTools\\Configuration\\ModuleUtils', + 'Laminas\\ApiTools\\OAuth2\\Provider\\UserId' => 'Laminas\\ApiTools\\OAuth2\\Provider\\UserId\\AuthenticationService', + 'ZF\\OAuth2\\Provider\\UserId' => 'Laminas\\ApiTools\\OAuth2\\Provider\\UserId', + 'ZF\\OAuth2\\Adapter\\PdoAdapter' => 'Laminas\\ApiTools\\OAuth2\\Adapter\\PdoAdapter', + 'ZF\\OAuth2\\Adapter\\MongoAdapter' => 'Laminas\\ApiTools\\OAuth2\\Adapter\\MongoAdapter', + 'ZF\\OAuth2\\Provider\\UserId\\AuthenticationService' => 'Laminas\\ApiTools\\OAuth2\\Provider\\UserId\\AuthenticationService', + 'ZF\\OAuth2\\Service\\OAuth2Server' => 'Laminas\\ApiTools\\OAuth2\\Service\\OAuth2Server', + 'authentication' => 'Laminas\\ApiTools\\MvcAuth\\Authentication', + 'authorization' => 'Laminas\\ApiTools\\MvcAuth\\Authorization\\AuthorizationInterface', + 'Laminas\\ApiTools\\MvcAuth\\Authorization\\AuthorizationInterface' => 'Laminas\\ApiTools\\MvcAuth\\Authorization\\AclAuthorization', + 'ZF\\Hal\\Extractor\\LinkExtractor' => 'Laminas\\ApiTools\\Hal\\Extractor\\LinkExtractor', + 'ZF\\Hal\\Extractor\\LinkCollectionExtractor' => 'Laminas\\ApiTools\\Hal\\Extractor\\LinkCollectionExtractor', + 'ZF\\Hal\\HalConfig' => 'Laminas\\ApiTools\\Hal\\HalConfig', + 'ZF\\Hal\\JsonRenderer' => 'Laminas\\ApiTools\\Hal\\JsonRenderer', + 'ZF\\Hal\\JsonStrategy' => 'Laminas\\ApiTools\\Hal\\JsonStrategy', + 'ZF\\Hal\\Link\\LinkUrlBuilder' => 'Laminas\\ApiTools\\Hal\\Link\\LinkUrlBuilder', + 'ZF\\Hal\\MetadataMap' => 'Laminas\\ApiTools\\Hal\\MetadataMap', + 'ZF\\Hal\\RendererOptions' => 'Laminas\\ApiTools\\Hal\\RendererOptions' + ], + 'delegators' => [ + 'HttpRouter' => [ + 'Laminas\\Mvc\\I18n\\Router\\HttpRouterDelegatorFactory' + ], + 'Laminas\\Router\\Http\\TreeRouteStack' => [ + 'Laminas\\Mvc\\I18n\\Router\\HttpRouterDelegatorFactory' + ], + 'Laminas\\ApiTools\\MvcAuth\\Authentication\\DefaultAuthenticationListener' => [ + 'Laminas\\ApiTools\\MvcAuth\\Factory\\AuthenticationAdapterDelegatorFactory' + ] + ], + 'factories' => [ + 'Laminas\\Mvc\\I18n\\Translator' => 'Laminas\\Mvc\\I18n\\TranslatorFactory', + 'Laminas\\I18n\\Translator\\TranslatorInterface' => 'Laminas\\I18n\\Translator\\TranslatorServiceFactory', + 'Laminas\\I18n\\Translator\\LoaderPluginManager' => 'Laminas\\I18n\\Translator\\LoaderPluginManagerFactory', + 'Laminas\\I18n\\Geography\\DefaultCountryCodeList' => [ + 'Laminas\\I18n\\Geography\\DefaultCountryCodeList', + 'create' + ], + 'Laminas\\ComposerAutoloading\\Command\\DisableCommand' => 'Laminas\\ComposerAutoloading\\Command\\DisableCommandFactory', + 'Laminas\\ComposerAutoloading\\Command\\EnableCommand' => 'Laminas\\ComposerAutoloading\\Command\\EnableCommandFactory', + 'Laminas\\Db\\Adapter\\AdapterInterface' => 'Laminas\\Db\\Adapter\\AdapterServiceFactory', + 'Laminas\\Filter\\FilterPluginManager' => 'Laminas\\Filter\\FilterPluginManagerFactory', + 'Laminas\\Hydrator\\HydratorPluginManager' => 'Laminas\\Hydrator\\HydratorPluginManagerFactory', + 'Laminas\\Hydrator\\StandaloneHydratorPluginManager' => 'Laminas\\Hydrator\\StandaloneHydratorPluginManagerFactory', + 'Laminas\\InputFilter\\InputFilterPluginManager' => 'Laminas\\InputFilter\\InputFilterPluginManagerFactory', + 'Laminas\\Paginator\\AdapterPluginManager' => 'Laminas\\Paginator\\AdapterPluginManagerFactory', + 'Laminas\\Paginator\\ScrollingStylePluginManager' => 'Laminas\\Paginator\\ScrollingStylePluginManagerFactory', + 'Laminas\\Router\\Http\\TreeRouteStack' => 'Laminas\\Router\\Http\\HttpRouterFactory', + 'Laminas\\Router\\RoutePluginManager' => 'Laminas\\Router\\RoutePluginManagerFactory', + 'Laminas\\Router\\RouteStackInterface' => 'Laminas\\Router\\RouterFactory', + 'Laminas\\Validator\\ValidatorPluginManager' => 'Laminas\\Validator\\ValidatorPluginManagerFactory', + 'Laminas\\ApiTools\\MvcAuth\\UnauthenticatedListener' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\MvcAuth\\UnauthorizedListener' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\Documentation\\ApiFactory' => 'Laminas\\ApiTools\\Documentation\\Factory\\ApiFactoryFactory', + 'Laminas\\ApiTools\\ApiProblem\\Listener\\ApiProblemListener' => 'Laminas\\ApiTools\\ApiProblem\\Factory\\ApiProblemListenerFactory', + 'Laminas\\ApiTools\\ApiProblem\\Listener\\RenderErrorListener' => 'Laminas\\ApiTools\\ApiProblem\\Factory\\RenderErrorListenerFactory', + 'Laminas\\ApiTools\\ApiProblem\\Listener\\SendApiProblemResponseListener' => 'Laminas\\ApiTools\\ApiProblem\\Factory\\SendApiProblemResponseListenerFactory', + 'Laminas\\ApiTools\\ApiProblem\\View\\ApiProblemRenderer' => 'Laminas\\ApiTools\\ApiProblem\\Factory\\ApiProblemRendererFactory', + 'Laminas\\ApiTools\\ApiProblem\\View\\ApiProblemStrategy' => 'Laminas\\ApiTools\\ApiProblem\\Factory\\ApiProblemStrategyFactory', + 'Laminas\\ApiTools\\Configuration\\ConfigResource' => 'Laminas\\ApiTools\\Configuration\\Factory\\ConfigResourceFactory', + 'Laminas\\ApiTools\\Configuration\\ConfigResourceFactory' => 'Laminas\\ApiTools\\Configuration\\Factory\\ResourceFactoryFactory', + 'Laminas\\ApiTools\\Configuration\\ConfigWriter' => 'Laminas\\ApiTools\\Configuration\\Factory\\ConfigWriterFactory', + 'Laminas\\ApiTools\\Configuration\\ModuleUtils' => 'Laminas\\ApiTools\\Configuration\\Factory\\ModuleUtilsFactory', + 'Laminas\\ApiTools\\OAuth2\\Adapter\\PdoAdapter' => 'Laminas\\ApiTools\\OAuth2\\Factory\\PdoAdapterFactory', + 'Laminas\\ApiTools\\OAuth2\\Adapter\\MongoAdapter' => 'Laminas\\ApiTools\\OAuth2\\Factory\\MongoAdapterFactory', + 'Laminas\\ApiTools\\OAuth2\\Provider\\UserId\\AuthenticationService' => 'Laminas\\ApiTools\\OAuth2\\Provider\\UserId\\AuthenticationServiceFactory', + 'Laminas\\ApiTools\\OAuth2\\Service\\OAuth2Server' => 'Laminas\\ApiTools\\MvcAuth\\Factory\\NamedOAuth2ServerFactory', + 'Laminas\\ApiTools\\MvcAuth\\Authentication' => 'Laminas\\ApiTools\\MvcAuth\\Factory\\AuthenticationServiceFactory', + 'Laminas\\ApiTools\\MvcAuth\\ApacheResolver' => 'Laminas\\ApiTools\\MvcAuth\\Factory\\ApacheResolverFactory', + 'Laminas\\ApiTools\\MvcAuth\\FileResolver' => 'Laminas\\ApiTools\\MvcAuth\\Factory\\FileResolverFactory', + 'Laminas\\ApiTools\\MvcAuth\\Authentication\\DefaultAuthenticationListener' => 'Laminas\\ApiTools\\MvcAuth\\Factory\\DefaultAuthenticationListenerFactory', + 'Laminas\\ApiTools\\MvcAuth\\Authentication\\AuthHttpAdapter' => 'Laminas\\ApiTools\\MvcAuth\\Factory\\DefaultAuthHttpAdapterFactory', + 'Laminas\\ApiTools\\MvcAuth\\Authorization\\AclAuthorization' => 'Laminas\\ApiTools\\MvcAuth\\Factory\\AclAuthorizationFactory', + 'Laminas\\ApiTools\\MvcAuth\\Authorization\\DefaultAuthorizationListener' => 'Laminas\\ApiTools\\MvcAuth\\Factory\\DefaultAuthorizationListenerFactory', + 'Laminas\\ApiTools\\MvcAuth\\Authorization\\DefaultResourceResolverListener' => 'Laminas\\ApiTools\\MvcAuth\\Factory\\DefaultResourceResolverListenerFactory', + 'Laminas\\Authentication\\Storage\\NonPersistent' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\MvcAuth\\Authentication\\DefaultAuthenticationPostListener' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\MvcAuth\\Authorization\\DefaultAuthorizationPostListener' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\Hal\\Extractor\\LinkExtractor' => 'Laminas\\ApiTools\\Hal\\Factory\\LinkExtractorFactory', + 'Laminas\\ApiTools\\Hal\\Extractor\\LinkCollectionExtractor' => 'Laminas\\ApiTools\\Hal\\Factory\\LinkCollectionExtractorFactory', + 'Laminas\\ApiTools\\Hal\\HalConfig' => 'Laminas\\ApiTools\\Hal\\Factory\\HalConfigFactory', + 'Laminas\\ApiTools\\Hal\\JsonRenderer' => 'Laminas\\ApiTools\\Hal\\Factory\\HalJsonRendererFactory', + 'Laminas\\ApiTools\\Hal\\JsonStrategy' => 'Laminas\\ApiTools\\Hal\\Factory\\HalJsonStrategyFactory', + 'Laminas\\ApiTools\\Hal\\Link\\LinkUrlBuilder' => 'Laminas\\ApiTools\\Hal\\Factory\\LinkUrlBuilderFactory', + 'Laminas\\ApiTools\\Hal\\MetadataMap' => 'Laminas\\ApiTools\\Hal\\Factory\\MetadataMapFactory', + 'Laminas\\ApiTools\\Hal\\RendererOptions' => 'Laminas\\ApiTools\\Hal\\Factory\\RendererOptionsFactory', + 'Laminas\\ApiTools\\ContentNegotiation\\ContentTypeListener' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\ContentNegotiation\\AcceptListener' => 'Laminas\\ApiTools\\ContentNegotiation\\Factory\\AcceptListenerFactory', + 'Laminas\\ApiTools\\ContentNegotiation\\AcceptFilterListener' => 'Laminas\\ApiTools\\ContentNegotiation\\Factory\\AcceptFilterListenerFactory', + 'Laminas\\ApiTools\\ContentNegotiation\\ContentTypeFilterListener' => 'Laminas\\ApiTools\\ContentNegotiation\\Factory\\ContentTypeFilterListenerFactory', + 'Laminas\\ApiTools\\ContentNegotiation\\ContentNegotiationOptions' => 'Laminas\\ApiTools\\ContentNegotiation\\Factory\\ContentNegotiationOptionsFactory', + 'Laminas\\ApiTools\\ContentNegotiation\\HttpMethodOverrideListener' => 'Laminas\\ApiTools\\ContentNegotiation\\Factory\\HttpMethodOverrideListenerFactory', + 'Laminas\\ApiTools\\ContentValidation\\ContentValidationListener' => 'Laminas\\ApiTools\\ContentValidation\\ContentValidationListenerFactory', + 'Laminas\\ApiTools\\Rest\\OptionsListener' => 'Laminas\\ApiTools\\Rest\\Factory\\OptionsListenerFactory', + 'Laminas\\ApiTools\\Rpc\\OptionsListener' => 'Laminas\\ApiTools\\Rpc\\Factory\\OptionsListenerFactory', + 'Laminas\\ApiTools\\Versioning\\AcceptListener' => 'Laminas\\ApiTools\\Versioning\\Factory\\AcceptListenerFactory', + 'Laminas\\ApiTools\\Versioning\\ContentTypeListener' => 'Laminas\\ApiTools\\Versioning\\Factory\\ContentTypeListenerFactory', + 'Laminas\\ApiTools\\Versioning\\VersionListener' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceResource' => 'DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceResourceFactory' + ], + 'abstract_factories' => [ + 'Laminas\\Db\\Adapter\\AdapterAbstractServiceFactory', + 'Laminas\\Db\\Adapter\\AdapterAbstractServiceFactory', + 'Laminas\\ApiTools\\DbConnectedResourceAbstractFactory', + 'Laminas\\ApiTools\\TableGatewayAbstractFactory' + ], + 'invokables' => [ + 'Laminas\\ApiTools\\Rest\\RestParametersListener' => 'Laminas\\ApiTools\\Rest\\Listener\\RestParametersListener' + ] + ], + 'filters' => [ + 'aliases' => [ + 'alnum' => 'Laminas\\I18n\\Filter\\Alnum', + 'Alnum' => 'Laminas\\I18n\\Filter\\Alnum', + 'alpha' => 'Laminas\\I18n\\Filter\\Alpha', + 'Alpha' => 'Laminas\\I18n\\Filter\\Alpha', + 'numberformat' => 'Laminas\\I18n\\Filter\\NumberFormat', + 'numberFormat' => 'Laminas\\I18n\\Filter\\NumberFormat', + 'NumberFormat' => 'Laminas\\I18n\\Filter\\NumberFormat', + 'numberparse' => 'Laminas\\I18n\\Filter\\NumberParse', + 'numberParse' => 'Laminas\\I18n\\Filter\\NumberParse', + 'NumberParse' => 'Laminas\\I18n\\Filter\\NumberParse', + 'Zend\\I18n\\Filter\\Alnum' => 'Laminas\\I18n\\Filter\\Alnum', + 'Zend\\I18n\\Filter\\Alpha' => 'Laminas\\I18n\\Filter\\Alpha', + 'Zend\\I18n\\Filter\\NumberFormat' => 'Laminas\\I18n\\Filter\\NumberFormat', + 'Zend\\I18n\\Filter\\NumberParse' => 'Laminas\\I18n\\Filter\\NumberParse' + ], + 'factories' => [ + 'Laminas\\I18n\\Filter\\Alnum' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\I18n\\Filter\\Alpha' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\I18n\\Filter\\NumberFormat' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\I18n\\Filter\\NumberParse' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\Filter\\File\\RenameUpload' => 'Laminas\\ApiTools\\ContentNegotiation\\Factory\\RenameUploadFilterFactory', + 'laminasfilterfilerenameupload' => 'Laminas\\ApiTools\\ContentNegotiation\\Factory\\RenameUploadFilterFactory' + ] + ], + 'validators' => [ + 'aliases' => [ + 'alnum' => 'Laminas\\I18n\\Validator\\Alnum', + 'Alnum' => 'Laminas\\I18n\\Validator\\Alnum', + 'alpha' => 'Laminas\\I18n\\Validator\\Alpha', + 'Alpha' => 'Laminas\\I18n\\Validator\\Alpha', + 'datetime' => 'Laminas\\I18n\\Validator\\DateTime', + 'dateTime' => 'Laminas\\I18n\\Validator\\DateTime', + 'DateTime' => 'Laminas\\I18n\\Validator\\DateTime', + 'float' => 'Laminas\\I18n\\Validator\\IsFloat', + 'Float' => 'Laminas\\I18n\\Validator\\IsFloat', + 'int' => 'Laminas\\I18n\\Validator\\IsInt', + 'Int' => 'Laminas\\I18n\\Validator\\IsInt', + 'isfloat' => 'Laminas\\I18n\\Validator\\IsFloat', + 'isFloat' => 'Laminas\\I18n\\Validator\\IsFloat', + 'IsFloat' => 'Laminas\\I18n\\Validator\\IsFloat', + 'isint' => 'Laminas\\I18n\\Validator\\IsInt', + 'isInt' => 'Laminas\\I18n\\Validator\\IsInt', + 'IsInt' => 'Laminas\\I18n\\Validator\\IsInt', + 'phonenumber' => 'Laminas\\I18n\\Validator\\PhoneNumber', + 'phoneNumber' => 'Laminas\\I18n\\Validator\\PhoneNumber', + 'PhoneNumber' => 'Laminas\\I18n\\Validator\\PhoneNumber', + 'postcode' => 'Laminas\\I18n\\Validator\\PostCode', + 'postCode' => 'Laminas\\I18n\\Validator\\PostCode', + 'PostCode' => 'Laminas\\I18n\\Validator\\PostCode', + 'Zend\\I18n\\Validator\\Alnum' => 'Laminas\\I18n\\Validator\\Alnum', + 'Zend\\I18n\\Validator\\Alpha' => 'Laminas\\I18n\\Validator\\Alpha', + 'Zend\\I18n\\Validator\\DateTime' => 'Laminas\\I18n\\Validator\\DateTime', + 'Zend\\I18n\\Validator\\IsFloat' => 'Laminas\\I18n\\Validator\\IsFloat', + 'Zend\\I18n\\Validator\\IsInt' => 'Laminas\\I18n\\Validator\\IsInt', + 'Zend\\I18n\\Validator\\PhoneNumber' => 'Laminas\\I18n\\Validator\\PhoneNumber', + 'Zend\\I18n\\Validator\\PostCode' => 'Laminas\\I18n\\Validator\\PostCode' + ], + 'factories' => [ + 'Laminas\\I18n\\Validator\\Alnum' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\I18n\\Validator\\Alpha' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\I18n\\Validator\\DateTime' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\I18n\\Validator\\IsFloat' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\I18n\\Validator\\IsInt' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\I18n\\Validator\\PhoneNumber' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\I18n\\Validator\\PostCode' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\Validator\\File\\UploadFile' => 'Laminas\\ApiTools\\ContentNegotiation\\Factory\\UploadFileValidatorFactory', + 'laminasvalidatorfileuploadfile' => 'Laminas\\ApiTools\\ContentNegotiation\\Factory\\UploadFileValidatorFactory', + 'Laminas\\ApiTools\\ContentValidation\\Validator\\DbRecordExists' => 'Laminas\\ApiTools\\ContentValidation\\Validator\\Db\\RecordExistsFactory', + 'Laminas\\ApiTools\\ContentValidation\\Validator\\DbNoRecordExists' => 'Laminas\\ApiTools\\ContentValidation\\Validator\\Db\\NoRecordExistsFactory' + ] + ], + 'view_helpers' => [ + 'aliases' => [ + 'countryCodeDataList' => 'Laminas\\I18n\\View\\Helper\\CountryCodeDataList', + 'currencyformat' => 'Laminas\\I18n\\View\\Helper\\CurrencyFormat', + 'currencyFormat' => 'Laminas\\I18n\\View\\Helper\\CurrencyFormat', + 'CurrencyFormat' => 'Laminas\\I18n\\View\\Helper\\CurrencyFormat', + 'dateformat' => 'Laminas\\I18n\\View\\Helper\\DateFormat', + 'dateFormat' => 'Laminas\\I18n\\View\\Helper\\DateFormat', + 'DateFormat' => 'Laminas\\I18n\\View\\Helper\\DateFormat', + 'numberformat' => 'Laminas\\I18n\\View\\Helper\\NumberFormat', + 'numberFormat' => 'Laminas\\I18n\\View\\Helper\\NumberFormat', + 'NumberFormat' => 'Laminas\\I18n\\View\\Helper\\NumberFormat', + 'plural' => 'Laminas\\I18n\\View\\Helper\\Plural', + 'Plural' => 'Laminas\\I18n\\View\\Helper\\Plural', + 'translate' => 'Laminas\\I18n\\View\\Helper\\Translate', + 'Translate' => 'Laminas\\I18n\\View\\Helper\\Translate', + 'translateplural' => 'Laminas\\I18n\\View\\Helper\\TranslatePlural', + 'translatePlural' => 'Laminas\\I18n\\View\\Helper\\TranslatePlural', + 'TranslatePlural' => 'Laminas\\I18n\\View\\Helper\\TranslatePlural', + 'Zend\\I18n\\View\\Helper\\CurrencyFormat' => 'Laminas\\I18n\\View\\Helper\\CurrencyFormat', + 'Zend\\I18n\\View\\Helper\\DateFormat' => 'Laminas\\I18n\\View\\Helper\\DateFormat', + 'Zend\\I18n\\View\\Helper\\NumberFormat' => 'Laminas\\I18n\\View\\Helper\\NumberFormat', + 'Zend\\I18n\\View\\Helper\\Plural' => 'Laminas\\I18n\\View\\Helper\\Plural', + 'Zend\\I18n\\View\\Helper\\Translate' => 'Laminas\\I18n\\View\\Helper\\Translate', + 'Zend\\I18n\\View\\Helper\\TranslatePlural' => 'Laminas\\I18n\\View\\Helper\\TranslatePlural', + 'agacceptheaders' => 'Laminas\\ApiTools\\Documentation\\View\\AgAcceptHeaders', + 'agAcceptHeaders' => 'Laminas\\ApiTools\\Documentation\\View\\AgAcceptHeaders', + 'agcontenttypeheaders' => 'Laminas\\ApiTools\\Documentation\\View\\AgContentTypeHeaders', + 'agContentTypeHeaders' => 'Laminas\\ApiTools\\Documentation\\View\\AgContentTypeHeaders', + 'agservicepath' => 'Laminas\\ApiTools\\Documentation\\View\\AgServicePath', + 'agServicePath' => 'Laminas\\ApiTools\\Documentation\\View\\AgServicePath', + 'agstatuscodes' => 'Laminas\\ApiTools\\Documentation\\View\\AgStatusCodes', + 'agStatusCodes' => 'Laminas\\ApiTools\\Documentation\\View\\AgStatusCodes', + 'agtransformdescription' => 'Laminas\\ApiTools\\Documentation\\View\\AgTransformDescription', + 'agTransformDescription' => 'Laminas\\ApiTools\\Documentation\\View\\AgTransformDescription', + 'ZF\\Apigility\\Documentation\\View\\AgAcceptHeaders' => 'Laminas\\ApiTools\\Documentation\\View\\AgAcceptHeaders', + 'ZF\\Apigility\\Documentation\\View\\AgContentTypeHeaders' => 'Laminas\\ApiTools\\Documentation\\View\\AgContentTypeHeaders', + 'ZF\\Apigility\\Documentation\\View\\AgServicePath' => 'Laminas\\ApiTools\\Documentation\\View\\AgServicePath', + 'ZF\\Apigility\\Documentation\\View\\AgStatusCodes' => 'Laminas\\ApiTools\\Documentation\\View\\AgStatusCodes', + 'ZF\\Apigility\\Documentation\\View\\AgTransformDescription' => 'Laminas\\ApiTools\\Documentation\\View\\AgTransformDescription' + ], + 'factories' => [ + 'Laminas\\I18n\\View\\Helper\\CountryCodeDataList' => 'Laminas\\I18n\\View\\Helper\\Container\\CountryCodeDataListFactory', + 'Laminas\\I18n\\View\\Helper\\CurrencyFormat' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\I18n\\View\\Helper\\DateFormat' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\I18n\\View\\Helper\\NumberFormat' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\I18n\\View\\Helper\\Plural' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\I18n\\View\\Helper\\Translate' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\I18n\\View\\Helper\\TranslatePlural' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\Documentation\\View\\AgAcceptHeaders' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\Documentation\\View\\AgContentTypeHeaders' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\Documentation\\View\\AgServicePath' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\Documentation\\View\\AgStatusCodes' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\Documentation\\View\\AgTransformDescription' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Hal' => 'Laminas\\ApiTools\\Hal\\Factory\\HalViewHelperFactory' + ] + ], + 'laminas-cli' => [ + 'commands' => [ + 'composer:autoload:disable' => 'Laminas\\ComposerAutoloading\\Command\\DisableCommand', + 'composer:autoload:enable' => 'Laminas\\ComposerAutoloading\\Command\\EnableCommand' + ] + ], + 'input_filters' => [ + 'abstract_factories' => [ + 'Laminas\\InputFilter\\InputFilterAbstractServiceFactory', + 'Laminas\\InputFilter\\InputFilterAbstractServiceFactory' + ] + ], + 'route_manager' => [], + 'router' => [ + 'routes' => [ + 'api-tools' => [ + 'type' => 'literal', + 'options' => [ + 'route' => '/api-tools' + ], + 'may_terminate' => false, + 'child_routes' => [ + 'documentation' => [ + 'type' => 'segment', + 'options' => [ + 'route' => '/documentation[/:api[-v:version][/:service]]', + 'constraints' => [ + 'api' => '[a-zA-Z][a-zA-Z0-9_.%]+' + ], + 'defaults' => [ + 'controller' => 'Laminas\\ApiTools\\Documentation\\Controller', + 'action' => 'show' + ] + ] + ] + ] + ], + 'oauth' => [ + 'type' => 'literal', + 'options' => [ + 'route' => '/oauth', + 'defaults' => [ + 'controller' => 'Laminas\\ApiTools\\OAuth2\\Controller\\Auth', + 'action' => 'token' + ] + ], + 'may_terminate' => true, + 'child_routes' => [ + 'revoke' => [ + 'type' => 'literal', + 'options' => [ + 'route' => '/revoke', + 'defaults' => [ + 'action' => 'revoke' + ] + ] + ], + 'authorize' => [ + 'type' => 'literal', + 'options' => [ + 'route' => '/authorize', + 'defaults' => [ + 'action' => 'authorize' + ] + ] + ], + 'resource' => [ + 'type' => 'literal', + 'options' => [ + 'route' => '/resource', + 'defaults' => [ + 'action' => 'resource' + ] + ] + ], + 'code' => [ + 'type' => 'literal', + 'options' => [ + 'route' => '/receivecode', + 'defaults' => [ + 'action' => 'receiveCode' + ] + ] + ] + ] + ], + 'home' => [ + 'type' => 'Literal', + 'options' => [ + 'route' => '/', + 'defaults' => [ + 'controller' => 'Application\\Controller\\IndexController', + 'action' => 'index' + ] + ] + ], + 'datadog-api.rest.datadog-rest-service' => [ + 'type' => 'Segment', + 'options' => [ + 'route' => '[/v:version]/datadog-rest-service[/:datadog_rest_service_id]', + 'defaults' => [ + 'controller' => 'DatadogApi\\V1\\Rest\\DatadogRestService\\Controller', + 'version' => 1 + ], + 'constraints' => [ + 'version' => '\\d+' + ] + ] + ] + ] + ], + 'asset_manager' => [ + 'resolver_configs' => [ + 'paths' => [ + '/home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools/config/../asset' + ] + ] + ], + 'api-tools' => [ + 'db-connected' => [] + ], + 'controllers' => [ + 'aliases' => [ + 'ZF\\Apigility\\Documentation\\Controller' => 'Laminas\\ApiTools\\Documentation\\Controller', + 'ZF\\OAuth2\\Controller\\Auth' => 'Laminas\\ApiTools\\OAuth2\\Controller\\Auth' + ], + 'factories' => [ + 'Laminas\\ApiTools\\Documentation\\Controller' => 'Laminas\\ApiTools\\Documentation\\ControllerFactory', + 'Laminas\\ApiTools\\OAuth2\\Controller\\Auth' => 'Laminas\\ApiTools\\OAuth2\\Factory\\AuthControllerFactory', + 'Application\\Controller\\IndexController' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory' + ], + 'abstract_factories' => [ + 'Laminas\\ApiTools\\Rest\\Factory\\RestControllerFactory', + 'Laminas\\ApiTools\\Rpc\\Factory\\RpcControllerFactory' + ] + ], + 'api-tools-content-negotiation' => [ + 'controllers' => [ + 'Laminas\\ApiTools\\Documentation\\Controller' => 'Documentation', + 'Laminas\\ApiTools\\OAuth2\\Controller\\Auth' => [ + 'Laminas\\ApiTools\\ContentNegotiation\\JsonModel' => [ + 'application/json', + 'application/*+json' + ], + 'Laminas\\View\\Model\\ViewModel' => [ + 'text/html', + 'application/xhtml+xml' + ] + ], + 'DatadogApi\\V1\\Rest\\DatadogRestService\\Controller' => 'HalJson' + ], + 'accept_whitelist' => [ + 'Laminas\\ApiTools\\Documentation\\Controller' => [ + 'application/vnd.swagger+json', + 'application/json' + ], + 'DatadogApi\\V1\\Rest\\DatadogRestService\\Controller' => [ + 'application/vnd.datadog-api.v1+json', + 'application/hal+json', + 'application/json' + ] + ], + 'selectors' => [ + 'Documentation' => [ + 'Laminas\\View\\Model\\ViewModel' => [ + 'text/html', + 'application/xhtml+xml' + ], + 'Laminas\\ApiTools\\Documentation\\JsonModel' => [ + 'application/json' + ] + ], + 'HalJson' => [ + 'Laminas\\ApiTools\\Hal\\View\\HalJsonModel' => [ + 'application/json', + 'application/*+json' + ] + ], + 'Json' => [ + 'Laminas\\ApiTools\\ContentNegotiation\\JsonModel' => [ + 'application/json', + 'application/*+json' + ] + ] + ], + 'content_type_whitelist' => [ + 'DatadogApi\\V1\\Rest\\DatadogRestService\\Controller' => [ + 'application/vnd.datadog-api.v1+json', + 'application/json' + ] + ], + 'x_http_method_override_enabled' => false, + 'http_override_methods' => [] + ], + 'view_manager' => [ + 'template_path_stack' => [ + '/home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-documentation/config/../view', + '/home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-oauth2/config/../view', + '/home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/module/Application/config/../view' + ], + 'display_exceptions' => true, + 'template_map' => [ + 'oauth/authorize' => '/home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-oauth2/config/../view/laminas/auth/authorize.phtml', + 'oauth/receive-code' => '/home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-oauth2/config/../view/laminas/auth/receive-code.phtml', + 'layout/layout' => '/home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/module/Application/config/../view/layout/layout.phtml', + 'application/index/index' => '/home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/module/Application/config/../view/application/index/index.phtml', + 'error/404' => '/home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/module/Application/config/../view/error/404.phtml', + 'error/index' => '/home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/module/Application/config/../view/error/index.phtml' + ], + 'display_not_found_reason' => true, + 'doctype' => 'HTML5', + 'not_found_template' => 'error/404', + 'exception_template' => 'error/index', + 'strategies' => [ + 'ViewJsonStrategy' + ] + ], + 'api-tools-api-problem' => [], + 'api-tools-configuration' => [ + 'config_file' => 'config/autoload/development.php' + ], + 'api-tools-oauth2' => [ + 'grant_types' => [ + 'client_credentials' => true, + 'authorization_code' => true, + 'password' => true, + 'refresh_token' => true, + 'jwt' => true + ], + 'api_problem_error_response' => true + ], + 'controller_plugins' => [ + 'aliases' => [ + 'getidentity' => 'Laminas\\ApiTools\\MvcAuth\\Identity\\IdentityPlugin', + 'getIdentity' => 'Laminas\\ApiTools\\MvcAuth\\Identity\\IdentityPlugin', + 'ZF\\MvcAuth\\Identity\\IdentityPlugin' => 'Laminas\\ApiTools\\MvcAuth\\Identity\\IdentityPlugin', + 'routeParam' => 'Laminas\\ApiTools\\ContentNegotiation\\ControllerPlugin\\RouteParam', + 'queryParam' => 'Laminas\\ApiTools\\ContentNegotiation\\ControllerPlugin\\QueryParam', + 'bodyParam' => 'Laminas\\ApiTools\\ContentNegotiation\\ControllerPlugin\\BodyParam', + 'routeParams' => 'Laminas\\ApiTools\\ContentNegotiation\\ControllerPlugin\\RouteParams', + 'queryParams' => 'Laminas\\ApiTools\\ContentNegotiation\\ControllerPlugin\\QueryParams', + 'bodyParams' => 'Laminas\\ApiTools\\ContentNegotiation\\ControllerPlugin\\BodyParams', + 'getinputfilter' => 'Laminas\\ApiTools\\ContentValidation\\InputFilter\\InputFilterPlugin', + 'getInputfilter' => 'Laminas\\ApiTools\\ContentValidation\\InputFilter\\InputFilterPlugin', + 'getInputFilter' => 'Laminas\\ApiTools\\ContentValidation\\InputFilter\\InputFilterPlugin', + 'ZF\\ContentValidation\\InputFilter\\InputFilterPlugin' => 'Laminas\\ApiTools\\ContentValidation\\InputFilter\\InputFilterPlugin' + ], + 'factories' => [ + 'Laminas\\ApiTools\\MvcAuth\\Identity\\IdentityPlugin' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Hal' => 'Laminas\\ApiTools\\Hal\\Factory\\HalControllerPluginFactory', + 'Laminas\\ApiTools\\ContentNegotiation\\ControllerPlugin\\RouteParam' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\ContentNegotiation\\ControllerPlugin\\QueryParam' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\ContentNegotiation\\ControllerPlugin\\BodyParam' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\ContentNegotiation\\ControllerPlugin\\RouteParams' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\ContentNegotiation\\ControllerPlugin\\QueryParams' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\ContentNegotiation\\ControllerPlugin\\BodyParams' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', + 'Laminas\\ApiTools\\ContentValidation\\InputFilter\\InputFilterPlugin' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory' + ] + ], + 'api-tools-mvc-auth' => [ + 'authentication' => [], + 'authorization' => [ + 'deny_by_default' => false + ] + ], + 'api-tools-hal' => [ + 'renderer' => [], + 'metadata_map' => [ + 'DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceEntity' => [ + 'entity_identifier_name' => 'id', + 'route_name' => 'datadog-api.rest.datadog-rest-service', + 'route_identifier_name' => 'datadog_rest_service_id', + 'hydrator' => 'Laminas\\Hydrator\\ArraySerializableHydrator' + ], + 'DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceCollection' => [ + 'entity_identifier_name' => 'id', + 'route_name' => 'datadog-api.rest.datadog-rest-service', + 'route_identifier_name' => 'datadog_rest_service_id', + 'is_collection' => true + ] + ], + 'options' => [ + 'use_proxy' => false + ] + ], + 'input_filter_specs' => [], + 'api-tools-content-validation' => [ + 'methods_without_bodies' => [] + ], + 'api-tools-rest' => [ + 'DatadogApi\\V1\\Rest\\DatadogRestService\\Controller' => [ + 'listener' => 'DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceResource', + 'route_name' => 'datadog-api.rest.datadog-rest-service', + 'route_identifier_name' => 'datadog_rest_service_id', + 'collection_name' => 'datadog_rest_service', + 'entity_http_methods' => [ + 'GET', + 'PATCH', + 'PUT', + 'DELETE' + ], + 'collection_http_methods' => [ + 'GET', + 'POST' + ], + 'collection_query_whitelist' => [], + 'page_size' => 25, + 'page_size_param' => null, + 'entity_class' => 'DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceEntity', + 'collection_class' => 'DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceCollection', + 'service_name' => 'DatadogRestService' + ] + ], + 'api-tools-rpc' => [], + 'api-tools-versioning' => [ + 'content-type' => [], + 'default_version' => 1, + 'uri' => [ + 'datadog-api.rest.datadog-rest-service' + ] + ], + 'db' => [ + 'adapters' => [ + 'dummy' => [] + ] + ] +]; diff --git a/tests/Frameworks/Nette/Latest/composer.json b/tests/Frameworks/Nette/Latest/composer.json index 9b759c372f..ebad797122 100644 --- a/tests/Frameworks/Nette/Latest/composer.json +++ b/tests/Frameworks/Nette/Latest/composer.json @@ -17,14 +17,11 @@ "nette/bootstrap": "^3.0.0", "nette/caching": "^3.0.0", "nette/database": "^3.0.0", - "nette/di": "^3.0.0", "nette/finder": "^2.5", "nette/forms": "^3.0.0", - "nette/http": "^3.0.0", "nette/mail": "^3.0.0", "nette/robot-loader": "^3.0", "nette/security": "^3.0.0", - "nette/utils": "^3.0.0", "latte/latte": "^2.5", "tracy/tracy": "^2.6" }, diff --git a/tests/snapshots/tests.integrations.laminas.api_tools.latest.rest_test.test_scenario_rest4xx.json b/tests/snapshots/tests.integrations.laminas.api_tools.latest.rest_test.test_scenario_rest4xx.json index 6bd60eb04f..2d3dc77595 100644 --- a/tests/snapshots/tests.integrations.laminas.api_tools.latest.rest_test.test_scenario_rest4xx.json +++ b/tests/snapshots/tests.integrations.laminas.api_tools.latest.rest_test.test_scenario_rest4xx.json @@ -383,7 +383,7 @@ "meta": { "component": "laminas", "error.message": "The GET method has not been defined for individual resources", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/AbstractResourceListener.php(182): DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceResource->fetch()\n#1 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\ApiTools\\Rest\\AbstractResourceListener->dispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(548): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(499): Laminas\\ApiTools\\Rest\\Resource->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(493): Laminas\\ApiTools\\Rest\\Resource->fetch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(372): Laminas\\ApiTools\\Rest\\RestController->get()\n#7 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(335): Laminas\\Mvc\\Controller\\AbstractRestfulController->onDispatch()\n#8 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\ApiTools\\Rest\\RestController->onDispatch()\n#9 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#10 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#11 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(306): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#12 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractRestfulController->dispatch()\n#13 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\DispatchListener->onDispatch()\n#14 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#15 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#16 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/public/index.php(60): Laminas\\Mvc\\Application->run()\n", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/AbstractResourceListener.php(182): DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceResource->fetch()\n#1 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\ApiTools\\Rest\\AbstractResourceListener->dispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(548): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(499): Laminas\\ApiTools\\Rest\\Resource->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(493): Laminas\\ApiTools\\Rest\\Resource->fetch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(372): Laminas\\ApiTools\\Rest\\RestController->get()\n#7 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(335): Laminas\\Mvc\\Controller\\AbstractRestfulController->onDispatch()\n#8 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\ApiTools\\Rest\\RestController->onDispatch()\n#9 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#10 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#11 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(306): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#12 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractRestfulController->dispatch()\n#13 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(320): Laminas\\Mvc\\DispatchListener->onDispatch()\n#14 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\\EventManager\\EventManager->triggerListeners()\n#15 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#16 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/public/index.php(60): Laminas\\Mvc\\Application->run()\n", "error.type": "ApiProblem" } }, diff --git a/tests/snapshots/tests.integrations.laminas.api_tools.latest.rest_test.test_scenario_rest5xx.json b/tests/snapshots/tests.integrations.laminas.api_tools.latest.rest_test.test_scenario_rest5xx.json index a0427c6cee..406ffb69df 100644 --- a/tests/snapshots/tests.integrations.laminas.api_tools.latest.rest_test.test_scenario_rest5xx.json +++ b/tests/snapshots/tests.integrations.laminas.api_tools.latest.rest_test.test_scenario_rest5xx.json @@ -11,8 +11,8 @@ "meta": { "_dd.p.dm": "-0", "component": "laminas", - "error.message": "Uncaught Error (500): Attempt to assign property \"b\" on null in /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResource.php:55", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/AbstractResourceListener.php(182): DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceResource->fetch()\n#1 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\ApiTools\\Rest\\AbstractResourceListener->dispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(544): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(499): Laminas\\ApiTools\\Rest\\Resource->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(493): Laminas\\ApiTools\\Rest\\Resource->fetch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(372): Laminas\\ApiTools\\Rest\\RestController->get()\n#7 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(335): Laminas\\Mvc\\Controller\\AbstractRestfulController->onDispatch()\n#8 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\ApiTools\\Rest\\RestController->onDispatch()\n#9 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#10 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#11 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(306): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#12 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractRestfulController->dispatch()\n#13 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\Mvc\\DispatchListener->onDispatch()\n#14 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#15 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#16 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/public/index.php(60): Laminas\\Mvc\\Application->run()\n#17 {main}", + "error.message": "Uncaught Error (500): Attempt to assign property \"b\" on null in /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResource.php:55", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/AbstractResourceListener.php(182): DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceResource->fetch()\n#1 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\ApiTools\\Rest\\AbstractResourceListener->dispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(544): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(499): Laminas\\ApiTools\\Rest\\Resource->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(493): Laminas\\ApiTools\\Rest\\Resource->fetch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(372): Laminas\\ApiTools\\Rest\\RestController->get()\n#7 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(335): Laminas\\Mvc\\Controller\\AbstractRestfulController->onDispatch()\n#8 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\ApiTools\\Rest\\RestController->onDispatch()\n#9 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#10 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#11 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(306): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#12 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractRestfulController->dispatch()\n#13 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\Mvc\\DispatchListener->onDispatch()\n#14 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#15 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#16 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/public/index.php(60): Laminas\\Mvc\\Application->run()\n#17 {main}", "error.type": "Error", "http.method": "GET", "http.status_code": "500", @@ -374,8 +374,8 @@ "error": 1, "meta": { "component": "laminas", - "error.message": "Thrown Error (500): Attempt to assign property \"b\" on null in /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResource.php:55", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/AbstractResourceListener.php(182): DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceResource->fetch()\n#1 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\ApiTools\\Rest\\AbstractResourceListener->dispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(544): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(499): Laminas\\ApiTools\\Rest\\Resource->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(493): Laminas\\ApiTools\\Rest\\Resource->fetch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(372): Laminas\\ApiTools\\Rest\\RestController->get()\n#7 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(335): Laminas\\Mvc\\Controller\\AbstractRestfulController->onDispatch()\n#8 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\ApiTools\\Rest\\RestController->onDispatch()\n#9 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#10 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#11 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(306): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#12 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractRestfulController->dispatch()\n#13 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\Mvc\\DispatchListener->onDispatch()\n#14 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#15 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#16 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/public/index.php(60): Laminas\\Mvc\\Application->run()\n#17 {main}", + "error.message": "Thrown Error (500): Attempt to assign property \"b\" on null in /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResource.php:55", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/AbstractResourceListener.php(182): DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceResource->fetch()\n#1 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\ApiTools\\Rest\\AbstractResourceListener->dispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(544): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(499): Laminas\\ApiTools\\Rest\\Resource->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(493): Laminas\\ApiTools\\Rest\\Resource->fetch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(372): Laminas\\ApiTools\\Rest\\RestController->get()\n#7 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(335): Laminas\\Mvc\\Controller\\AbstractRestfulController->onDispatch()\n#8 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\ApiTools\\Rest\\RestController->onDispatch()\n#9 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#10 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#11 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(306): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#12 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractRestfulController->dispatch()\n#13 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\Mvc\\DispatchListener->onDispatch()\n#14 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#15 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#16 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/public/index.php(60): Laminas\\Mvc\\Application->run()\n#17 {main}", "error.type": "Error" } }, @@ -390,8 +390,8 @@ "error": 1, "meta": { "component": "laminas", - "error.message": "Thrown Error (500): Attempt to assign property \"b\" on null in /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResource.php:55", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/AbstractResourceListener.php(182): DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceResource->fetch()\n#1 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\ApiTools\\Rest\\AbstractResourceListener->dispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(544): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(499): Laminas\\ApiTools\\Rest\\Resource->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(493): Laminas\\ApiTools\\Rest\\Resource->fetch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(372): Laminas\\ApiTools\\Rest\\RestController->get()\n#7 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(335): Laminas\\Mvc\\Controller\\AbstractRestfulController->onDispatch()\n#8 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\ApiTools\\Rest\\RestController->onDispatch()\n#9 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#10 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#11 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(306): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#12 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractRestfulController->dispatch()\n#13 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\Mvc\\DispatchListener->onDispatch()\n#14 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#15 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#16 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Version_1_9/public/index.php(60): Laminas\\Mvc\\Application->run()\n#17 {main}", + "error.message": "Thrown Error (500): Attempt to assign property \"b\" on null in /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/module/DatadogApi/src/V1/Rest/DatadogRestService/DatadogRestServiceResource.php:55", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/AbstractResourceListener.php(182): DatadogApi\\V1\\Rest\\DatadogRestService\\DatadogRestServiceResource->fetch()\n#1 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\ApiTools\\Rest\\AbstractResourceListener->dispatch()\n#2 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#3 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(544): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#4 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/Resource.php(499): Laminas\\ApiTools\\Rest\\Resource->triggerEvent()\n#5 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(493): Laminas\\ApiTools\\Rest\\Resource->fetch()\n#6 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(372): Laminas\\ApiTools\\Rest\\RestController->get()\n#7 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas-api-tools/api-tools-rest/src/RestController.php(335): Laminas\\Mvc\\Controller\\AbstractRestfulController->onDispatch()\n#8 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\ApiTools\\Rest\\RestController->onDispatch()\n#9 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#10 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(105): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#11 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(306): Laminas\\Mvc\\Controller\\AbstractController->dispatch()\n#12 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\\Mvc\\Controller\\AbstractRestfulController->dispatch()\n#13 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\\Mvc\\DispatchListener->onDispatch()\n#14 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-eventmanager/src/EventManager.php(177): Laminas\\EventManager\\EventManager->triggerListeners()\n#15 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/vendor/laminas/laminas-mvc/src/Application.php(319): Laminas\\EventManager\\EventManager->triggerEventUntil()\n#16 /home/circleci/app/tests/Frameworks/Laminas/ApiTools/Latest/public/index.php(60): Laminas\\Mvc\\Application->run()\n#17 {main}", "error.type": "Error" } }, diff --git a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_dynamic_route.json b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_dynamic_route.json index 67012f668e..cde89e6631 100644 --- a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_dynamic_route.json +++ b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_dynamic_route.json @@ -5,16 +5,16 @@ "resource": "GET /dynamic_route/dynamic01/static/dynamic02", "trace_id": 0, "span_id": 1, - "parent_id": 15532564201308317895, + "parent_id": 13199520079029886173, "type": "web", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "664c8df300000000", + "_dd.p.tid": "678e25b700000000", "component": "laravel", "http.method": "GET", "http.status_code": "404", "http.url": "http://localhost/dynamic_route/dynamic01/static/dynamic02", - "runtime-id": "3ddc27d7-3081-4e28-a35f-c8c6e7f4ec38" + "runtime-id": "8ba8ccd7-b81f-4bdf-adbd-e880b8bc039a" }, "metrics": { "_sampling_priority_v1": 1.0 @@ -188,12 +188,24 @@ "component": "laravel" } }, + { + "name": "laravel.event.handle", + "service": "my_service", + "resource": "Illuminate\\Database\\Events\\ConnectionEstablished", + "trace_id": 0, + "span_id": 16, + "parent_id": 1, + "type": "web", + "meta": { + "component": "laravel" + } + }, { "name": "laravel.view.render", "service": "my_service", "resource": "errors::404", "trace_id": 0, - "span_id": 16, + "span_id": 17, "parent_id": 1, "type": "web", "meta": { @@ -205,8 +217,8 @@ "service": "my_service", "resource": "/home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views/404.blade.php", "trace_id": 0, - "span_id": 19, - "parent_id": 16, + "span_id": 20, + "parent_id": 17, "type": "web", "meta": { "component": "laravel" @@ -217,7 +229,7 @@ "service": "my_service", "resource": "Illuminate\\Foundation\\Http\\Events\\RequestHandled", "trace_id": 0, - "span_id": 17, + "span_id": 18, "parent_id": 1, "type": "web", "meta": { @@ -229,7 +241,7 @@ "service": "my_service", "resource": "Illuminate\\Foundation\\Events\\Terminating", "trace_id": 0, - "span_id": 18, + "span_id": 19, "parent_id": 1, "type": "web", "meta": { diff --git a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_return_string.json index 8305fe3dd9..db4b61b7df 100644 --- a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_return_string.json +++ b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_return_string.json @@ -5,19 +5,23 @@ "resource": "App\\Http\\Controllers\\CommonSpecsController@simple simple_route", "trace_id": 0, "span_id": 1, - "parent_id": 9673787783687979763, + "parent_id": 14435677679777440188, "type": "web", + "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "662b8a1d00000000", + "_dd.p.tid": "678e25aa00000000", "component": "laravel", + "error.message": "Uncaught Illuminate\\Encryption\\MissingAppKeyException (500): No application encryption key has been specified. in /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php:83", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Support/helpers.php(399): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(81): tap()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(64): Illuminate\\Encryption\\EncryptionServiceProvider->key()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(32): Illuminate\\Encryption\\EncryptionServiceProvider->parseKey()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(937): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}()\n#5 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(819): Illuminate\\Container\\Container->build()\n#6 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1051): Illuminate\\Container\\Container->resolve()\n#7 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(755): Illuminate\\Foundation\\Application->resolve()\n#8 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1033): Illuminate\\Container\\Container->make()\n#9 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(1118): Illuminate\\Foundation\\Application->make()\n#10 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(1028): Illuminate\\Container\\Container->resolveClass()\n#11 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(979): Illuminate\\Container\\Container->resolveDependencies()\n#12 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(819): Illuminate\\Container\\Container->build()\n#13 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1051): Illuminate\\Container\\Container->resolve()\n#14 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(755): Illuminate\\Foundation\\Application->resolve()\n#15 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1033): Illuminate\\Container\\Container->make()\n#16 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(198): Illuminate\\Foundation\\Application->make()\n#17 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#18 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(807): Illuminate\\Pipeline\\Pipeline->then()\n#19 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(786): Illuminate\\Routing\\Router->runRouteWithinStack()\n#20 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(750): Illuminate\\Routing\\Router->runRoute()\n#21 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(739): Illuminate\\Routing\\Router->dispatchToRoute()\n#22 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(201): Illuminate\\Routing\\Router->dispatch()\n#23 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(170): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()\n#24 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#25 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#26 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()\n#27 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#28 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#29 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()\n#30 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#31 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\ValidatePostSize->handle()\n#32 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#33 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()\n#34 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#35 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\HandleCors->handle()\n#36 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#37 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\TrustProxies->handle()\n#38 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#39 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle()\n#40 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#41 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Pipeline\\Pipeline->then()\n#42 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()\n#43 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1193): Illuminate\\Foundation\\Http\\Kernel->handle()\n#44 /home/circleci/app/tests/Frameworks/Laravel/Latest/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest()\n#45 {main}\n\nNext Illuminate\\Encryption\\MissingAppKeyException: No application encryption key has been specified. in /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php:83\nStack trace:\n#0 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Support/helpers.php(399): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(81): tap()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(64): Illuminate\\Encryption\\EncryptionServiceProvider->key()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(32): Illuminate\\Encryption\\EncryptionServiceProvider->parseKey()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(937): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}()\n#5 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(819): Illuminate\\Container\\Container->build()\n#6 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1051): Illuminate\\Container\\Container->resolve()\n#7 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(755): Illuminate\\Foundation\\Application->resolve()\n#8 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1033): Illuminate\\Container\\Container->make()\n#9 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(1118): Illuminate\\Foundation\\Application->make()\n#10 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(1028): Illuminate\\Container\\Container->resolveClass()\n#11 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(979): Illuminate\\Container\\Container->resolveDependencies()\n#12 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(819): Illuminate\\Container\\Container->build()\n#13 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1051): Illuminate\\Container\\Container->resolve()\n#14 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(755): Illuminate\\Foundation\\Application->resolve()\n#15 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1033): Illuminate\\Container\\Container->make()\n#16 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(258): Illuminate\\Foundation\\Application->make()\n#17 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(216): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware()\n#18 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1195): Illuminate\\Foundation\\Http\\Kernel->terminate()\n#19 /home/circleci/app/tests/Frameworks/Laravel/Latest/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest()\n#20 {main}\n\nNext Symfony\\Component\\HttpKernel\\Exception\\HttpException: No application encryption key has been specified. in /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:811\nStack trace:\n#0 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(706): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(594): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionResponse()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(225): Illuminate\\Foundation\\Exceptions\\Handler->render()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(202): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->renderHttpResponse()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(290): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleException()\n#5 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()\n#6 {main}", + "error.type": "Illuminate\\Encryption\\MissingAppKeyException", "http.method": "GET", "http.route": "simple", - "http.status_code": "200", + "http.status_code": "500", "http.url": "http://localhost/simple?key=value&", "laravel.route.action": "App\\Http\\Controllers\\CommonSpecsController@simple", "laravel.route.name": "simple_route", - "runtime-id": "4f76a87a-df89-41fb-909e-e269a4616334", + "runtime-id": "8ba8ccd7-b81f-4bdf-adbd-e880b8bc039a", "span.kind": "server" }, "metrics": { @@ -205,9 +209,9 @@ } }, { - "name": "laravel.action", + "name": "laravel.event.handle", "service": "my_service", - "resource": "simple", + "resource": "Illuminate\\Database\\Events\\ConnectionEstablished", "trace_id": 0, "span_id": 17, "parent_id": 1, @@ -219,7 +223,7 @@ { "name": "laravel.event.handle", "service": "my_service", - "resource": "Illuminate\\Routing\\Events\\PreparingResponse", + "resource": "Illuminate\\Log\\Events\\MessageLogged", "trace_id": 0, "span_id": 18, "parent_id": 1, @@ -229,9 +233,9 @@ } }, { - "name": "laravel.event.handle", + "name": "laravel.view.render", "service": "my_service", - "resource": "Illuminate\\Routing\\Events\\ResponsePrepared", + "resource": "errors::500", "trace_id": 0, "span_id": 19, "parent_id": 1, @@ -240,6 +244,18 @@ "component": "laravel" } }, + { + "name": "laravel.view", + "service": "my_service", + "resource": "/home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views/500.blade.php", + "trace_id": 0, + "span_id": 26, + "parent_id": 19, + "type": "web", + "meta": { + "component": "laravel" + } + }, { "name": "laravel.event.handle", "service": "my_service", @@ -287,4 +303,40 @@ "meta": { "component": "laravel" } - }]] + }, + { + "name": "laravel.event.handle", + "service": "my_service", + "resource": "Illuminate\\Log\\Events\\MessageLogged", + "trace_id": 0, + "span_id": 24, + "parent_id": 1, + "type": "web", + "meta": { + "component": "laravel" + } + }, + { + "name": "laravel.view.render", + "service": "my_service", + "resource": "errors::500", + "trace_id": 0, + "span_id": 25, + "parent_id": 1, + "type": "web", + "meta": { + "component": "laravel" + } + }, + { + "name": "laravel.view", + "service": "my_service", + "resource": "/home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views/500.blade.php", + "trace_id": 0, + "span_id": 27, + "parent_id": 25, + "type": "web", + "meta": { + "component": "laravel" + } + }]] diff --git a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_to_missing_route.json b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_to_missing_route.json index 0e0350b8cc..c921976045 100644 --- a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_to_missing_route.json +++ b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_to_missing_route.json @@ -5,16 +5,16 @@ "resource": "GET /does_not_exist", "trace_id": 0, "span_id": 1, - "parent_id": 1008984056658375899, + "parent_id": 7161399118842401116, "type": "web", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "662b8a2e00000000", + "_dd.p.tid": "678e25b100000000", "component": "laravel", "http.method": "GET", "http.status_code": "404", "http.url": "http://localhost/does_not_exist?key=value&", - "runtime-id": "4f76a87a-df89-41fb-909e-e269a4616334" + "runtime-id": "8ba8ccd7-b81f-4bdf-adbd-e880b8bc039a" }, "metrics": { "_sampling_priority_v1": 1.0 @@ -188,12 +188,24 @@ "component": "laravel" } }, + { + "name": "laravel.event.handle", + "service": "my_service", + "resource": "Illuminate\\Database\\Events\\ConnectionEstablished", + "trace_id": 0, + "span_id": 16, + "parent_id": 1, + "type": "web", + "meta": { + "component": "laravel" + } + }, { "name": "laravel.view.render", "service": "my_service", "resource": "errors::404", "trace_id": 0, - "span_id": 16, + "span_id": 17, "parent_id": 1, "type": "web", "meta": { @@ -205,8 +217,8 @@ "service": "my_service", "resource": "/home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views/404.blade.php", "trace_id": 0, - "span_id": 19, - "parent_id": 16, + "span_id": 20, + "parent_id": 17, "type": "web", "meta": { "component": "laravel" @@ -217,7 +229,7 @@ "service": "my_service", "resource": "Illuminate\\Foundation\\Http\\Events\\RequestHandled", "trace_id": 0, - "span_id": 17, + "span_id": 18, "parent_id": 1, "type": "web", "meta": { @@ -229,7 +241,7 @@ "service": "my_service", "resource": "Illuminate\\Foundation\\Events\\Terminating", "trace_id": 0, - "span_id": 18, + "span_id": 19, "parent_id": 1, "type": "web", "meta": { diff --git a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_exception.json index eba2d4f587..4aaff026e2 100644 --- a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_exception.json +++ b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_exception.json @@ -5,23 +5,23 @@ "resource": "App\\Http\\Controllers\\CommonSpecsController@error unnamed_route", "trace_id": 0, "span_id": 1, - "parent_id": 14238793329004375588, + "parent_id": 2309784383562272195, "type": "web", "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "662b8a2800000000", + "_dd.p.tid": "678e25b100000000", "component": "laravel", - "error.message": "Uncaught Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laravel/Latest/app/Http/Controllers/CommonSpecsController.php:19", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(47): App\\Http\\Controllers\\CommonSpecsController->error()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Route.php(266): Illuminate\\Routing\\ControllerDispatcher->dispatch()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Route.php(212): Illuminate\\Routing\\Route->runController()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(808): Illuminate\\Routing\\Route->run()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(170): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()\n#5 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(51): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#6 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()\n#7 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(88): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#8 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()\n#9 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#10 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()\n#11 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#12 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()\n#13 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Session\\Middleware\\StartSession->handle()\n#14 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#15 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()\n#16 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(75): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#17 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()\n#18 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#19 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(807): Illuminate\\Pipeline\\Pipeline->then()\n#20 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(786): Illuminate\\Routing\\Router->runRouteWithinStack()\n#21 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(750): Illuminate\\Routing\\Router->runRoute()\n#22 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(739): Illuminate\\Routing\\Router->dispatchToRoute()\n#23 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(201): Illuminate\\Routing\\Router->dispatch()\n#24 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(170): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()\n#25 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#26 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#27 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()\n#28 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#29 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#30 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()\n#31 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#32 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\ValidatePostSize->handle()\n#33 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#34 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()\n#35 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#36 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\HandleCors->handle()\n#37 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#38 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\TrustProxies->handle()\n#39 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#40 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle()\n#41 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#42 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Pipeline\\Pipeline->then()\n#43 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()\n#44 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1193): Illuminate\\Foundation\\Http\\Kernel->handle()\n#45 /home/circleci/app/tests/Frameworks/Laravel/Latest/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest()\n#46 {main}", - "error.type": "Exception", + "error.message": "Uncaught Illuminate\\Encryption\\MissingAppKeyException (500): No application encryption key has been specified. in /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php:83", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Support/helpers.php(399): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(81): tap()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(64): Illuminate\\Encryption\\EncryptionServiceProvider->key()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(32): Illuminate\\Encryption\\EncryptionServiceProvider->parseKey()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(937): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}()\n#5 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(819): Illuminate\\Container\\Container->build()\n#6 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1051): Illuminate\\Container\\Container->resolve()\n#7 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(755): Illuminate\\Foundation\\Application->resolve()\n#8 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1033): Illuminate\\Container\\Container->make()\n#9 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(1118): Illuminate\\Foundation\\Application->make()\n#10 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(1028): Illuminate\\Container\\Container->resolveClass()\n#11 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(979): Illuminate\\Container\\Container->resolveDependencies()\n#12 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(819): Illuminate\\Container\\Container->build()\n#13 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1051): Illuminate\\Container\\Container->resolve()\n#14 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(755): Illuminate\\Foundation\\Application->resolve()\n#15 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1033): Illuminate\\Container\\Container->make()\n#16 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(198): Illuminate\\Foundation\\Application->make()\n#17 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#18 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(807): Illuminate\\Pipeline\\Pipeline->then()\n#19 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(786): Illuminate\\Routing\\Router->runRouteWithinStack()\n#20 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(750): Illuminate\\Routing\\Router->runRoute()\n#21 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(739): Illuminate\\Routing\\Router->dispatchToRoute()\n#22 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(201): Illuminate\\Routing\\Router->dispatch()\n#23 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(170): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()\n#24 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#25 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#26 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()\n#27 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#28 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#29 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()\n#30 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#31 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\ValidatePostSize->handle()\n#32 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#33 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()\n#34 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#35 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\HandleCors->handle()\n#36 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#37 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\TrustProxies->handle()\n#38 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#39 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle()\n#40 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#41 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Pipeline\\Pipeline->then()\n#42 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()\n#43 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1193): Illuminate\\Foundation\\Http\\Kernel->handle()\n#44 /home/circleci/app/tests/Frameworks/Laravel/Latest/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest()\n#45 {main}\n\nNext Illuminate\\Encryption\\MissingAppKeyException: No application encryption key has been specified. in /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php:83\nStack trace:\n#0 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Support/helpers.php(399): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(81): tap()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(64): Illuminate\\Encryption\\EncryptionServiceProvider->key()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(32): Illuminate\\Encryption\\EncryptionServiceProvider->parseKey()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(937): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}()\n#5 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(819): Illuminate\\Container\\Container->build()\n#6 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1051): Illuminate\\Container\\Container->resolve()\n#7 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(755): Illuminate\\Foundation\\Application->resolve()\n#8 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1033): Illuminate\\Container\\Container->make()\n#9 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(1118): Illuminate\\Foundation\\Application->make()\n#10 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(1028): Illuminate\\Container\\Container->resolveClass()\n#11 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(979): Illuminate\\Container\\Container->resolveDependencies()\n#12 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(819): Illuminate\\Container\\Container->build()\n#13 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1051): Illuminate\\Container\\Container->resolve()\n#14 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(755): Illuminate\\Foundation\\Application->resolve()\n#15 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1033): Illuminate\\Container\\Container->make()\n#16 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(258): Illuminate\\Foundation\\Application->make()\n#17 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(216): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware()\n#18 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1195): Illuminate\\Foundation\\Http\\Kernel->terminate()\n#19 /home/circleci/app/tests/Frameworks/Laravel/Latest/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest()\n#20 {main}\n\nNext Symfony\\Component\\HttpKernel\\Exception\\HttpException: No application encryption key has been specified. in /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:811\nStack trace:\n#0 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(706): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(594): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionResponse()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(225): Illuminate\\Foundation\\Exceptions\\Handler->render()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(202): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->renderHttpResponse()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(290): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleException()\n#5 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()\n#6 {main}", + "error.type": "Illuminate\\Encryption\\MissingAppKeyException", "http.method": "GET", "http.route": "error", "http.status_code": "500", "http.url": "http://localhost/error?key=value&", "laravel.route.action": "App\\Http\\Controllers\\CommonSpecsController@error", "laravel.route.name": "unnamed_route", - "runtime-id": "d65ed9d0-61e4-45c2-bb6b-2fee52df5416", + "runtime-id": "8ba8ccd7-b81f-4bdf-adbd-e880b8bc039a", "span.kind": "server" }, "metrics": { @@ -209,19 +209,15 @@ } }, { - "name": "laravel.action", + "name": "laravel.event.handle", "service": "my_service", - "resource": "error", + "resource": "Illuminate\\Database\\Events\\ConnectionEstablished", "trace_id": 0, "span_id": 17, "parent_id": 1, "type": "web", - "error": 1, "meta": { - "component": "laravel", - "error.message": "Thrown Exception (500): Controller error in /home/circleci/app/tests/Frameworks/Laravel/Latest/app/Http/Controllers/CommonSpecsController.php:19", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(47): App\\Http\\Controllers\\CommonSpecsController->error()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Route.php(266): Illuminate\\Routing\\ControllerDispatcher->dispatch()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Route.php(212): Illuminate\\Routing\\Route->runController()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(808): Illuminate\\Routing\\Route->run()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(170): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()\n#5 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(51): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#6 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()\n#7 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(88): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#8 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()\n#9 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#10 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()\n#11 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#12 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()\n#13 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Session\\Middleware\\StartSession->handle()\n#14 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#15 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()\n#16 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(75): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#17 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()\n#18 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#19 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(807): Illuminate\\Pipeline\\Pipeline->then()\n#20 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(786): Illuminate\\Routing\\Router->runRouteWithinStack()\n#21 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(750): Illuminate\\Routing\\Router->runRoute()\n#22 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(739): Illuminate\\Routing\\Router->dispatchToRoute()\n#23 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(201): Illuminate\\Routing\\Router->dispatch()\n#24 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(170): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()\n#25 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#26 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#27 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()\n#28 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#29 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#30 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()\n#31 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#32 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\ValidatePostSize->handle()\n#33 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#34 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()\n#35 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#36 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\HandleCors->handle()\n#37 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#38 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\TrustProxies->handle()\n#39 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#40 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle()\n#41 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#42 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Pipeline\\Pipeline->then()\n#43 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()\n#44 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1193): Illuminate\\Foundation\\Http\\Kernel->handle()\n#45 /home/circleci/app/tests/Frameworks/Laravel/Latest/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest()\n#46 {main}", - "error.type": "Exception" + "component": "laravel" } }, { @@ -236,12 +232,36 @@ "component": "laravel" } }, + { + "name": "laravel.view.render", + "service": "my_service", + "resource": "errors::500", + "trace_id": 0, + "span_id": 19, + "parent_id": 1, + "type": "web", + "meta": { + "component": "laravel" + } + }, + { + "name": "laravel.view", + "service": "my_service", + "resource": "/home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views/500.blade.php", + "trace_id": 0, + "span_id": 26, + "parent_id": 19, + "type": "web", + "meta": { + "component": "laravel" + } + }, { "name": "laravel.event.handle", "service": "my_service", "resource": "Illuminate\\Routing\\Events\\PreparingResponse", "trace_id": 0, - "span_id": 19, + "span_id": 20, "parent_id": 1, "type": "web", "meta": { @@ -253,7 +273,7 @@ "service": "my_service", "resource": "Illuminate\\Routing\\Events\\ResponsePrepared", "trace_id": 0, - "span_id": 20, + "span_id": 21, "parent_id": 1, "type": "web", "meta": { @@ -265,7 +285,7 @@ "service": "my_service", "resource": "Illuminate\\Foundation\\Http\\Events\\RequestHandled", "trace_id": 0, - "span_id": 21, + "span_id": 22, "parent_id": 1, "type": "web", "meta": { @@ -277,10 +297,46 @@ "service": "my_service", "resource": "Illuminate\\Foundation\\Events\\Terminating", "trace_id": 0, - "span_id": 22, + "span_id": 23, + "parent_id": 1, + "type": "web", + "meta": { + "component": "laravel" + } + }, + { + "name": "laravel.event.handle", + "service": "my_service", + "resource": "Illuminate\\Log\\Events\\MessageLogged", + "trace_id": 0, + "span_id": 24, "parent_id": 1, "type": "web", "meta": { "component": "laravel" } - }]] + }, + { + "name": "laravel.view.render", + "service": "my_service", + "resource": "errors::500", + "trace_id": 0, + "span_id": 25, + "parent_id": 1, + "type": "web", + "meta": { + "component": "laravel" + } + }, + { + "name": "laravel.view", + "service": "my_service", + "resource": "/home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views/500.blade.php", + "trace_id": 0, + "span_id": 27, + "parent_id": 25, + "type": "web", + "meta": { + "component": "laravel" + } + }]] diff --git a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_view.json index 5d10bc94af..2758c53434 100644 --- a/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_view.json +++ b/tests/snapshots/tests.integrations.laravel.latest.common_scenarios_test.test_scenario_get_with_view.json @@ -5,19 +5,23 @@ "resource": "App\\Http\\Controllers\\CommonSpecsController@simple_view unnamed_route", "trace_id": 0, "span_id": 1, - "parent_id": 4113189179276680346, + "parent_id": 15224242484918056994, "type": "web", + "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "662b8a2200000000", + "_dd.p.tid": "678e25ab00000000", "component": "laravel", + "error.message": "Uncaught Illuminate\\Encryption\\MissingAppKeyException (500): No application encryption key has been specified. in /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php:83", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Support/helpers.php(399): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(81): tap()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(64): Illuminate\\Encryption\\EncryptionServiceProvider->key()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(32): Illuminate\\Encryption\\EncryptionServiceProvider->parseKey()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(937): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}()\n#5 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(819): Illuminate\\Container\\Container->build()\n#6 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1051): Illuminate\\Container\\Container->resolve()\n#7 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(755): Illuminate\\Foundation\\Application->resolve()\n#8 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1033): Illuminate\\Container\\Container->make()\n#9 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(1118): Illuminate\\Foundation\\Application->make()\n#10 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(1028): Illuminate\\Container\\Container->resolveClass()\n#11 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(979): Illuminate\\Container\\Container->resolveDependencies()\n#12 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(819): Illuminate\\Container\\Container->build()\n#13 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1051): Illuminate\\Container\\Container->resolve()\n#14 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(755): Illuminate\\Foundation\\Application->resolve()\n#15 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1033): Illuminate\\Container\\Container->make()\n#16 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(198): Illuminate\\Foundation\\Application->make()\n#17 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#18 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(807): Illuminate\\Pipeline\\Pipeline->then()\n#19 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(786): Illuminate\\Routing\\Router->runRouteWithinStack()\n#20 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(750): Illuminate\\Routing\\Router->runRoute()\n#21 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Routing/Router.php(739): Illuminate\\Routing\\Router->dispatchToRoute()\n#22 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(201): Illuminate\\Routing\\Router->dispatch()\n#23 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(170): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()\n#24 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#25 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#26 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()\n#27 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#28 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()\n#29 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()\n#30 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#31 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\ValidatePostSize->handle()\n#32 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#33 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()\n#34 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#35 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\HandleCors->handle()\n#36 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#37 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Http\\Middleware\\TrustProxies->handle()\n#38 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#39 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(209): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle()\n#40 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#41 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Pipeline\\Pipeline->then()\n#42 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()\n#43 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1193): Illuminate\\Foundation\\Http\\Kernel->handle()\n#44 /home/circleci/app/tests/Frameworks/Laravel/Latest/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest()\n#45 {main}\n\nNext Illuminate\\Encryption\\MissingAppKeyException: No application encryption key has been specified. in /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php:83\nStack trace:\n#0 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Support/helpers.php(399): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(81): tap()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(64): Illuminate\\Encryption\\EncryptionServiceProvider->key()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(32): Illuminate\\Encryption\\EncryptionServiceProvider->parseKey()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(937): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}()\n#5 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(819): Illuminate\\Container\\Container->build()\n#6 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1051): Illuminate\\Container\\Container->resolve()\n#7 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(755): Illuminate\\Foundation\\Application->resolve()\n#8 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1033): Illuminate\\Container\\Container->make()\n#9 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(1118): Illuminate\\Foundation\\Application->make()\n#10 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(1028): Illuminate\\Container\\Container->resolveClass()\n#11 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(979): Illuminate\\Container\\Container->resolveDependencies()\n#12 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(819): Illuminate\\Container\\Container->build()\n#13 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1051): Illuminate\\Container\\Container->resolve()\n#14 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Container/Container.php(755): Illuminate\\Foundation\\Application->resolve()\n#15 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1033): Illuminate\\Container\\Container->make()\n#16 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(258): Illuminate\\Foundation\\Application->make()\n#17 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(216): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware()\n#18 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1195): Illuminate\\Foundation\\Http\\Kernel->terminate()\n#19 /home/circleci/app/tests/Frameworks/Laravel/Latest/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest()\n#20 {main}\n\nNext Symfony\\Component\\HttpKernel\\Exception\\HttpException: No application encryption key has been specified. in /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:811\nStack trace:\n#0 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(706): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse()\n#1 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(594): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionResponse()\n#2 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(225): Illuminate\\Foundation\\Exceptions\\Handler->render()\n#3 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(202): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->renderHttpResponse()\n#4 /home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(290): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleException()\n#5 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()\n#6 {main}", + "error.type": "Illuminate\\Encryption\\MissingAppKeyException", "http.method": "GET", "http.route": "simple_view", - "http.status_code": "200", + "http.status_code": "500", "http.url": "http://localhost/simple_view?key=value&", "laravel.route.action": "App\\Http\\Controllers\\CommonSpecsController@simple_view", "laravel.route.name": "unnamed_route", - "runtime-id": "d65ed9d0-61e4-45c2-bb6b-2fee52df5416", + "runtime-id": "8ba8ccd7-b81f-4bdf-adbd-e880b8bc039a", "span.kind": "server" }, "metrics": { @@ -205,9 +209,9 @@ } }, { - "name": "laravel.action", + "name": "laravel.event.handle", "service": "my_service", - "resource": "simple_view", + "resource": "Illuminate\\Database\\Events\\ConnectionEstablished", "trace_id": 0, "span_id": 17, "parent_id": 1, @@ -219,7 +223,7 @@ { "name": "laravel.event.handle", "service": "my_service", - "resource": "Illuminate\\Routing\\Events\\PreparingResponse", + "resource": "Illuminate\\Log\\Events\\MessageLogged", "trace_id": 0, "span_id": 18, "parent_id": 1, @@ -231,7 +235,7 @@ { "name": "laravel.view.render", "service": "my_service", - "resource": "simple_view", + "resource": "errors::500", "trace_id": 0, "span_id": 19, "parent_id": 1, @@ -243,9 +247,9 @@ { "name": "laravel.view", "service": "my_service", - "resource": "/home/circleci/app/tests/Frameworks/Laravel/Latest/resources/views/simple_view.blade.php", + "resource": "/home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views/500.blade.php", "trace_id": 0, - "span_id": 25, + "span_id": 26, "parent_id": 19, "type": "web", "meta": { @@ -255,7 +259,7 @@ { "name": "laravel.event.handle", "service": "my_service", - "resource": "Illuminate\\Routing\\Events\\ResponsePrepared", + "resource": "Illuminate\\Routing\\Events\\PreparingResponse", "trace_id": 0, "span_id": 20, "parent_id": 1, @@ -267,7 +271,7 @@ { "name": "laravel.event.handle", "service": "my_service", - "resource": "Illuminate\\Routing\\Events\\PreparingResponse", + "resource": "Illuminate\\Routing\\Events\\ResponsePrepared", "trace_id": 0, "span_id": 21, "parent_id": 1, @@ -279,7 +283,7 @@ { "name": "laravel.event.handle", "service": "my_service", - "resource": "Illuminate\\Routing\\Events\\ResponsePrepared", + "resource": "Illuminate\\Foundation\\Http\\Events\\RequestHandled", "trace_id": 0, "span_id": 22, "parent_id": 1, @@ -291,7 +295,7 @@ { "name": "laravel.event.handle", "service": "my_service", - "resource": "Illuminate\\Foundation\\Http\\Events\\RequestHandled", + "resource": "Illuminate\\Foundation\\Events\\Terminating", "trace_id": 0, "span_id": 23, "parent_id": 1, @@ -303,7 +307,7 @@ { "name": "laravel.event.handle", "service": "my_service", - "resource": "Illuminate\\Foundation\\Events\\Terminating", + "resource": "Illuminate\\Log\\Events\\MessageLogged", "trace_id": 0, "span_id": 24, "parent_id": 1, @@ -311,4 +315,28 @@ "meta": { "component": "laravel" } - }]] + }, + { + "name": "laravel.view.render", + "service": "my_service", + "resource": "errors::500", + "trace_id": 0, + "span_id": 25, + "parent_id": 1, + "type": "web", + "meta": { + "component": "laravel" + } + }, + { + "name": "laravel.view", + "service": "my_service", + "resource": "/home/circleci/app/tests/Frameworks/Laravel/Latest/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views/500.blade.php", + "trace_id": 0, + "span_id": 27, + "parent_id": 25, + "type": "web", + "meta": { + "component": "laravel" + } + }]] diff --git a/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure.json b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure.json index 01fc32da5f..fff643dffd 100644 --- a/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure.json +++ b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure.json @@ -279,7 +279,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", @@ -300,7 +300,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", @@ -321,7 +321,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", @@ -345,7 +345,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", diff --git a/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure_consumer.json b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure_consumer.json index 54efd9edd7..164dc92be5 100644 --- a/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure_consumer.json +++ b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure_consumer.json @@ -315,7 +315,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", @@ -336,7 +336,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", @@ -360,7 +360,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", @@ -381,7 +381,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", @@ -402,7 +402,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", diff --git a/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_success.json b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_success.json index 6871aa82b8..5130a2b166 100644 --- a/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_success.json +++ b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_success.json @@ -279,7 +279,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", @@ -300,7 +300,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", @@ -321,7 +321,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", @@ -345,7 +345,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", diff --git a/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_success_consumer.json b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_success_consumer.json index cdc2d0514e..2bc1da809b 100644 --- a/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_success_consumer.json +++ b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_success_consumer.json @@ -262,7 +262,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", @@ -283,7 +283,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", diff --git a/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_with_tracer_disabled_on_consume.json b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_with_tracer_disabled_on_consume.json index 0d636c332a..2b1f563e68 100644 --- a/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_with_tracer_disabled_on_consume.json +++ b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_with_tracer_disabled_on_consume.json @@ -279,7 +279,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", @@ -300,7 +300,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", @@ -321,7 +321,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", @@ -345,7 +345,7 @@ "component": "pdo", "db.charset": "utf8mb4", "db.engine": "mysql", - "db.name": "symfony70", + "db.name": "symfonyLatest", "db.system": "mysql", "db.user": "test", "out.host": "mysql_integration", From c5b35f66a8b828382dd1d6a848b3e2c3c7a45fe0 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Mon, 20 Jan 2025 11:47:00 +0100 Subject: [PATCH 39/65] Update Nette requirements --- Makefile | 1 - tests/Frameworks/Nette/Latest/composer.json | 22 +++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index ae698de9ff..91e315c4b3 100644 --- a/Makefile +++ b/Makefile @@ -840,7 +840,6 @@ TEST_WEB_80 := \ test_web_drupal_95 \ test_web_laminas_rest_latest \ test_web_laminas_mvc_36 \ - test_web_laminas_mvc_latest \ test_web_laravel_8x \ test_web_laravel_9x \ test_web_lumen_81 \ diff --git a/tests/Frameworks/Nette/Latest/composer.json b/tests/Frameworks/Nette/Latest/composer.json index ebad797122..5dc27c9cd5 100644 --- a/tests/Frameworks/Nette/Latest/composer.json +++ b/tests/Frameworks/Nette/Latest/composer.json @@ -14,16 +14,18 @@ "require": { "php": ">= 7.1", "nette/application": "3.2.6", - "nette/bootstrap": "^3.0.0", - "nette/caching": "^3.0.0", - "nette/database": "^3.0.0", - "nette/finder": "^2.5", - "nette/forms": "^3.0.0", - "nette/mail": "^3.0.0", - "nette/robot-loader": "^3.0", - "nette/security": "^3.0.0", - "latte/latte": "^2.5", - "tracy/tracy": "^2.6" + "nette/bootstrap": "^3.2", + "nette/caching": "^3.2", + "nette/database": "^3.2", + "nette/di": "^3.2", + "nette/forms": "^3.2", + "nette/http": "^3.3", + "nette/mail": "^4.0", + "nette/robot-loader": "^4.0", + "nette/security": "^3.2", + "nette/utils": "^4.0", + "latte/latte": "^3.0", + "tracy/tracy": "^2.10" }, "require-dev": { "nette/tester": "^2.0" From b04d12b1253169f54d918f615fbf5327144a20c7 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Mon, 20 Jan 2025 11:58:44 +0100 Subject: [PATCH 40/65] fix symfony snapshot --- tests/Integrations/Symfony/Latest/MessengerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Integrations/Symfony/Latest/MessengerTest.php b/tests/Integrations/Symfony/Latest/MessengerTest.php index 7ace244201..52430c5557 100644 --- a/tests/Integrations/Symfony/Latest/MessengerTest.php +++ b/tests/Integrations/Symfony/Latest/MessengerTest.php @@ -68,7 +68,7 @@ public function testAsyncSuccess() $this->snapshotFromTraces( $consumerTraces, self::FIELDS_TO_IGNORE, - 'tests.integrations.symfony.v7_0.messenger_test.test_async_success_consumer', + 'tests.integrations.symfony.latest.messenger_test.test_async_success_consumer', true ); } @@ -92,7 +92,7 @@ public function testAsyncFailure() $this->snapshotFromTraces( $consumerTraces, self::FIELDS_TO_IGNORE, - 'tests.integrations.symfony.v7_0.messenger_test.test_async_failure_consumer', + 'tests.integrations.symfony.latest.messenger_test.test_async_failure_consumer', true ); } From a3b286190019606ff74f8100c5b29524be32a1ec Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Tue, 21 Jan 2025 10:58:22 +0100 Subject: [PATCH 41/65] Update symfony snapshots --- ...nger_test.test_async_failure_consumer.json | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure_consumer.json b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure_consumer.json index 164dc92be5..22ea8bbf7b 100644 --- a/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure_consumer.json +++ b/tests/snapshots/tests.integrations.symfony.latest.messenger_test.test_async_failure_consumer.json @@ -12,8 +12,8 @@ "_dd.p.dm": "0", "_dd.p.tid": "67376d6700000000", "component": "symfonymessenger", - "error.message": "Uncaught OutOfBoundsException: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/src/MessageHandler/LuckyNumberNotificationHandler.php:14", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php(152): App\\MessageHandler\\LuckyNumberNotificationHandler->__invoke()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php(91): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->callHandler()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#20 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#21 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/bin/console(11): require_once()\n#22 {main}\n\nNext Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124\nStack trace:\n#0 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/bin/console(11): require_once()\n#20 {main}", + "error.message": "Uncaught OutOfBoundsException: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Latest/src/MessageHandler/LuckyNumberNotificationHandler.php:14", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php(152): App\\MessageHandler\\LuckyNumberNotificationHandler->__invoke()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php(91): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->callHandler()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#20 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#21 /home/circleci/app/tests/Frameworks/Symfony/Latest/bin/console(11): require_once()\n#22 {main}\n\nNext Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124\nStack trace:\n#0 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Latest/bin/console(11): require_once()\n#20 {main}", "error.type": "OutOfBoundsException", "messaging.destination": "async", "messaging.destination_kind": "queue", @@ -52,8 +52,8 @@ "error": 1, "meta": { "component": "symfonymessenger", - "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/bin/console(11): require_once()\n#20 {main}", + "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Latest/bin/console(11): require_once()\n#20 {main}", "error.type": "Symfony\\Component\\Messenger\\Exception\\HandlerFailedException", "messaging.destination": "async", "messaging.destination_kind": "queue", @@ -85,8 +85,8 @@ "error": 1, "meta": { "component": "symfonymessenger", - "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/bin/console(11): require_once()\n#20 {main}", + "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Latest/bin/console(11): require_once()\n#20 {main}", "error.type": "Symfony\\Component\\Messenger\\Exception\\HandlerFailedException", "messaging.destination": "async", "messaging.destination_kind": "queue", @@ -108,8 +108,8 @@ "error": 1, "meta": { "component": "symfonymessenger", - "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/bin/console(11): require_once()\n#20 {main}", + "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Latest/bin/console(11): require_once()\n#20 {main}", "error.type": "Symfony\\Component\\Messenger\\Exception\\HandlerFailedException", "messaging.destination": "async", "messaging.destination_kind": "queue", @@ -131,8 +131,8 @@ "error": 1, "meta": { "component": "symfonymessenger", - "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/bin/console(11): require_once()\n#20 {main}", + "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Latest/bin/console(11): require_once()\n#20 {main}", "error.type": "Symfony\\Component\\Messenger\\Exception\\HandlerFailedException", "messaging.destination": "async", "messaging.destination_kind": "queue", @@ -154,8 +154,8 @@ "error": 1, "meta": { "component": "symfonymessenger", - "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/bin/console(11): require_once()\n#20 {main}", + "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Latest/bin/console(11): require_once()\n#20 {main}", "error.type": "Symfony\\Component\\Messenger\\Exception\\HandlerFailedException", "messaging.destination": "async", "messaging.destination_kind": "queue", @@ -177,8 +177,8 @@ "error": 1, "meta": { "component": "symfonymessenger", - "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/bin/console(11): require_once()\n#20 {main}", + "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Latest/bin/console(11): require_once()\n#20 {main}", "error.type": "Symfony\\Component\\Messenger\\Exception\\HandlerFailedException", "messaging.destination": "async", "messaging.destination_kind": "queue", @@ -200,8 +200,8 @@ "error": 1, "meta": { "component": "symfonymessenger", - "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/bin/console(11): require_once()\n#20 {main}", + "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Latest/bin/console(11): require_once()\n#20 {main}", "error.type": "Symfony\\Component\\Messenger\\Exception\\HandlerFailedException", "messaging.destination": "async", "messaging.destination_kind": "queue", @@ -223,8 +223,8 @@ "error": 1, "meta": { "component": "symfonymessenger", - "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/bin/console(11): require_once()\n#20 {main}", + "error.message": "Thrown Symfony\\Component\\Messenger\\Exception\\HandlerFailedException: Handling \"App\\Message\\LuckyNumberNotification\" failed: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Latest/bin/console(11): require_once()\n#20 {main}", "error.type": "Symfony\\Component\\Messenger\\Exception\\HandlerFailedException", "messaging.destination": "async", "messaging.destination_kind": "queue", @@ -246,8 +246,8 @@ "error": 1, "meta": { "component": "symfonymessenger", - "error.message": "Thrown OutOfBoundsException: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/src/MessageHandler/LuckyNumberNotificationHandler.php:14", - "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php(152): App\\MessageHandler\\LuckyNumberNotificationHandler->__invoke()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php(91): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->callHandler()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#20 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#21 /home/circleci/app/tests/Frameworks/Symfony/Version_7_0/bin/console(11): require_once()\n#22 {main}", + "error.message": "Thrown OutOfBoundsException: Number is out of bounds in /home/circleci/app/tests/Frameworks/Symfony/Latest/src/MessageHandler/LuckyNumberNotificationHandler.php:14", + "error.stack": "#0 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php(152): App\\MessageHandler\\LuckyNumberNotificationHandler->__invoke()\n#1 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php(91): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->callHandler()\n#2 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php(71): Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware->handle()\n#3 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php(34): Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware->handle()\n#4 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php(68): Symfony\\Component\\Messenger\\Middleware\\FailedMessageProcessingMiddleware->handle()\n#5 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php(41): Symfony\\Component\\Messenger\\Middleware\\DispatchAfterCurrentBusMiddleware->handle()\n#6 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php(35): Symfony\\Component\\Messenger\\Middleware\\RejectRedeliveredMessageMiddleware->handle()\n#7 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Middleware/TraceableMiddleware.php(36): Symfony\\Component\\Messenger\\Middleware\\AddBusNameStampMiddleware->handle()\n#8 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/MessageBus.php(70): Symfony\\Component\\Messenger\\Middleware\\TraceableMiddleware->handle()\n#9 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/RoutableMessageBus.php(54): Symfony\\Component\\Messenger\\MessageBus->dispatch()\n#10 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(162): Symfony\\Component\\Messenger\\RoutableMessageBus->dispatch()\n#11 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Worker.php(109): Symfony\\Component\\Messenger\\Worker->handleMessage()\n#12 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php(244): Symfony\\Component\\Messenger\\Worker->run()\n#13 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Command/Command.php(279): Symfony\\Component\\Messenger\\Command\\ConsumeMessagesCommand->execute()\n#14 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(1049): Symfony\\Component\\Console\\Command\\Command->run()\n#15 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(125): Symfony\\Component\\Console\\Application->doRunCommand()\n#16 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(318): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand()\n#17 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/framework-bundle/Console/Application.php(79): Symfony\\Component\\Console\\Application->doRun()\n#18 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/console/Application.php(169): Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun()\n#19 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\\Component\\Console\\Application->run()\n#20 /home/circleci/app/tests/Frameworks/Symfony/Latest/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\ConsoleApplicationRunner->run()\n#21 /home/circleci/app/tests/Frameworks/Symfony/Latest/bin/console(11): require_once()\n#22 {main}", "error.type": "OutOfBoundsException", "messaging.destination_kind": "queue", "messaging.operation": "process", From 888d4a09fede01a318e3fa21c8700fcbefaaa292 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Tue, 21 Jan 2025 11:16:36 +0100 Subject: [PATCH 42/65] fix laminas mvc latest tests --- Makefile | 5 - .../Mvc/Latest/bin/update-gitignore.php | 0 .../Laminas/Mvc/Latest/composer.json | 4 +- .../Laminas/Mvc/Version_3_6/.gitattributes | 3 - .../Laminas/Mvc/Version_3_6/.gitignore | 8 - .../Laminas/Mvc/Version_3_6/CHANGELOG.md | 128 - .../Laminas/Mvc/Version_3_6/COPYRIGHT.md | 1 - .../Laminas/Mvc/Version_3_6/Dockerfile | 78 - .../Laminas/Mvc/Version_3_6/LICENSE.md | 26 - .../Laminas/Mvc/Version_3_6/README.md | 260 - .../Laminas/Mvc/Version_3_6/Vagrantfile | 57 - .../Mvc/Version_3_6/bin/update-gitignore.php | 9 - .../Laminas/Mvc/Version_3_6/composer.json | 59 - .../Version_3_6/config/application.config.php | 65 - .../Version_3_6/config/autoload/.gitignore | 2 - .../Mvc/Version_3_6/config/autoload/README.md | 7 - .../autoload/development.local.php.dist | 23 - .../Version_3_6/config/autoload/global.php | 17 - ...inas-developer-tools.local-development.php | 159 - .../config/autoload/local.php.dist | 16 - .../config/development.config.php.dist | 13 - .../Mvc/Version_3_6/config/modules.config.php | 12 - .../Mvc/Version_3_6/data/cache/.gitkeep | 0 .../Mvc/Version_3_6/docker-compose.yml | 7 - .../Application/config/module.config.php | 88 - .../src/Controller/CommonSpecsController.php | 35 - .../src/Controller/IndexController.php | 16 - .../module/Application/src/Module.php | 15 - .../test/Controller/IndexControllerTest.php | 50 - .../view/application/common-specs/view.phtml | 10 - .../view/application/index/index.phtml | 68 - .../module/Application/view/error/404.phtml | 110 - .../module/Application/view/error/index.phtml | 67 - .../Application/view/layout/layout.phtml | 74 - .../Laminas/Mvc/Version_3_6/phpcs.xml | 40 - .../Laminas/Mvc/Version_3_6/phpunit.xml.dist | 13 - .../Laminas/Mvc/Version_3_6/psalm.xml | 38 - .../Laminas/Mvc/Version_3_6/public/.htaccess | 18 - .../Mvc/Version_3_6/public/css/bootstrap.css | 10224 ---------------- .../Version_3_6/public/css/bootstrap.css.map | 1 - .../Version_3_6/public/css/bootstrap.min.css | 7 - .../public/css/bootstrap.min.css.map | 1 - .../Mvc/Version_3_6/public/css/style.css | 12 - .../Mvc/Version_3_6/public/img/favicon.ico | 0 .../Version_3_6/public/img/laminas-logo.svg | 49 - .../Laminas/Mvc/Version_3_6/public/index.php | 42 - .../Mvc/Version_3_6/public/js/bootstrap.js | 4521 ------- .../Version_3_6/public/js/bootstrap.js.map | 1 - .../Version_3_6/public/js/bootstrap.min.js | 7 - .../public/js/bootstrap.min.js.map | 1 - .../Version_3_6/public/js/jquery-3.5.1.min.js | 2 - .../Laminas/Mvc/Version_3_6/public/web.config | 26 - .../Laminas/Mvc/V3_6/CommonScenariosTest.php | 11 - ..._test.test_scenario_get_return_string.json | 6 +- ...st.test_scenario_get_to_missing_route.json | 4 +- ...test.test_scenario_get_with_exception.json | 14 +- ...rios_test.test_scenario_get_with_view.json | 6 +- ..._test.test_scenario_get_return_string.json | 254 - ...st.test_scenario_get_to_missing_route.json | 312 - ...test.test_scenario_get_with_exception.json | 402 - ...rios_test.test_scenario_get_with_view.json | 434 - 61 files changed, 13 insertions(+), 17925 deletions(-) mode change 100755 => 100644 tests/Frameworks/Laminas/Mvc/Latest/bin/update-gitignore.php delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/.gitattributes delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/.gitignore delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/CHANGELOG.md delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/COPYRIGHT.md delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/Dockerfile delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/LICENSE.md delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/README.md delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/Vagrantfile delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/bin/update-gitignore.php delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/composer.json delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/config/application.config.php delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/.gitignore delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/README.md delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/development.local.php.dist delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/global.php delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/laminas-developer-tools.local-development.php delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/config/autoload/local.php.dist delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/config/development.config.php.dist delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/config/modules.config.php delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/data/cache/.gitkeep delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/docker-compose.yml delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/config/module.config.php delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/src/Controller/CommonSpecsController.php delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/src/Controller/IndexController.php delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/src/Module.php delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/test/Controller/IndexControllerTest.php delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/application/common-specs/view.phtml delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/application/index/index.phtml delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/error/404.phtml delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/error/index.phtml delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/module/Application/view/layout/layout.phtml delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/phpcs.xml delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/phpunit.xml.dist delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/psalm.xml delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/.htaccess delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/bootstrap.css delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/bootstrap.css.map delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/bootstrap.min.css delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/bootstrap.min.css.map delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/css/style.css delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/img/favicon.ico delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/img/laminas-logo.svg delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/index.php delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/bootstrap.js delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/bootstrap.js.map delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/bootstrap.min.js delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/bootstrap.min.js.map delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/js/jquery-3.5.1.min.js delete mode 100644 tests/Frameworks/Laminas/Mvc/Version_3_6/public/web.config delete mode 100644 tests/Integrations/Laminas/Mvc/V3_6/CommonScenariosTest.php delete mode 100644 tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_return_string.json delete mode 100644 tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_to_missing_route.json delete mode 100644 tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_with_exception.json delete mode 100644 tests/snapshots/tests.integrations.laminas.mvc.v3_6.common_scenarios_test.test_scenario_get_with_view.json diff --git a/Makefile b/Makefile index 91e315c4b3..260f595a84 100644 --- a/Makefile +++ b/Makefile @@ -715,7 +715,6 @@ TEST_WEB_73 := \ test_web_codeigniter_22 \ test_web_codeigniter_31 \ test_web_drupal_89 \ - test_web_laminas_mvc_36 \ test_web_laravel_57 \ test_web_laravel_58 \ test_web_laravel_8x \ @@ -776,7 +775,6 @@ TEST_WEB_74 := \ test_web_codeigniter_31 \ test_web_drupal_89 \ test_web_drupal_95 \ - test_web_laminas_mvc_36 \ test_web_laravel_57 \ test_web_laravel_58 \ test_web_laravel_8x \ @@ -839,7 +837,6 @@ TEST_WEB_80 := \ test_web_codeigniter_31 \ test_web_drupal_95 \ test_web_laminas_rest_latest \ - test_web_laminas_mvc_36 \ test_web_laravel_8x \ test_web_laravel_9x \ test_web_lumen_81 \ @@ -1301,8 +1298,6 @@ test_web_drupal_101: global_test_run_dependencies tests/Frameworks/Drupal/Versio $(call run_tests_debug,tests/Integrations/Drupal/V10_1) test_web_laminas_rest_latest: global_test_run_dependencies tests/Frameworks/Laminas/ApiTools/Latest/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/Laminas/ApiTools/Latest) -test_web_laminas_mvc_36: global_test_run_dependencies tests/Frameworks/Laminas/Mvc/Version_3_6/composer.lock-php$(PHP_MAJOR_MINOR) - $(call run_tests_debug,tests/Integrations/Laminas/Mvc/V3_6) test_web_laminas_mvc_latest: global_test_run_dependencies tests/Frameworks/Laminas/Mvc/Latest/composer.lock-php$(PHP_MAJOR_MINOR) $(call run_tests_debug,tests/Integrations/Laminas/Mvc/Latest) test_web_laravel_42: global_test_run_dependencies tests/Frameworks/Laravel/Version_4_2/composer.lock-php$(PHP_MAJOR_MINOR) diff --git a/tests/Frameworks/Laminas/Mvc/Latest/bin/update-gitignore.php b/tests/Frameworks/Laminas/Mvc/Latest/bin/update-gitignore.php old mode 100755 new mode 100644 diff --git a/tests/Frameworks/Laminas/Mvc/Latest/composer.json b/tests/Frameworks/Laminas/Mvc/Latest/composer.json index 84dfde3942..ade7a1850d 100644 --- a/tests/Frameworks/Laminas/Mvc/Latest/composer.json +++ b/tests/Frameworks/Laminas/Mvc/Latest/composer.json @@ -14,7 +14,7 @@ "laminas/laminas-component-installer": "^3.2", "laminas/laminas-development-mode": "^3.10", "laminas/laminas-skeleton-installer": "^1.2", - "laminas/laminas-mvc": "3.8.0" + "laminas/laminas-mvc": "^3.6.0" }, "autoload": { "psr-4": { @@ -64,4 +64,4 @@ "laminas/laminas-skeleton-installer": true } } -} \ No newline at end of file +} diff --git a/tests/Frameworks/Laminas/Mvc/Version_3_6/.gitattributes b/tests/Frameworks/Laminas/Mvc/Version_3_6/.gitattributes deleted file mode 100644 index f966b984a7..0000000000 --- a/tests/Frameworks/Laminas/Mvc/Version_3_6/.gitattributes +++ /dev/null @@ -1,3 +0,0 @@ -/.github/ export-ignore -/bin/remove-package-artifacts.php export-ignore -/CHANGELOG.md diff --git a/tests/Frameworks/Laminas/Mvc/Version_3_6/.gitignore b/tests/Frameworks/Laminas/Mvc/Version_3_6/.gitignore deleted file mode 100644 index 465f9c7fa4..0000000000 --- a/tests/Frameworks/Laminas/Mvc/Version_3_6/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -.vagrant/ -vendor/ -config/development.config.php -data/cache/* -!data/cache/.gitkeep -phpunit.xml -composer.lock -.phpunit.result.cache diff --git a/tests/Frameworks/Laminas/Mvc/Version_3_6/CHANGELOG.md b/tests/Frameworks/Laminas/Mvc/Version_3_6/CHANGELOG.md deleted file mode 100644 index 2ae92239aa..0000000000 --- a/tests/Frameworks/Laminas/Mvc/Version_3_6/CHANGELOG.md +++ /dev/null @@ -1,128 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file, in reverse chronological order by release. - -## 1.3.1 - TBD - -### Added - -- Nothing. - -### Changed - -- Nothing. - -### Deprecated - -- Nothing. - -### Removed - -- Nothing. - -### Fixed - -- Nothing. - -## 1.3.0 - 2021-12-15 - - ------ - -### Release Notes for [1.3.0](https://github.com/laminas/laminas-mvc-skeleton/milestone/8) - -Feature release (minor) - -### 1.3.0 - -- Total issues resolved: **0** -- Total pull requests resolved: **1** -- Total contributors: **1** - -#### Enhancement - - - [44: [Dep] Remove laminas-cache from extra installer option](https://github.com/laminas/laminas-mvc-skeleton/pull/44) thanks to @samsonasik - -## 1.2.0 - 2021-06-07 - - ------ - -### Release Notes for [1.2.0](https://github.com/laminas/laminas-mvc-skeleton/milestone/6) - -Feature release (minor) - -### 1.2.0 - -- Total issues resolved: **0** -- Total pull requests resolved: **7** -- Total contributors: **5** - -#### Enhancement - - - [41: Remove left over header license doc](https://github.com/laminas/laminas-mvc-skeleton/pull/41) thanks to @samsonasik - - [40: Use laminas-mvc-middleware](https://github.com/laminas/laminas-mvc-skeleton/pull/40) thanks to @Xerkus - - [39: [Extra] Using latest components under extra in composer.json](https://github.com/laminas/laminas-mvc-skeleton/pull/39) thanks to @samsonasik - - [37: Remove file headers](https://github.com/laminas/laminas-mvc-skeleton/pull/37) thanks to @ghostwriter - - [36: Psalm integration](https://github.com/laminas/laminas-mvc-skeleton/pull/36) thanks to @nusphere - - [35: Fix CodeStyle Issues and correct composer scripts](https://github.com/laminas/laminas-mvc-skeleton/pull/35) thanks to @nusphere - - [31: Provide support for PHP 8.0](https://github.com/laminas/laminas-mvc-skeleton/pull/31) thanks to @ittmann - -## 1.1.0 - 2020-11-09 - - ------ - -### Release Notes for [1.1.0](https://github.com/laminas/laminas-mvc-skeleton/milestone/3) - -Feature release (minor) - -### 1.1.0 - -- Total issues resolved: **0** -- Total pull requests resolved: **1** -- Total contributors: **1** - - - [29: fix: change version constraint of laminas-skeleton-installer](https://github.com/laminas/laminas-mvc-skeleton/pull/29) thanks to @rieschl - -## 1.0.0 - 2020-09-14 - -This is the initial 1.0.0 release under the Laminas organization. - -### Added - -- Adds descriptions for shipped Composer commands. - -### Changed - -- Bumps the minimum supported PHP version to 7.3. - -- Improves the shipped Dockerfile and default extensions available. - -### Removed - -- Removes the `public/index.html` page, which could lead to display of the default Apache2 landing page. - -### Fixed - -- Ensures initial page presentation looks as expected, including logo display, no duplication, proper 404 display, etc. - -- Ensures Zend Framework is no longer referenced in all commands, documentation, and default pages. - - ------ - -### Release Notes for [1.0.0](https://github.com/laminas/laminas-mvc-skeleton/milestone/1) - - - -### 1.0.0 - -- Total issues resolved: **0** -- Total pull requests resolved: **1** -- Total contributors: **1** - -#### Documentation - - - [25: Adds CHANGELOG entries for 1.0.0 release](https://github.com/laminas/laminas-mvc-skeleton/pull/25) thanks to @weierophinney - diff --git a/tests/Frameworks/Laminas/Mvc/Version_3_6/COPYRIGHT.md b/tests/Frameworks/Laminas/Mvc/Version_3_6/COPYRIGHT.md deleted file mode 100644 index 0a8cccc06b..0000000000 --- a/tests/Frameworks/Laminas/Mvc/Version_3_6/COPYRIGHT.md +++ /dev/null @@ -1 +0,0 @@ -Copyright (c) 2020 Laminas Project a Series of LF Projects, LLC. (https://getlaminas.org/) diff --git a/tests/Frameworks/Laminas/Mvc/Version_3_6/Dockerfile b/tests/Frameworks/Laminas/Mvc/Version_3_6/Dockerfile deleted file mode 100644 index 29fe55467f..0000000000 --- a/tests/Frameworks/Laminas/Mvc/Version_3_6/Dockerfile +++ /dev/null @@ -1,78 +0,0 @@ -FROM php:7.3-apache - -LABEL maintainer="getlaminas.org" \ - org.label-schema.docker.dockerfile="/Dockerfile" \ - org.label-schema.name="Laminas MVC Skeleton" \ - org.label-schema.url="https://docs.getlaminas.org/mvc/" \ - org.label-schema.vcs-url="https://github.com/laminas/laminas-mvc-skeleton" - -## Update package information -RUN apt-get update - -## Configure Apache -RUN a2enmod rewrite \ - && sed -i 's!/var/www/html!/var/www/public!g' /etc/apache2/sites-available/000-default.conf \ - && mv /var/www/html /var/www/public - -## Install Composer -RUN curl -sS https://getcomposer.org/installer \ - | php -- --install-dir=/usr/local/bin --filename=composer - -### -## PHP Extensisons -### - -## Install zip libraries and extension -RUN apt-get install --yes git zlib1g-dev libzip-dev \ - && docker-php-ext-install zip - -## Install intl library and extension -RUN apt-get install --yes libicu-dev \ - && docker-php-ext-configure intl \ - && docker-php-ext-install intl - -### -## Optional PHP extensions -### - -## mbstring for i18n string support -# RUN docker-php-ext-install mbstring - -### -## Some laminas/laminas-db supported PDO extensions -### - -## MySQL PDO support -# RUN docker-php-ext-install pdo_mysql - -## PostgreSQL PDO support -# RUN apt-get install --yes libpq-dev \ -# && docker-php-ext-install pdo_pgsql - -### -## laminas/laminas-cache supported extensions -### - -## APCU -# RUN pecl install apcu \ -# && docker-php-ext-enable apcu - -## Memcached -# RUN apt-get install --yes libmemcached-dev \ -# && pecl install memcached \ -# && docker-php-ext-enable memcached - -## MongoDB -# RUN pecl install mongodb \ -# && docker-php-ext-enable mongodb - -## Redis support. igbinary and libzstd-dev are only needed based on -## redis pecl options -# RUN pecl install igbinary \ -# && docker-php-ext-enable igbinary \ -# && apt-get install --yes libzstd-dev \ -# && pecl install redis \ -# && docker-php-ext-enable redis - - -WORKDIR /var/www diff --git a/tests/Frameworks/Laminas/Mvc/Version_3_6/LICENSE.md b/tests/Frameworks/Laminas/Mvc/Version_3_6/LICENSE.md deleted file mode 100644 index 10b40f1423..0000000000 --- a/tests/Frameworks/Laminas/Mvc/Version_3_6/LICENSE.md +++ /dev/null @@ -1,26 +0,0 @@ -Copyright (c) 2020 Laminas Project a Series of LF Projects, LLC. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -- Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -- Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -- Neither the name of Laminas Foundation nor the names of its contributors may - be used to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/Frameworks/Laminas/Mvc/Version_3_6/README.md b/tests/Frameworks/Laminas/Mvc/Version_3_6/README.md deleted file mode 100644 index 087f4eeb40..0000000000 --- a/tests/Frameworks/Laminas/Mvc/Version_3_6/README.md +++ /dev/null @@ -1,260 +0,0 @@ -# laminas-mvc-skeleton - -## Introduction - -This is a skeleton application using the Laminas MVC layer and module -systems. This application is meant to be used as a starting place for those -looking to get their feet wet with Laminas MVC. - -## Installation using Composer - -The easiest way to create a new Laminas MVC project is to use -[Composer](https://getcomposer.org/). If you don't have it already installed, -then please install as per the [documentation](https://getcomposer.org/doc/00-intro.md). - -To create your new Laminas MVC project: - -```bash -$ composer create-project -sdev laminas/laminas-mvc-skeleton path/to/install -``` - -Once installed, you can test it out immediately using PHP's built-in web server: - -```bash -$ cd path/to/install -$ php -S 0.0.0.0:8080 -t public -# OR use the composer alias: -$ composer run --timeout 0 serve -``` - -This will start the cli-server on port 8080, and bind it to all network -interfaces. You can then visit the site at http://localhost:8080/ -- which will bring up Laminas MVC Skeleton welcome page. - -**Note:** The built-in CLI server is *for development only*. - -## Development mode - -The skeleton ships with [laminas-development-mode](https://github.com/laminas/laminas-development-mode) -by default, and provides three aliases for consuming the script it ships with: - -```bash -$ composer development-enable # enable development mode -$ composer development-disable # disable development mode -$ composer development-status # whether or not development mode is enabled -``` - -You may provide development-only modules and bootstrap-level configuration in -`config/development.config.php.dist`, and development-only application -configuration in `config/autoload/development.local.php.dist`. Enabling -development mode will copy these files to versions removing the `.dist` suffix, -while disabling development mode will remove those copies. - -Development mode is automatically enabled as part of the skeleton installation process. -After making changes to one of the above-mentioned `.dist` configuration files you will -either need to disable then enable development mode for the changes to take effect, -or manually make matching updates to the `.dist`-less copies of those files. - -## Running Unit Tests - -To run the supplied skeleton unit tests, you need to do one of the following: - -- During initial project creation, select to install the MVC testing support. -- After initial project creation, install [laminas-test](https://docs.laminas.dev/laminas-test/): - - ```bash - $ composer require --dev laminas/laminas-test - ``` - -Once testing support is present, you can run the tests using: - -```bash -$ ./vendor/bin/phpunit -``` - -If you need to make local modifications for the PHPUnit test setup, copy -`phpunit.xml.dist` to `phpunit.xml` and edit the new file; the latter has -precedence over the former when running tests, and is ignored by version -control. (If you want to make the modifications permanent, edit the -`phpunit.xml.dist` file.) - -## Running Psalm Static Analysis - -To run the supplied skeleton static analysis, you need to do one of the following: -It is recommended to install the test components from laminas (laminas/laminas-test), -as this is used in the tests supplied. - - ```bash - $ composer require --dev vimeo/psalm psalm/plugin-phpunit laminas/laminas-test - ``` - -Once psalm support is present, you can run the static analysis using: - -```bash -$ composer static-analysis -``` - -## Using Vagrant - -This skeleton includes a `Vagrantfile` based on ubuntu 18.04 (bento box) -with configured Apache2 and PHP 7.3. Start it up using: - -```bash -$ vagrant up -``` - -Once built, you can also run composer within the box. For example, the following -will install dependencies: - -```bash -$ vagrant ssh -c 'composer install' -``` - -While this will update them: - -```bash -$ vagrant ssh -c 'composer update' -``` - -While running, Vagrant maps your host port 8080 to port 80 on the virtual -machine; you can visit the site at http://localhost:8080/ - -> ### Vagrant and VirtualBox -> -> The vagrant image is based on bento/ubuntu-18.04. If you are using VirtualBox as -> a provider, you will need: -> -> - Vagrant 2.2.6 or later -> - VirtualBox 6.0.14 or later - -For vagrant documentation, please refer to [vagrantup.com](https://www.vagrantup.com/) - -## Using docker-compose - -This skeleton provides a `docker-compose.yml` for use with -[docker-compose](https://docs.docker.com/compose/); it -uses the provided `Dockerfile` to build a docker image -for the `laminas` container created with `docker-compose`. - -Build and start the image and container using: - -```bash -$ docker-compose up -d --build -``` - -At this point, you can visit http://localhost:8080 to see the site running. - -You can also run commands such as `composer` in the container. The container -environment is named "laminas" so you will pass that value to -`docker-compose run`: - -```bash -$ docker-compose run laminas composer install -``` - -Some composer packages optionally use additional PHP extensions. -The Dockerfile contains several commented-out commands -which enable some of the more popular php extensions. -For example, to install `pdo-pgsql` support for `laminas/laminas-db` -uncomment the lines: - -```sh -# RUN apt-get install --yes libpq-dev \ -# && docker-php-ext-install pdo_pgsql -``` - -then re-run the `docker-compose up -d --build` line as above. - -> You may also want to combine the various `apt-get` and `docker-php-ext-*` -> statements later to reduce the number of layers created by your image. - -## Web server setup - -### Apache setup - -To setup apache, setup a virtual host to point to the public/ directory of the -project and you should be ready to go! It should look something like below: - -```apache - - ServerName laminasapp.localhost - DocumentRoot /path/to/laminasapp/public - - DirectoryIndex index.php - AllowOverride All - Order allow,deny - Allow from all - - Require all granted - - - -``` - -### Nginx setup - -To setup nginx, open your `/path/to/nginx/nginx.conf` and add an -[include directive](http://nginx.org/en/docs/ngx_core_module.html#include) below -into `http` block if it does not already exist: - -```nginx -http { - # ... - include sites-enabled/*.conf; -} -``` - - -Create a virtual host configuration file for your project under `/path/to/nginx/sites-enabled/laminasapp.localhost.conf` -it should look something like below: - -```nginx -server { - listen 80; - server_name laminasapp.localhost; - root /path/to/laminasapp/public; - - location / { - index index.php; - try_files $uri $uri/ @php; - } - - location @php { - # Pass the PHP requests to FastCGI server (php-fpm) on 127.0.0.1:9000 - fastcgi_pass 127.0.0.1:9000; - fastcgi_param SCRIPT_FILENAME /path/to/laminasapp/public/index.php; - include fastcgi_params; - } -} -``` - -Restart the nginx, now you should be ready to go! - -## QA Tools - -The skeleton does not come with any QA tooling by default, but does ship with -configuration for each of: - -- [phpcs](https://github.com/squizlabs/php_codesniffer) -- [laminas-test](https://docs.laminas.dev/laminas-test/) -- [phpunit](https://phpunit.de) - -Additionally, it comes with some basic tests for the shipped -`Application\Controller\IndexController`. - -If you want to add these QA tools, execute the following: - -```bash -$ composer require --dev squizlabs/php_codesniffer laminas/laminas-test -``` - -We provide aliases for each of these tools in the Composer configuration: - -```bash -# Run CS checks: -$ composer cs-check -# Fix CS errors: -$ composer cs-fix -# Run PHPUnit tests: -$ composer test -``` diff --git a/tests/Frameworks/Laminas/Mvc/Version_3_6/Vagrantfile b/tests/Frameworks/Laminas/Mvc/Version_3_6/Vagrantfile deleted file mode 100644 index dd618f9fd4..0000000000 --- a/tests/Frameworks/Laminas/Mvc/Version_3_6/Vagrantfile +++ /dev/null @@ -1,57 +0,0 @@ -# -*- mode: ruby -*- -# vi: set ft=ruby : - -VAGRANTFILE_API_VERSION = '2' - -@script = <