File tree Expand file tree Collapse file tree 5 files changed +38
-0
lines changed Expand file tree Collapse file tree 5 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1
1
/.gitattributes export-ignore
2
2
/.github / export-ignore
3
3
/.gitignore export-ignore
4
+ /.phive /
4
5
/Doxyfile export-ignore
6
+ /phpcs.xml export-ignore
5
7
/phpunit.xml export-ignore
6
8
/tests export-ignore
Original file line number Diff line number Diff line change
1
+ /.phive /*
2
+ /.php_cs.cache
1
3
/composer.lock
2
4
/vendor /
5
+ ! /.phive /phars.xml
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <phive xmlns =" https://phar.io/phive" >
3
+ <phar name =" phpcbf" version =" ^3.6.0" location =" ./.phive/phpcbf.phar" copy =" false" installed =" 3.6.0" />
4
+ <phar name =" phpcs" version =" ^3.6.0" location =" ./.phive/phpcs.phar" copy =" false" installed =" 3.6.0" />
5
+ </phive >
Original file line number Diff line number Diff line change 17
17
},
18
18
"autoload" : {
19
19
"psr-4" : { "Sabberworm\\ CSS\\ " : " lib/Sabberworm/CSS/" }
20
+ },
21
+ "scripts" : {
22
+ "ci" : [
23
+ " @ci:static"
24
+ ],
25
+ "ci:php:sniff" : " @php ./.phive/phpcs.phar lib tests" ,
26
+ "ci:static" : [
27
+ " @ci:php:sniff"
28
+ ],
29
+ "fix:php" : [
30
+ " @fix:php:sniff"
31
+ ],
32
+ "fix:php:sniff" : " @php ./.phive/phpcbf.phar lib tests"
20
33
}
21
34
}
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <ruleset name =" phpList Coding Standard" >
3
+ <description >
4
+ This standard requires PHP_CodeSniffer >= 3.6.0.
5
+ </description >
6
+
7
+ <arg name =" colors" />
8
+ <arg name =" extensions" value =" php" />
9
+
10
+ <!-- The complete PSR-12 ruleset -->
11
+ <rule ref =" PSR12" >
12
+ <!-- Exclude a rule that requires PHP >= 7.1. -->
13
+ <exclude name =" PSR12.Properties.ConstantVisibility" />
14
+ </rule >
15
+ </ruleset >
You can’t perform that action at this time.
0 commit comments