File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1069,6 +1069,14 @@ application to production (e.g. in your continuous integration server):
1069
1069
1070
1070
$ php bin/console lint:container
1071
1071
1072
+ # optionally, you can force the resolution of environment variables;
1073
+ # the command will fail if any of those environment variables are missing
1074
+ $ php bin/console lint:container --resolve-env-vars
1075
+
1076
+ .. versionadded :: 7.2
1077
+
1078
+ The ``--resolve-env-vars `` option was introduced in Symfony 7.2.
1079
+
1072
1080
Performing those checks whenever the container is compiled can hurt performance.
1073
1081
That's why they are implemented in :doc: `compiler passes </service_container/compiler_passes >`
1074
1082
called ``CheckTypeDeclarationsPass `` and ``CheckAliasValidityPass ``, which are
You can’t perform that action at this time.
0 commit comments