0

Based on the input from this post I am running a command. Basically I need to run phpmetrics from backend, so administrator(or user has access) can run the latest custom module dependency status.

I created a config form, and on "submitForm" I an running the command with:

$process->run()

I need help to diaply the output of the command:

php ../vendor/bin/phpmetrics.phar --report-html=sites/default/files/metrics-report ./modules

It shows in console as:

Lines of code                               115
    Logical lines of code                       67
    Comment lines of code                       48....
2
  • Welcome to Drupal Answers! You've not explicitly asked a question, so far you've only stated a problem. It will be hard for anyone to answer a question with out knowing what it is.
    – Shawn Conn
    Apr 24, 2018 at 16:33
  • @ShawnConn I understood, and I am trying to explain by editing the question with more details
    – aniruddha
    Apr 26, 2018 at 14:23

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.