We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 922fa71 commit a696ebfCopy full SHA for a696ebf
configuration.rst
@@ -594,6 +594,13 @@ going to production:
594
use `symbolic links`_ between ``config/packages/<environment-name>/``
595
directories to reuse the same configuration.
596
597
+.. warning::
598
+
599
+ Some characters are not allowed in environment name, e.g. the
600
+ ``-`` character. If you try to use it, it will throw this exception:
601
+ The environment "%s" contains invalid characters, it can only contain
602
+ characters allowed in PHP class names.
603
604
Instead of creating new environments, you can use environment variables as
605
explained in the following section. This way you can use the same application
606
and environment (e.g. ``prod``) but change its behavior thanks to the
0 commit comments