Skip to content

Commit e8b5ea8

Browse files
committed
snapshot changes after bumping default version to 8.4
1 parent d798043 commit e8b5ea8

File tree

8 files changed

+52
-52
lines changed

8 files changed

+52
-52
lines changed

tests/assign/__snapshots__/jsfmt.spec.mjs.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ $veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongVariable = $veryVeryVeryVeryVer
233233
$obj->property = $obj->oneProperty = $obj->twoPeroperty = 0;
234234
$obj->veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongProperty = $obj->veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongProperty = $obj->veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongProperty = 0;
235235
$obj->veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongProperty = $obj->veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongProperty = $obj->veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongProperty = $veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongValue;
236-
$obj->veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongProperty->veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongProperty = (new MyClass())->call(
236+
$obj->veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongProperty->veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongProperty = new MyClass()->call(
237237
$arg,
238238
);
239239
$obj->loooooooooooong->lookup = $this->getRequest()->getParam(
@@ -251,7 +251,7 @@ $component =
251251
Foo::$insertReallyReallyReallyReallyReallyReallyReallyReallyLongName;
252252
$component =
253253
$a::$insertReallyReallyReallyReallyReallyReallyReallyReallyLongName;
254-
$component = (new Foo())
254+
$component = new Foo()
255255
->insertReallyReallyReallyReallyReallyReallyReallyReallyLongName;
256256
$component = (clone $a)
257257
->insertReallyReallyReallyReallyReallyReallyReallyReallyLongName;
@@ -266,7 +266,7 @@ $component =
266266
Foo::$insertReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongName;
267267
$component =
268268
$a::$insertReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongName;
269-
$component = (new Foo())
269+
$component = new Foo()
270270
->insertReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongName;
271271
$component = (clone $a)
272272
->insertReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongName;

tests/comments/__snapshots__/jsfmt.spec.mjs.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6590,16 +6590,16 @@ $inspect = $condition
65906590
65916591
$extractTextPluginOptions = $shouldUseRelativeAssetPaths
65926592
? // Making sure that the publicPath goes back to to build folder.
6593-
["publicPath" => (new Foo($cssFilename->split("/")->length))->join("../")]
6593+
["publicPath" => new Foo($cssFilename->split("/")->length)->join("../")]
65946594
: [];
65956595
65966596
$extractTextPluginOptions = $shouldUseRelativeAssetPaths
65976597
? // Making sure that the publicPath goes back to to build folder.
6598-
["publicPath" => (new Foo($cssFilename->split("/")->length))->join("../")]
6598+
["publicPath" => new Foo($cssFilename->split("/")->length)->join("../")]
65996599
: [];
66006600
66016601
$extractTextPluginOptions = $shouldUseRelativeAssetPaths // Making sure that the publicPath goes back to to build folder.
6602-
? ["publicPath" => (new Foo($cssFilename->split("/")->length))->join("../")]
6602+
? ["publicPath" => new Foo($cssFilename->split("/")->length)->join("../")]
66036603
: [];
66046604
66056605
$var =

tests/member_chain/__snapshots__/jsfmt.spec.mjs.snap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ $superSupersuperSupersuperSupersuperSupersuperSuperLong->{$exampleOfOrderOfGette
8787
$superSupersuperSupersuperSupersuperSupersuperSuperLong::$exampleOfOrderOfGetterAndSetterReordered;
8888
$superSupersuperSupersuperSupersuperSupersuperSuperLong
8989
::$exampleOfOrderOfGetterAndSetterReordered[0];
90-
$superSupersuperSupersuperSupersuperSupersuperSuperLong = (new SuperSuperSuperSuperSuperSuperLongClassName())
90+
$superSupersuperSupersuperSupersuperSupersuperSuperLong = new SuperSuperSuperSuperSuperSuperLongClassName()
9191
->some_very_long_member_expression;
9292
new $superSupersuperSupersuperSupersuperSupersuperSuperLong->superSupersuperSupersuperSupersuperSupersuperSuperLong->superSupersuperSupersuperSupersuperSupersuperSuperLong();
93-
(new $superSupersuperSupersuperSupersuperSupersuperSuperLong->superSupersuperSupersuperSupersuperSupersuperSuperLong->superSupersuperSupersuperSupersuperSupersuperSuperLong())
93+
new $superSupersuperSupersuperSupersuperSupersuperSuperLong->superSupersuperSupersuperSupersuperSupersuperSuperLong->superSupersuperSupersuperSupersuperSupersuperSuperLong()
9494
->superSupersuperSupersuperSupersuperSupersuperSuperLong;
9595
$test =
9696
$superSupersuperSupersuperSupersuperSupersuperSuperLong->exampleOfOrderOfGetterAndSetterReordered;
@@ -241,7 +241,7 @@ $object[
241241
: $helper->responseBody($defaultUser)
242242
]->map();
243243
244-
(new TestClassWithReallyReallyReallyReallyReallyReallyReallyReallyReallyLongName())
244+
new TestClassWithReallyReallyReallyReallyReallyReallyReallyReallyReallyLongName()
245245
->map()
246246
->filter();
247247
@@ -565,14 +565,14 @@ $brian->hotel->orders()->ordered()->with("smith")->get();
565565
$brian::$hotel->orders()->ordered()->with("smith")->get();
566566
$brian["hotel"]->orders()->ordered()->with("smith")->get();
567567
Foo::$hotel->orders()->ordered()->with("smith")->get();
568-
(new Foo())->hotel->orders()->ordered()->with("smith")->get();
568+
new Foo()->hotel->orders()->ordered()->with("smith")->get();
569569
(clone $a)->hotel->orders()->ordered()->with("smith")->get();
570570
571571
$var = $brian->hotel->orders()->ordered()->with("smith")->get();
572572
$var = $brian::$hotel->orders()->ordered()->with("smith")->get();
573573
$var = $brian["hotel"]->orders()->ordered()->with("smith")->get();
574574
$var = Foo::$hotel->orders()->ordered()->with("smith")->get();
575-
$var = (new Foo())->hotel->orders()->ordered()->with("smith")->get();
575+
$var = new Foo()->hotel->orders()->ordered()->with("smith")->get();
576576
$var = (clone $a)->hotel->orders()->ordered()->with("smith")->get();
577577
578578
$var = Foo::keys($items)
@@ -583,10 +583,10 @@ $var = Foo::keys($items)
583583
return $x * 2;
584584
});
585585
586-
(new static(func_get_args()))->push($this)->each(function ($item) {
586+
new static(func_get_args())->push($this)->each(function ($item) {
587587
VarDumper::dump($item);
588588
});
589-
(new static(func_get_args()))
589+
new static(func_get_args())
590590
->offset(10)
591591
->push($this)
592592
->each(function ($item) {
@@ -812,8 +812,8 @@ $window
812812
->first()
813813
->second();
814814
815-
(new Foo())->call($foo->bar->baz)->first()->second();
816-
(new Foo())
815+
new Foo()->call($foo->bar->baz)->first()->second();
816+
new Foo()
817817
->call($foo->bar->baz->foo())
818818
->first()
819819
->second();

tests/new/__snapshots__/jsfmt.spec.mjs.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
exports[`new.php 1`] = `
44
====================================options=====================================
55
parsers: ["php"]
6+
phpVersion: "8.3"
67
printWidth: 80
78
| printWidth
89
=====================================input======================================
@@ -439,7 +440,6 @@ $client = new (config("longstringvariable", "longerstringvariable")([
439440
exports[`new.php 2`] = `
440441
====================================options=====================================
441442
parsers: ["php"]
442-
phpVersion: "8.4"
443443
printWidth: 80
444444
| printWidth
445445
=====================================input======================================

tests/new/jsfmt.spec.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1+
run_spec(import.meta, ["php"], {phpVersion: "8.3"});
12
run_spec(import.meta, ["php"]);
2-
run_spec(import.meta, ["php"], { phpVersion: "8.4" });

0 commit comments

Comments
 (0)