From 2c1986fca504436695bd579d7c96e264d0a03d84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Mon, 19 Sep 2016 16:47:24 +0200 Subject: [PATCH] Use strict comparison The new code should be used as soon as 2.8.0 is available --- setup/bundles.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/bundles.rst b/setup/bundles.rst index a449f54c0f6..c4dc6e367ae 100644 --- a/setup/bundles.rst +++ b/setup/bundles.rst @@ -173,7 +173,7 @@ Before diving into the specifics of the most common edge cases, the general recommendation is to **not rely on the Symfony Kernel version** to decide which code to use:: - if (Kernel::VERSION_ID <= 20800) { + if (Kernel::VERSION_ID < 20800) { // code for Symfony 2.x } else { // code for Symfony 3.x