From 93c4b6b2fc5e2307d8d7f41ed276b19314ebe4ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Mon, 22 Sep 2025 20:50:44 +0200 Subject: [PATCH] Reorganize files to match the "Reusable Bundles" structure --- .gitattributes | 2 +- CHANGELOG.md | 5 +++++ composer.json | 11 +++-------- {Resources/config => config}/monolog.php | 0 .../config => config}/schema/monolog-1.0.xsd | 0 phpunit.xml.dist | 19 ++++++------------- .../Compiler/AddProcessorsPass.php | 0 .../Compiler/AddSwiftMailerTransportPass.php | 0 .../Compiler/DebugHandlerPass.php | 0 .../Compiler/FixEmptyLoggerPass.php | 0 .../Compiler/LoggerChannelPass.php | 0 .../DependencyInjection}/Configuration.php | 0 .../DependencyInjection}/MonologExtension.php | 4 ++-- MonologBundle.php => src/MonologBundle.php | 0 .../SwiftMailer}/MessageFactory.php | 0 .../Compiler/AddProcessorsPassTest.php | 4 ++-- .../AddSwiftMailerTransportPassTest.php | 0 .../Compiler/FixEmptyLoggerPassTest.php | 0 .../Compiler/LoggerChannelPassTest.php | 6 +++--- .../DependencyInjection/ConfigurationTest.php | 0 .../DependencyInjectionTestCase.php | 0 .../FixtureMonologExtensionTestCase.php | 0 .../AsMonologProcessor/FooProcessor.php | 0 .../FooProcessorWithPriority.php | 0 .../RedeclareMethodProcessor.php | 0 .../Fixtures/ServiceWithChannel.php | 0 .../Fixtures/xml/handlers.xml | 0 .../Fixtures/xml/handlers_with_channels.xml | 0 .../xml/multiple_email_recipients.xml | 0 .../Fixtures/xml/multiple_handlers.xml | 0 .../Fixtures/xml/native_mailer.xml | 0 .../Fixtures/xml/new_and_priority.xml | 0 .../Fixtures/xml/new_and_priority_import.xml | 0 .../Fixtures/xml/new_at_end.xml | 0 .../Fixtures/xml/new_at_end_import.xml | 0 .../Fixtures/xml/overwriting.xml | 0 .../Fixtures/xml/overwriting_import.xml | 0 .../Fixtures/xml/parameterized_handlers.xml | 0 .../xml/process_psr_3_messages_disabled.xml | 0 .../xml/process_psr_3_messages_null.xml | 0 .../process_psr_3_messages_with_arguments.xml | 0 ...ocess_psr_3_messages_without_arguments.xml | 0 .../Fixtures/xml/server_log.xml | 0 .../Fixtures/xml/single_email_recipient.xml | 0 .../Fixtures/yml/handlers.yml | 0 .../Fixtures/yml/handlers_with_channels.yml | 0 .../yml/multiple_email_recipients.yml | 0 .../Fixtures/yml/multiple_handlers.yml | 0 .../Fixtures/yml/native_mailer.yml | 0 .../Fixtures/yml/new_and_priority.yml | 0 .../Fixtures/yml/new_and_priority_import.yml | 0 .../Fixtures/yml/new_at_end.yml | 0 .../Fixtures/yml/new_at_end_import.yml | 0 .../Fixtures/yml/overwriting.yml | 0 .../Fixtures/yml/overwriting_import.yml | 0 .../Fixtures/yml/parameterized_handlers.yml | 0 .../yml/process_psr_3_messages_disabled.yml | 0 .../yml/process_psr_3_messages_null.yml | 0 .../process_psr_3_messages_with_arguments.yml | 0 ...ocess_psr_3_messages_without_arguments.yml | 0 .../Fixtures/yml/server_log.yml | 0 .../Fixtures/yml/single_email_recipient.yml | 0 .../MonologExtensionTest.php | 0 .../XmlMonologExtensionTest.php | 0 .../YamlMonologExtensionTest.php | 0 65 files changed, 22 insertions(+), 29 deletions(-) rename {Resources/config => config}/monolog.php (100%) rename {Resources/config => config}/schema/monolog-1.0.xsd (100%) rename {DependencyInjection => src/DependencyInjection}/Compiler/AddProcessorsPass.php (100%) rename {DependencyInjection => src/DependencyInjection}/Compiler/AddSwiftMailerTransportPass.php (100%) rename {DependencyInjection => src/DependencyInjection}/Compiler/DebugHandlerPass.php (100%) rename {DependencyInjection => src/DependencyInjection}/Compiler/FixEmptyLoggerPass.php (100%) rename {DependencyInjection => src/DependencyInjection}/Compiler/LoggerChannelPass.php (100%) rename {DependencyInjection => src/DependencyInjection}/Configuration.php (100%) rename {DependencyInjection => src/DependencyInjection}/MonologExtension.php (99%) rename MonologBundle.php => src/MonologBundle.php (100%) rename {SwiftMailer => src/SwiftMailer}/MessageFactory.php (100%) rename {Tests => tests}/DependencyInjection/Compiler/AddProcessorsPassTest.php (98%) rename {Tests => tests}/DependencyInjection/Compiler/AddSwiftMailerTransportPassTest.php (100%) rename {Tests => tests}/DependencyInjection/Compiler/FixEmptyLoggerPassTest.php (100%) rename {Tests => tests}/DependencyInjection/Compiler/LoggerChannelPassTest.php (98%) rename {Tests => tests}/DependencyInjection/ConfigurationTest.php (100%) rename {Tests => tests}/DependencyInjection/DependencyInjectionTestCase.php (100%) rename {Tests => tests}/DependencyInjection/FixtureMonologExtensionTestCase.php (100%) rename {Tests => tests}/DependencyInjection/Fixtures/AsMonologProcessor/FooProcessor.php (100%) rename {Tests => tests}/DependencyInjection/Fixtures/AsMonologProcessor/FooProcessorWithPriority.php (100%) rename {Tests => tests}/DependencyInjection/Fixtures/AsMonologProcessor/RedeclareMethodProcessor.php (100%) rename {Tests => tests}/DependencyInjection/Fixtures/ServiceWithChannel.php (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/handlers.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/handlers_with_channels.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/multiple_email_recipients.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/multiple_handlers.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/native_mailer.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/new_and_priority.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/new_and_priority_import.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/new_at_end.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/new_at_end_import.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/overwriting.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/overwriting_import.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/parameterized_handlers.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/process_psr_3_messages_disabled.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/process_psr_3_messages_null.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/process_psr_3_messages_with_arguments.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/process_psr_3_messages_without_arguments.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/server_log.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/xml/single_email_recipient.xml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/handlers.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/handlers_with_channels.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/multiple_email_recipients.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/multiple_handlers.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/native_mailer.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/new_and_priority.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/new_and_priority_import.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/new_at_end.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/new_at_end_import.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/overwriting.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/overwriting_import.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/parameterized_handlers.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/process_psr_3_messages_disabled.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/process_psr_3_messages_null.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/process_psr_3_messages_with_arguments.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/process_psr_3_messages_without_arguments.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/server_log.yml (100%) rename {Tests => tests}/DependencyInjection/Fixtures/yml/single_email_recipient.yml (100%) rename {Tests => tests}/DependencyInjection/MonologExtensionTest.php (100%) rename {Tests => tests}/DependencyInjection/XmlMonologExtensionTest.php (100%) rename {Tests => tests}/DependencyInjection/YamlMonologExtensionTest.php (100%) diff --git a/.gitattributes b/.gitattributes index 6c06e5f4..572562c3 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,3 @@ .* export-ignore -/Tests export-ignore +/tests export-ignore /phpunit.xml.dist export-ignore diff --git a/CHANGELOG.md b/CHANGELOG.md index 71857560..a0af2e47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ ## Unreleased +## 3.11.0 unreleased + +* Reorganize files to match the "Reusable Bundles" structure +* Migrate services configuration to PHP + ## 3.10.0 (2023-11-06) * Add configuration support for SamplingHandler diff --git a/composer.json b/composer.json index a6a26a05..44d1e341 100644 --- a/composer.json +++ b/composer.json @@ -29,14 +29,9 @@ "symfony/yaml": "^5.4 || ^6.0 || ^7.0" }, "autoload": { - "psr-4": { "Symfony\\Bundle\\MonologBundle\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "psr-4": { "Symfony\\Bundle\\MonologBundle\\": "src" } }, - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } + "autoload-dev": { + "psr-4": { "Symfony\\Bundle\\MonologBundle\\Tests\\": "tests" } } } diff --git a/Resources/config/monolog.php b/config/monolog.php similarity index 100% rename from Resources/config/monolog.php rename to config/monolog.php diff --git a/Resources/config/schema/monolog-1.0.xsd b/config/schema/monolog-1.0.xsd similarity index 100% rename from Resources/config/schema/monolog-1.0.xsd rename to config/schema/monolog-1.0.xsd diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 90560f77..1852736b 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,20 +1,13 @@ - - ./Tests + ./tests - - - - . - - ./Resources - ./Tests - ./vendor - - - + + + ./src/ + + diff --git a/DependencyInjection/Compiler/AddProcessorsPass.php b/src/DependencyInjection/Compiler/AddProcessorsPass.php similarity index 100% rename from DependencyInjection/Compiler/AddProcessorsPass.php rename to src/DependencyInjection/Compiler/AddProcessorsPass.php diff --git a/DependencyInjection/Compiler/AddSwiftMailerTransportPass.php b/src/DependencyInjection/Compiler/AddSwiftMailerTransportPass.php similarity index 100% rename from DependencyInjection/Compiler/AddSwiftMailerTransportPass.php rename to src/DependencyInjection/Compiler/AddSwiftMailerTransportPass.php diff --git a/DependencyInjection/Compiler/DebugHandlerPass.php b/src/DependencyInjection/Compiler/DebugHandlerPass.php similarity index 100% rename from DependencyInjection/Compiler/DebugHandlerPass.php rename to src/DependencyInjection/Compiler/DebugHandlerPass.php diff --git a/DependencyInjection/Compiler/FixEmptyLoggerPass.php b/src/DependencyInjection/Compiler/FixEmptyLoggerPass.php similarity index 100% rename from DependencyInjection/Compiler/FixEmptyLoggerPass.php rename to src/DependencyInjection/Compiler/FixEmptyLoggerPass.php diff --git a/DependencyInjection/Compiler/LoggerChannelPass.php b/src/DependencyInjection/Compiler/LoggerChannelPass.php similarity index 100% rename from DependencyInjection/Compiler/LoggerChannelPass.php rename to src/DependencyInjection/Compiler/LoggerChannelPass.php diff --git a/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php similarity index 100% rename from DependencyInjection/Configuration.php rename to src/DependencyInjection/Configuration.php diff --git a/DependencyInjection/MonologExtension.php b/src/DependencyInjection/MonologExtension.php similarity index 99% rename from DependencyInjection/MonologExtension.php rename to src/DependencyInjection/MonologExtension.php index 01bebf62..a7230dbe 100644 --- a/DependencyInjection/MonologExtension.php +++ b/src/DependencyInjection/MonologExtension.php @@ -61,7 +61,7 @@ public function load(array $configs, ContainerBuilder $container) $config = $this->processConfiguration($configuration, $configs); if (isset($config['handlers'])) { - $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); + $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../../config')); $loader->load('monolog.php'); if (!class_exists(DebugLoggerConfigurator::class)) { @@ -149,7 +149,7 @@ public function load(array $configs, ContainerBuilder $container) */ public function getXsdValidationBasePath() { - return __DIR__.'/../Resources/config/schema'; + return __DIR__.'/../../config/schema'; } public function getNamespace() diff --git a/MonologBundle.php b/src/MonologBundle.php similarity index 100% rename from MonologBundle.php rename to src/MonologBundle.php diff --git a/SwiftMailer/MessageFactory.php b/src/SwiftMailer/MessageFactory.php similarity index 100% rename from SwiftMailer/MessageFactory.php rename to src/SwiftMailer/MessageFactory.php diff --git a/Tests/DependencyInjection/Compiler/AddProcessorsPassTest.php b/tests/DependencyInjection/Compiler/AddProcessorsPassTest.php similarity index 98% rename from Tests/DependencyInjection/Compiler/AddProcessorsPassTest.php rename to tests/DependencyInjection/Compiler/AddProcessorsPassTest.php index ada24c8f..b1ef9de6 100644 --- a/Tests/DependencyInjection/Compiler/AddProcessorsPassTest.php +++ b/tests/DependencyInjection/Compiler/AddProcessorsPassTest.php @@ -42,7 +42,7 @@ public function testHandlerProcessors() public function testFailureOnHandlerWithoutPushProcessor() { $container = new ContainerBuilder(); - $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config')); + $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../../../config')); $loader->load('monolog.php'); $service = new Definition(NullHandler::class); @@ -68,7 +68,7 @@ public function testFailureOnHandlerWithoutPushProcessor() protected function getContainer() { $container = new ContainerBuilder(); - $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config')); + $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../../../config')); $loader->load('monolog.php'); $definition = $container->getDefinition('monolog.logger_prototype'); diff --git a/Tests/DependencyInjection/Compiler/AddSwiftMailerTransportPassTest.php b/tests/DependencyInjection/Compiler/AddSwiftMailerTransportPassTest.php similarity index 100% rename from Tests/DependencyInjection/Compiler/AddSwiftMailerTransportPassTest.php rename to tests/DependencyInjection/Compiler/AddSwiftMailerTransportPassTest.php diff --git a/Tests/DependencyInjection/Compiler/FixEmptyLoggerPassTest.php b/tests/DependencyInjection/Compiler/FixEmptyLoggerPassTest.php similarity index 100% rename from Tests/DependencyInjection/Compiler/FixEmptyLoggerPassTest.php rename to tests/DependencyInjection/Compiler/FixEmptyLoggerPassTest.php diff --git a/Tests/DependencyInjection/Compiler/LoggerChannelPassTest.php b/tests/DependencyInjection/Compiler/LoggerChannelPassTest.php similarity index 98% rename from Tests/DependencyInjection/Compiler/LoggerChannelPassTest.php rename to tests/DependencyInjection/Compiler/LoggerChannelPassTest.php index ac95deea..49768c82 100644 --- a/Tests/DependencyInjection/Compiler/LoggerChannelPassTest.php +++ b/tests/DependencyInjection/Compiler/LoggerChannelPassTest.php @@ -147,7 +147,7 @@ public function testChannelsConfigurationOptionSupportsAppChannel() private function getContainer() { $container = new ContainerBuilder(); - $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config')); + $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../../../config')); $loader->load('monolog.php'); $definition = $container->getDefinition('monolog.logger_prototype'); $container->set('monolog.handler.test', new Definition('%monolog.handler.null.class%', [100, false])); @@ -189,7 +189,7 @@ private function getContainer() private function getContainerWithSetter() { $container = new ContainerBuilder(); - $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config')); + $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../../../config')); $loader->load('monolog.php'); $definition = $container->getDefinition('monolog.logger_prototype'); $container->set('monolog.handler.test', new Definition('%monolog.handler.null.class%', [100, false])); @@ -222,7 +222,7 @@ private function getFunctionalContainer() $container->setParameter('monolog.handlers_to_channels', []); $container->setParameter('monolog.use_microseconds', true); - $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config')); + $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../../../config')); $loader->load('monolog.php'); $container->addCompilerPass(new LoggerChannelPass()); diff --git a/Tests/DependencyInjection/ConfigurationTest.php b/tests/DependencyInjection/ConfigurationTest.php similarity index 100% rename from Tests/DependencyInjection/ConfigurationTest.php rename to tests/DependencyInjection/ConfigurationTest.php diff --git a/Tests/DependencyInjection/DependencyInjectionTestCase.php b/tests/DependencyInjection/DependencyInjectionTestCase.php similarity index 100% rename from Tests/DependencyInjection/DependencyInjectionTestCase.php rename to tests/DependencyInjection/DependencyInjectionTestCase.php diff --git a/Tests/DependencyInjection/FixtureMonologExtensionTestCase.php b/tests/DependencyInjection/FixtureMonologExtensionTestCase.php similarity index 100% rename from Tests/DependencyInjection/FixtureMonologExtensionTestCase.php rename to tests/DependencyInjection/FixtureMonologExtensionTestCase.php diff --git a/Tests/DependencyInjection/Fixtures/AsMonologProcessor/FooProcessor.php b/tests/DependencyInjection/Fixtures/AsMonologProcessor/FooProcessor.php similarity index 100% rename from Tests/DependencyInjection/Fixtures/AsMonologProcessor/FooProcessor.php rename to tests/DependencyInjection/Fixtures/AsMonologProcessor/FooProcessor.php diff --git a/Tests/DependencyInjection/Fixtures/AsMonologProcessor/FooProcessorWithPriority.php b/tests/DependencyInjection/Fixtures/AsMonologProcessor/FooProcessorWithPriority.php similarity index 100% rename from Tests/DependencyInjection/Fixtures/AsMonologProcessor/FooProcessorWithPriority.php rename to tests/DependencyInjection/Fixtures/AsMonologProcessor/FooProcessorWithPriority.php diff --git a/Tests/DependencyInjection/Fixtures/AsMonologProcessor/RedeclareMethodProcessor.php b/tests/DependencyInjection/Fixtures/AsMonologProcessor/RedeclareMethodProcessor.php similarity index 100% rename from Tests/DependencyInjection/Fixtures/AsMonologProcessor/RedeclareMethodProcessor.php rename to tests/DependencyInjection/Fixtures/AsMonologProcessor/RedeclareMethodProcessor.php diff --git a/Tests/DependencyInjection/Fixtures/ServiceWithChannel.php b/tests/DependencyInjection/Fixtures/ServiceWithChannel.php similarity index 100% rename from Tests/DependencyInjection/Fixtures/ServiceWithChannel.php rename to tests/DependencyInjection/Fixtures/ServiceWithChannel.php diff --git a/Tests/DependencyInjection/Fixtures/xml/handlers.xml b/tests/DependencyInjection/Fixtures/xml/handlers.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/handlers.xml rename to tests/DependencyInjection/Fixtures/xml/handlers.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/handlers_with_channels.xml b/tests/DependencyInjection/Fixtures/xml/handlers_with_channels.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/handlers_with_channels.xml rename to tests/DependencyInjection/Fixtures/xml/handlers_with_channels.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/multiple_email_recipients.xml b/tests/DependencyInjection/Fixtures/xml/multiple_email_recipients.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/multiple_email_recipients.xml rename to tests/DependencyInjection/Fixtures/xml/multiple_email_recipients.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/multiple_handlers.xml b/tests/DependencyInjection/Fixtures/xml/multiple_handlers.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/multiple_handlers.xml rename to tests/DependencyInjection/Fixtures/xml/multiple_handlers.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/native_mailer.xml b/tests/DependencyInjection/Fixtures/xml/native_mailer.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/native_mailer.xml rename to tests/DependencyInjection/Fixtures/xml/native_mailer.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/new_and_priority.xml b/tests/DependencyInjection/Fixtures/xml/new_and_priority.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/new_and_priority.xml rename to tests/DependencyInjection/Fixtures/xml/new_and_priority.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/new_and_priority_import.xml b/tests/DependencyInjection/Fixtures/xml/new_and_priority_import.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/new_and_priority_import.xml rename to tests/DependencyInjection/Fixtures/xml/new_and_priority_import.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/new_at_end.xml b/tests/DependencyInjection/Fixtures/xml/new_at_end.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/new_at_end.xml rename to tests/DependencyInjection/Fixtures/xml/new_at_end.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/new_at_end_import.xml b/tests/DependencyInjection/Fixtures/xml/new_at_end_import.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/new_at_end_import.xml rename to tests/DependencyInjection/Fixtures/xml/new_at_end_import.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/overwriting.xml b/tests/DependencyInjection/Fixtures/xml/overwriting.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/overwriting.xml rename to tests/DependencyInjection/Fixtures/xml/overwriting.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/overwriting_import.xml b/tests/DependencyInjection/Fixtures/xml/overwriting_import.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/overwriting_import.xml rename to tests/DependencyInjection/Fixtures/xml/overwriting_import.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/parameterized_handlers.xml b/tests/DependencyInjection/Fixtures/xml/parameterized_handlers.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/parameterized_handlers.xml rename to tests/DependencyInjection/Fixtures/xml/parameterized_handlers.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_disabled.xml b/tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_disabled.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_disabled.xml rename to tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_disabled.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_null.xml b/tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_null.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_null.xml rename to tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_null.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_with_arguments.xml b/tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_with_arguments.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_with_arguments.xml rename to tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_with_arguments.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_without_arguments.xml b/tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_without_arguments.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_without_arguments.xml rename to tests/DependencyInjection/Fixtures/xml/process_psr_3_messages_without_arguments.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/server_log.xml b/tests/DependencyInjection/Fixtures/xml/server_log.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/server_log.xml rename to tests/DependencyInjection/Fixtures/xml/server_log.xml diff --git a/Tests/DependencyInjection/Fixtures/xml/single_email_recipient.xml b/tests/DependencyInjection/Fixtures/xml/single_email_recipient.xml similarity index 100% rename from Tests/DependencyInjection/Fixtures/xml/single_email_recipient.xml rename to tests/DependencyInjection/Fixtures/xml/single_email_recipient.xml diff --git a/Tests/DependencyInjection/Fixtures/yml/handlers.yml b/tests/DependencyInjection/Fixtures/yml/handlers.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/handlers.yml rename to tests/DependencyInjection/Fixtures/yml/handlers.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/handlers_with_channels.yml b/tests/DependencyInjection/Fixtures/yml/handlers_with_channels.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/handlers_with_channels.yml rename to tests/DependencyInjection/Fixtures/yml/handlers_with_channels.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/multiple_email_recipients.yml b/tests/DependencyInjection/Fixtures/yml/multiple_email_recipients.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/multiple_email_recipients.yml rename to tests/DependencyInjection/Fixtures/yml/multiple_email_recipients.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/multiple_handlers.yml b/tests/DependencyInjection/Fixtures/yml/multiple_handlers.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/multiple_handlers.yml rename to tests/DependencyInjection/Fixtures/yml/multiple_handlers.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/native_mailer.yml b/tests/DependencyInjection/Fixtures/yml/native_mailer.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/native_mailer.yml rename to tests/DependencyInjection/Fixtures/yml/native_mailer.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/new_and_priority.yml b/tests/DependencyInjection/Fixtures/yml/new_and_priority.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/new_and_priority.yml rename to tests/DependencyInjection/Fixtures/yml/new_and_priority.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/new_and_priority_import.yml b/tests/DependencyInjection/Fixtures/yml/new_and_priority_import.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/new_and_priority_import.yml rename to tests/DependencyInjection/Fixtures/yml/new_and_priority_import.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/new_at_end.yml b/tests/DependencyInjection/Fixtures/yml/new_at_end.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/new_at_end.yml rename to tests/DependencyInjection/Fixtures/yml/new_at_end.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/new_at_end_import.yml b/tests/DependencyInjection/Fixtures/yml/new_at_end_import.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/new_at_end_import.yml rename to tests/DependencyInjection/Fixtures/yml/new_at_end_import.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/overwriting.yml b/tests/DependencyInjection/Fixtures/yml/overwriting.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/overwriting.yml rename to tests/DependencyInjection/Fixtures/yml/overwriting.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/overwriting_import.yml b/tests/DependencyInjection/Fixtures/yml/overwriting_import.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/overwriting_import.yml rename to tests/DependencyInjection/Fixtures/yml/overwriting_import.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/parameterized_handlers.yml b/tests/DependencyInjection/Fixtures/yml/parameterized_handlers.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/parameterized_handlers.yml rename to tests/DependencyInjection/Fixtures/yml/parameterized_handlers.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_disabled.yml b/tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_disabled.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_disabled.yml rename to tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_disabled.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_null.yml b/tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_null.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_null.yml rename to tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_null.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_with_arguments.yml b/tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_with_arguments.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_with_arguments.yml rename to tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_with_arguments.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_without_arguments.yml b/tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_without_arguments.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_without_arguments.yml rename to tests/DependencyInjection/Fixtures/yml/process_psr_3_messages_without_arguments.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/server_log.yml b/tests/DependencyInjection/Fixtures/yml/server_log.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/server_log.yml rename to tests/DependencyInjection/Fixtures/yml/server_log.yml diff --git a/Tests/DependencyInjection/Fixtures/yml/single_email_recipient.yml b/tests/DependencyInjection/Fixtures/yml/single_email_recipient.yml similarity index 100% rename from Tests/DependencyInjection/Fixtures/yml/single_email_recipient.yml rename to tests/DependencyInjection/Fixtures/yml/single_email_recipient.yml diff --git a/Tests/DependencyInjection/MonologExtensionTest.php b/tests/DependencyInjection/MonologExtensionTest.php similarity index 100% rename from Tests/DependencyInjection/MonologExtensionTest.php rename to tests/DependencyInjection/MonologExtensionTest.php diff --git a/Tests/DependencyInjection/XmlMonologExtensionTest.php b/tests/DependencyInjection/XmlMonologExtensionTest.php similarity index 100% rename from Tests/DependencyInjection/XmlMonologExtensionTest.php rename to tests/DependencyInjection/XmlMonologExtensionTest.php diff --git a/Tests/DependencyInjection/YamlMonologExtensionTest.php b/tests/DependencyInjection/YamlMonologExtensionTest.php similarity index 100% rename from Tests/DependencyInjection/YamlMonologExtensionTest.php rename to tests/DependencyInjection/YamlMonologExtensionTest.php