Test Setup Failed
Push — master ( 845097...013fb3 )
by Alexey
02:53
created
src/Skobkin/Bundle/PointToolsBundle/DTO/Api/Comment.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -40,32 +40,32 @@  discard block
 block discarded – undo
40 40
     private $isRec;
41 41
 
42 42
 
43
-    public function getPostId(): ?string
43
+    public function getPostId(): ? string
44 44
     {
45 45
         return $this->postId;
46 46
     }
47 47
 
48
-    public function setPostId(?string $postId): void
48
+    public function setPostId(? string $postId) : void
49 49
     {
50 50
         $this->postId = $postId;
51 51
     }
52 52
 
53
-    public function getNumber(): ?int
53
+    public function getNumber(): ? int
54 54
     {
55 55
         return $this->number;
56 56
     }
57 57
 
58
-    public function setNumber(?int $number): void
58
+    public function setNumber(? int $number) : void
59 59
     {
60 60
         $this->number = $number;
61 61
     }
62 62
 
63
-    public function getToCommentId(): ?int
63
+    public function getToCommentId(): ? int
64 64
     {
65 65
         return $this->toCommentId;
66 66
     }
67 67
 
68
-    public function setToCommentId(?int $toCommentId): void
68
+    public function setToCommentId(? int $toCommentId) : void
69 69
     {
70 70
         $this->toCommentId = $toCommentId;
71 71
     }
@@ -75,42 +75,42 @@  discard block
 block discarded – undo
75 75
         return $this->created;
76 76
     }
77 77
 
78
-    public function setCreated(?string $created): void
78
+    public function setCreated(? string $created) : void
79 79
     {
80 80
         $this->created = $created;
81 81
     }
82 82
 
83
-    public function getText(): ?string
83
+    public function getText(): ? string
84 84
     {
85 85
         return $this->text;
86 86
     }
87 87
 
88
-    public function setText(?string $text): void
88
+    public function setText(? string $text) : void
89 89
     {
90 90
         $this->text = $text;
91 91
     }
92 92
 
93
-    public function getAuthor(): ?User
93
+    public function getAuthor(): ? User
94 94
     {
95 95
         return $this->author;
96 96
     }
97 97
 
98
-    public function setAuthor(?User $author): void
98
+    public function setAuthor(? User $author) : void
99 99
     {
100 100
         $this->author = $author;
101 101
     }
102 102
 
103
-    public function isIsRec(): ?bool
103
+    public function isIsRec(): ? bool
104 104
     {
105 105
         return $this->isRec;
106 106
     }
107 107
 
108
-    public function getIsRec(): ?bool
108
+    public function getIsRec(): ? bool
109 109
     {
110 110
         return $this->isRec;
111 111
     }
112 112
 
113
-    public function setIsRec(?bool $isRec): void
113
+    public function setIsRec(? bool $isRec) : void
114 114
     {
115 115
         $this->isRec = $isRec;
116 116
     }
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/DTO/Api/Post.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -45,12 +45,12 @@  discard block
 block discarded – undo
45 45
     private $private;
46 46
 
47 47
 
48
-    public function getId(): ?string
48
+    public function getId(): ? string
49 49
     {
50 50
         return $this->id;
51 51
     }
52 52
 
53
-    public function setId(?string $id): void
53
+    public function setId(? string $id) : void
54 54
     {
55 55
         $this->id = $id;
56 56
     }
@@ -58,12 +58,12 @@  discard block
 block discarded – undo
58 58
     /**
59 59
      * @return string[]|null
60 60
      */
61
-    public function getTags(): ?array
61
+    public function getTags(): ? array
62 62
     {
63 63
         return $this->tags;
64 64
     }
65 65
 
66
-    public function setTags(?array $tags): void
66
+    public function setTags(? array $tags) : void
67 67
     {
68 68
         $this->tags = $tags;
69 69
     }
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * @return string[]|null
73 73
      */
74
-    public function getFiles(): ?array
74
+    public function getFiles(): ? array
75 75
     {
76 76
         return $this->files;
77 77
     }
@@ -79,62 +79,62 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * @param string[]|null $files
81 81
      */
82
-    public function setFiles(?array $files): void
82
+    public function setFiles(? array $files) : void
83 83
     {
84 84
         $this->files = $files;
85 85
     }
86 86
 
87
-    public function getAuthor(): ?User
87
+    public function getAuthor(): ? User
88 88
     {
89 89
         return $this->author;
90 90
     }
91 91
 
92
-    public function setAuthor(?User $author): void
92
+    public function setAuthor(? User $author) : void
93 93
     {
94 94
         $this->author = $author;
95 95
     }
96 96
 
97
-    public function getText(): ?string
97
+    public function getText(): ? string
98 98
     {
99 99
         return $this->text;
100 100
     }
101 101
 
102
-    public function setText(?string $text): void
102
+    public function setText(? string $text) : void
103 103
     {
104 104
         $this->text = $text;
105 105
     }
106 106
 
107
-    public function getCreated(): ?string
107
+    public function getCreated(): ? string
108 108
     {
109 109
         return $this->created;
110 110
     }
111 111
 
112
-    public function setCreated(?string $created): void
112
+    public function setCreated(? string $created) : void
113 113
     {
114 114
         $this->created = $created;
115 115
     }
116 116
 
117
-    public function getType(): ?string
117
+    public function getType(): ? string
118 118
     {
119 119
         return $this->type;
120 120
     }
121 121
 
122
-    public function setType(?string $type): void
122
+    public function setType(? string $type) : void
123 123
     {
124 124
         $this->type = $type;
125 125
     }
126 126
 
127
-    public function getPrivate(): ?bool
127
+    public function getPrivate(): ? bool
128 128
     {
129 129
         return $this->private;
130 130
     }
131 131
 
132
-    public function isPrivate(): ?bool
132
+    public function isPrivate(): ? bool
133 133
     {
134 134
         return $this->private;
135 135
     }
136 136
 
137
-    public function setPrivate(?bool $private): void
137
+    public function setPrivate(? bool $private) : void
138 138
     {
139 139
         $this->private = $private;
140 140
     }
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/DTO/Api/Auth.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -20,32 +20,32 @@
 block discarded – undo
20 20
     private $error;
21 21
 
22 22
 
23
-    public function getToken(): ?string
23
+    public function getToken(): ? string
24 24
     {
25 25
         return $this->token;
26 26
     }
27 27
 
28
-    public function setToken(?string $token): void
28
+    public function setToken(? string $token) : void
29 29
     {
30 30
         $this->token = $token;
31 31
     }
32 32
 
33
-    public function getCsRfToken(): ?string
33
+    public function getCsRfToken(): ? string
34 34
     {
35 35
         return $this->csRfToken;
36 36
     }
37 37
 
38
-    public function setCsRfToken(?string $csRfToken): void
38
+    public function setCsRfToken(? string $csRfToken) : void
39 39
     {
40 40
         $this->csRfToken = $csRfToken;
41 41
     }
42 42
 
43
-    public function getError(): ?string
43
+    public function getError(): ? string
44 44
     {
45 45
         return $this->error;
46 46
     }
47 47
 
48
-    public function setError(?string $error): void
48
+    public function setError(? string $error) : void
49 49
     {
50 50
         $this->error = $error;
51 51
     }
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/DTO/Api/PostsPage.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     /**
18 18
      * @return MetaPost[]|null
19 19
      */
20
-    public function getPosts(): ?array
20
+    public function getPosts(): ? array
21 21
     {
22 22
         return $this->posts;
23 23
     }
@@ -25,17 +25,17 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * @param MetaPost[]|null $posts
27 27
      */
28
-    public function setPosts(?array $posts): void
28
+    public function setPosts(? array $posts) : void
29 29
     {
30 30
         $this->posts = $posts;
31 31
     }
32 32
 
33
-    public function getHasNext(): ?bool
33
+    public function getHasNext(): ? bool
34 34
     {
35 35
         return $this->hasNext;
36 36
     }
37 37
 
38
-    public function setHasNext(?bool $hasNext): void
38
+    public function setHasNext(? bool $hasNext) : void
39 39
     {
40 40
         $this->hasNext = $hasNext;
41 41
     }
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/DTO/Api/MetaPost.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@  discard block
 block discarded – undo
15 15
     private $comments;
16 16
 
17 17
 
18
-    public function getPost(): ?Post
18
+    public function getPost(): ? Post
19 19
     {
20 20
         return $this->post;
21 21
     }
22 22
 
23
-    public function setPost(?Post $post): void
23
+    public function setPost(? Post $post) : void
24 24
     {
25 25
         $this->post = $post;
26 26
     }
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * @return Comment[]|null
30 30
      */
31
-    public function getComments(): ?array
31
+    public function getComments(): ? array
32 32
     {
33 33
         return $this->comments;
34 34
     }
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * @param Comment[]|null $comments
38 38
      */
39
-    public function setComments(?array $comments): void
39
+    public function setComments(? array $comments) : void
40 40
     {
41 41
         $this->comments = $comments;
42 42
     }
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/DTO/Api/User.php 1 patch
Spacing   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -75,142 +75,142 @@
 block discarded – undo
75 75
     private $error;
76 76
 
77 77
 
78
-    public function getId(): ?string
78
+    public function getId(): ? string
79 79
     {
80 80
         return $this->id;
81 81
     }
82 82
 
83
-    public function setId(?string $id): void
83
+    public function setId(? string $id) : void
84 84
     {
85 85
         $this->id = $id;
86 86
     }
87 87
 
88
-    public function getLogin(): ?string
88
+    public function getLogin(): ? string
89 89
     {
90 90
         return $this->login;
91 91
     }
92 92
 
93
-    public function setLogin(?string $login): void
93
+    public function setLogin(? string $login) : void
94 94
     {
95 95
         $this->login = $login;
96 96
     }
97 97
 
98
-    public function getName(): ?string
98
+    public function getName(): ? string
99 99
     {
100 100
         return $this->name;
101 101
     }
102 102
     
103
-    public function setName(?string $name): void
103
+    public function setName(? string $name) : void
104 104
     {
105 105
         $this->name = $name;
106 106
     }
107 107
 
108
-    public function getAbout(): ?string
108
+    public function getAbout(): ? string
109 109
     {
110 110
         return $this->about;
111 111
     }
112 112
 
113
-    public function setAbout(?string $about): void
113
+    public function setAbout(? string $about) : void
114 114
     {
115 115
         $this->about = $about;
116 116
     }
117 117
 
118
-    public function getXmpp(): ?string
118
+    public function getXmpp(): ? string
119 119
     {
120 120
         return $this->xmpp;
121 121
     }
122 122
 
123
-    public function setXmpp(?string $xmpp): void
123
+    public function setXmpp(? string $xmpp) : void
124 124
     {
125 125
         $this->xmpp = $xmpp;
126 126
     }
127 127
 
128
-    public function getCreated(): ?string
128
+    public function getCreated(): ? string
129 129
     {
130 130
         return $this->created;
131 131
     }
132 132
 
133
-    public function setCreated(?string $created): void
133
+    public function setCreated(? string $created) : void
134 134
     {
135 135
         $this->created = $created;
136 136
     }
137 137
 
138
-    public function getGender(): ?bool
138
+    public function getGender(): ? bool
139 139
     {
140 140
         return $this->gender;
141 141
     }
142 142
 
143
-    public function setGender(?bool $gender): void
143
+    public function setGender(? bool $gender) : void
144 144
     {
145 145
         $this->gender = $gender;
146 146
     }
147 147
 
148
-    public function getDenyAnonymous(): ?bool
148
+    public function getDenyAnonymous(): ? bool
149 149
     {
150 150
         return $this->denyAnonymous;
151 151
     }
152 152
 
153
-    public function setDenyAnonymous(?bool $denyAnonymous): void
153
+    public function setDenyAnonymous(? bool $denyAnonymous) : void
154 154
     {
155 155
         $this->denyAnonymous = $denyAnonymous;
156 156
     }
157 157
 
158
-    public function getPrivate(): ?bool
158
+    public function getPrivate(): ? bool
159 159
     {
160 160
         return $this->private;
161 161
     }
162 162
 
163
-    public function setPrivate(?bool $private): void
163
+    public function setPrivate(? bool $private) : void
164 164
     {
165 165
         $this->private = $private;
166 166
     }
167 167
 
168
-    public function getBirthDate(): ?string
168
+    public function getBirthDate(): ? string
169 169
     {
170 170
         return $this->birthDate;
171 171
     }
172 172
 
173
-    public function setBirthDate(?string $birthDate): void
173
+    public function setBirthDate(? string $birthDate) : void
174 174
     {
175 175
         $this->birthDate = $birthDate;
176 176
     }
177 177
 
178
-    public function getHomepage(): ?string
178
+    public function getHomepage(): ? string
179 179
     {
180 180
         return $this->homepage;
181 181
     }
182 182
 
183
-    public function setHomepage(?string $homepage): void
183
+    public function setHomepage(? string $homepage) : void
184 184
     {
185 185
         $this->homepage = $homepage;
186 186
     }
187 187
 
188
-    public function getEmail(): ?string
188
+    public function getEmail(): ? string
189 189
     {
190 190
         return $this->email;
191 191
     }
192 192
 
193
-    public function setEmail(?string $email): void
193
+    public function setEmail(? string $email) : void
194 194
     {
195 195
         $this->email = $email;
196 196
     }
197 197
 
198
-    public function getLocation(): ?string
198
+    public function getLocation(): ? string
199 199
     {
200 200
         return $this->location;
201 201
     }
202 202
 
203
-    public function setLocation(?string $location): void
203
+    public function setLocation(? string $location) : void
204 204
     {
205 205
         $this->location = $location;
206 206
     }
207 207
 
208
-    public function getError(): ?string
208
+    public function getError(): ? string
209 209
     {
210 210
         return $this->error;
211 211
     }
212 212
 
213
-    public function setError(?string $error): void
213
+    public function setError(? string $error) : void
214 214
     {
215 215
         $this->error = $error;
216 216
     }
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Entity/User.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -112,12 +112,12 @@  discard block
 block discarded – undo
112 112
         return $this->login;
113 113
     }
114 114
 
115
-    public function getName(): ?string
115
+    public function getName(): ? string
116 116
     {
117 117
         return $this->name;
118 118
     }
119 119
 
120
-    public function updateLoginAndName(string $login, ?string $name): self
120
+    public function updateLoginAndName(string $login, ? string $name) : self
121 121
     {
122 122
         $this->login = $login;
123 123
         $this->name = $name;
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
         return $this->createdAt;
174 174
     }
175 175
 
176
-    public function getUpdatedAt(): ?\DateTime
176
+    public function getUpdatedAt(): ? \DateTime
177 177
     {
178 178
         return $this->updatedAt;
179 179
     }
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Repository/UserRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
         $this->getEntityManager()->persist($entity);
14 14
     }
15 15
 
16
-    public function findActiveUserWithSubscribers(int $id): ?User
16
+    public function findActiveUserWithSubscribers(int $id): ? User
17 17
     {
18 18
         $qb = $this->createQueryBuilder('u');
19 19
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * Case-insensitive user search
34 34
      */
35
-    public function findUserByLogin(string $login): ?User
35
+    public function findUserByLogin(string $login): ? User
36 36
     {
37 37
         $qb = $this->createQueryBuilder('u');
38 38
 
Please login to merge, or discard this patch.