Skip to content

Instantly share code, notes, and snippets.

@tecnocat
Created July 18, 2014 12:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tecnocat/0a166aa0d0a8e10d353c to your computer and use it in GitHub Desktop.
Save tecnocat/0a166aa0d0a8e10d353c to your computer and use it in GitHub Desktop.
<?php
namespace Sami\Test;
/**
* Class TestCommentsInBlock
*
* @package Sami\Test
*/
class TestCommentsInBlock
{
/**
* @type string TYPE_CAST_NAME_DESC My description
*/
const TYPE_CAST_NAME_DESC = 'Constant with @type + cast + name + description';
/**
* @type string CONST_WITH_TYPE_AND_NAME
*/
const TYPE_CAST_NAME = 'Constant with @type + cast + name';
/**
* @type string
*/
const TYPE_CAST = 'Constant with @type + cast';
/**
* @var string VAR_CAST_NAME_DESC My description
*/
const VAR_CAST_NAME_DESC = 'Constant with @var + cast + name + description';
/**
* @var string VAR_CAST_NAME
*/
const VAR_CAST_NAME = 'Constant with @var + cast + name';
/**
* @var string
*/
const VAR_CAST = 'Constant with @var + cast';
/**
* My description
*/
const CONST_DESC = 'Constant with only description';
/**
* @type string $publicTypeCastNameDesc My description
*/
public $publicTypeCastNameDesc = 'Property public with @type + cast + name + description';
/**
* @type string $publicTypeCastName
*/
public $publicTypeCastName = 'Property public with @type + cast + name';
/**
* @type string
*/
public $publicTypeCast = 'Property public with @type + cast';
/**
* My description
*/
public $publicTypeOnlyDesc = 'Property public with only description';
/**
* @type string $publicStaticTypeCastNameDesc My description
*/
public static $publicStaticTypeCastNameDesc = 'Property public static with @type + cast + name + description';
/**
* @type string $publicStaticTypeCastName
*/
public static $publicStaticTypeCastName = 'Property public static with @type + cast + name';
/**
* @type string
*/
public static $publicStaticTypeCast = 'Property public static with @type + cast';
/**
* My description
*/
public static $publicStaticTypeOnlyDesc = 'Property public static with only description';
/**
* @type string $protectedTypeCastNameDesc My description
*/
protected $protectedTypeCastNameDesc = 'Property protected with @type + cast + name + description';
/**
* @type string $protectedTypeCastName
*/
protected $protectedTypeCastName = 'Property protected with @type + cast + name';
/**
* @type string
*/
protected $protectedTypeCast = 'Property protected with @type + cast';
/**
* My description
*/
protected $protectedTypeOnlyDesc = 'Property protected with only description';
/**
* @type string $protectedStaticTypeCastNameDesc My description
*/
protected static $protectedStaticTypeCastNameDesc = 'Property protected static with @type + cast + name + description';
/**
* @type string $protectedStaticTypeCastName
*/
protected static $protectedStaticTypeCastName = 'Property protected static with @type + cast + name';
/**
* @type string
*/
protected static $protectedStaticTypeCast = 'Property protected static with @type + cast';
/**
* My description
*/
protected static $protectedStaticTypeOnlyDesc = 'Property protected static with only description';
/**
* @type string $privateTypeCastNameDesc My description
*/
private $privateTypeCastNameDesc = 'Property private with @type + cast + name + description';
/**
* @type string $privateTypeCastName
*/
private $privateTypeCastName = 'Property private with @type + cast + name';
/**
* @type string
*/
private $privateTypeCast = 'Property private with @type + cast';
/**
* My description
*/
private $privateTypeOnlyDesc = 'Property private with only description';
/**
* @type string $privateStaticTypeCastNameDesc My description
*/
private static $privateStaticTypeCastNameDesc = 'Property private static with @type + cast + name + description';
/**
* @type string $privateStaticTypeCastName
*/
private static $privateStaticTypeCastName = 'Property private static with @type + cast + name';
/**
* @type string
*/
private static $privateStaticTypeCast = 'Property private static with @type + cast';
/**
* My description
*/
private static $privateStaticTypeOnlyDesc = 'Property private static with only description';
/**
* @var string $publicVarCastNameDesc My description
*/
public $publicVarCastNameDesc = 'Property public with @var + cast + name + description';
/**
* @var string $publicVarCastName
*/
public $publicVarCastName = 'Property public with @var + cast + name';
/**
* @var string
*/
public $publicVarCast = 'Property public with @var + cast';
/**
* My description
*/
public $publicVarOnlyDesc = 'Property public with only description';
/**
* @var string $publicStaticVarCastNameDesc My description
*/
public static $publicStaticVarCastNameDesc = 'Property public static with @var + cast + name + description';
/**
* @var string $publicStaticVarCastName
*/
public static $publicStaticVarCastName = 'Property public static with @var + cast + name';
/**
* @var string
*/
public static $publicStaticVarCast = 'Property public static with @var + cast';
/**
* My description
*/
public static $publicStaticVarOnlyDesc = 'Property public static with only description';
/**
* @var string $protectedVarCastNameDesc My description
*/
protected $protectedVarCastNameDesc = 'Property protected with @var + cast + name + description';
/**
* @var string $protectedVarCastName
*/
protected $protectedVarCastName = 'Property protected with @var + cast + name';
/**
* @var string
*/
protected $protectedVarCast = 'Property protected with @var + cast';
/**
* My description
*/
protected $protectedVarOnlyDesc = 'Property protected with only description';
/**
* @var string $protectedStaticVarCastNameDesc My description
*/
protected static $protectedStaticVarCastNameDesc = 'Property protected static with @var + cast + name + description';
/**
* @var string $protectedStaticVarCastName
*/
protected static $protectedStaticVarCastName = 'Property protected static with @var + cast + name';
/**
* @var string
*/
protected static $protectedStaticVarCast = 'Property protected static with @var + cast';
/**
* My description
*/
protected static $protectedStaticVarOnlyDesc = 'Property protected static with only description';
/**
* @var string $privateVarCastNameDesc My description
*/
private $privateVarCastNameDesc = 'Property private with @var + cast + name + description';
/**
* @var string $privateVarCastName
*/
private $privateVarCastName = 'Property private with @var + cast + name';
/**
* @var string
*/
private $privateVarCast = 'Property private with @var + cast';
/**
* My description
*/
private $privateVarOnlyDesc = 'Property private with only description';
/**
* @var string $privateStaticVarCastNameDesc My description
*/
private static $privateStaticVarCastNameDesc = 'Property private static with @var + cast + name + description';
/**
* @var string $privateStaticVarCastName
*/
private static $privateStaticVarCastName = 'Property private static with @var + cast + name';
/**
* @var string
*/
private static $privateStaticVarCast = 'Property private static with @var + cast';
/**
* My description
*/
private static $privateStaticVarOnlyDesc = 'Property private static with only description';
}
/**
* Class TestCommentsInLine
*
* @package Sami\Test
*/
class TestCommentsInLine
{
/** @type string TYPE_CAST_NAME_DESC My description */
const TYPE_CAST_NAME_DESC = 'Constant with @type + cast + name + description';
/** @type string CONST_WITH_TYPE_AND_NAME */
const TYPE_CAST_NAME = 'Constant with @type + cast + name';
/** @type string */
const TYPE_CAST = 'Constant with @type + cast';
/** @var string VAR_CAST_NAME_DESC My description */
const VAR_CAST_NAME_DESC = 'Constant with @var + cast + name + description';
/** @var string VAR_CAST_NAME */
const VAR_CAST_NAME = 'Constant with @var + cast + name';
/** @var string */
const VAR_CAST = 'Constant with @var + cast';
/** My description */
const CONST_DESC = 'Constant with only description';
/** @type string $publicTypeCastNameDesc My description */
public $publicTypeCastNameDesc = 'Property public with @type + cast + name + description';
/** @type string $publicTypeCastName */
public $publicTypeCastName = 'Property public with @type + cast + name';
/** @type string */
public $publicTypeCast = 'Property public with @type + cast';
/** My description */
public $publicTypeOnlyDesc = 'Property public with only description';
/** @type string $publicStaticTypeCastNameDesc My description */
public static $publicStaticTypeCastNameDesc = 'Property public static with @type + cast + name + description';
/** @type string $publicStaticTypeCastName */
public static $publicStaticTypeCastName = 'Property public static with @type + cast + name';
/** @type string */
public static $publicStaticTypeCast = 'Property public static with @type + cast';
/** My description */
public static $publicStaticTypeOnlyDesc = 'Property public static with only description';
/** @type string $protectedTypeCastNameDesc My description */
protected $protectedTypeCastNameDesc = 'Property protected with @type + cast + name + description';
/** @type string $protectedTypeCastName */
protected $protectedTypeCastName = 'Property protected with @type + cast + name';
/** @type string */
protected $protectedTypeCast = 'Property protected with @type + cast';
/** My description */
protected $protectedTypeOnlyDesc = 'Property protected with only description';
/** @type string $protectedStaticTypeCastNameDesc My description */
protected static $protectedStaticTypeCastNameDesc = 'Property protected static with @type + cast + name + description';
/** @type string $protectedStaticTypeCastName */
protected static $protectedStaticTypeCastName = 'Property protected static with @type + cast + name';
/** @type string */
protected static $protectedStaticTypeCast = 'Property protected static with @type + cast';
/** My description */
protected static $protectedStaticTypeOnlyDesc = 'Property protected static with only description';
/** @type string $privateTypeCastNameDesc My description */
private $privateTypeCastNameDesc = 'Property private with @type + cast + name + description';
/** @type string $privateTypeCastName */
private $privateTypeCastName = 'Property private with @type + cast + name';
/** @type string */
private $privateTypeCast = 'Property private with @type + cast';
/** My description */
private $privateTypeOnlyDesc = 'Property private with only description';
/** @type string $privateStaticTypeCastNameDesc My description */
private static $privateStaticTypeCastNameDesc = 'Property private static with @type + cast + name + description';
/** @type string $privateStaticTypeCastName */
private static $privateStaticTypeCastName = 'Property private static with @type + cast + name';
/** @type string */
private static $privateStaticTypeCast = 'Property private static with @type + cast';
/** My description */
private static $privateStaticTypeOnlyDesc = 'Property private static with only description';
/** @var string $publicVarCastNameDesc My description */
public $publicVarCastNameDesc = 'Property public with @var + cast + name + description';
/** @var string $publicVarCastName */
public $publicVarCastName = 'Property public with @var + cast + name';
/** @var string */
public $publicVarCast = 'Property public with @var + cast';
/** My description */
public $publicVarOnlyDesc = 'Property public with only description';
/** @var string $publicStaticVarCastNameDesc My description */
public static $publicStaticVarCastNameDesc = 'Property public static with @var + cast + name + description';
/** @var string $publicStaticVarCastName */
public static $publicStaticVarCastName = 'Property public static with @var + cast + name';
/** @var string */
public static $publicStaticVarCast = 'Property public static with @var + cast';
/** My description */
public static $publicStaticVarOnlyDesc = 'Property public static with only description';
/** @var string $protectedVarCastNameDesc My description */
protected $protectedVarCastNameDesc = 'Property protected with @var + cast + name + description';
/** @var string $protectedVarCastName */
protected $protectedVarCastName = 'Property protected with @var + cast + name';
/** @var string */
protected $protectedVarCast = 'Property protected with @var + cast';
/** My description */
protected $protectedVarOnlyDesc = 'Property protected with only description';
/** @var string $protectedStaticVarCastNameDesc My description */
protected static $protectedStaticVarCastNameDesc = 'Property protected static with @var + cast + name + description';
/** @var string $protectedStaticVarCastName */
protected static $protectedStaticVarCastName = 'Property protected static with @var + cast + name';
/** @var string */
protected static $protectedStaticVarCast = 'Property protected static with @var + cast';
/** My description */
protected static $protectedStaticVarOnlyDesc = 'Property protected static with only description';
/** @var string $privateVarCastNameDesc My description */
private $privateVarCastNameDesc = 'Property private with @var + cast + name + description';
/** @var string $privateVarCastName */
private $privateVarCastName = 'Property private with @var + cast + name';
/** @var string */
private $privateVarCast = 'Property private with @var + cast';
/** My description */
private $privateVarOnlyDesc = 'Property private with only description';
/** @var string $privateStaticVarCastNameDesc My description */
private static $privateStaticVarCastNameDesc = 'Property private static with @var + cast + name + description';
/** @var string $privateStaticVarCastName */
private static $privateStaticVarCastName = 'Property private static with @var + cast + name';
/** @var string */
private static $privateStaticVarCast = 'Property private static with @var + cast';
/** My description */
private static $privateStaticVarOnlyDesc = 'Property private static with only description';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment