diff --git a/.php_cs b/.php_cs index c744531153..e85c67a237 100644 --- a/.php_cs +++ b/.php_cs @@ -3,7 +3,11 @@ return EzSystems\EzPlatformCodeStyle\PhpCsFixer\EzPlatformInternalConfigFactory::build() ->setFinder( PhpCsFixer\Finder::create() - ->in([__DIR__ . '/eZ']) + ->in([ + __DIR__ . '/eZ', + __DIR__ . '/src', + __DIR__ . '/tests', + ]) ->exclude( [ 'Bundle/EzPublishCoreBundle/Tests/DependencyInjection/Fixtures', diff --git a/composer.json b/composer.json index 685a955bdd..cc54b20fcd 100644 --- a/composer.json +++ b/composer.json @@ -81,12 +81,30 @@ "autoload": { "psr-4": { "EzSystems\\PlatformInstallerBundle\\": "eZ/Bundle/PlatformInstallerBundle/src", - "eZ\\": "eZ" + "eZ\\": "eZ", + "Ibexa\\Bundle\\Core\\": "src/bundle/Core", + "Ibexa\\Bundle\\Debug\\": "src/bundle/Debug", + "Ibexa\\Bundle\\IO\\": "src/bundle/IO", + "Ibexa\\Bundle\\Installer\\": "src/bundle/Installer", + "Ibexa\\Bundle\\LegacySearchEngine\\": "src/bundle/LegacySearchEngine", + "Ibexa\\Contracts\\Core\\": "src/contracts", + "Ibexa\\Core\\": "src/lib" } }, "autoload-dev": { "psr-4": { - "EzSystems\\PlatformInstallerBundleTests\\": "eZ/Bundle/PlatformInstallerBundle/tests" + "EzSystems\\PlatformInstallerBundleTests\\": "eZ/Bundle/PlatformInstallerBundle/tests", + "Ibexa\\Tests\\Bundle\\Core\\": "tests/bundle/Core", + "Ibexa\\Tests\\Bundle\\Debug\\": "tests/bundle/Debug", + "Ibexa\\Tests\\Bundle\\IO\\": "tests/bundle/IO", + "Ibexa\\Tests\\Bundle\\Installer\\": "tests/bundle/Installer", + "Ibexa\\Tests\\Bundle\\LegacySearchEngine\\": "tests/bundle/LegacySearchEngine", + "Ibexa\\Tests\\Integration\\Core\\": "tests/integration/Core", + "Ibexa\\Tests\\Integration\\Debug\\": "tests/integration/Debug", + "Ibexa\\Tests\\Integration\\IO\\": "tests/integration/IO", + "Ibexa\\Tests\\Integration\\Installer\\": "tests/integration/Installer", + "Ibexa\\Tests\\Integration\\LegacySearchEngine\\": "tests/integration/LegacySearchEngine", + "Ibexa\\Tests\\Core\\": "tests/lib" } }, "config": { diff --git a/src/bundle/Core/.gitkeep b/src/bundle/Core/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/bundle/Debug/.gitkeep b/src/bundle/Debug/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/bundle/IO/.gitkeep b/src/bundle/IO/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/bundle/Installer/.gitkeep b/src/bundle/Installer/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/bundle/LegacySearchEngine/.gitkeep b/src/bundle/LegacySearchEngine/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/contracts/.gitkeep b/src/contracts/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/lib/.gitkeep b/src/lib/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/bundle/Core/.gitkeep b/tests/bundle/Core/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/bundle/Debug/.gitkeep b/tests/bundle/Debug/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/bundle/IO/.gitkeep b/tests/bundle/IO/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/bundle/Installer/.gitkeep b/tests/bundle/Installer/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/bundle/LegacySearchEngine/.gitkeep b/tests/bundle/LegacySearchEngine/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/integration/Core/.gitkeep b/tests/integration/Core/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/integration/Debug/.gitkeep b/tests/integration/Debug/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/integration/IO/.gitkeep b/tests/integration/IO/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/integration/Installer/.gitkeep b/tests/integration/Installer/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/integration/LegacySearchEngine/.gitkeep b/tests/integration/LegacySearchEngine/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/lib/.gitkeep b/tests/lib/.gitkeep new file mode 100644 index 0000000000..e69de29bb2