php-code-formatter icon indicating copy to clipboard operation
php-code-formatter copied to clipboard

A code formatting library for php

Results 21 php-code-formatter issues
Sort by recently updated
recently updated
newest added

I've entered the command in Power Shell ` composer require gossi/php-code-formatter` But it returns ``` [InvalidArgumentException] Could not find package gossi/php-code-formatter at any version for your minimum-stability (stable). Check the...

Do you still maintain this project? I found that this project is very useful, but i tried install this via composer on latest laravel 8. Then i found that the...

When formatting the following line : `class buildCommand extends Command` The output is : `class buildCommandextends Command` Expected output, same as original string The formatter removes the space between the...

Add whitespace before and after the unary (-) operator.

feature-request

I have a usecase where I am testing my generated files. Instead of saving them to a filesystem I would like to directly parse the string that is put out....

More improvements to blanks: - [ ] Preserve Newlines #4 - [ ] Beginning and end of methods/functions/structs #5 - [ ] Sanitizing doubly added blanks #6 - [ ]...

feature-request
meta

Blanks before comments. There are three different types of comments: - Docblock /*\* ... */ - Multiline /\* ... */ - Singleline // ... Options to manage blanks - before...

feature-request

Put blanks there.... or not.

feature-request

The difference between an analyzer and a context is a bit whack (The context can be nested though) and the code to retrieve that is coupled to much together (which...

Create an Output object that is shared across formatters and the DefaultFormatter is flushing every queued commands.