Toot

Written by Emanuele Panz on 2024-10-29 at 08:23

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;

[#]php #phpcsfixer #phpcs

=> More informations about this toot | View the thread | More toots from thepanz@phpc.social

Mentions

Tags

=> View php tag | View PhpCSFixer tag | View phpcs tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113389746014564287
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
227.699339 milliseconds
Gemini-to-HTML Time
0.425498 milliseconds

This content has been proxied by September (3851b).