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

Skip to content

Commit ce7a3c4

Browse files
committed
feature #21263 [DI] Mark generated containers as final (nicolas-grekas)
This PR was merged into the 3.3-dev branch. Discussion ---------- [DI] Mark generated containers as final | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | no | Fixed tickets | - | License | MIT | Doc PR | - So that we don't have to care anymore about BC for protected methods in generated containers. Will leverage deprecations triggered in #20493 Commits ------- ce0ee1e [DI] Mark generated containers as final
2 parents 5200055 + ce0ee1e commit ce7a3c4

15 files changed

+30
-0
lines changed

src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,8 @@ private function startClass($class, $baseClass, $namespace)
805805
*
806806
* This class has been auto-generated
807807
* by the Symfony Dependency Injection Component.
808+
*
809+
* @final since Symfony 3.3
808810
*/
809811
class $class extends $baseClass
810812
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services1-1.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
*
1515
* This class has been auto-generated
1616
* by the Symfony Dependency Injection Component.
17+
*
18+
* @final since Symfony 3.3
1719
*/
1820
class Container extends AbstractContainer
1921
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services1.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
*
1414
* This class has been auto-generated
1515
* by the Symfony Dependency Injection Component.
16+
*
17+
* @final since Symfony 3.3
1618
*/
1719
class ProjectServiceContainer extends Container
1820
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
*
1414
* This class has been auto-generated
1515
* by the Symfony Dependency Injection Component.
16+
*
17+
* @final since Symfony 3.3
1618
*/
1719
class ProjectServiceContainer extends Container
1820
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services12.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
*
1414
* This class has been auto-generated
1515
* by the Symfony Dependency Injection Component.
16+
*
17+
* @final since Symfony 3.3
1618
*/
1719
class ProjectServiceContainer extends Container
1820
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services13.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
*
1414
* This class has been auto-generated
1515
* by the Symfony Dependency Injection Component.
16+
*
17+
* @final since Symfony 3.3
1618
*/
1719
class ProjectServiceContainer extends Container
1820
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services19.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
*
1414
* This class has been auto-generated
1515
* by the Symfony Dependency Injection Component.
16+
*
17+
* @final since Symfony 3.3
1618
*/
1719
class ProjectServiceContainer extends Container
1820
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services24.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
*
1414
* This class has been auto-generated
1515
* by the Symfony Dependency Injection Component.
16+
*
17+
* @final since Symfony 3.3
1618
*/
1719
class ProjectServiceContainer extends Container
1820
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services26.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
*
1414
* This class has been auto-generated
1515
* by the Symfony Dependency Injection Component.
16+
*
17+
* @final since Symfony 3.3
1618
*/
1719
class ProjectServiceContainer extends Container
1820
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services31.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
*
1414
* This class has been auto-generated
1515
* by the Symfony Dependency Injection Component.
16+
*
17+
* @final since Symfony 3.3
1618
*/
1719
class ProjectServiceContainer extends Container
1820
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services32.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
*
1414
* This class has been auto-generated
1515
* by the Symfony Dependency Injection Component.
16+
*
17+
* @final since Symfony 3.3
1618
*/
1719
class ProjectServiceContainer extends Container
1820
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services33.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
*
1414
* This class has been auto-generated
1515
* by the Symfony Dependency Injection Component.
16+
*
17+
* @final since Symfony 3.3
1618
*/
1719
class ProjectServiceContainer extends Container
1820
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services8.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
*
1414
* This class has been auto-generated
1515
* by the Symfony Dependency Injection Component.
16+
*
17+
* @final since Symfony 3.3
1618
*/
1719
class ProjectServiceContainer extends Container
1820
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
*
1414
* This class has been auto-generated
1515
* by the Symfony Dependency Injection Component.
16+
*
17+
* @final since Symfony 3.3
1618
*/
1719
class ProjectServiceContainer extends Container
1820
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
*
1414
* This class has been auto-generated
1515
* by the Symfony Dependency Injection Component.
16+
*
17+
* @final since Symfony 3.3
1618
*/
1719
class ProjectServiceContainer extends Container
1820
{

0 commit comments

Comments
 (0)