Skip to content

Commit

Permalink
Use new Symfony standard
Browse files Browse the repository at this point in the history
  • Loading branch information
lruozzi9 committed Jan 3, 2024
1 parent 44381bd commit 3f34ab1
Show file tree
Hide file tree
Showing 61 changed files with 7 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions config/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
imports:
- { resource: "@BitBagSyliusWishlistPlugin/config/services.yml" }
- { resource: "@BitBagSyliusWishlistPlugin/config/resources.yml" }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/BitBagSyliusWishlistPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ final class BitBagSyliusWishlistPlugin extends Bundle

public function getPath(): string
{
return __DIR__;
return \dirname(__DIR__);
}
}
2 changes: 1 addition & 1 deletion src/DependencyInjection/BitBagSyliusWishlistExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class BitBagSyliusWishlistExtension extends AbstractResourceExtension impl
public function load(array $configs, ContainerBuilder $container): void
{
$config = $this->processConfiguration($this->getConfiguration([], $container), $configs);
$loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
$loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../../config'));
$this->registerResources('bitbag_sylius_wishlist_plugin', 'doctrine/orm', $config['resources'], $container);
$loader->load('services.yml');
$container->setParameter('wishlist_cookie_token', $config['wishlist_cookie_token']);
Expand Down
3 changes: 0 additions & 3 deletions src/Resources/config/config.yml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
imports:
- { resource: "@BitBagSyliusWishlistPlugin/Resources/config/config.yml" }
- { resource: "@BitBagSyliusWishlistPlugin/config/config.yml" }
2 changes: 1 addition & 1 deletion tests/Application/config/routes.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
bitbag_sylius_wishlist_plugin:
resource: "@BitBagSyliusWishlistPlugin/Resources/config/routing.yml"
resource: "@BitBagSyliusWishlistPlugin/config/routing.yml"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3f34ab1

Please sign in to comment.