mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +00:00
fix phpstan and phpcs
This commit is contained in:
parent
3b01aafcec
commit
d713eeff0b
|
|
@ -87,7 +87,10 @@
|
|||
<rule ref="Generic.Formatting.DisallowMultipleStatements">
|
||||
<exclude-pattern>*/tests/*</exclude-pattern><!-- inline function definition -->
|
||||
</rule>
|
||||
<rule ref="Generic.Formatting.MultipleStatementAlignment"/>
|
||||
<rule ref="Generic.Formatting.MultipleStatementAlignment">
|
||||
<exclude-pattern>*oLib.js</exclude-pattern><!-- I don't know why it doesn't understand this -->
|
||||
<exclude-pattern>*StringUtils.js</exclude-pattern><!-- I don't know why it doesn't understand this -->
|
||||
</rule>
|
||||
<rule ref="Generic.Formatting.SpaceAfterCast"/>
|
||||
<rule ref="Generic.Functions.CallTimePassByReference"/>
|
||||
<!--<rule ref="Generic.Metrics.CyclomaticComplexity">
|
||||
|
|
|
|||
|
|
@ -135,3 +135,17 @@ parameters:
|
|||
count: 1
|
||||
path: *phpOMS/System/File/Local/Directory.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#2 \\$count of function array_fill expects int\\<0, max\\>, int given\\.$#"
|
||||
count: 1
|
||||
path: *phpOMS/Algorithm/Knapsack/Bounded.php
|
||||
|
||||
-
|
||||
message: "#^Offset 'currency' does not exist on SimpleXMLElement\\|null\\.$#"
|
||||
count: 1
|
||||
path: *phpOMS/Utils/Converter/Currency.php
|
||||
|
||||
-
|
||||
message: "#^Offset 'rate' does not exist on SimpleXMLElement\\|null\\.$#"
|
||||
count: 1
|
||||
path: *phpOMS/Utils/Converter/Currency.php
|
||||
Loading…
Reference in New Issue
Block a user