@@ -386,159 +386,159 @@ public static function dataDNFTypeParentheses()
386
386
{
387
387
return [
388
388
'arrow function return type: in named parameter ' => [
389
- 'testMarker ' => '/* testDNFTypeArrowFnReturnInNamedParam */ ' ,
389
+ 'testMarker ' => '/* testDNFTypeArrowFnReturnInNamedParam */ ' ,
390
390
],
391
391
'closure return type: in named parameter ' => [
392
- 'testMarker ' => '/* testDNFTypeClosureReturnInNamedParam */ ' ,
392
+ 'testMarker ' => '/* testDNFTypeClosureReturnInNamedParam */ ' ,
393
393
],
394
394
395
395
'OO const type: unqualified classes ' => [
396
- 'testMarker ' => '/* testDNFTypeOOConstUnqualifiedClasses */ ' ,
396
+ 'testMarker ' => '/* testDNFTypeOOConstUnqualifiedClasses */ ' ,
397
397
],
398
398
'OO const type: modifiers in reverse order ' => [
399
- 'testMarker ' => '/* testDNFTypeOOConstReverseModifierOrder */ ' ,
399
+ 'testMarker ' => '/* testDNFTypeOOConstReverseModifierOrder */ ' ,
400
400
],
401
401
'OO const type: multi-dnf part 1 ' => [
402
- 'testMarker ' => '/* testDNFTypeOOConstMulti1 */ ' ,
402
+ 'testMarker ' => '/* testDNFTypeOOConstMulti1 */ ' ,
403
403
],
404
404
'OO const type: multi-dnf part 2 ' => [
405
- 'testMarker ' => '/* testDNFTypeOOConstMulti2 */ ' ,
405
+ 'testMarker ' => '/* testDNFTypeOOConstMulti2 */ ' ,
406
406
],
407
407
'OO const type: multi-dnf part 3 ' => [
408
- 'testMarker ' => '/* testDNFTypeOOConstMulti3 */ ' ,
408
+ 'testMarker ' => '/* testDNFTypeOOConstMulti3 */ ' ,
409
409
],
410
410
'OO const type: namespace relative classes ' => [
411
- 'testMarker ' => '/* testDNFTypeOOConstNamespaceRelative */ ' ,
411
+ 'testMarker ' => '/* testDNFTypeOOConstNamespaceRelative */ ' ,
412
412
],
413
413
'OO const type: partially qualified classes ' => [
414
- 'testMarker ' => '/* testDNFTypeOOConstPartiallyQualified */ ' ,
414
+ 'testMarker ' => '/* testDNFTypeOOConstPartiallyQualified */ ' ,
415
415
],
416
416
'OO const type: fully qualified classes ' => [
417
- 'testMarker ' => '/* testDNFTypeOOConstFullyQualified */ ' ,
417
+ 'testMarker ' => '/* testDNFTypeOOConstFullyQualified */ ' ,
418
418
],
419
419
420
420
'OO property type: unqualified classes ' => [
421
- 'testMarker ' => '/* testDNFTypePropertyUnqualifiedClasses */ ' ,
421
+ 'testMarker ' => '/* testDNFTypePropertyUnqualifiedClasses */ ' ,
422
422
],
423
423
'OO property type: modifiers in reverse order ' => [
424
- 'testMarker ' => '/* testDNFTypePropertyReverseModifierOrder */ ' ,
424
+ 'testMarker ' => '/* testDNFTypePropertyReverseModifierOrder */ ' ,
425
425
],
426
426
'OO property type: multi-dnf namespace relative classes ' => [
427
- 'testMarker ' => '/* testDNFTypePropertyMultiNamespaceRelative */ ' ,
427
+ 'testMarker ' => '/* testDNFTypePropertyMultiNamespaceRelative */ ' ,
428
428
],
429
429
'OO property type: multi-dnf partially qualified classes ' => [
430
- 'testMarker ' => '/* testDNFTypePropertyMultiPartiallyQualified */ ' ,
430
+ 'testMarker ' => '/* testDNFTypePropertyMultiPartiallyQualified */ ' ,
431
431
],
432
432
'OO property type: multi-dnf fully qualified classes ' => [
433
- 'testMarker ' => '/* testDNFTypePropertyMultiFullyQualified */ ' ,
433
+ 'testMarker ' => '/* testDNFTypePropertyMultiFullyQualified */ ' ,
434
434
],
435
435
'OO property type: multi-dnf with readonly keyword 1 ' => [
436
- 'testMarker ' => '/* testDNFTypePropertyWithReadOnlyKeyword1 */ ' ,
436
+ 'testMarker ' => '/* testDNFTypePropertyWithReadOnlyKeyword1 */ ' ,
437
437
],
438
438
'OO property type: multi-dnf with readonly keyword 2 ' => [
439
- 'testMarker ' => '/* testDNFTypePropertyWithReadOnlyKeyword2 */ ' ,
439
+ 'testMarker ' => '/* testDNFTypePropertyWithReadOnlyKeyword2 */ ' ,
440
440
],
441
441
'OO property type: with static and readonly keywords ' => [
442
- 'testMarker ' => '/* testDNFTypePropertyWithStaticAndReadOnlyKeywords */ ' ,
442
+ 'testMarker ' => '/* testDNFTypePropertyWithStaticAndReadOnlyKeywords */ ' ,
443
443
],
444
444
'OO property type: with only static keyword ' => [
445
- 'testMarker ' => '/* testDNFTypePropertyWithOnlyStaticKeyword */ ' ,
445
+ 'testMarker ' => '/* testDNFTypePropertyWithOnlyStaticKeyword */ ' ,
446
446
],
447
447
'OO property type: with only final keyword ' => [
448
- 'testMarker ' => '/* testDNFTypeWithPHP84FinalKeyword */ ' ,
448
+ 'testMarker ' => '/* testDNFTypeWithPHP84FinalKeyword */ ' ,
449
449
],
450
450
'OO property type: with final and static keyword ' => [
451
- 'testMarker ' => '/* testDNFTypeWithPHP84FinalKeywordAndStatic */ ' ,
451
+ 'testMarker ' => '/* testDNFTypeWithPHP84FinalKeywordAndStatic */ ' ,
452
452
],
453
453
454
454
'OO method param type: first param ' => [
455
- 'testMarker ' => '/* testDNFTypeParam1WithAttribute */ ' ,
455
+ 'testMarker ' => '/* testDNFTypeParam1WithAttribute */ ' ,
456
456
],
457
457
'OO method param type: second param, first DNF ' => [
458
- 'testMarker ' => '/* testDNFTypeParam2 */ ' ,
458
+ 'testMarker ' => '/* testDNFTypeParam2 */ ' ,
459
459
],
460
460
'OO method param type: second param, second DNF ' => [
461
- 'testMarker ' => '/* testDNFTypeParam3 */ ' ,
461
+ 'testMarker ' => '/* testDNFTypeParam3 */ ' ,
462
462
],
463
463
'OO method param type: namespace relative classes ' => [
464
- 'testMarker ' => '/* testDNFTypeParamNamespaceRelative */ ' ,
464
+ 'testMarker ' => '/* testDNFTypeParamNamespaceRelative */ ' ,
465
465
],
466
466
'OO method param type: partially qualified classes ' => [
467
- 'testMarker ' => '/* testDNFTypeParamPartiallyQualified */ ' ,
467
+ 'testMarker ' => '/* testDNFTypeParamPartiallyQualified */ ' ,
468
468
],
469
469
'OO method param type: fully qualified classes ' => [
470
- 'testMarker ' => '/* testDNFTypeParamFullyQualified */ ' ,
470
+ 'testMarker ' => '/* testDNFTypeParamFullyQualified */ ' ,
471
471
],
472
472
'Constructor property promotion with multi DNF 1 ' => [
473
- 'testMarker ' => '/* testDNFTypeConstructorPropertyPromotion1 */ ' ,
473
+ 'testMarker ' => '/* testDNFTypeConstructorPropertyPromotion1 */ ' ,
474
474
],
475
475
'Constructor property promotion with multi DNF 2 ' => [
476
- 'testMarker ' => '/* testDNFTypeConstructorPropertyPromotion2 */ ' ,
476
+ 'testMarker ' => '/* testDNFTypeConstructorPropertyPromotion2 */ ' ,
477
477
],
478
478
'OO method return type: multi DNF 1 ' => [
479
- 'testMarker ' => '/* testDNFTypeReturnType1 */ ' ,
479
+ 'testMarker ' => '/* testDNFTypeReturnType1 */ ' ,
480
480
],
481
481
'OO method return type: multi DNF 2 ' => [
482
- 'testMarker ' => '/* testDNFTypeReturnType2 */ ' ,
482
+ 'testMarker ' => '/* testDNFTypeReturnType2 */ ' ,
483
483
],
484
484
'OO abstract method return type: multi DNF 1 ' => [
485
- 'testMarker ' => '/* testDNFTypeAbstractMethodReturnType1 */ ' ,
485
+ 'testMarker ' => '/* testDNFTypeAbstractMethodReturnType1 */ ' ,
486
486
],
487
487
'OO abstract method return type: multi DNF 2 ' => [
488
- 'testMarker ' => '/* testDNFTypeAbstractMethodReturnType2 */ ' ,
488
+ 'testMarker ' => '/* testDNFTypeAbstractMethodReturnType2 */ ' ,
489
489
],
490
490
'OO method return type: namespace relative classes ' => [
491
- 'testMarker ' => '/* testDNFTypeReturnTypeNamespaceRelative */ ' ,
491
+ 'testMarker ' => '/* testDNFTypeReturnTypeNamespaceRelative */ ' ,
492
492
],
493
493
'OO method return type: partially qualified classes ' => [
494
- 'testMarker ' => '/* testDNFTypeReturnPartiallyQualified */ ' ,
494
+ 'testMarker ' => '/* testDNFTypeReturnPartiallyQualified */ ' ,
495
495
],
496
496
'OO method return type: fully qualified classes ' => [
497
- 'testMarker ' => '/* testDNFTypeReturnFullyQualified */ ' ,
497
+ 'testMarker ' => '/* testDNFTypeReturnFullyQualified */ ' ,
498
498
],
499
499
'OO method param type: fully qualified true ' => [
500
- 'testMarker ' => '/* testDNFTypeFQNTrue */ ' ,
500
+ 'testMarker ' => '/* testDNFTypeFQNTrue */ ' ,
501
501
],
502
502
'OO method return type: fully qualified false ' => [
503
- 'testMarker ' => '/* testDNFTypeFQNFalse */ ' ,
503
+ 'testMarker ' => '/* testDNFTypeFQNFalse */ ' ,
504
504
],
505
505
'closure return type: fully qualified null ' => [
506
- 'testMarker ' => '/* testDNFTypeFQNNull */ ' ,
506
+ 'testMarker ' => '/* testDNFTypeFQNNull */ ' ,
507
507
],
508
508
'function param type: with reference ' => [
509
- 'testMarker ' => '/* testDNFTypeWithReference */ ' ,
509
+ 'testMarker ' => '/* testDNFTypeWithReference */ ' ,
510
510
],
511
511
'function param type: with spread ' => [
512
- 'testMarker ' => '/* testDNFTypeWithSpreadOperator */ ' ,
512
+ 'testMarker ' => '/* testDNFTypeWithSpreadOperator */ ' ,
513
513
],
514
514
'closure param type: with illegal nullable ' => [
515
- 'testMarker ' => '/* testDNFTypeClosureParamIllegalNullable */ ' ,
515
+ 'testMarker ' => '/* testDNFTypeClosureParamIllegalNullable */ ' ,
516
516
],
517
517
'closure return type ' => [
518
- 'testMarker ' => '/* testDNFTypeClosureReturn */ ' ,
518
+ 'testMarker ' => '/* testDNFTypeClosureReturn */ ' ,
519
519
],
520
520
'closure with use return type ' => [
521
- 'testMarker ' => '/* testDNFTypeClosureWithUseReturn */ ' ,
521
+ 'testMarker ' => '/* testDNFTypeClosureWithUseReturn */ ' ,
522
522
],
523
523
524
524
'arrow function param type ' => [
525
- 'testMarker ' => '/* testDNFTypeArrowParam */ ' ,
525
+ 'testMarker ' => '/* testDNFTypeArrowParam */ ' ,
526
526
],
527
527
'arrow function return type ' => [
528
- 'testMarker ' => '/* testDNFTypeArrowReturnType */ ' ,
528
+ 'testMarker ' => '/* testDNFTypeArrowReturnType */ ' ,
529
529
],
530
530
'arrow function param type with return by ref ' => [
531
- 'testMarker ' => '/* testDNFTypeArrowParamWithReturnByRef */ ' ,
531
+ 'testMarker ' => '/* testDNFTypeArrowParamWithReturnByRef */ ' ,
532
532
],
533
533
534
534
'illegal syntax: unnecessary parentheses (no union) ' => [
535
- 'testMarker ' => '/* testDNFTypeParamIllegalUnnecessaryParens */ ' ,
535
+ 'testMarker ' => '/* testDNFTypeParamIllegalUnnecessaryParens */ ' ,
536
536
],
537
537
'illegal syntax: union within parentheses, intersect outside ' => [
538
- 'testMarker ' => '/* testDNFTypeParamIllegalIntersectUnionReversed */ ' ,
538
+ 'testMarker ' => '/* testDNFTypeParamIllegalIntersectUnionReversed */ ' ,
539
539
],
540
540
'illegal syntax: nested parentheses ' => [
541
- 'testMarker ' => '/* testDNFTypeParamIllegalNestedParens */ ' ,
541
+ 'testMarker ' => '/* testDNFTypeParamIllegalNestedParens */ ' ,
542
542
],
543
543
];
544
544
0 commit comments