summaryrefslogtreecommitdiffstats
path: root/User
diff options
context:
space:
mode:
Diffstat (limited to 'User')
-rw-r--r--User/AccountChecker.php14
-rw-r--r--User/AccountCheckerInterface.php4
-rw-r--r--User/AccountInterface.php4
-rw-r--r--User/AdvancedAccountInterface.php4
-rw-r--r--User/InMemoryUserProvider.php10
-rw-r--r--User/User.php4
-rw-r--r--User/UserProviderInterface.php4
7 files changed, 22 insertions, 22 deletions
diff --git a/User/AccountChecker.php b/User/AccountChecker.php
index ca73cab..9e4012c 100644
--- a/User/AccountChecker.php
+++ b/User/AccountChecker.php
@@ -1,12 +1,5 @@
<?php
-namespace Symfony\Component\Security\User;
-
-use Symfony\Component\Security\Exception\CredentialsExpiredException;
-use Symfony\Component\Security\Exception\LockedException;
-use Symfony\Component\Security\Exception\DisabledException;
-use Symfony\Component\Security\Exception\AccountExpiredException;
-
/*
* This file is part of the Symfony package.
*
@@ -16,6 +9,13 @@ use Symfony\Component\Security\Exception\AccountExpiredException;
* file that was distributed with this source code.
*/
+namespace Symfony\Component\Security\User;
+
+use Symfony\Component\Security\Exception\CredentialsExpiredException;
+use Symfony\Component\Security\Exception\LockedException;
+use Symfony\Component\Security\Exception\DisabledException;
+use Symfony\Component\Security\Exception\AccountExpiredException;
+
/**
* AccountChecker checks the user account flags.
*
diff --git a/User/AccountCheckerInterface.php b/User/AccountCheckerInterface.php
index d3cfe0b..776a99d 100644
--- a/User/AccountCheckerInterface.php
+++ b/User/AccountCheckerInterface.php
@@ -1,7 +1,5 @@
<?php
-namespace Symfony\Component\Security\User;
-
/*
* This file is part of the Symfony package.
*
@@ -11,6 +9,8 @@ namespace Symfony\Component\Security\User;
* file that was distributed with this source code.
*/
+namespace Symfony\Component\Security\User;
+
/**
* AccountCheckerInterface checks user account when authentication occurs.
*
diff --git a/User/AccountInterface.php b/User/AccountInterface.php
index b901b08..0bc488f 100644
--- a/User/AccountInterface.php
+++ b/User/AccountInterface.php
@@ -1,7 +1,5 @@
<?php
-namespace Symfony\Component\Security\User;
-
/*
* This file is part of the Symfony package.
*
@@ -11,6 +9,8 @@ namespace Symfony\Component\Security\User;
* file that was distributed with this source code.
*/
+namespace Symfony\Component\Security\User;
+
/**
* AccountInterface is the interface that user classes must implement.
*
diff --git a/User/AdvancedAccountInterface.php b/User/AdvancedAccountInterface.php
index 7cdd547..d5b6ae3 100644
--- a/User/AdvancedAccountInterface.php
+++ b/User/AdvancedAccountInterface.php
@@ -1,7 +1,5 @@
<?php
-namespace Symfony\Component\Security\User;
-
/*
* This file is part of the Symfony package.
*
@@ -11,6 +9,8 @@ namespace Symfony\Component\Security\User;
* file that was distributed with this source code.
*/
+namespace Symfony\Component\Security\User;
+
/**
* AdvancedAccountInterface adds status flags to a regular account.
*
diff --git a/User/InMemoryUserProvider.php b/User/InMemoryUserProvider.php
index 566d2a8..e83f7fa 100644
--- a/User/InMemoryUserProvider.php
+++ b/User/InMemoryUserProvider.php
@@ -1,10 +1,5 @@
<?php
-namespace Symfony\Component\Security\User;
-
-use Symfony\Component\Security\Exception\UsernameNotFoundException;
-use Symfony\Component\Security\Exception\UnsupportedAccountException;
-
/*
* This file is part of the Symfony package.
*
@@ -14,6 +9,11 @@ use Symfony\Component\Security\Exception\UnsupportedAccountException;
* file that was distributed with this source code.
*/
+namespace Symfony\Component\Security\User;
+
+use Symfony\Component\Security\Exception\UsernameNotFoundException;
+use Symfony\Component\Security\Exception\UnsupportedAccountException;
+
/**
* InMemoryUserProvider is a simple non persistent user provider.
*
diff --git a/User/User.php b/User/User.php
index 80ec9c1..4885ca0 100644
--- a/User/User.php
+++ b/User/User.php
@@ -1,7 +1,5 @@
<?php
-namespace Symfony\Component\Security\User;
-
/*
* This file is part of the Symfony package.
*
@@ -11,6 +9,8 @@ namespace Symfony\Component\Security\User;
* file that was distributed with this source code.
*/
+namespace Symfony\Component\Security\User;
+
/**
* User is the user implementation used by the in-memory user provider.
*
diff --git a/User/UserProviderInterface.php b/User/UserProviderInterface.php
index ac7e470..4e182ee 100644
--- a/User/UserProviderInterface.php
+++ b/User/UserProviderInterface.php
@@ -1,7 +1,5 @@
<?php
-namespace Symfony\Component\Security\User;
-
/*
* This file is part of the Symfony package.
*
@@ -11,6 +9,8 @@ namespace Symfony\Component\Security\User;
* file that was distributed with this source code.
*/
+namespace Symfony\Component\Security\User;
+
/**
* UserProviderInterface is the implementation that all user provider must
* implement.