-
Notifications
You must be signed in to change notification settings - Fork 260
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
Bug on new phpmetrics.phar - v2.6.0 #426
Labels
Comments
Hi, Sorry for the issue :( v2.6.1 fixes the problem Thanks for the report. I close this issue. |
@Halleck45 is it possible to publish a new phar? |
Thanks! |
Thanks for the bugfix 😉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
I'm using phpmetrics.phar, version 2.6.0 foundable there
The new version of phpmetrics introduced a constant named PROJECT_DIR which is defined in the executable file (bin/phpmetrics) but it seems not to be defined in the phar executable. @see build.php.
Here is my error :
Warning: Use of undefined constant PROJECT_DIR - assumed 'PROJECT_DIR' (this will throw an Error in a future version of PHP) in phar:///tools/phpmetrics/src/Hal/Report/Html/Reporter.php on line 68
Adding the line
define('PROJECT_DIR', dirname(__DIR__));
in the phar build script should resolve it.The text was updated successfully, but these errors were encountered: