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

Enabling php_cs_fixer: brings error #1353

Closed
ProceduralMan opened this issue Feb 3, 2020 · 5 comments
Closed

Enabling php_cs_fixer: brings error #1353

ProceduralMan opened this issue Feb 3, 2020 · 5 comments

Comments

@ProceduralMan
Copy link

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

@ProceduralMan
Copy link
Author

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

@ProceduralMan
Copy link
Author

Lint and PHP Docblock Checker do work flawlessly... looking for a setup problem but cannot find one

@ptejada
Copy link
Contributor

ptejada commented Feb 4, 2020 via email

@ProceduralMan
Copy link
Author

Thanks ptejada, will look into it

@ProceduralMan
Copy link
Author

ptejada, you were of course right. Closing the issue

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