Skip to content

CI - build docker in php 7.2, upgrade phpstan, hotfix php-cs-fixer, add php 7.4#195

Merged
zdenekdrahos merged 6 commits into
masterfrom
ci-20191208
Dec 14, 2019
Merged

CI - build docker in php 7.2, upgrade phpstan, hotfix php-cs-fixer, add php 7.4#195
zdenekdrahos merged 6 commits into
masterfrom
ci-20191208

Conversation

@zdenekdrahos

@zdenekdrahos zdenekdrahos commented Dec 8, 2019

Copy link
Copy Markdown
Member

Docker image has php 7.2
6ef3519

$ docker run --rm -it zdenekdrahos/phpqa:v1.23.3 php -v
PHP 7.2.12 (cli)
https://travis-ci.org/EdgedesignCZ/phpqa/jobs/622274667#L1833
  simplexml_load_file(): build//phpstan.xml:1: parser error : Start tag expec
https://travis-ci.org/EdgedesignCZ/phpqa/jobs/622280212
  [Twig\Error\SyntaxError]                                                     
  An exception has been thrown during the compilation of a template ("Unparen  
  thesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e  
  ` or `a ? b : (c ? d : e)`") in "cli.html.twig".                             

It might need twig v1.42.3 that dropped php 5.4 support
https://github.com/twigphp/Twig/blob/v1.42.4/CHANGELOG#L6
@zdenekdrahos zdenekdrahos changed the title CI - build docker in php 7.2, upgrade phpstan, hotfix php-cs-fixer CI - build docker in php 7.2, upgrade phpstan, hotfix php-cs-fixer, add php 7.4 Dec 14, 2019
@zdenekdrahos zdenekdrahos marked this pull request as ready for review December 14, 2019 08:28
@zdenekdrahos zdenekdrahos merged commit e6be799 into master Dec 14, 2019
@zdenekdrahos zdenekdrahos deleted the ci-20191208 branch December 14, 2019 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant