Skip to content

phpstan - fix supporting v0.12#194

Merged
zdenekdrahos merged 2 commits into
masterfrom
fix-phpstan-v0.12
Dec 7, 2019
Merged

phpstan - fix supporting v0.12#194
zdenekdrahos merged 2 commits into
masterfrom
fix-phpstan-v0.12

Conversation

@zdenekdrahos

@zdenekdrahos zdenekdrahos commented Dec 7, 2019

Copy link
Copy Markdown
Member

https://travis-ci.org/EdgedesignCZ/phpqa/jobs/621966705#L876
PHP Fatal error: Uncaught Error: Class 'Nette\Neon\Neon' not found in src/Tools/Analyzer/Phpstan.php:32

v0.12 distributes phpstan in phar
https://github.com/phpstan/phpstan/releases/tag/0.12.0

Installing source repo should be fine. I'm not sure if internalClass detection would work with phar (probably yes, phpqa tools works in CI). It can be fixed later...

https://travis-ci.org/EdgedesignCZ/phpqa/jobs/621970707#L791
[InvalidArgumentException]
Could not find a matching version of package phpstan/phpstan-src. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable).

https://travis-ci.org/EdgedesignCZ/phpqa/jobs/621966705#L876
PHP Fatal error:  Uncaught Error: Class 'Nette\Neon\Neon' not found in src/Tools/Analyzer/Phpstan.php:32

v0.12 distributes phpstan in phar
https://github.com/phpstan/phpstan/releases/tag/0.12.0

Installing source repo should be fine. I'm not sure if `internalClass` detection would work with phar (probably yes, phpqa tools works in CI). It can be fixed later...
https://travis-ci.org/EdgedesignCZ/phpqa/jobs/621970707#L791
  [InvalidArgumentException]                                                   
  Could not find a matching version of package phpstan/phpstan-src. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable).
@zdenekdrahos zdenekdrahos changed the title phpstan - hotfix supporting v0.12 (Neon not found) phpstan - fix supporting v0.12 Dec 7, 2019
@zdenekdrahos zdenekdrahos merged commit 7d6b83c into master Dec 7, 2019
@zdenekdrahos zdenekdrahos deleted the fix-phpstan-v0.12 branch December 7, 2019 12:18
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