mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-19 14:30:48 +00:00
3878e325f1
This isn't a perfect implementation yet: but it's enough to take a look at the memory usage and speed.
27 lines
919 B
XML
27 lines
919 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>
|
|
|
|
<exclude-pattern>samples/Header.php</exclude-pattern>
|
|
<exclude-pattern>*/tests/Core/*/*Test\.(inc|css|js)$</exclude-pattern>
|
|
|
|
<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>
|
|
|
|
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
|
|
<exclude-pattern>*/src/PhpSpreadsheet/Calculation/Engine/Functions/*</exclude-pattern>
|
|
</rule>
|
|
</ruleset>
|