diff --git a/composer.json b/composer.json index f7a5b50..3b1b780 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ }, "autoload": { "psr-4": { - "Kayue\\WordpressBundle\\": "" + "Kayue\\WordpressBundle\\": "src/" } } } diff --git a/Annotation/WordpressTable.php b/src/Annotation/WordpressTable.php similarity index 100% rename from Annotation/WordpressTable.php rename to src/Annotation/WordpressTable.php diff --git a/Controller/ShortcodeController.php b/src/Controller/ShortcodeController.php similarity index 100% rename from Controller/ShortcodeController.php rename to src/Controller/ShortcodeController.php diff --git a/DependencyInjection/Compiler/PreventDoctrineMetadataCompilerPass.php b/src/DependencyInjection/Compiler/PreventDoctrineMetadataCompilerPass.php similarity index 100% rename from DependencyInjection/Compiler/PreventDoctrineMetadataCompilerPass.php rename to src/DependencyInjection/Compiler/PreventDoctrineMetadataCompilerPass.php diff --git a/DependencyInjection/Compiler/ShortcodeCompilerPass.php b/src/DependencyInjection/Compiler/ShortcodeCompilerPass.php similarity index 100% rename from DependencyInjection/Compiler/ShortcodeCompilerPass.php rename to src/DependencyInjection/Compiler/ShortcodeCompilerPass.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/KayueWordpressExtension.php b/src/DependencyInjection/KayueWordpressExtension.php similarity index 100% rename from DependencyInjection/KayueWordpressExtension.php rename to src/DependencyInjection/KayueWordpressExtension.php diff --git a/DependencyInjection/Security/Factory/WordpressFactory.php b/src/DependencyInjection/Security/Factory/WordpressFactory.php similarity index 100% rename from DependencyInjection/Security/Factory/WordpressFactory.php rename to src/DependencyInjection/Security/Factory/WordpressFactory.php diff --git a/Doctrine/WordpressEntityManager.php b/src/Doctrine/WordpressEntityManager.php similarity index 100% rename from Doctrine/WordpressEntityManager.php rename to src/Doctrine/WordpressEntityManager.php diff --git a/Entity/Blog.php b/src/Entity/Blog.php similarity index 100% rename from Entity/Blog.php rename to src/Entity/Blog.php diff --git a/Entity/Comment.php b/src/Entity/Comment.php similarity index 100% rename from Entity/Comment.php rename to src/Entity/Comment.php diff --git a/Entity/CommentMeta.php b/src/Entity/CommentMeta.php similarity index 100% rename from Entity/CommentMeta.php rename to src/Entity/CommentMeta.php diff --git a/Entity/Option.php b/src/Entity/Option.php similarity index 100% rename from Entity/Option.php rename to src/Entity/Option.php diff --git a/Entity/Post.php b/src/Entity/Post.php similarity index 100% rename from Entity/Post.php rename to src/Entity/Post.php diff --git a/Entity/PostMeta.php b/src/Entity/PostMeta.php similarity index 100% rename from Entity/PostMeta.php rename to src/Entity/PostMeta.php diff --git a/Entity/Taxonomy.php b/src/Entity/Taxonomy.php similarity index 100% rename from Entity/Taxonomy.php rename to src/Entity/Taxonomy.php diff --git a/Entity/Term.php b/src/Entity/Term.php similarity index 100% rename from Entity/Term.php rename to src/Entity/Term.php diff --git a/Entity/User.php b/src/Entity/User.php similarity index 100% rename from Entity/User.php rename to src/Entity/User.php diff --git a/Entity/UserMeta.php b/src/Entity/UserMeta.php similarity index 100% rename from Entity/UserMeta.php rename to src/Entity/UserMeta.php diff --git a/KayueWordpressBundle.php b/src/KayueWordpressBundle.php similarity index 100% rename from KayueWordpressBundle.php rename to src/KayueWordpressBundle.php diff --git a/Repository/AbstractRepository.php b/src/Repository/AbstractRepository.php similarity index 100% rename from Repository/AbstractRepository.php rename to src/Repository/AbstractRepository.php diff --git a/Repository/CommentRepository.php b/src/Repository/CommentRepository.php similarity index 100% rename from Repository/CommentRepository.php rename to src/Repository/CommentRepository.php diff --git a/Repository/PostMetaRepository.php b/src/Repository/PostMetaRepository.php similarity index 100% rename from Repository/PostMetaRepository.php rename to src/Repository/PostMetaRepository.php diff --git a/Repository/PostRepository.php b/src/Repository/PostRepository.php similarity index 100% rename from Repository/PostRepository.php rename to src/Repository/PostRepository.php diff --git a/Repository/RepositoryInterface.php b/src/Repository/RepositoryInterface.php similarity index 100% rename from Repository/RepositoryInterface.php rename to src/Repository/RepositoryInterface.php diff --git a/Repository/TermRepository.php b/src/Repository/TermRepository.php similarity index 100% rename from Repository/TermRepository.php rename to src/Repository/TermRepository.php diff --git a/Resources/config/routing.yml b/src/Resources/config/routing.yml similarity index 100% rename from Resources/config/routing.yml rename to src/Resources/config/routing.yml diff --git a/Resources/config/services.yml b/src/Resources/config/services.yml similarity index 100% rename from Resources/config/services.yml rename to src/Resources/config/services.yml diff --git a/Resources/config/services/doctrine.yml b/src/Resources/config/services/doctrine.yml similarity index 100% rename from Resources/config/services/doctrine.yml rename to src/Resources/config/services/doctrine.yml diff --git a/Resources/config/services/shortcode.yml b/src/Resources/config/services/shortcode.yml similarity index 100% rename from Resources/config/services/shortcode.yml rename to src/Resources/config/services/shortcode.yml diff --git a/Resources/doc/index.rst b/src/Resources/doc/index.rst similarity index 100% rename from Resources/doc/index.rst rename to src/Resources/doc/index.rst diff --git a/Resources/doc/shortcode_gallery.md b/src/Resources/doc/shortcode_gallery.md similarity index 100% rename from Resources/doc/shortcode_gallery.md rename to src/Resources/doc/shortcode_gallery.md diff --git a/Resources/translations/messages.fr.xlf b/src/Resources/translations/messages.fr.xlf similarity index 100% rename from Resources/translations/messages.fr.xlf rename to src/Resources/translations/messages.fr.xlf diff --git a/Resources/views/Default/index.html.twig b/src/Resources/views/Default/index.html.twig similarity index 100% rename from Resources/views/Default/index.html.twig rename to src/Resources/views/Default/index.html.twig diff --git a/Resources/views/Shortcode/focus_gallery.html.twig b/src/Resources/views/Shortcode/focus_gallery.html.twig similarity index 100% rename from Resources/views/Shortcode/focus_gallery.html.twig rename to src/Resources/views/Shortcode/focus_gallery.html.twig diff --git a/Resources/views/Shortcode/gallery.html.twig b/src/Resources/views/Shortcode/gallery.html.twig similarity index 100% rename from Resources/views/Shortcode/gallery.html.twig rename to src/Resources/views/Shortcode/gallery.html.twig diff --git a/Resources/views/layout.html.twig b/src/Resources/views/layout.html.twig similarity index 100% rename from Resources/views/layout.html.twig rename to src/Resources/views/layout.html.twig diff --git a/Security/Authentication/Provider/WordpressProvider.php b/src/Security/Authentication/Provider/WordpressProvider.php similarity index 100% rename from Security/Authentication/Provider/WordpressProvider.php rename to src/Security/Authentication/Provider/WordpressProvider.php diff --git a/Security/Authentication/Token/WordpressToken.php b/src/Security/Authentication/Token/WordpressToken.php similarity index 100% rename from Security/Authentication/Token/WordpressToken.php rename to src/Security/Authentication/Token/WordpressToken.php diff --git a/Security/Encoder/PhpassPasswordEncoder.php b/src/Security/Encoder/PhpassPasswordEncoder.php similarity index 100% rename from Security/Encoder/PhpassPasswordEncoder.php rename to src/Security/Encoder/PhpassPasswordEncoder.php diff --git a/Security/Firewall/WordpressListener.php b/src/Security/Firewall/WordpressListener.php similarity index 100% rename from Security/Firewall/WordpressListener.php rename to src/Security/Firewall/WordpressListener.php diff --git a/Security/Http/Logout/WordpressCookieClearingLogoutHandler.php b/src/Security/Http/Logout/WordpressCookieClearingLogoutHandler.php similarity index 100% rename from Security/Http/Logout/WordpressCookieClearingLogoutHandler.php rename to src/Security/Http/Logout/WordpressCookieClearingLogoutHandler.php diff --git a/Security/Http/WordpressCookieService.php b/src/Security/Http/WordpressCookieService.php similarity index 100% rename from Security/Http/WordpressCookieService.php rename to src/Security/Http/WordpressCookieService.php diff --git a/Security/User/WordpressUserProvider.php b/src/Security/User/WordpressUserProvider.php similarity index 100% rename from Security/User/WordpressUserProvider.php rename to src/Security/User/WordpressUserProvider.php diff --git a/Subscriber/TablePrefixSubscriber.php b/src/Subscriber/TablePrefixSubscriber.php similarity index 100% rename from Subscriber/TablePrefixSubscriber.php rename to src/Subscriber/TablePrefixSubscriber.php diff --git a/Tests/Fixture/Sample.php b/src/Tests/Fixture/Sample.php similarity index 100% rename from Tests/Fixture/Sample.php rename to src/Tests/Fixture/Sample.php diff --git a/Tests/Fixture/SampleWithoutAnnotation.php b/src/Tests/Fixture/SampleWithoutAnnotation.php similarity index 100% rename from Tests/Fixture/SampleWithoutAnnotation.php rename to src/Tests/Fixture/SampleWithoutAnnotation.php diff --git a/Tests/Security/Authentication/Provider/WordpressProviderTest.php b/src/Tests/Security/Authentication/Provider/WordpressProviderTest.php similarity index 100% rename from Tests/Security/Authentication/Provider/WordpressProviderTest.php rename to src/Tests/Security/Authentication/Provider/WordpressProviderTest.php diff --git a/Tests/Security/Http/WordpressCookieServiceTest.php b/src/Tests/Security/Http/WordpressCookieServiceTest.php similarity index 100% rename from Tests/Security/Http/WordpressCookieServiceTest.php rename to src/Tests/Security/Http/WordpressCookieServiceTest.php diff --git a/Tests/Subscriber/TablePrefixSubscriberTest.php b/src/Tests/Subscriber/TablePrefixSubscriberTest.php similarity index 100% rename from Tests/Subscriber/TablePrefixSubscriberTest.php rename to src/Tests/Subscriber/TablePrefixSubscriberTest.php diff --git a/Tests/Wordpress/Shortcode/CaptionShortcodeTest.php b/src/Tests/Wordpress/Shortcode/CaptionShortcodeTest.php similarity index 100% rename from Tests/Wordpress/Shortcode/CaptionShortcodeTest.php rename to src/Tests/Wordpress/Shortcode/CaptionShortcodeTest.php diff --git a/Tests/Wordpress/Shortcode/GalleryShortcodeTest.php b/src/Tests/Wordpress/Shortcode/GalleryShortcodeTest.php similarity index 100% rename from Tests/Wordpress/Shortcode/GalleryShortcodeTest.php rename to src/Tests/Wordpress/Shortcode/GalleryShortcodeTest.php diff --git a/Tests/bootstrap.php b/src/Tests/bootstrap.php similarity index 100% rename from Tests/bootstrap.php rename to src/Tests/bootstrap.php diff --git a/Twig/Extension/WordpressExtension.php b/src/Twig/Extension/WordpressExtension.php similarity index 100% rename from Twig/Extension/WordpressExtension.php rename to src/Twig/Extension/WordpressExtension.php diff --git a/Types/WordpressIdType.php b/src/Types/WordpressIdType.php similarity index 100% rename from Types/WordpressIdType.php rename to src/Types/WordpressIdType.php diff --git a/Types/WordpressMetaType.php b/src/Types/WordpressMetaType.php similarity index 100% rename from Types/WordpressMetaType.php rename to src/Types/WordpressMetaType.php diff --git a/Wordpress/AuthenticationCookieManager.php b/src/Wordpress/AuthenticationCookieManager.php similarity index 100% rename from Wordpress/AuthenticationCookieManager.php rename to src/Wordpress/AuthenticationCookieManager.php diff --git a/Wordpress/ConfigurationManager.php b/src/Wordpress/ConfigurationManager.php similarity index 100% rename from Wordpress/ConfigurationManager.php rename to src/Wordpress/ConfigurationManager.php diff --git a/Wordpress/Helper/AttachmentHelper.php b/src/Wordpress/Helper/AttachmentHelper.php similarity index 100% rename from Wordpress/Helper/AttachmentHelper.php rename to src/Wordpress/Helper/AttachmentHelper.php diff --git a/Wordpress/ManagerRegistry.php b/src/Wordpress/ManagerRegistry.php similarity index 100% rename from Wordpress/ManagerRegistry.php rename to src/Wordpress/ManagerRegistry.php diff --git a/Wordpress/Shortcode/CaptionShortcode.php b/src/Wordpress/Shortcode/CaptionShortcode.php similarity index 100% rename from Wordpress/Shortcode/CaptionShortcode.php rename to src/Wordpress/Shortcode/CaptionShortcode.php diff --git a/Wordpress/Shortcode/GalleryShortcode.php b/src/Wordpress/Shortcode/GalleryShortcode.php similarity index 100% rename from Wordpress/Shortcode/GalleryShortcode.php rename to src/Wordpress/Shortcode/GalleryShortcode.php diff --git a/Wordpress/Shortcode/ShortcodeChain.php b/src/Wordpress/Shortcode/ShortcodeChain.php similarity index 100% rename from Wordpress/Shortcode/ShortcodeChain.php rename to src/Wordpress/Shortcode/ShortcodeChain.php diff --git a/Wordpress/Shortcode/ShortcodeInterface.php b/src/Wordpress/Shortcode/ShortcodeInterface.php similarity index 100% rename from Wordpress/Shortcode/ShortcodeInterface.php rename to src/Wordpress/Shortcode/ShortcodeInterface.php diff --git a/WordpressEvents.php b/src/WordpressEvents.php similarity index 100% rename from WordpressEvents.php rename to src/WordpressEvents.php