Skip to content

Commit a480b9f

Browse files
committed
Tag classes as internal or final as appropriate
Classes are tagged in phpdoc rather than actually becoming final for backward compatibility in the 2.x branch.
1 parent 3c0d934 commit a480b9f

36 files changed

+110
-0
lines changed

Command/ActivateUserCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
/**
2222
* @author Antoine Hérault <antoine.herault@gmail.com>
23+
*
24+
* @internal
25+
* @final
2326
*/
2427
class ActivateUserCommand extends Command
2528
{

Command/ChangePasswordCommand.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
use Symfony\Component\Console\Output\OutputInterface;
1919
use Symfony\Component\Console\Question\Question;
2020

21+
/**
22+
* @internal
23+
* @final
24+
*/
2125
class ChangePasswordCommand extends Command
2226
{
2327
protected static $defaultName = 'fos:user:change-password';

Command/CreateUserCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
* @author Matthieu Bontemps <matthieu@knplabs.com>
2424
* @author Thibault Duplessis <thibault.duplessis@gmail.com>
2525
* @author Luis Cordova <cordoval@gmail.com>
26+
*
27+
* @internal
28+
* @final
2629
*/
2730
class CreateUserCommand extends Command
2831
{

Command/DeactivateUserCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
/**
2222
* @author Antoine Hérault <antoine.herault@gmail.com>
23+
*
24+
* @internal
25+
* @final
2326
*/
2427
class DeactivateUserCommand extends Command
2528
{

Command/DemoteUserCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
/**
1818
* @author Antoine Hérault <antoine.herault@gmail.com>
1919
* @author Lenar Lõhmus <lenar@city.ee>
20+
*
21+
* @internal
22+
* @final
2023
*/
2124
class DemoteUserCommand extends RoleCommand
2225
{

Command/PromoteUserCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
* @author Thibault Duplessis <thibault.duplessis@gmail.com>
2020
* @author Luis Cordova <cordoval@gmail.com>
2121
* @author Lenar Lõhmus <lenar@city.ee>
22+
*
23+
* @internal
24+
* @final
2225
*/
2326
class PromoteUserCommand extends RoleCommand
2427
{

Command/RoleCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121

2222
/**
2323
* @author Lenar Lõhmus <lenar@city.ee>
24+
*
25+
* @internal
2426
*/
2527
abstract class RoleCommand extends Command
2628
{

DependencyInjection/Compiler/CheckForMailerPass.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
* Checks to see if the mailer service exists.
2020
*
2121
* @author Ryan Weaver <ryan@knpuniversity.com>
22+
*
23+
* @internal
24+
* @final
2225
*/
2326
class CheckForMailerPass implements CompilerPassInterface
2427
{

DependencyInjection/Compiler/CheckForSessionPass.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
* Checks to see if the session service exists.
2020
*
2121
* @author Ryan Weaver <ryan@knpuniversity.com>
22+
*
23+
* @internal
24+
* @final
2225
*/
2326
class CheckForSessionPass implements CompilerPassInterface
2427
{

DependencyInjection/Compiler/InjectRememberMeServicesPass.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
* Inject RememberMeServices into LoginManager.
2020
*
2121
* @author Vasily Khayrulin <sirianru@gmail.com>
22+
*
23+
* @internal
24+
* @final
2225
*/
2326
class InjectRememberMeServicesPass implements CompilerPassInterface
2427
{

0 commit comments

Comments
 (0)