]> Raphaƫl G. Git Repositories - blogbundle/blobdiff - Resources/config/packages/rapsys_blog.yaml
Remove behaviour change warning
[blogbundle] / Resources / config / packages / rapsys_blog.yaml
index 5511844d5262a5d5527ef2c64a672fcd5dc66a44..7e439c34ed4e36d0e14824ef10cc1cccf0f5d122 100644 (file)
@@ -160,8 +160,17 @@ rapsys_user:
 
 # Doctrine configuration
 doctrine:
 
 # Doctrine configuration
 doctrine:
+    # Dbal configuration
+    dbal:
+        charset: 'utf8mb4'
+        default_table_options:
+            charset: 'utf8mb4'
+            collate: 'utf8mb4_unicode_ci'
     # Orm configuration
     orm:
     # Orm configuration
     orm:
+        # Controler resolver
+        controller_resolver:
+            auto_mapping: false
         # Replace repository factory
         repository_factory: 'Rapsys\BlogBundle\Factory\RepositoryFactory'
 
         # Replace repository factory
         repository_factory: 'Rapsys\BlogBundle\Factory\RepositoryFactory'
 
@@ -208,14 +217,14 @@ security:
     providers:
         database:
             entity:
     providers:
         database:
             entity:
-                class: Rapsys\BlogBundle\Entity\User
-                property: mail
+                class: 'Rapsys\BlogBundle\Entity\User'
+                property: 'mail'
 
     # Set firewall
     firewalls:
         # Disables authentication for assets and the profiler, adapt it according to your needs
         dev:
 
     # Set firewall
     firewalls:
         # Disables authentication for assets and the profiler, adapt it according to your needs
         dev:
-            pattern: ^/(_(profiler|wdt)|css|images|js)/
+            pattern: '^/(_(profiler|wdt)|css|images|js)/'
             security: false
 
         main:
             security: false
 
         main: