Skip to content

Fix psalm issues (v2 compatibility - stopOnFirstError, UntypedParam, --use-ini-defaults) #145

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

Merged
merged 6 commits into from
Jul 9, 2018

Conversation

zdenekdrahos
Copy link
Member

@zdenekdrahos zdenekdrahos commented Jun 28, 2018

Problem parsing build/psalm-phpqa.xml:
  Error on line 2:
    Element '{https://getpsalm.org/schema/config}psalm', attribute 'stopOnFirstError': The attribute 'stopOnFirstError' is not allowed.
Problem parsing psalm-phpqa.xml:
  Error on line 56:
    Element '{https://getpsalm.org/schema/config}UntypedParam': This element is not expected.
New option isn't BC. It works in v1 and v2
git checkout composer.json && git checkout composer.lock && composer install && composer require vimeo/psalm:~2
Latest versions phpstan, psalm can be tested in php 7.1 build (Symfony 3)
psalm: 70757c6
phpstan: 4e91eb2
Latest phpstan version introduces new errors, e.g.
> Cannot call method xpath() on SimpleXMLElement|false.	
> https://travis-ci.org/EdgedesignCZ/phpqa/jobs/400361356#L1763

I want stable build, so ignore all errors. Just like for psalm
eb93a3d
@zdenekdrahos zdenekdrahos removed the wip label Jul 5, 2018
@zdenekdrahos zdenekdrahos merged commit b5f3a48 into master Jul 9, 2018
@zdenekdrahos zdenekdrahos deleted the fix-psalm branch July 9, 2018 13:25
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