From cbf0a9be15e4345bbe0da0c6be305434928ea759 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 19 Jul 2022 21:26:26 +0200 Subject: Document conditions --- doc/source/config.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc') diff --git a/doc/source/config.rst b/doc/source/config.rst index bbf3b91..d7f7f24 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst @@ -75,6 +75,19 @@ The terminating ``;`` is optional for now, but it should be used for future comp Miscellaneous ------------- +conditions +^^^^^^^^^^ + +It's possible to use conditions to have configuration portables accross +several setups. + +:: + @condition PHP_VERSION_ID < 80000; + # some rules + @condition PHP_VERSION_ID >= 80000; + # some other rules + @end_condition; + global ^^^^^^ -- cgit v1.3