Skip to content

Can no longer use phpdoc multine in constructor with since 2.32.3  #205

@tyx

Description

@tyx

We use this kind of config :

'PedroTroller/line_break_between_method_arguments' => ['max-args' => false, 'max-length' => 120, 'automatic-argument-merge' => false, 'inline-attributes' => false],

Ans since latest release, it want to move inline all our phpdoc

      ---------- begin diff ----------
--- /var/task/src/Operation/Reception/Domain/ReadModel/GuestInformation.php
+++ /var/task/src/Operation/Reception/Domain/ReadModel/GuestInformation.php
@@ -9,8 +9,7 @@
         public int $nbAdults,
         public int $nbChildren,
         public int $nbBabies,
-        /** @var array<AdditionalGuest> $additionalGuests */ 
-        public array $additionalGuests = [],
+        /** @var array<AdditionalGuest> $additionalGuests */ public array $additionalGuests = [],
     ) {}
 
     public function totalBillableGuests(): int

      ----------- end diff -----------

I have no value for method_argument_space and I failed to have back the old behavior. Anyone can help ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions