1
0
mirror of https://github.com/ovh/php-ovh.git synced 2023-11-05 03:20:26 +01:00
php-ovh/phpcs.xml
Adrien Barreau 255b26a56e feat: allow /v1 or /v2 prefixes in path
- allow /v1 and /v2
- always send X-Ovh-Application
- rewrite test mocks

Signed-off-by: Adrien Barreau <adrien.barreau@ovhcloud.com>
2023-03-31 17:23:35 +00:00

16 lines
453 B
XML

<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
<rule ref="PSR2" />
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="180"/>
</properties>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<file>src</file>
<file>tests</file>
<arg name="encoding" value="utf-8"/>
</ruleset>