File tree 2 files changed +28
-3
lines changed
2 files changed +28
-3
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,10 @@ jobs:
37
37
38
38
- name : PHP Lint
39
39
if : success() || matrix.allow_failure
40
- # continue-on-error: ${{ matrix.allow_failure }}
41
40
run : |
42
41
composer require -n --no-progress overtrue/phplint
43
- ./vendor/bin/phplint -n --exclude=vendor --no-ansi -- ./
42
+ ./vendor/bin/phplint -n --exclude=vendor -- ./
44
43
45
44
- name : PHP CodeSniffer
46
45
if : success() || matrix.allow_failure
47
- run : phpcs ./ --ignore=vendor/* --standard=PSR12
46
+ run : phpcs -wps --colors
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <ruleset name =" Eagle" >
3
+ <description >Sniff our code a while</description >
4
+
5
+ <file >./</file >
6
+
7
+ <exclude-pattern >vendor/*</exclude-pattern >
8
+
9
+ <arg name =" report-width" value =" auto" />
10
+ <arg name =" report-full" />
11
+ <arg name =" report-gitblame" />
12
+ <arg name =" report-summary" />
13
+ <arg name =" encoding" value =" UTF-8" />
14
+ <arg name =" extensions" value =" php" />
15
+
16
+ <rule ref =" PSR12" >
17
+ <exclude name =" PSR12.Properties.ConstantVisibility.NotFound" />
18
+ </rule >
19
+
20
+ <rule ref =" Generic.Files.LineLength" >
21
+ <properties >
22
+ <property name =" lineLimit" value =" 120" />
23
+ <property name =" absoluteLineLimit" value =" 0" />
24
+ </properties >
25
+ </rule >
26
+ </ruleset >
You can’t perform that action at this time.
0 commit comments