I am getting the error for PHP Stan command failed, as mentioned in the issu...

Contribution Date
Technology
Contribution Project
Contribution Details
  1. I am getting the error for PHP Stan command failed, as mentioned in the issue description, but not getting any error related to "No files found to analyse".
    Image removed.
  2. When I debugged the analyze method of the DeprecationAnalyzer class, I found that the Process class is not returning output on line 373, and as a result, we are getting null in $json.
    Image removed.
  3. Further, the condition check implemented for checking any JSON errors is returning true, and it is showing errors, although the PHP stan command is being executed successfully without any errors.
    Image removed.

Anyone can please look into this and implement a solution to resolve the issue mentioned above.

Issue Status
Active
Contribution Author
Files count
3
Patches count
0