mirror of https://github.com/MISP/MISP
Merge branch '3.x' of github.com:MISP/MISP into 3.x
commit
ce6825ccaa
|
@ -30,6 +30,7 @@
|
|||
"fakerphp/faker": "^1.21",
|
||||
"josegonzalez/dotenv": "^3.2",
|
||||
"league/openapi-psr7-validator": "^0.17",
|
||||
"phpcsstandards/phpcsextra": "^1.2.0",
|
||||
"phpstan/phpstan": "^1.10",
|
||||
"phpunit/phpunit": "^9.5",
|
||||
"psy/psysh": "@stable",
|
||||
|
|
14
phpcs.xml
14
phpcs.xml
|
@ -14,13 +14,20 @@
|
|||
<arg name="parallel" value="75" />
|
||||
<arg value="np" />
|
||||
|
||||
<rule ref="PSR12" />
|
||||
|
||||
<!-- Arrays -->
|
||||
<rule ref="NormalizedArrays.Arrays.ArrayBraceSpacing" />
|
||||
<rule ref="Generic.Arrays.ArrayIndent" />
|
||||
<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
|
||||
|
||||
|
||||
<!-- Don't hide tokenizer exceptions -->
|
||||
<rule ref="Internal.Tokenizer.Exception">
|
||||
<type>error</type>
|
||||
</rule>
|
||||
|
||||
<!-- Include some sniffs from other standards that don't conflict with PEAR -->
|
||||
<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
|
||||
<rule ref="Generic.PHP.DeprecatedFunctions" />
|
||||
<rule ref="Generic.Strings.UnnecessaryStringConcat" />
|
||||
<rule ref="Generic.WhiteSpace.IncrementDecrementSpacing" />
|
||||
|
@ -55,11 +62,6 @@
|
|||
</properties>
|
||||
</rule>
|
||||
|
||||
<rule ref="Squiz.Arrays.ArrayDeclaration">
|
||||
<exclude name="Squiz.Arrays.ArrayDeclaration.OpenBraceNotAligned" />
|
||||
<exclude name="Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned" />
|
||||
</rule>
|
||||
|
||||
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
|
||||
<severity>0</severity>
|
||||
</rule>
|
||||
|
|
Loading…
Reference in New Issue