]> Raphaël G. Git Repositories - airlibre/commitdiff
Readd config packages validator yaml file
authorRaphaël Gertz <git@rapsys.eu>
Tue, 27 Feb 2024 11:24:53 +0000 (12:24 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Tue, 27 Feb 2024 11:24:53 +0000 (12:24 +0100)
Add validator config

config/packages/validator.yaml [new file with mode: 0644]

diff --git a/config/packages/validator.yaml b/config/packages/validator.yaml
new file mode 100644 (file)
index 0000000..dd47a6a
--- /dev/null
@@ -0,0 +1,11 @@
+framework:
+    validation:
+        # Enables validator auto-mapping support.
+        # For instance, basic validation constraints will be inferred from Doctrine's metadata.
+        #auto_mapping:
+        #    App\Entity\: []
+
+when@test:
+    framework:
+        validation:
+            not_compromised_password: false