2020-10-07 20:48:33 +02:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Deployer"
|
|
|
|
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
|
|
|
|
<config name="installed_paths" value="../../slevomat/coding-standard"/><!-- relative path from PHPCS source location -->
|
|
|
|
|
|
|
|
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
|
|
|
|
<properties>
|
2022-03-13 00:41:32 +01:00
|
|
|
<property name="declareOnFirstLine" value="1" />
|
2020-10-07 20:48:33 +02:00
|
|
|
<property name="newlinesCountBetweenOpenTagAndDeclare" value="0" />
|
|
|
|
<property name="newlinesCountAfterDeclare" value="1" />
|
|
|
|
<property name="spacesCountAroundEqualsSign" value="0" />
|
|
|
|
</properties>
|
|
|
|
</rule>
|
2022-03-12 18:28:16 -05:00
|
|
|
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint">
|
|
|
|
<exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification" />
|
|
|
|
<exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingNativeTypeHint" />
|
|
|
|
</rule>
|
2020-10-07 20:48:33 +02:00
|
|
|
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint">
|
|
|
|
<exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification" />
|
2022-03-12 18:28:16 -05:00
|
|
|
<exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint" />
|
2020-10-07 20:48:33 +02:00
|
|
|
</rule>
|
|
|
|
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint">
|
|
|
|
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification" />
|
2020-10-16 22:54:20 +02:00
|
|
|
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint" />
|
2020-10-07 20:48:33 +02:00
|
|
|
</rule>
|
|
|
|
|
2020-11-17 16:48:49 +01:00
|
|
|
<file>src</file>
|
2020-10-07 20:48:33 +02:00
|
|
|
|
|
|
|
<arg name="basepath" value="."/>
|
|
|
|
<arg name="colors"/>
|
|
|
|
<arg name="parallel" value="75"/>
|
|
|
|
<arg value="np"/>
|
|
|
|
</ruleset>
|