@@ -16,6 +16,16 @@ $bar = 'MyClassName';
1616$foo = new $bar;
1717$foo = new $bar();
1818
19+ new Foo->prop;
20+ new Foo->method();
21+ new Foo->$var;
22+
23+ new SortOfLongClassName()->withALongMethodName()->andAnother()->toPushItPast80Chars();
24+
25+ $asdf =
26+ new SortOfLongClassName()->withALongMethodName()
27+ ->andAnother()->toPushItPast80Chars();
28+
1929abstract class A
2030{
2131 public static function create()
@@ -210,6 +220,20 @@ $bar = "MyClassName";
210220$foo = new $bar();
211221$foo = new $bar();
212222
223+ (new Foo())->prop;
224+ (new Foo())->method();
225+ (new Foo())->$var;
226+
227+ (new SortOfLongClassName())
228+ ->withALongMethodName()
229+ ->andAnother()
230+ ->toPushItPast80Chars();
231+
232+ $asdf = (new SortOfLongClassName())
233+ ->withALongMethodName()
234+ ->andAnother()
235+ ->toPushItPast80Chars();
236+
213237abstract class A
214238{
215239 public static function create()
@@ -451,6 +475,16 @@ $bar = 'MyClassName';
451475$foo = new $bar;
452476$foo = new $bar();
453477
478+ new Foo- >prop;
479+ new Foo->method();
480+ new Foo->$var;
481+
482+ new SortOfLongClassName()->withALongMethodName()->andAnother()->toPushItPast80Chars();
483+
484+ $asdf =
485+ new SortOfLongClassName()->withALongMethodName()
486+ ->andAnother()->toPushItPast80Chars();
487+
454488abstract class A
455489{
456490 public static function create()
@@ -645,6 +679,20 @@ $bar = "MyClassName";
645679$foo = new $bar();
646680$foo = new $bar();
647681
682+ new Foo()->prop;
683+ new Foo()->method();
684+ new Foo()->$var;
685+
686+ new SortOfLongClassName()
687+ ->withALongMethodName()
688+ ->andAnother()
689+ ->toPushItPast80Chars();
690+
691+ $asdf = new SortOfLongClassName()
692+ ->withALongMethodName()
693+ ->andAnother()
694+ ->toPushItPast80Chars();
695+
648696abstract class A
649697{
650698 public static function create()
@@ -654,12 +702,12 @@ abstract class A
654702 }
655703}
656704
657- $class = ( new Foo() )->veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongMethod();
658- $class = ( new Foo([
705+ $class = new Foo()->veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongMethod();
706+ $class = new Foo([
659707 " VeryVeryVeryVeryVeryVeryVeryVeryVeryLongKey" =>
660708 " VeryVeryVeryVeryVeryVeryVeryVeryVeryLongValue" ,
661- ])) ->veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongMethod();
662- $class = ( new PendingDispatch(new $this- >class(...func_get_args() )))->chain(
709+ ])->veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongMethod();
710+ $class = new PendingDispatch(new $this- >class(...func_get_args()))->chain(
663711 $this->chain,
664712);
665713$dumper = in_array(PHP_SAPI, ["cli", "phpdbg"])
@@ -676,7 +724,7 @@ $class = new static(
676724$response = new \\Illuminate\\Http\\JsonResponse(
677725 new JsonResponseTestJsonSerializeObject(),
678726);
679- $result = ( new Pipeline(new \\Illuminate\\Container\\Container() ))
727+ $result = new Pipeline(new \\Illuminate\\Container\\Container())
680728 ->send("foo")
681729 ->through([new PipelineTestPipeOne()])
682730 ->then(function ($piped) {
0 commit comments