Merge branch 'master' of gitea:museum-digital/MD_QA
This commit is contained in:
@ -13,30 +13,31 @@
|
||||
<rule ref='Squiz.Commenting.FunctionComment'/>
|
||||
<rule ref='Squiz.Commenting.ClassComment'/>
|
||||
|
||||
<rule ref='SlevomatCodingStandard.PHP.UselessParentheses'/>
|
||||
<!-- <rule ref='SlevomatCodingStandard.PHP.UselessParentheses'/>-->
|
||||
<rule ref='SlevomatCodingStandard.PHP.OptimizedFunctionsWithoutUnpacking'/>
|
||||
<!-- <rule ref='SlevomatCodingStandard.Variables.DisallowSuperGlobalVariable'/> -->
|
||||
<rule ref='SlevomatCodingStandard.Variables.DuplicateAssignmentToVariable'/>
|
||||
<!-- <rule ref='SlevomatCodingStandard.Variables.UnusedVariable'/> -->
|
||||
<!-- <rule ref='SlevomatCodingStandard.Variables.UselessVariable'/> -->
|
||||
<rule ref='SlevomatCodingStandard.Variables.UselessVariable'/>
|
||||
<rule ref='SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace'/>
|
||||
<rule ref='SlevomatCodingStandard.Classes.ConstantSpacing'/>
|
||||
<rule ref='SlevomatCodingStandard.PHP.TypeCast'/>
|
||||
<!-- <rule ref='SlevomatCodingStandard.Classes.ClassConstantVisibility'/> -->
|
||||
<rule ref='SlevomatCodingStandard.Classes.ClassConstantVisibility'/>
|
||||
|
||||
<rule ref='SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing'/>
|
||||
<rule ref='SlevomatCodingStandard.TypeHints.PropertyTypeHintSpacing'/>
|
||||
<!-- <rule ref='SlevomatCodingStandard.TypeHints.PropertyTypeHintSpacing'/> -->
|
||||
|
||||
<!--
|
||||
<rule ref="SlevomatCodingStandard.Classes.ClassStructure">
|
||||
<properties>
|
||||
<property name="groups" type="array">
|
||||
<element value="uses"/>
|
||||
|
||||
<!-- Public constants are first but you don't care about the order of protected or private constants -->
|
||||
Public constants are first but you don't care about the order of protected or private constants
|
||||
<element value="public constants"/>
|
||||
<element value="constants"/>
|
||||
|
||||
<!-- You don't care about the order among the properties. The same can be done with "properties" shortcut -->
|
||||
You don't care about the order among the properties. The same can be done with "properties" shortcut
|
||||
<element value="public static properties, protected static properties, private static properties"/>
|
||||
<element value="public properties, protected properties, private properties"/>
|
||||
|
||||
@ -47,6 +48,7 @@
|
||||
</property>
|
||||
</properties>
|
||||
</rule>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<rule ref='PEAR.ControlStructures.ControlSignature'>
|
||||
|
@ -100,19 +100,11 @@ rules:
|
||||
- PHPStan\Rules\VariableVariables\VariableStaticMethodCallRule
|
||||
- PHPStan\Rules\VariableVariables\VariableStaticPropertyFetchRule
|
||||
- PHPStan\Rules\VariableVariables\VariableVariablesRule
|
||||
- Ergebnis\PHPStan\Rules\Closures\NoNullableReturnTypeDeclarationRule
|
||||
- Ergebnis\PHPStan\Rules\Closures\NoParameterWithNullableTypeDeclarationRule
|
||||
- Ergebnis\PHPStan\Rules\Expressions\NoCompactRule
|
||||
- Ergebnis\PHPStan\Rules\Expressions\NoErrorSuppressionRule
|
||||
- Ergebnis\PHPStan\Rules\Expressions\NoEvalRule
|
||||
- Ergebnis\PHPStan\Rules\Files\DeclareStrictTypesRule
|
||||
- Ergebnis\PHPStan\Rules\Functions\NoNullableReturnTypeDeclarationRule
|
||||
- Ergebnis\PHPStan\Rules\Functions\NoParameterWithNullableTypeDeclarationRule
|
||||
- Ergebnis\PHPStan\Rules\Functions\NoParameterWithNullDefaultValueRule
|
||||
- Ergebnis\PHPStan\Rules\Methods\FinalInAbstractClassRule
|
||||
- Ergebnis\PHPStan\Rules\Methods\NoNullableReturnTypeDeclarationRule
|
||||
- Ergebnis\PHPStan\Rules\Methods\NoParameterWithNullableTypeDeclarationRule
|
||||
- Ergebnis\PHPStan\Rules\Methods\NoParameterWithNullDefaultValueRule
|
||||
- Ergebnis\PHPStan\Rules\Methods\PrivateInFinalClassRule
|
||||
|
||||
services:
|
||||
@ -147,9 +139,3 @@ services:
|
||||
tags:
|
||||
- phpstan.rules.rule
|
||||
|
||||
-
|
||||
class: Ergebnis\PHPStan\Rules\Methods\NoParameterWithContainerTypeDeclarationRule
|
||||
arguments:
|
||||
interfacesImplementedByContainers: %ergebnis.interfacesImplementedByContainers%
|
||||
tags:
|
||||
- phpstan.rules.rule
|
||||
|
Reference in New Issue
Block a user