Skip to content

Commit edf17ea

Browse files
Olivier Dolbeaurvanlaak
authored andcommitted
Update docker image used in github actions (#375)
* Update docker image used in github actions * Update phpstan-baseline.neon * Correct action names Co-authored-by: Richard van Laak <[email protected]>
1 parent 0b808fc commit edf17ea

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

.github/workflows/static.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
on: [push, pull_request]
2-
name: Static analysis
1+
name: Static code analysis
2+
3+
on: [pull_request]
4+
35
jobs:
46
phpstan:
57
name: PHPStan
68
runs-on: ubuntu-latest
79
steps:
810
- uses: actions/checkout@master
9-
- name: PHPStan
10-
uses: docker://oskarstark/phpstan-ga
11+
- name: Run PHPStan
12+
uses: docker://jakzal/phpqa:php7.3-alpine
1113
with:
12-
args: analyze --no-progress
14+
args: phpstan analyze
1315

1416
php-cs-fixer:
1517
name: PHP-CS-Fixer
1618
runs-on: ubuntu-latest
1719
steps:
1820
- uses: actions/checkout@master
19-
- name: PHP-CS-Fixer
20-
uses: docker://oskarstark/php-cs-fixer-ga
21+
- name: Run PHP-CS-Fixer
22+
uses: docker://jakzal/phpqa:php7.3-alpine
2123
with:
22-
args: --dry-run --diff-format udiff
24+
args: php-cs-fixer fix --dry-run --diff-format udiff -vvv

phpstan-baseline.neon

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,3 @@ parameters:
149149
message: "#^Call to an undefined method Symfony\\\\Component\\\\Translation\\\\TranslatorBagInterface\\|Symfony\\\\Contracts\\\\Translation\\\\TranslatorInterface\\:\\:transChoice\\(\\)\\.$#"
150150
count: 2
151151
path: Twig/TranslationExtension.php
152-
153-
-
154-
message: "#^Call to method getValue\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\DataCollector\\\\Data\\.$#"
155-
count: 1
156-
path: Controller/SymfonyProfilerController.php

0 commit comments

Comments
 (0)