File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 prefer-lowest : ' prefer-lowest'
2222
2323 steps :
24- - uses : actions/checkout@v1
25- with :
26- fetch-depth : 1
24+ - uses : actions/checkout@v2
2725
2826 - name : Setup PHP
2927 uses : shivammathur/setup-php@v2
4846
4947 - name : Composer install
5048 run : |
51- if [[ ${{ matrix.php-version }} == '8.0' ]]; then
52- composer install --ignore-platform-reqs
53- elif ${{ matrix.prefer-lowest == 'prefer-lowest' }}; then
49+ if ${{ matrix.prefer-lowest == 'prefer-lowest' }}; then
5450 composer update --prefer-lowest --prefer-stable
5551 else
5652 composer install
@@ -69,23 +65,21 @@ jobs:
6965 runs-on : ubuntu-18.04
7066
7167 steps :
72- - uses : actions/checkout@v1
73- with :
74- fetch-depth : 1
68+ - uses : actions/checkout@v2
7569
7670 - name : Setup PHP
7771 uses : shivammathur/setup-php@v2
7872 with :
7973 php-version : ' 7.4'
8074 extensions : mbstring, intl
8175 coverage : none
82- tools : psalm:~4.1.0
76+ tools : psalm:~4.1.0, cs2pr
8377
8478 - name : Composer Install
8579 run : composer install
8680
8781 - name : Run phpcs
88- run : vendor/bin/phpcs -p src/ tests/
82+ run : vendor/bin/phpcs --report=checkstyle src/ tests/ | cs2pr
8983
9084 - name : Run psalm
9185 run : psalm --output-format=github
You can’t perform that action at this time.
0 commit comments