10000 minor #28808 [HttpKernel] Add a note about env name restrictions (fab… · symfony/symfony@f0bcab5 · GitHub
[go: up one dir, main page]

Skip to content

Commit f0bcab5

Browse files
committed
minor #28808 [HttpKernel] Add a note about env name restrictions (fabpot)
This PR was merged into the 4.2-dev branch. Discussion ---------- [HttpKernel] Add a note about env name restrictions | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #26884 | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> <!-- Write a short README entry for your feature/bugfix here (replace this comment block.) This will help people understand your PR and can be used as a start of the Doc PR. Additionally: - Bug fixes must be submitted against the lowest branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the master branch. --> Commits ------- b0f863d [HttpKernel] added a note about env name restrictions
2 parents 60aaa80 + b0f863d commit f0bcab5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
*
4242
* It manages an environment made of bundles.
4343
*
44+
* Environment names must always start with a letter and
45+
* they must only contain letters and numbers.
46+
*
4447
* @author Fabien Potencier <fabien@symfony.com>
4548
*/
4649
abstract class Kernel implements KernelInterface, RebootableInterface, TerminableInterface

0 commit comments

Comments
 (0)
0