Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 6 commits into from
Dec 14, 2019

Conversation

zdenekdrahos
Copy link
Member

@zdenekdrahos zdenekdrahos commented Dec 8, 2019

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