Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 32d99f9

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: Use Sf4 + Sf5 instead of Sf3 for bundle best practices Added missing Dotenv use
2 parents 8d1e715 + f8a82f6 commit 32d99f9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

bundles/best_practices.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,15 @@ A bundle should at least test:
181181
* All supported major Symfony versions (e.g. both ``4.x`` and ``5.x`` if
182182
support is claimed for both).
183183

184-
Thus, a bundle supporting PHP 7.3, 7.4 and 8.0, and Symfony 3.4 and 4.x should
184+
Thus, a bundle supporting PHP 7.3, 7.4 and 8.0, and Symfony 4.4 and 5.x should
185185
have at least this test matrix:
186186

187187
=========== =============== ===================
188188
PHP version Symfony version Composer flags
189189
=========== =============== ===================
190-
7.3 ``3.*`` ``--prefer-lowest``
191-
7.4 ``4.*``
192-
8.0 ``4.*``
190+
7.3 ``4.*`` ``--prefer-lowest``
191+
7.4 ``5.*``
192+
8.0 ``5.*``
193193
=========== =============== ===================
194194

195195
.. tip::

migration.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ could look something like this::
238238
// public/index.php
239239
use App\Kernel;
240240
use App\LegacyBridge;
241+
use Symfony\Component\Dotenv\Dotenv;
241242
use Symfony\Component\ErrorHandler\Debug;
242243
use Symfony\Component\HttpFoundation\Request;
243244

0 commit comments

Comments
 (0)