I have noticed that when I set phpcs_php_prefix_path and want to use php-cs-fixer with the phar archive and php mess detector with an executable (installed through pear packages) : the php prefix path is used for both features.
The result is that I have an error in the console and mess detector does not run.
C:\wamp\bin\php\php5.4.3\php.exe phpmd D:\www\webroot\project\hello.php text codesize,unusedcode,naming
Could not open input file: phpmd
But it works if both features have their phar executable set
I have manually changed the phpcs.py to fix this in my local installation. I will do a Pull Request, Could you please see if the fix will not break something ?
Hi,
I have noticed that when I set phpcs_php_prefix_path and want to use php-cs-fixer with the phar archive and php mess detector with an executable (installed through pear packages) : the php prefix path is used for both features.
The result is that I have an error in the console and mess detector does not run.
But it works if both features have their phar executable set
I have manually changed the phpcs.py to fix this in my local installation. I will do a Pull Request, Could you please see if the fix will not break something ?
thanks