Skip to content

Conversation

gharlan
Copy link
Member

@gharlan gharlan commented Jul 27, 2025

When using the config ['property' => 'single'], I would expect that promoted properties are also handled:

class Foo
{
    public function __construct(
        /**
         * @var string[]
         */
        private array $foo1,

        /**
         * @var string[]
         */
        private array $foo2,
    ) {}
}

@coveralls
Copy link

Coverage Status

coverage: 94.755% (-0.006%) from 94.761%
when pulling 0e598eb on gharlan:phpdoclinespanfixer-cpp
into a955607 on PHP-CS-Fixer:master.

Copy link
Member

@kubawerlos kubawerlos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

@kubawerlos kubawerlos merged commit 6afc55b into PHP-CS-Fixer:master Jul 27, 2025
32 checks passed
@gharlan gharlan deleted the phpdoclinespanfixer-cpp branch July 27, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants