Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
on: [push, pull_request]
name: Static analysis
name: Static code analysis

on: [pull_request]

jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: PHPStan
uses: docker://oskarstark/phpstan-ga
- name: Run PHPStan
uses: docker://jakzal/phpqa:php7.3-alpine
with:
args: analyze --no-progress
args: phpstan analyze

php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
- name: Run PHP-CS-Fixer
uses: docker://jakzal/phpqa:php7.3-alpine
with:
args: --dry-run --diff-format udiff
args: php-cs-fixer fix --dry-run --diff-format udiff -vvv
5 changes: 0 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,3 @@ parameters:
message: "#^Call to an undefined method Symfony\\\\Component\\\\Translation\\\\TranslatorBagInterface\\|Symfony\\\\Contracts\\\\Translation\\\\TranslatorInterface\\:\\:transChoice\\(\\)\\.$#"
count: 2
path: Twig/TranslationExtension.php

-
message: "#^Call to method getValue\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\DataCollector\\\\Data\\.$#"
count: 1
path: Controller/SymfonyProfilerController.php