mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-25 18:48:21 +00:00
f1a61c4c6b
Phpstan level 10 reports an enormous number of errors. So does the excluded missingType.iterableValue. I do not plan to introduce either any time soon. But I will submit piecemeal changes from time to time. Changes will be mostly limited to phpdoc type declarations.
22 lines
662 B
XML
22 lines
662 B
XML
<?xml version="1.0"?>
|
|
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer"
|
|
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
|
|
|
|
<file>samples</file>
|
|
<file>src</file>
|
|
<file>tests</file>
|
|
<file>infra</file>
|
|
<file>bin</file>
|
|
|
|
<arg name="report-width" value="200"/>
|
|
<arg name="parallel" value="80"/>
|
|
<arg name="cache" value="/tmp/.phpspreadsheet.phpcs-cache"/>
|
|
<arg name="colors"/>
|
|
<arg value="np"/>
|
|
|
|
<!-- Include the whole PSR12 standard -->
|
|
<rule ref="PSR12">
|
|
<exclude name="PSR2.Methods.MethodDeclaration.Underscore"/>
|
|
</rule>
|
|
</ruleset>
|