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

psalm.phar --version dies with undefined constant #748

Closed
weirdan opened this issue May 15, 2018 · 1 comment
Closed

psalm.phar --version dies with undefined constant #748

weirdan opened this issue May 15, 2018 · 1 comment
Labels

Comments

@weirdan
Copy link
Collaborator

weirdan commented May 15, 2018

PHP Fatal error:  Uncaught Error: Undefined constant '_HumbugBox5afb3993e6d4b\PSALM_VERSION' in phar:///home/weirdan/src/psalm.phar/src/psalm.php:123
Stack trace:
#0 phar:///home/weirdan/src/psalm.phar/psalm(5): require_once()
#1 /home/weirdan/src/psalm.phar(14): require('phar:///home/we...')
#2 {main}
  thrown in phar:///home/weirdan/src/psalm.phar/src/psalm.php on line 123

Fatal error: Uncaught Error: Undefined constant '_HumbugBox5afb3993e6d4b\PSALM_VERSION' in phar:///home/weirdan/src/psalm.phar/src/psalm.php on line 123

Error: Undefined constant '_HumbugBox5afb3993e6d4b\PSALM_VERSION' in phar:///home/weirdan/src/psalm.phar/src/psalm.php on line 123

Call Stack:
    0.0029     744320   1. {main}() /home/weirdan/src/psalm.phar:0
    0.0120    1044848   2. require('phar:///home/weirdan/src/psalm.phar/psalm') /home/weirdan/src/psalm.phar:14
    0.0129    1097544   3. require_once('phar:///home/weirdan/src/psalm.phar/src/psalm.php') phar:///home/weirdan/src/psalm.phar/psalm:5

Trying new phar build script here. This is psalm.phar built from 1ecf1c4

/cc @theofidry

@theofidry
Copy link
Contributor

Looks like the PHP-Scoper config needs to be adjusted still. I'm trying to work on humbug/php-scoper#175 and humbug/php-scoper#192 to make it easier

@muglug muglug added the bug label May 18, 2018
@muglug muglug closed this as completed in fabe60a May 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants