-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
31 lines (24 loc) · 936 Bytes
/
phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0"?>
<!--
* Laravel API Response Builder - PHP Code Sniffer config file
*
* @author Marcin Orlowski <mail (#) marcinOrlowski (.) com>
* @copyright 2016-2022 Marcin Orlowski
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link https://github.com/MarcinOrlowski/laravel-api-response-builder
*
-->
<ruleset name="Custom Standard" namespace="MyProject\CS\Standard">
<!-- what to sniff -->
<file>src/</file>
<file>tests/</file>
<file>config/</file>
<!-- let's make shown paths relative -->
<arg name="basepath" value="."/>
<arg name="report" value="full"/>
<!-- Include full Sniff name in report (like -s) -->
<arg value="s"/>
<autoload>vendor/autoload.php</autoload>
<!-- import rules from MarcinOrlowski/coding-standard package -->
<rule ref="vendor/marcin-orlowski/coding-standard/coding-standard/MarcinOrlowski/"/>
</ruleset>