Completed
Pull Request — master (#7)
by
unknown
09:18
created
src/IPub/Permissions/Access/AnnotationChecker.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use Nette\Application\UI;
21 21
 use Nette\Utils;
22 22
 use Nette\Security as NS;
23
-
24 23
 use IPub\Permissions\Entities;
25 24
 use IPub\Permissions\Exceptions;
26 25
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           13.10.14
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Permissions\Access;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Permissions/Entities/Role.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 namespace IPub\Permissions\Entities;
18 18
 
19 19
 use Nette;
20
-
21 20
 use IPub\Permissions\Exceptions;
22 21
 
23 22
 class Role implements IRole
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           12.03.14
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Permissions\Entities;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Permissions/DI/PermissionsExtension.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use Nette\DI;
21 21
 use Nette\Security as NS;
22 22
 use Nette\Utils;
23
-
24 23
 use IPub\Permissions;
25 24
 use IPub\Permissions\Access;
26 25
 use IPub\Permissions\Entities;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           10.10.14
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Permissions\DI;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Permissions/Providers/PermissionsProvider.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 namespace IPub\Permissions\Providers;
18 18
 
19 19
 use Nette;
20
-
21 20
 use IPub\Permissions\Entities;
22 21
 use IPub\Permissions\Exceptions;
23 22
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           30.11.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Permissions\Providers;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Permissions/Exceptions/InvalidStateException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           14.10.14
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Permissions\Exceptions;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Permissions/Providers/IRolesProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           10.10.14
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Permissions\Providers;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Permissions/Providers/ResourcesProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           30.11.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Permissions\Providers;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Permissions/Security/Permission.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           10.10.14
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Permissions\Security;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Permissions/Access/LinkChecker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
  * @date           13.10.14
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Permissions\Access;
18 18
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 			return FALSE;
88 88
 		}
89 89
 
90
-		$actionKey = UI\Presenter::ACTION_KEY . ucfirst($action);
90
+		$actionKey = UI\Presenter::ACTION_KEY.ucfirst($action);
91 91
 
92 92
 		if ($presenterReflection->hasMethod($actionKey) && !$this->requirementsChecker->isAllowed($presenterReflection->getMethod($actionKey))) {
93 93
 			return FALSE;
Please login to merge, or discard this patch.