File tree Expand file tree Collapse file tree 2 files changed +53
-1
lines changed Expand file tree Collapse file tree 2 files changed +53
-1
lines changed Original file line number Diff line number Diff line change 1+ # yamllint disable rule:line-length
2+ # yamllint disable rule:braces
3+
4+ name : Autoreview
5+
6+ on :
7+ pull_request :
8+ push :
9+ branches :
10+ - master
11+
12+ jobs :
13+ tests :
14+ runs-on : ubuntu-latest
15+
16+ strategy :
17+ matrix :
18+ php-version : ['7.4']
19+
20+ name : Autoreview on PHP ${{ matrix.php-version }}
21+
22+ steps :
23+ - name : Checkout code
24+ uses : actions/checkout@v2
25+
26+ - name : Setup PHP
27+ uses : shivammathur/setup-php@v2
28+ with :
29+ php-version : ${{ matrix.php-version }}
30+ tools : composer:v2
31+
32+ - name : Get composer cache directory
33+ id : composer-cache
34+ run : echo "::set-output name=dir::$(composer config cache-files-dir)"
35+
36+ - name : Cache dependencies
37+ uses : actions/cache@v2
38+ with :
39+ path : ${{ steps.composer-cache.outputs.dir }}
40+ key : composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}
41+ restore-keys : |
42+ composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}-
43+ composer-${{ runner.os }}-${{ matrix.php-version }}-
44+ composer-${{ runner.os }}-
45+ composer-
46+
47+ - name : Install dependencies
48+ run : |
49+ composer install --no-interaction --prefer-dist --no-progress
50+
51+ - name : Run PHPMND
52+ run : bin/phpmnd src --extensions=all
Original file line number Diff line number Diff line change 1212
1313class Console implements Printer
1414{
15- const DEFAULT_LINE_LENGTH = 80 ;
15+ private const DEFAULT_LINE_LENGTH = 80 ;
1616
1717 public function printData (OutputInterface $ output , FileReportList $ fileReportList , HintList $ hintList ): void
1818 {
You can’t perform that action at this time.
0 commit comments