MO4/Tests/Commenting/PropertyCommentUnitTest.fail.inc.fixed
<?php
class X
{
public $publicPropertySelfDescriptive;
/**
* @var int
*/
public $publicProperty = 1;
/**
* @varx array
*
* array of foo => bar arrays
*/
private $_privateProperty = [['foo' => 'bar']];
/**
* @var
*
* foo
*
* @var array
*/
private $_tmi;
/** stuff */
private $_moar;
/*
* no doc block
*/
private $_priv;
// no doc block
private $_otherPriv;
private $z = null; /** invalid
multiline
comment */
private $y = null; /** invalid doc block after declaration */
private $q = null; /* valid single line comment */
private $x = null;
private $u = null; /* invalid
multiline
comment */
}