Completed
Push — master ( 0a29d9...18f9eb )
by Dion
03:08
created
src/Command/RestoreSectionCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare (strict_types = 1);
12
+declare(strict_types=1);
13 13
 
14 14
 namespace Tardigrades\Command;
15 15
 
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     {
95 95
         $question = new Question('<question>Choose record.</question> (#id): ');
96 96
 
97
-        $question->setValidator(function ($id) {
97
+        $question->setValidator(function($id) {
98 98
             try {
99 99
                 return $this->sectionHistoryManager->read(Id::fromInt((int) $id));
100 100
             } catch (SectionHistoryNotFoundException $exception) {
Please login to merge, or discard this patch.
src/Command/DeleteFieldTypeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare (strict_types = 1);
12
+declare(strict_types=1);
13 13
 
14 14
 namespace Tardigrades\Command;
15 15
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     private function getFieldType(InputInterface $input, OutputInterface $output): FieldType
103 103
     {
104 104
         $question = new Question('<question>What record do you want to delete?</question> (#id): ');
105
-        $question->setValidator(function ($id) {
105
+        $question->setValidator(function($id) {
106 106
             try {
107 107
                 return $this->fieldTypeManager->read(Id::fromInt((int) $id));
108 108
             } catch (FieldTypeNotFoundException $exception) {
Please login to merge, or discard this patch.
src/Command/UpdateFieldCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare (strict_types = 1);
12
+declare(strict_types=1);
13 13
 
14 14
 namespace Tardigrades\Command;
15 15
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     private function getField(InputInterface $input, OutputInterface $output): Field
81 81
     {
82 82
         $question = new Question('<question>What record do you want to update?</question> (#id): ');
83
-        $question->setValidator(function ($id) {
83
+        $question->setValidator(function($id) {
84 84
             try {
85 85
                 return $this->fieldManager->read(Id::fromInt((int) $id));
86 86
             } catch (FieldNotFoundException $exception) {
Please login to merge, or discard this patch.
src/Command/DeleteFieldCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare (strict_types = 1);
12
+declare(strict_types=1);
13 13
 
14 14
 namespace Tardigrades\Command;
15 15
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     private function getField(InputInterface $input, OutputInterface $output): ?Field
87 87
     {
88 88
         $question = new Question('<question>What record do you want to delete?</question> (#id): ');
89
-        $question->setValidator(function ($id) {
89
+        $question->setValidator(function($id) {
90 90
             try {
91 91
                 return $this->fieldManager->read(Id::fromInt((int) $id));
92 92
             } catch (FieldNotFoundException $exception) {
Please login to merge, or discard this patch.
src/Command/DeleteApplicationCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare (strict_types = 1);
12
+declare(strict_types=1);
13 13
 
14 14
 namespace Tardigrades\Command;
15 15
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     private function getApplicationRecord(InputInterface $input, OutputInterface $output): ?ApplicationInterface
69 69
     {
70 70
         $question = new Question('<question>What record do you want to delete?</question> (#id): ');
71
-        $question->setValidator(function ($id) {
71
+        $question->setValidator(function($id) {
72 72
             try {
73 73
                 return $this->applicationManager->read(Id::fromInt((int) $id));
74 74
             } catch (ApplicationNotFoundException $exception) {
Please login to merge, or discard this patch.
src/Command/UpdateFieldTypeCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare (strict_types = 1);
12
+declare(strict_types=1);
13 13
 
14 14
 namespace Tardigrades\Command;
15 15
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     private function getFieldType(InputInterface $input, OutputInterface $output): FieldType
72 72
     {
73 73
         $question = new Question('<question>What record do you want to update?</question> (#id): ');
74
-        $question->setValidator(function ($id) {
74
+        $question->setValidator(function($id) {
75 75
             try {
76 76
                 return $this->fieldTypeManager->read(Id::fromInt((int) $id));
77 77
             } catch (FieldTypeNotFoundException $exception) {
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
             $fieldType->getFullyQualifiedClassName() .
97 97
             '): '
98 98
         );
99
-        $updateQuestion->setValidator(function ($fullyQualifiedClassName) {
99
+        $updateQuestion->setValidator(function($fullyQualifiedClassName) {
100 100
             return FullyQualifiedClassName::fromString($fullyQualifiedClassName);
101 101
         });
102 102
 
Please login to merge, or discard this patch.
src/DependencyInjection/SexyFieldExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare (strict_types = 1);
12
+declare(strict_types=1);
13 13
 
14 14
 namespace Tardigrades\DependencyInjection;
15 15
 
Please login to merge, or discard this patch.
src/Entity/SectionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare (strict_types = 1);
12
+declare(strict_types=1);
13 13
 
14 14
 namespace Tardigrades\Entity;
15 15
 
Please login to merge, or discard this patch.
src/Helper/FullyQualifiedClassNameConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare (strict_types = 1);
12
+declare(strict_types=1);
13 13
 
14 14
 namespace Tardigrades\Helper;
15 15
 
Please login to merge, or discard this patch.