Forked from
project / coder
11 commits behind the upstream repository.
-
Klaus Purer authoredKlaus Purer authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
ClassCommentUnitTest.inc.fixed 547 B
<?php
/**
* @file
* Testing class/trait comments.
*/
/**
*
*/
trait Bingo {
}
/**
* Trait Bongo.
*/
trait Bongo {
}
/**
* Trait Bango.
*/
trait Bango {
}
/**
* Some example.
*/
final readonly class Example {
}
/**
* My class comment.
*/
#[\Attribute]
class AllGood {
}
/**
*
*/
#[\Attribute]
class NotGood {
}
/**
* There should be no empty line after this.
*/
#[\Attribute]
class WrongSpacing {
}
/**
* This is correct.
*/
#[Some\Attribute(foo: 'bar')]
#[Other\Attribute(baz: 'qux')]
class DoubleAttribute {
}