Closed ProceduralMan closed 4 years ago
I have tested other plugins, all give the same error
[2020-02-03 16:21:59] DaemoniseCommand.ERROR: Exception: Could not find phpmd {"exception":"[object] (Exception(code: 0): Could not find phpmd at /raid/www/phpci/PHPCI/Helper/BaseCommandExecutor.php:206)","buildID":"25"} []
[2020-02-03 16:33:00] DaemoniseCommand.ERROR: Exception: Could not find codecept {"exception":"[object] (Exception(code: 0): Could not find codecept at /raid/www/phpci/PHPCI/Helper/BaseCommandExecutor.php:206)","buildID":"26"} []
Rerunning composer install --no-dev -o does not help
Lint and PHP Docblock Checker do work flawlessly... looking for a setup problem but cannot find one
FYI - You need to install the depencies. So if you want to use cs fixer you need to install it on the machine. Either locally in the working directory or globally.
From Mobile
On Tue, Feb 4, 2020, 3:52 AM ProceduralMan notifications@github.com wrote:
Lint and PHP Docblock Checker do work flawlessly... looking for a setup problem but cannot find one
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dancryer/PHPCI/issues/1353?email_source=notifications&email_token=AAB53XLT5CLWHVEXTR2TRHDRBEUEVA5CNFSM4KPHDEWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKW2B4Y#issuecomment-581804275, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB53XMO7YEZHPPH2JYWFALRBEUEVANCNFSM4KPHDEWA .
Thanks ptejada, will look into it
ptejada, you were of course right. Closing the issue
PHPCI v1.8.0 PHP 7.2 composer install --no-dev -o run PHPCI working by daemon
Expected behaviour
PhpCsFixer plugin in instantiated and runs, making its job
Actual behaviour
An error appears: [2020-02-03 15:07:35] DaemoniseCommand.ERROR: Exception: Could not find php-cs-fixer {"exception":"[object] (Exception(code: 0): Could not find php-cs-fixer at /raid/www/phpci/PHPCI/Helper/BaseCommandExecutor.php:206)","buildID":"22"} []
Steps to reproduce
Include plugin on project yml: php_cs_fixer: verbose: true diff: true level: "psr0"
Environment info
Operating System: Ubuntu 18.04 PHP Version: 7.2 MySQL Version: 5.7
Logs or other output that would be helpful
Plugin reported as enabled, provided by Core, and present on .../phpci/PHPCI/Plugin -rw-r--r-- 1 www-data www-data 2683 Jan 29 10:16 PhpCsFixer.php