From f3f1c8450166896ecd3ac87e849ff9e3877a782a Mon Sep 17 00:00:00 2001 From: Spomky Date: Thu, 12 May 2016 18:19:51 -0400 Subject: [PATCH] Applied fixes from StyleCI --- DependencyInjection/Configuration.php | 2 +- DependencyInjection/SpomkyLabsRoleHierarchyExtension.php | 2 +- Document/Role.php | 2 +- Entity/Role.php | 2 +- Model/Role.php | 2 +- Model/RoleInterface.php | 2 +- Model/RoleManager.php | 2 +- Model/RoleManagerInterface.php | 2 +- Security/RoleHierarchy.php | 4 ++-- Security/RoleHierarchyVoter.php | 4 ++-- SpomkyLabsRoleHierarchyBundle.php | 2 +- Tests/Context/FeatureContext.php | 2 +- Tests/TestRoleHierarchyBundle/Controller/HelloController.php | 2 +- .../TestRoleHierarchyBundle/DataFixtures/ORM/LoadRoleData.php | 4 ++-- .../DependencyInjection/TestExtension.php | 2 +- Tests/TestRoleHierarchyBundle/Entity/Role.php | 2 +- Tests/TestRoleHierarchyBundle/Entity/User.php | 2 +- Tests/TestRoleHierarchyBundle/Entity/UserManager.php | 2 +- .../SpomkyLabsTestRoleHierarchyBundle.php | 2 +- Tests/TestRoleHierarchyBundle/Util/UserProvider.php | 2 +- Tests/app/AppKernel.php | 2 +- 21 files changed, 24 insertions(+), 24 deletions(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 52262ea..01f2a0f 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/DependencyInjection/SpomkyLabsRoleHierarchyExtension.php b/DependencyInjection/SpomkyLabsRoleHierarchyExtension.php index e47ced3..0d71eba 100644 --- a/DependencyInjection/SpomkyLabsRoleHierarchyExtension.php +++ b/DependencyInjection/SpomkyLabsRoleHierarchyExtension.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Document/Role.php b/Document/Role.php index 571cef7..c841870 100644 --- a/Document/Role.php +++ b/Document/Role.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Entity/Role.php b/Entity/Role.php index e175582..778d2f3 100644 --- a/Entity/Role.php +++ b/Entity/Role.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Model/Role.php b/Model/Role.php index 2e3ac6d..1189b87 100644 --- a/Model/Role.php +++ b/Model/Role.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Model/RoleInterface.php b/Model/RoleInterface.php index 8788e9c..ef029dd 100644 --- a/Model/RoleInterface.php +++ b/Model/RoleInterface.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Model/RoleManager.php b/Model/RoleManager.php index dbc8e46..8fc5573 100644 --- a/Model/RoleManager.php +++ b/Model/RoleManager.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Model/RoleManagerInterface.php b/Model/RoleManagerInterface.php index dd69ab6..521cf61 100644 --- a/Model/RoleManagerInterface.php +++ b/Model/RoleManagerInterface.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Security/RoleHierarchy.php b/Security/RoleHierarchy.php index 087d0ff..052d003 100644 --- a/Security/RoleHierarchy.php +++ b/Security/RoleHierarchy.php @@ -3,9 +3,9 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * - * This software may be modified and distributed under the terole_managers + * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ diff --git a/Security/RoleHierarchyVoter.php b/Security/RoleHierarchyVoter.php index fd98e7b..ad70d0f 100644 --- a/Security/RoleHierarchyVoter.php +++ b/Security/RoleHierarchyVoter.php @@ -3,9 +3,9 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * - * This software may be modified and distributed under the terole_managers + * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ diff --git a/SpomkyLabsRoleHierarchyBundle.php b/SpomkyLabsRoleHierarchyBundle.php index 355faf2..0836e8f 100644 --- a/SpomkyLabsRoleHierarchyBundle.php +++ b/SpomkyLabsRoleHierarchyBundle.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Tests/Context/FeatureContext.php b/Tests/Context/FeatureContext.php index 19cd066..b9ef257 100644 --- a/Tests/Context/FeatureContext.php +++ b/Tests/Context/FeatureContext.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Tests/TestRoleHierarchyBundle/Controller/HelloController.php b/Tests/TestRoleHierarchyBundle/Controller/HelloController.php index 463e783..f3c3b80 100644 --- a/Tests/TestRoleHierarchyBundle/Controller/HelloController.php +++ b/Tests/TestRoleHierarchyBundle/Controller/HelloController.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Tests/TestRoleHierarchyBundle/DataFixtures/ORM/LoadRoleData.php b/Tests/TestRoleHierarchyBundle/DataFixtures/ORM/LoadRoleData.php index e3aafeb..573588d 100644 --- a/Tests/TestRoleHierarchyBundle/DataFixtures/ORM/LoadRoleData.php +++ b/Tests/TestRoleHierarchyBundle/DataFixtures/ORM/LoadRoleData.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. @@ -41,7 +41,7 @@ public function load(ObjectManager $manager) foreach ($this->getRoles() as $role) { /** - * @var $entity \SpomkyLabs\TestRoleHierarchyBundle\Entity\Role + * @var \SpomkyLabs\TestRoleHierarchyBundle\Entity\Role */ $entity = $role_manager->createRole(); $parent = null === $role['parent'] ? null : $this->getReference('role-'.$role['parent']); diff --git a/Tests/TestRoleHierarchyBundle/DependencyInjection/TestExtension.php b/Tests/TestRoleHierarchyBundle/DependencyInjection/TestExtension.php index f3095d6..27ae190 100644 --- a/Tests/TestRoleHierarchyBundle/DependencyInjection/TestExtension.php +++ b/Tests/TestRoleHierarchyBundle/DependencyInjection/TestExtension.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Tests/TestRoleHierarchyBundle/Entity/Role.php b/Tests/TestRoleHierarchyBundle/Entity/Role.php index 9b4924e..ada18f7 100644 --- a/Tests/TestRoleHierarchyBundle/Entity/Role.php +++ b/Tests/TestRoleHierarchyBundle/Entity/Role.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Tests/TestRoleHierarchyBundle/Entity/User.php b/Tests/TestRoleHierarchyBundle/Entity/User.php index e11457c..c25acc8 100644 --- a/Tests/TestRoleHierarchyBundle/Entity/User.php +++ b/Tests/TestRoleHierarchyBundle/Entity/User.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Tests/TestRoleHierarchyBundle/Entity/UserManager.php b/Tests/TestRoleHierarchyBundle/Entity/UserManager.php index 3f8b2df..a7f7bfb 100644 --- a/Tests/TestRoleHierarchyBundle/Entity/UserManager.php +++ b/Tests/TestRoleHierarchyBundle/Entity/UserManager.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Tests/TestRoleHierarchyBundle/SpomkyLabsTestRoleHierarchyBundle.php b/Tests/TestRoleHierarchyBundle/SpomkyLabsTestRoleHierarchyBundle.php index 52a7bfd..bc5ecee 100644 --- a/Tests/TestRoleHierarchyBundle/SpomkyLabsTestRoleHierarchyBundle.php +++ b/Tests/TestRoleHierarchyBundle/SpomkyLabsTestRoleHierarchyBundle.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Tests/TestRoleHierarchyBundle/Util/UserProvider.php b/Tests/TestRoleHierarchyBundle/Util/UserProvider.php index ed02784..a28a12b 100644 --- a/Tests/TestRoleHierarchyBundle/Util/UserProvider.php +++ b/Tests/TestRoleHierarchyBundle/Util/UserProvider.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/Tests/app/AppKernel.php b/Tests/app/AppKernel.php index 0a1c57b..36f2c25 100644 --- a/Tests/app/AppKernel.php +++ b/Tests/app/AppKernel.php @@ -3,7 +3,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2014-2015 Spomky-Labs + * Copyright (c) 2014-2016 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details.