Test Setup Failed
Push — master ( 32386c...4c4629 )
by Václav
03:34 queued 02:03
created
src/Model/RoleModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  * <https://www.peldax.com>.
11 11
  */
12 12
 
13
-declare(strict_types = 1);
13
+declare(strict_types=1);
14 14
 
15 15
 namespace Nepttune\Model;
16 16
 
Please login to merge, or discard this patch.
src/Model/RoleAccessModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  * <https://www.peldax.com>.
11 11
  */
12 12
 
13
-declare(strict_types = 1);
13
+declare(strict_types=1);
14 14
 
15 15
 namespace Nepttune\Model;
16 16
 
Please login to merge, or discard this patch.
src/Component/RoleList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  * <https://www.peldax.com>.
11 11
  */
12 12
 
13
-declare(strict_types = 1);
13
+declare(strict_types=1);
14 14
 
15 15
 namespace Nepttune\Component;
16 16
 
Please login to merge, or discard this patch.
src/TI/IAccessForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  * <https://www.peldax.com>.
11 11
  */
12 12
 
13
-declare(strict_types = 1);
13
+declare(strict_types=1);
14 14
 
15 15
 namespace Nepttune\TI;
16 16
 
Please login to merge, or discard this patch.
src/Component/IRoleFormFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  * <https://www.peldax.com>.
11 11
  */
12 12
 
13
-declare(strict_types = 1);
13
+declare(strict_types=1);
14 14
 
15 15
 namespace Nepttune\Component;
16 16
 
Please login to merge, or discard this patch.
src/Component/IRoleListFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  * <https://www.peldax.com>.
11 11
  */
12 12
 
13
-declare(strict_types = 1);
13
+declare(strict_types=1);
14 14
 
15 15
 namespace Nepttune\Component;
16 16
 
Please login to merge, or discard this patch.
src/Component/RoleForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
  * <https://www.peldax.com>.
11 11
  */
12 12
 
13
-declare(strict_types = 1);
13
+declare(strict_types=1);
14 14
 
15 15
 namespace Nepttune\Component;
16 16
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
     public function formSuccess(\Nette\Application\UI\Form $form, \stdClass $values) : void
47 47
     {
48
-        $access = \array_filter((array) $values->access, function ($value) {return $value === true;});
48
+        $access = \array_filter((array) $values->access, function($value) {return $value === true; });
49 49
         unset($values->access);
50 50
 
51 51
         if ($this->rowId)
Please login to merge, or discard this patch.
src/Component/UserForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
  * <https://www.peldax.com>.
11 11
  */
12 12
 
13
-declare(strict_types = 1);
13
+declare(strict_types=1);
14 14
 
15 15
 namespace Nepttune\Component;
16 16
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
     public function formSuccess(\Nette\Application\UI\Form $form, \stdClass $values) : void
73 73
     {
74
-        $access = \array_filter((array) $values->access, function ($value) {return $value === true;});
74
+        $access = \array_filter((array) $values->access, function($value) {return $value === true; });
75 75
         unset($values->password2, $values->access);
76 76
 
77 77
         if (!$values->password)
Please login to merge, or discard this patch.
src/TI/TAccessForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
  * <https://www.peldax.com>.
11 11
  */
12 12
 
13
-declare(strict_types = 1);
13
+declare(strict_types=1);
14 14
 
15 15
 namespace Nepttune\TI;
16 16
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         $data = $this->repository->findRow($rowId)->fetch()->toArray();
57 57
 
58 58
         $access = [];
59
-        foreach($this->accessModel->findBy($this->primaryRow, $rowId) as $row)
59
+        foreach ($this->accessModel->findBy($this->primaryRow, $rowId) as $row)
60 60
         {
61 61
             $access[static::formatInput($row->resource, $row->privilege)] = true;
62 62
         }
Please login to merge, or discard this patch.