@@ -35,8 +35,8 @@ |
||
35 | 35 | $standardDir = dirname($standardRuleset); |
36 | 36 | |
37 | 37 | $classLoader->addPsr4( |
38 | - $standardNamespace . '\\', |
|
39 | - $standardDir . DIRECTORY_SEPARATOR . $standardNamespace |
|
38 | + $standardNamespace.'\\', |
|
39 | + $standardDir.DIRECTORY_SEPARATOR.$standardNamespace |
|
40 | 40 | ); |
41 | 41 | } |
42 | 42 | } |
@@ -57,12 +57,12 @@ discard block |
||
57 | 57 | return $this->resolveArrayValue($property); |
58 | 58 | } |
59 | 59 | |
60 | - return (string)$property['value']; |
|
60 | + return (string) $property['value']; |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | private function isArrayValue(SimpleXMLElement $property) : bool |
64 | 64 | { |
65 | - return isset($property['type']) === true && (string)$property['type'] === 'array'; |
|
65 | + return isset($property['type']) === true && (string) $property['type'] === 'array'; |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | private function resolveArrayValue(SimpleXMLElement $arrayProperty) : array |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | foreach (explode(',', $value) as $val) { |
74 | 74 | $v = ''; |
75 | 75 | |
76 | - list($key, $v) = explode('=>', $val . '=>'); |
|
76 | + list($key, $v) = explode('=>', $val.'=>'); |
|
77 | 77 | if ($v !== '') { |
78 | 78 | $values[$key] = $v; |
79 | 79 | } else { |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function createFromSniffClassNames( |
20 | 20 | array $sniffClasses, |
21 | - array $customProperties=[] |
|
21 | + array $customProperties = [] |
|
22 | 22 | ) : array { |
23 | 23 | $sniffs = []; |
24 | 24 | foreach ($sniffClasses as $sniffCode => $sniffClass) { |