vysker / vscode-php-formatter

Visual Studio Code extension. A wrapper for the Sensiolabs PHP CS Fixer. Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible).
MIT License
93 stars 12 forks source link

Indentation issue. #11

Closed LucasMali closed 7 years ago

LucasMali commented 7 years ago

The one issues I've seen and cannot use due to the abnormal indentation that occurs.

Before

    /**
     * @return mixed
         */
        public function getFile() {
            return $this->file;
    }

After

    /**
    * @return mixed
         */
        public function getFile() {
        return $this->file;
    }
vysker commented 7 years ago

So this is after you run the formatter? Could you perhaps turn on logging (by setting phpformatter.logging = true in your settings) and post the console logs here? I'm curious as to what might go wrong.

Also check out the Troubleshooting section on the wiki, it will provide some insight into what might cause your issue.

vysker commented 7 years ago

Assuming this has been fixed. Closing for now.