|
85 | 85 | <rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue"/>
|
86 | 86 | <rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint"/>
|
87 | 87 | <rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint"/>
|
88 |
| - |
89 | 88 | <!--<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint"/>-->
|
90 | 89 |
|
91 | 90 | <rule ref="SlevomatCodingStandard.Variables.DisallowVariableVariable"/>
|
|
108 | 107 |
|
109 | 108 | <rule ref="SlevomatCodingStandard.Variables.DisallowSuperGlobalVariable">
|
110 | 109 | <exclude-pattern>examples</exclude-pattern>
|
111 |
| - <exclude-pattern>src/Storage/SessionStorage.php</exclude-pattern> |
112 |
| - <exclude-pattern>tests/Storage/SessionStorageTest.php</exclude-pattern> |
113 | 110 | </rule>
|
114 | 111 |
|
115 |
| - <rule ref="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat"> |
| 112 | + <rule ref="SlevomatCodingStandard.TypeHints.DNFTypeHintFormat"> |
116 | 113 | <properties>
|
117 |
| - <property name="withSpaces" value="no"/> |
118 | 114 | <property name="shortNullable" value="no"/>
|
119 | 115 | <property name="nullPosition" value="last"/>
|
120 | 116 | </properties>
|
|
147 | 143 | <rule ref="Generic.ControlStructures.InlineControlStructure"/>
|
148 | 144 | <rule ref="Generic.Formatting.DisallowMultipleStatements"/>
|
149 | 145 | <!--<rule ref="Generic.Formatting.MultipleStatementAlignment"/>-->
|
150 |
| - <rule ref="Generic.Formatting.NoSpaceAfterCast"/> |
151 |
| - <rule ref="Generic.Functions.CallTimePassByReference"/> |
152 | 146 | <!--<rule ref="Generic.NamingConventions.InterfaceNameSuffix"/>-->
|
153 | 147 | <rule ref="Generic.NamingConventions.TraitNameSuffix"/>
|
154 | 148 | <rule ref="Generic.PHP.BacktickOperator"/>
|
|
183 | 177 |
|
184 | 178 |
|
185 | 179 | <rule ref="Squiz.Arrays.ArrayBracketSpacing"/>
|
186 |
| - <rule ref="Squiz.Classes.DuplicateProperty"/> |
187 | 180 | <rule ref="Squiz.Classes.LowercaseClassKeywords"/>
|
188 | 181 | <rule ref="Squiz.Classes.SelfMemberReference"/>
|
189 | 182 | <rule ref="Squiz.Commenting.DocCommentAlignment"/>
|
|
241 | 234 | <exclude-pattern>examples</exclude-pattern>
|
242 | 235 | </rule>
|
243 | 236 |
|
| 237 | + <rule ref="Generic.Formatting.SpaceAfterCast"> |
| 238 | + <properties> |
| 239 | + <property name="spacing" value="0"/> |
| 240 | + </properties> |
| 241 | + </rule> |
| 242 | + |
244 | 243 | <rule ref="Generic.Formatting.SpaceAfterNot">
|
245 | 244 | <properties>
|
246 | 245 | <property name="spacing" value="0" />
|
|
0 commit comments