Greg Korba

Results 55 issues of Greg Korba

One of the techniques of Composer installation inside Docker images is copying pre-built binary from official Composer image: ```Dockerfile FROM php:8-alpine COPY --from=composer:2 /usr/bin/composer /usr/bin/composer ``` This is my favourite...

Fixes phpstan/phpstan#7479

### Feature Request | Q | A |------------ | ------ | New Feature | no | RFC | yes | BC Break | it depends (backward compatibility may be provided)...

good first issue

Symfony supports PHP format for configuration (it's even default one now), so it would be great if this plugin could help with verifying DI configs. Assume we have: ```php class...

Continuation of work from #6427, relates to #6605 (not necessarily provides full support).

topic/PHP8.2

## Feature request As it was discussed in #6623 ([here](https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/6623#discussion_r965609048)), there is no support for type casing in arrow functions: ```diff - array_filter([], fn (NULL $A): NULL => $A); +...

kind/feature request

The goal of this task is to provide support for new standalone types: - [`null`, `false`](https://php.watch/versions/8.2/null-false-types) - [`true`](https://php.watch/versions/8.2/true-type) Code that uses these types in arguments, properties or return types must...

kind/feature request
topic/PHP8.2

The goal of this task is providing support for [fetching property of enum in const expressions](https://wiki.php.net/rfc/fetch_property_in_const_expressions). Code that uses syntax like `Enum::Foo->name` or `Enum::Foo->value` must not break any fixers. All...

kind/feature request
topic/PHP8.2

The goal of this task is to provide support for [`readonly` classes](https://php.watch/versions/8.2/readonly-classes). New class-level keyword must not break any fixers and should be supported only for PHP 8.2+

kind/feature request
topic/PHP8.2

The goal of this task is to provide support for [constants in traits](https://wiki.php.net/rfc/constants_in_traits). Code that uses consts in traits must not break any fixers. All tests related to such usage...

kind/feature request
topic/PHP8.2