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

Bug not reflecting the right error message #18

Closed
ThomasRalee opened this issue Mar 24, 2017 · 5 comments
Closed

Bug not reflecting the right error message #18

ThomasRalee opened this issue Mar 24, 2017 · 5 comments

Comments

@ThomasRalee
Copy link

Hi, I did a scan and i see bugs error returning this

home/vagrant/Code/helixtap/app/Analytic.php: {
file: "/home/vagrant/Code/helixtap/app/Analytic.php",
error: "Usage: php-fpm7.0 [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <file>] [-d foo[=bar]] [-y <file>] [-D] [-F [-O]]",
line: 0
},

Am i missing something?

@overtrue
Copy link
Owner

Please provide a detailed context.

@ThomasRalee
Copy link
Author

Hi,

I am running Laravel 5.4, PHP7.
I installed overture/phplint on my application folder directory and ran this script

        $path =  realpath(__DIR__ . '/../..');
        $exclude = ['vendor'];
        $extensions = ['php'];

        $linter = new Linter($path, $exclude, $extensions);
        $errors = $linter->lint();

        return $errors;

Its returning the errors as intended. But the error message are not really helpful.

'`

I am suspecting that its because of php7? I cant be sure. Please advice.

@overtrue
Copy link
Owner

@ThomasRalee OK, I got it, I will fix it as soon as possible.

@ThomasRalee
Copy link
Author

@overtrue Hi Sir, Any news on the fix?

@overtrue
Copy link
Owner

overtrue commented Apr 2, 2017

@ThomasRalee Fixed. 😄

@overtrue overtrue closed this as completed Apr 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants