Skip to content

Commit

Permalink
test also regular comment after attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek authored and Wirone committed Jan 29, 2024
1 parent c4006bc commit 6470699
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions tests/Fixtures/Integration/misc/anonymous_class_with_phpdoc.test
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,21 @@ $a = new
/** @property string $x */
class() {};

$a = new
$b = new
#[X]
class() {};

$a = new
$c = new
/** @property string $x */
#[X] #[Y\Z]
class() {};

class Z {}

$d = new
#[X] // comment
class() {};

--INPUT--
<?php

Expand All @@ -29,14 +33,18 @@ $a = new
class() {};


$a = new
$b = new
#[X]
class() {};


$a = new
$c = new
/** @property string $x */
#[X] #[Y\Z]
class() {};

class Z {}

$d = new
#[X] // comment
class() {};

0 comments on commit 6470699

Please sign in to comment.