@@ -178,8 +178,8 @@ protected function isEnabledByOption(): bool
178178 if (!\is_bool ($ this ->options )) {
179179 $ options = Utils::printList ($ this ->options );
180180 throw new Exception (
181- "Invalid option {$ options } for the \"{$ this ->getRuleCode ()}\" rule. " .
182- 'It should be true|false. ' ,
181+ "Invalid option {$ options } for the \"{$ this ->getRuleCode ()}\" rule. "
182+ . 'It should be true|false. ' ,
183183 );
184184 }
185185
@@ -198,8 +198,8 @@ protected function getOptionAsString(): string
198198 if (\is_array ($ this ->options )) {
199199 $ options = Utils::printList ($ this ->options );
200200 throw new Exception (
201- "Invalid option {$ options } for the \"{$ this ->getRuleCode ()}\" rule. " .
202- 'It should be int/float/string. ' ,
201+ "Invalid option {$ options } for the \"{$ this ->getRuleCode ()}\" rule. "
202+ . 'It should be int/float/string. ' ,
203203 );
204204 }
205205
@@ -218,8 +218,8 @@ protected function getOptionAsInt(): int
218218 if ($ this ->options === '' || !\is_numeric ($ this ->options )) {
219219 $ options = Utils::printList ($ this ->options );
220220 throw new Exception (
221- "Invalid option {$ options } for the \"{$ this ->getRuleCode ()}\" rule. " .
222- 'It should be integer. ' ,
221+ "Invalid option {$ options } for the \"{$ this ->getRuleCode ()}\" rule. "
222+ . 'It should be integer. ' ,
223223 );
224224 }
225225
@@ -238,8 +238,8 @@ protected function getOptionAsFloat(): float
238238 if ($ this ->options === '' || !\is_numeric ($ this ->options )) {
239239 $ options = Utils::printList ($ this ->options );
240240 throw new Exception (
241- "Invalid option {$ options } for the \"{$ this ->getRuleCode ()}\" rule. " .
242- 'It should be integer/float. ' ,
241+ "Invalid option {$ options } for the \"{$ this ->getRuleCode ()}\" rule. "
242+ . 'It should be integer/float. ' ,
243243 );
244244 }
245245
@@ -260,8 +260,8 @@ protected function getOptionAsArray(): array
260260 if (!\is_array ($ this ->options )) {
261261 $ options = Utils::printList ($ this ->options );
262262 throw new Exception (
263- "Invalid option {$ options } for the \"{$ this ->getRuleCode ()}\" rule. " .
264- 'It should be array of strings. ' ,
263+ "Invalid option {$ options } for the \"{$ this ->getRuleCode ()}\" rule. "
264+ . 'It should be array of strings. ' ,
265265 );
266266 }
267267
0 commit comments