I need a rule for #phpstan
https://phpstan.org/r/50477abd-901a-48c5-a85c-1719c1156453
Any hints?
Or maybe there is an equivalent for #PhpCSFixer ?
I need a rule for #phpstan
https://phpstan.org/r/50477abd-901a-48c5-a85c-1719c1156453
Any hints?
Or maybe there is an equivalent for #PhpCSFixer ?
After almost a year since I created it, my PR to #PHPCSFixer that introduces #PHPCompatibility check was merged 🥳. This improves our QA suite with another tool that can catch usage of language features not available on runtimes marked as supported.
Inspired by this finding, bug introduced in #7616, reproduced here - we have invalid return type in code and none of the tools caught this. I thought this is because we run PHPStan on 8.3 which the...
Looking for help: does a multiline PHP attribute constructor fixer rule exists for php-cs-fixer?
I would like to transform attributes constructors into multiline, from:
```
#[ORM\ManyToMany(targetEntity: Permission::class, inversedBy: 'group', fetch: 'EAGER')]
private $permission;
```
To:
```
#[ORM\ManyToMany(
targetEntity: Permission::class,
inversedBy: 'group',
fetch: 'EAGER',
)]
private $permission;
```
My PR got merged, so starting from today @PhpSpec's #Prophecy library uses #PHPCSFixer 🥳. It was created so long ago that it didn't even include parallel runner in the dist config, so I need to make a follow up 😅.
It is with great pride that I will be a speaker again at the #PHPersSummit in Poznań 🥰! I will share a case study based on my #PHPCSFixer adventure, dealing with #OSS, and improving QA/CI setup in the projects in general.
See you all on📆 June 21st at 12:00pm!