mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +00:00
This commit is contained in:
parent
970c6b8127
commit
fbf703b4db
|
|
@ -66,11 +66,11 @@
|
||||||
<rule ref="Generic.PHP.DisallowAlternativePHPTags"/>
|
<rule ref="Generic.PHP.DisallowAlternativePHPTags"/>
|
||||||
<rule ref="Generic.PHP.DisallowShortOpenTag"/>
|
<rule ref="Generic.PHP.DisallowShortOpenTag"/>
|
||||||
<rule ref="Generic.PHP.DiscourageGoto"/>
|
<rule ref="Generic.PHP.DiscourageGoto"/>
|
||||||
<!--<rule ref="Generic.PHP.ForbiddenFunctions">
|
<rule ref="Generic.PHP.ForbiddenFunctions">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="forbiddenFunctions" type="array" value="delete=>unset,print=>echo,create_function=>null" />
|
<property name="forbiddenFunctions" type="array" value="delete=>unset,print=>echo,create_function=>null" />
|
||||||
</properties>
|
</properties>
|
||||||
</rule>-->
|
</rule>
|
||||||
<rule ref="Generic.Files.ByteOrderMark"/>
|
<rule ref="Generic.Files.ByteOrderMark"/>
|
||||||
<!--<rule ref="Generic.Files.LineLength">
|
<!--<rule ref="Generic.Files.LineLength">
|
||||||
<properties>
|
<properties>
|
||||||
|
|
@ -164,7 +164,6 @@
|
||||||
<exclude-pattern>*Pdf.php</exclude-pattern><!-- Just a wrapper -->
|
<exclude-pattern>*Pdf.php</exclude-pattern><!-- Just a wrapper -->
|
||||||
<exclude-pattern>*Excel.php</exclude-pattern><!-- Just a wrapper -->
|
<exclude-pattern>*Excel.php</exclude-pattern><!-- Just a wrapper -->
|
||||||
<exclude-pattern>*/tests/*</exclude-pattern><!-- Tests don't always have side effects -->
|
<exclude-pattern>*/tests/*</exclude-pattern><!-- Tests don't always have side effects -->
|
||||||
<exclude-pattern>*/Interfaces/*</exclude-pattern><!-- Interfaces use require_once due to unknown upload locations and therefore no autoloading -->
|
|
||||||
</rule>
|
</rule>
|
||||||
<rule ref="PSR2.Classes.ClassDeclaration"/>
|
<rule ref="PSR2.Classes.ClassDeclaration"/>
|
||||||
<rule ref="PSR2.Classes.PropertyDeclaration"/>
|
<rule ref="PSR2.Classes.PropertyDeclaration"/>
|
||||||
|
|
@ -206,12 +205,11 @@
|
||||||
<property name="ignoreNewlines" value="true"/>
|
<property name="ignoreNewlines" value="true"/>
|
||||||
</properties>
|
</properties>
|
||||||
</rule>
|
</rule>
|
||||||
<!--<rule ref="Squiz.WhiteSpace.OperatorSpacing">
|
<rule ref="Squiz.WhiteSpace.OperatorSpacing">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="ignoreNewlines" value="true"/>
|
<property name="ignoreNewlines" value="true"/>
|
||||||
</properties>
|
</properties>
|
||||||
<exclude-pattern>*HttpUri.js</exclude-pattern>--><!-- Regex false positive -->
|
</rule>
|
||||||
<!--</rule>-->
|
|
||||||
<rule ref="Squiz.WhiteSpace.ScopeKeywordSpacing">
|
<rule ref="Squiz.WhiteSpace.ScopeKeywordSpacing">
|
||||||
</rule>
|
</rule>
|
||||||
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
|
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
|
||||||
|
|
@ -221,6 +219,5 @@
|
||||||
<property name="tabIndent" value="true"/>
|
<property name="tabIndent" value="true"/>
|
||||||
</properties>
|
</properties>
|
||||||
<exclude-pattern>*ResponseType.js</exclude-pattern>
|
<exclude-pattern>*ResponseType.js</exclude-pattern>
|
||||||
<exclude-pattern>*HttpUri.js</exclude-pattern>
|
|
||||||
</rule>
|
</rule>
|
||||||
</ruleset>
|
</ruleset>
|
||||||
|
|
@ -8,9 +8,6 @@ parameters:
|
||||||
universalObjectCratesClasses:
|
universalObjectCratesClasses:
|
||||||
- Stripe\StripeObject
|
- Stripe\StripeObject
|
||||||
reportUnmatchedIgnoredErrors: false
|
reportUnmatchedIgnoredErrors: false
|
||||||
inferPrivatePropertyTypeFromConstructor: true
|
|
||||||
checkMissingIterableValueType: false
|
|
||||||
checkGenericClassInNonGenericObjectType: false
|
|
||||||
treatPhpDocTypesAsCertain: false
|
treatPhpDocTypesAsCertain: false
|
||||||
excludePaths:
|
excludePaths:
|
||||||
- *.tpl.php
|
- *.tpl.php
|
||||||
|
|
@ -56,6 +53,10 @@ parameters:
|
||||||
- *Datamatrix.php
|
- *Datamatrix.php
|
||||||
- *QR.php
|
- *QR.php
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
|
-
|
||||||
|
identifier: missingType.iterableValue
|
||||||
|
-
|
||||||
|
identifier: missingType.generics
|
||||||
- '#^Call to an undefined method phpOMS\\Module\\ModuleAbstract::[.]*#'
|
- '#^Call to an undefined method phpOMS\\Module\\ModuleAbstract::[.]*#'
|
||||||
- '#expects phpOMS\\Algorithm\\PathFinding\\JumpPointNode\|null, phpOMS\\Algorithm\\PathFinding\\Node\|null given#'
|
- '#expects phpOMS\\Algorithm\\PathFinding\\JumpPointNode\|null, phpOMS\\Algorithm\\PathFinding\\Node\|null given#'
|
||||||
- '#should return array<phpOMS\\Algorithm\\PathFinding\\Node> but returns array<int, phpOMS\\Algorithm\\PathFinding\\Node\|null#'
|
- '#should return array<phpOMS\\Algorithm\\PathFinding\\Node> but returns array<int, phpOMS\\Algorithm\\PathFinding\\Node\|null#'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user