plugin-php icon indicating copy to clipboard operation
plugin-php copied to clipboard

Prettier PHP Plugin

Results 169 plugin-php issues
Sort by recently updated
recently updated
newest added

**@prettier/plugin-php v0.16.2** [Playground link](https://loilo.github.io/prettier-php-playground/#N4IgDgTgpgLjCWUIHkwIPYDsDOIBcok8mMA6vACYwAW+AHAAwA0IMAhgEblW14AsLAK7YoAFU648AMzYAbES2zEA5rKgBFQehhR8M+VBZhqYAGpIlWfCADsAOj4gWMCG3iyVAYXQBbH2wAFAAkA-BdBQxAOVwBjKABlGABPNWswbAgAWgAmJxBoAEdBeGgA12V-PTkFEGIRCBgytgq2KoMAXxYoCngYdBQ0eCxJUDZsGDaRTtrMMEEJvBAAHgB+YzAAAngpDYAKcKgASjwNlYA+AB1MK+oYH1kNnQAPGCur1fWNqAMT86uNjbvNYmK4AegAVOD-uCNjFfD4oCRoaCrn9MACgZ9ET0dm9MCB2kA) **Input:** ```php html text html text else: ?> html text html text else: ?>

I find few code having shorted PHP tag `` ``. Is there any way in the configuration if these tags get converted into whole long tag like ````? This is...

Hi after save , prettier auto add double "php close tags" on end of file effect only short tags **Prettier 6.3.1** **PHP Plugin 0.16.2** **Input:** ```php ``` **Output:** ```php ?>...

bug

**@prettier/plugin-php v0.16.1** [Playground link](https://loilo.github.io/prettier-php-playground/#N4IgDgTgpgLjCWUIHkwIPYDsDOIBcok8mMA6vACYwAW+AHAAwA0IMAhgEblW14AsLAK7YoAFU648AMzYAbES2zEA5rKgBFQehhR8M+VBZhqYAGpIlWfCACsAOj4gWMCG3iyVAYXQBbH2wAFAAkA-BdBQxAOVwBjKABlGABPNWswbAgAWgAmJxBoAEdBeGgA12V-PTkFEGIRCBgytgq2KoMAXxYoCngYdBQ0eCxJUDZsGDaRTtrMMEEJvBAAHgB+YzAAHUwtmNkx7AACAEEt4C2Di4OAeiuDuY4PGIOpQUwYjExn9HQACgBKc6XG4HM6fIG3S4HaAwQQQT58bIAbkBF2B7S26MwIHaQA) **Input:** ```php

In my opinion this should not be adding new lines to the end of a file.

enhancement
discussion

I tried to search on close/open issues but no avail. What is wrong with my settings? Please help. Thanks **Prettier 2.2.1** **PHP Plugin 0.16.1** *package.json* ```sh "devDependencies": { "@prettier/plugin-php": "^0.16.1",...

As suggested in https://github.com/prettier/plugin-php/issues/1274#issuecomment-570709723: > I'd say, it would be The Prettier Way™ (and also the prettier way ) to figure out one way to print heredocs and to enforce...

enhancement

phpcs using Drupal coding standards require for FALSE, TRUE and NULL to be uppercase but prettier formats them to lowercase. phpcs error message: ```TRUE, FALSE and NULL must be uppercase;...

The way closure imports ("use" variables) are split when a line is too long is not ideal. I'm wondering if there is a way the priority can be changed so...

**Prettier 1.14.3** **PHP Plugin 0.7.0** **Input:** ```php $var = $this->getFromLocalArray( $attribute, $lowerRule, $this->fallbackMessages ) ?: $key; $var = $this->getFromLocalOnlyArray( $attribute, $lowerRule, $this->fallbackMessages ) ?: $key; return $this->getFromLocalArray( $attribute, $lowerRule, $this->fallbackMessages...

enhancement
ugly