sf4, rename *.yml files by *.yaml

This commit is contained in:
Tchama 2020-07-31 15:26:33 +02:00
parent cd07426885
commit e07b5b1875
33 changed files with 34 additions and 33 deletions

View File

@ -101,27 +101,27 @@ class ChillMainExtension extends Extension implements PrependExtensionInterface,
); );
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config')); $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
$loader->load('services.yml'); $loader->load('services.yaml');
$loader->load('services/logger.yml'); $loader->load('services/logger.yaml');
$loader->load('services/repositories.yml'); $loader->load('services/repositories.yaml');
$loader->load('services/pagination.yml'); $loader->load('services/pagination.yaml');
$loader->load('services/export.yml'); $loader->load('services/export.yaml');
$loader->load('services/form.yml'); $loader->load('services/form.yaml');
$loader->load('services/validator.yml'); $loader->load('services/validator.yaml');
$loader->load('services/widget.yml'); $loader->load('services/widget.yaml');
$loader->load('services/controller.yml'); $loader->load('services/controller.yaml');
$loader->load('services/routing.yml'); $loader->load('services/routing.yaml');
$loader->load('services/fixtures.yml'); $loader->load('services/fixtures.yaml');
$loader->load('services/menu.yml'); $loader->load('services/menu.yaml');
$loader->load('services/security.yml'); $loader->load('services/security.yaml');
$loader->load('services/notification.yml'); $loader->load('services/notification.yaml');
$loader->load('services/redis.yml'); $loader->load('services/redis.yaml');
$loader->load('services/command.yml'); $loader->load('services/command.yaml');
$loader->load('services/phonenumber.yml'); $loader->load('services/phonenumber.yaml');
$loader->load('services/cache.yml'); $loader->load('services/cache.yaml');
$loader->load('services/templating.yml'); $loader->load('services/templating.yaml');
$loader->load('services/timeline.yml'); $loader->load('services/timeline.yaml');
$loader->load('services/search.yml'); $loader->load('services/search.yaml');
$this->configureCruds($container, $config['cruds'], $loader); $this->configureCruds($container, $config['cruds'], $loader);
} }
@ -204,7 +204,7 @@ class ChillMainExtension extends Extension implements PrependExtensionInterface,
return; return;
} }
$loader->load('services/crud.yml'); $loader->load('services/crud.yaml');
$container->setParameter('chill_main_crud_route_loader_config', $config); $container->setParameter('chill_main_crud_route_loader_config', $config);

View File

@ -1,35 +1,36 @@
chill_main_admin_permissionsgroup: chill_main_admin_permissionsgroup:
resource: "@ChillMainBundle/config/routes/permissionsgroup.yml" resource: "@ChillMainBundle/config/routes/permissionsgroup.yaml"
prefix: "{_locale}/admin/permissionsgroup" prefix: "{_locale}/admin/permissionsgroup"
chill_main_admin_user: chill_main_admin_user:
resource: "@ChillMainBundle/config/routes/user.yml" resource: "@ChillMainBundle/config/routes/user.yaml"
prefix: "{_locale}/admin/user" prefix: "{_locale}/admin/user"
chill_main_admin_scope: chill_main_admin_scope:
resource: "@ChillMainBundle/config/routes/scope.yml" resource: "@ChillMainBundle/config/routes/scope.yaml"
prefix: "{_locale}/admin/scope" prefix: "{_locale}/admin/scope"
chill_main_admin: chill_main_admin:
resource: "@ChillMainBundle/config/routes/center.yml" resource: "@ChillMainBundle/config/routes/center.yaml"
prefix: "{_locale}/admin/center" prefix: "{_locale}/admin/center"
chill_main_exports: chill_main_exports:
resource: "@ChillMainBundle/config/routes/exports.yml" resource: "@ChillMainBundle/config/routes/exports.yaml"
prefix: "{_locale}/exports" prefix: "{_locale}/exports"
chill_postal_code: chill_postal_code:
resource: "@ChillMainBundle/config/routes/postal-code.yml" resource: "@ChillMainBundle/config/routes/postal-code.yaml"
prefix: "{_locale}/postal-code" prefix: "{_locale}/postal-code"
chill_password: chill_password:
resource: "@ChillMainBundle/config/routes/password.yml" resource: "@ChillMainBundle/config/routes/password.yaml"
prefix: "{_locale}/password" prefix: "{_locale}/password"
chill_password_recover: chill_password_recover:
resource: "@ChillMainBundle/config/routes/password_recover.yml" resource: "@ChillMainBundle/config/routes/password_recover.yaml"
prefix: "public/{_locale}/password" prefix: "public/{_locale}/password"
root: root:
path: / path: /
defaults: defaults: