forked from FirebirdSQL/php-firebird
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
executable file
·23 lines (19 loc) · 810 Bytes
/
phpcs.xml
File metadata and controls
executable file
·23 lines (19 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0"?>
<ruleset name="PHP-Firebird">
<description>PHP-Firebird Code Standards based on PSR-12</description>
<!-- Use PSR-12 as base -->
<rule ref="PSR12">
<!-- Exclude file-level docblock position rule - declare(strict_types=1)
before docblock is a valid and common pattern (Symfony, PHPStan, etc.) -->
<exclude name="PSR12.Files.FileHeader.IncorrectOrder"/>
</rule>
<!-- Exclude PSR1 side effects rule - our OO wrapper files legitimately
require_once the functions.php helper before defining classes -->
<rule ref="PSR1.Files.SideEffects">
<severity>0</severity>
</rule>
<!-- Paths to scan -->
<file>src/</file>
<!-- Exclude vendor directory -->
<exclude-pattern>vendor/</exclude-pattern>
</ruleset>