vscode-php-cs-fixer icon indicating copy to clipboard operation
vscode-php-cs-fixer copied to clipboard

Wrong working Path

Open marcohald opened this issue 3 years ago • 6 comments

I use this Plugin in Version v0.1.158 with the integrated php-cs-fixer.phar on Windows with this PHP version:

PHP 8.0.3 (cli) (built: Mar 2 2021 23:34:05) ( ZTS Visual C++ 2019 x64 ) Copyright (c) The PHP Group Zend Engine v4.0.3, Copyright (c) Zend Technologies

I'd like to Fix my code for the Repository https://github.com/nextcloud/server The error i receive is

In .php_cs.dist line 5:

require_once(./lib/composer/autoload.php): Failed to open stream: No such file or directory

So i think this is a issue with the working path or the When i change the Path to an absolute I get this Error:

Fatal error: Uncaught Error: Class "Nextcloud\CodingStandard\Config" not found in C:\Users\user\Documents\GitHub\server.php_cs.dist:9

marcohald avatar Mar 16 '21 10:03 marcohald