From 66c59f361c4387cdc670d3e4e5c566cd3ed045a3 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Sun, 20 Jun 2021 09:53:02 +0200 Subject: [PATCH] Minor - fix ymls --- .github/workflows/phpunit.yml | 2 +- config/packages/dev/web_profiler.yaml | 2 +- config/packages/doctrine_migrations.yaml | 2 -- config/packages/framework.yaml | 1 - config/packages/security.yaml | 6 +++--- config/services.yaml | 2 +- src/CoreBundle/Resources/config/services.yml | 13 +------------ 7 files changed, 7 insertions(+), 21 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index e6c651e248..c4327aeecd 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -54,4 +54,4 @@ jobs: php bin/console --env=test doctrine:fixtures:load --no-interaction - name: Run PHPUnit tests - run: php bin/phpunit \ No newline at end of file + run: php bin/phpunit diff --git a/config/packages/dev/web_profiler.yaml b/config/packages/dev/web_profiler.yaml index 45de9228c7..d279eb3974 100644 --- a/config/packages/dev/web_profiler.yaml +++ b/config/packages/dev/web_profiler.yaml @@ -2,4 +2,4 @@ web_profiler: toolbar: true intercept_redirects: false framework: - profiler: { only_exceptions: false } + profiler: {only_exceptions: false} diff --git a/config/packages/doctrine_migrations.yaml b/config/packages/doctrine_migrations.yaml index 421863a488..2af92218f0 100644 --- a/config/packages/doctrine_migrations.yaml +++ b/config/packages/doctrine_migrations.yaml @@ -18,5 +18,3 @@ doctrine_migrations: version_column_name: 'version' version_column_length: 1024 executed_at_column_name: 'executed_at' - - diff --git a/config/packages/framework.yaml b/config/packages/framework.yaml index 952b20722f..a36cad3cdd 100644 --- a/config/packages/framework.yaml +++ b/config/packages/framework.yaml @@ -24,4 +24,3 @@ when@test: test: true session: storage_factory_id: session.storage.factory.mock_file - diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 8ffd5196cd..4453b9dce0 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -102,7 +102,7 @@ security: # - {path: ^/elfinder, role: ROLE_USER} # - { path: ^/login, roles: PUBLIC_ACCESS } # - { path: ^/api/authentication_token, roles: PUBLIC_ACCESS } - - { path: ^/login, roles: PUBLIC_ACCESS } - - { path: ^/api/authentication_token, roles: PUBLIC_ACCESS } + - {path: ^/login, roles: PUBLIC_ACCESS} + - {path: ^/api/authentication_token, roles: PUBLIC_ACCESS} # - {path: ^/login, roles: PUBLIC_ACCESS} -# - {path: ^/api/authentication_token, roles: PUBLIC_ACCESS} \ No newline at end of file +# - {path: ^/api/authentication_token, roles: PUBLIC_ACCESS} diff --git a/config/services.yaml b/config/services.yaml index 1e88186ad3..7b02777514 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -60,7 +60,7 @@ services: Chamilo\CoreBundle\Component\Utils\GlideAsset: arguments: - - { source: '@oneup_flysystem.asset_filesystem', cache: '@oneup_flysystem.asset_cache_filesystem' } + - {source: '@oneup_flysystem.asset_filesystem', cache: '@oneup_flysystem.asset_cache_filesystem'} - '%glide_media_filters%' # makes classes in src/ available to be used as services diff --git a/src/CoreBundle/Resources/config/services.yml b/src/CoreBundle/Resources/config/services.yml index 7188f308ba..097e60c50f 100644 --- a/src/CoreBundle/Resources/config/services.yml +++ b/src/CoreBundle/Resources/config/services.yml @@ -19,21 +19,10 @@ services: resource: '../../Controller' tags: ['controller.service_arguments'] - menu.voter.regex: - class: Chamilo\CoreBundle\Menu\MenuVoter - arguments: ['@request_stack'] - tags: - - {name: knp_menu.voter} - # twig.extension.date: # class: Twig_Extensions_Extension_Date # tags: # - { name: twig.extension } - - Chamilo\CoreBundle\Security\Encoder: - arguments: - - '%password_encryption%' - # User image naming # chamilo_core.naming.user_image: # class: Chamilo\CoreBundle\Naming\UserImage @@ -131,7 +120,7 @@ services: Chamilo\CoreBundle\Entity\Listener\UserListener: arguments: [ '@Chamilo\CoreBundle\Repository\Node\UserRepository'] tags: - - { name: doctrine.orm.entity_listener, entity_manager: default, lazy: true } + - {name: doctrine.orm.entity_listener, entity_manager: default, lazy: true} # Setting user Chamilo\CoreBundle\EventListener\LegacyListener: