php-codesniffer/tests/DigiComp/Sniffs/Annotations/data/PropertyOrder.php

56 lines
884 B
PHP
Raw Normal View History

2021-08-01 13:33:41 +02:00
<?php
namespace Inwebs\PhpCodesniffer\Sniffs\Annotations\data;
#[\Attribute(\Attribute::TARGET_PROPERTY)]
final class OwnAttribute
{
}
2021-08-01 13:33:41 +02:00
class PropertyOrder
{
/**
* A small description.
*
* And
* some
* Text
*
* @var string With a nice and multi line
* description
* @Flow\Inject(name="StrangeContent")
* @ORM\Column(stuff={
* "hallo"
* })
*/
protected $test;
/**
* A small description.
*
* And
* some
* Text
*
* @Flow\Inject
* @var string a very long description
2021-08-01 13:33:41 +02:00
* @ORM\Column(stuff={
* "hallo"
* })
*/
protected $testTwo;
/**
* @Flow\Inject
* @var \stdClass mega!
*/
protected $valid;
/**
* @var \stdClass
* @Flow\Validate
*/
#[OwnAttribute]
protected $inValidWithAttribute;
2021-08-01 13:33:41 +02:00
}