Minor - fix ymls

pull/3924/head
Julio Montoya 5 years ago
parent f68d481383
commit 66c59f361c
  1. 2
      .github/workflows/phpunit.yml
  2. 2
      config/packages/dev/web_profiler.yaml
  3. 2
      config/packages/doctrine_migrations.yaml
  4. 1
      config/packages/framework.yaml
  5. 6
      config/packages/security.yaml
  6. 2
      config/services.yaml
  7. 13
      src/CoreBundle/Resources/config/services.yml

@ -54,4 +54,4 @@ jobs:
php bin/console --env=test doctrine:fixtures:load --no-interaction
- name: Run PHPUnit tests
run: php bin/phpunit
run: php bin/phpunit

@ -2,4 +2,4 @@ web_profiler:
toolbar: true
intercept_redirects: false
framework:
profiler: { only_exceptions: false }
profiler: {only_exceptions: false}

@ -18,5 +18,3 @@ doctrine_migrations:
version_column_name: 'version'
version_column_length: 1024
executed_at_column_name: 'executed_at'

@ -24,4 +24,3 @@ when@test:
test: true
session:
storage_factory_id: session.storage.factory.mock_file

@ -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}
# - {path: ^/api/authentication_token, roles: PUBLIC_ACCESS}

@ -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

@ -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:

Loading…
Cancel
Save