@@ -267,18 +267,14 @@ describe('Upstream 2024 Features', () => {
267267 const phpDocParser = new PhpDocParser ( typeParser , constExprParser ) ;
268268
269269 const tokens = new TokenIterator (
270- lexer . tokenize (
271- '/** @param-immediately-invoked-callable $callback */' ,
272- ) ,
270+ lexer . tokenize ( '/** @param-immediately-invoked-callable $callback */' ) ,
273271 ) ;
274272
275273 const phpDoc = phpDocParser . parse ( tokens ) ;
276274 const tag = phpDoc . children [ 0 ] ;
277275 // @ts -expect-error - accessing value property
278276 const value = tag . value as ParamImmediatelyInvokedCallableTagValueNode ;
279- expect ( value ) . toBeInstanceOf (
280- ParamImmediatelyInvokedCallableTagValueNode ,
281- ) ;
277+ expect ( value ) . toBeInstanceOf ( ParamImmediatelyInvokedCallableTagValueNode ) ;
282278 expect ( value . parameterName ) . toBe ( '$callback' ) ;
283279 } ) ;
284280
@@ -298,9 +294,7 @@ describe('Upstream 2024 Features', () => {
298294 const tag = phpDoc . children [ 0 ] ;
299295 // @ts -expect-error - accessing value property
300296 const value = tag . value as ParamImmediatelyInvokedCallableTagValueNode ;
301- expect ( value ) . toBeInstanceOf (
302- ParamImmediatelyInvokedCallableTagValueNode ,
303- ) ;
297+ expect ( value ) . toBeInstanceOf ( ParamImmediatelyInvokedCallableTagValueNode ) ;
304298 expect ( value . parameterName ) . toBe ( '$fn' ) ;
305299 expect ( value . description ) . toBe ( 'some desc' ) ;
306300 } ) ;
@@ -356,8 +350,7 @@ describe('Upstream 2024 Features', () => {
356350 const phpDocParser = new PhpDocParser ( typeParser , constExprParser ) ;
357351
358352 const tokens = new TokenIterator (
359- lexer . tokenize (
360- '/** @pure-unless-callable-is-impure $callback */' ) ,
353+ lexer . tokenize ( '/** @pure-unless-callable-is-impure $callback */' ) ,
361354 ) ;
362355
363356 const phpDoc = phpDocParser . parse ( tokens ) ;
@@ -616,9 +609,9 @@ describe('Upstream 2024 Features', () => {
616609 expect ( callable . templateTypes [ 0 ] . bound ) . toBeInstanceOf (
617610 IdentifierTypeNode ,
618611 ) ;
619- expect (
620- ( callable . templateTypes [ 0 ] . bound as IdentifierTypeNode ) . name ,
621- ) . toBe ( 'Foo' ) ;
612+ expect ( ( callable . templateTypes [ 0 ] . bound as IdentifierTypeNode ) . name ) . toBe (
613+ 'Foo' ,
614+ ) ;
622615 } ) ;
623616
624617 it ( 'should preserve toString for callable with templates' , ( ) => {
@@ -655,9 +648,7 @@ describe('Upstream 2024 Features', () => {
655648
656649 expect ( value . name ) . toBe ( 'T' ) ;
657650 expect ( value . defaultTypeNode ) . toBeInstanceOf ( IdentifierTypeNode ) ;
658- expect ( ( value . defaultTypeNode as IdentifierTypeNode ) . name ) . toBe (
659- 'string' ,
660- ) ;
651+ expect ( ( value . defaultTypeNode as IdentifierTypeNode ) . name ) . toBe ( 'string' ) ;
661652 } ) ;
662653
663654 it ( 'should parse template with bound, lower bound, and default' , ( ) => {
@@ -667,9 +658,7 @@ describe('Upstream 2024 Features', () => {
667658 const phpDocParser = new PhpDocParser ( typeParser , constExprParser ) ;
668659
669660 const tokens = new TokenIterator (
670- lexer . tokenize (
671- '/** @template T of Upper super Lower = Default */' ,
672- ) ,
661+ lexer . tokenize ( '/** @template T of Upper super Lower = Default */' ) ,
673662 ) ;
674663
675664 const phpDoc = phpDocParser . parse ( tokens ) ;
@@ -692,9 +681,7 @@ describe('Upstream 2024 Features', () => {
692681 const phpDocParser = new PhpDocParser ( typeParser , constExprParser ) ;
693682
694683 const tokens = new TokenIterator (
695- lexer . tokenize (
696- '/** @template T of Upper super Lower = Default */' ,
697- ) ,
684+ lexer . tokenize ( '/** @template T of Upper super Lower = Default */' ) ,
698685 ) ;
699686
700687 const phpDoc = phpDocParser . parse ( tokens ) ;
0 commit comments