mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-19 10:33:12 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
280c4a1d44 | ||
|
|
66ae84e9d7 | ||
|
|
3023fb2220 | ||
|
|
a9b6edf3ce | ||
|
|
f3d1a28bf7 | ||
|
|
6d705c1a0f | ||
|
|
ab0bcb8d31 |
+5
-4
@@ -3,17 +3,18 @@ php:
|
|||||||
- 5.3.3
|
- 5.3.3
|
||||||
- 5.3
|
- 5.3
|
||||||
- 5.4
|
- 5.4
|
||||||
|
- 5.5
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- vendor/phpunit/phpunit/composer/bin/phpunit
|
- vendor/bin/phpunit
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- sudo apt-get -qq update > /dev/null
|
- sudo apt-get -qq update > /dev/null
|
||||||
- phpenv rehash > /dev/null
|
- phpenv rehash > /dev/null
|
||||||
- composer selfupdate --quiet
|
- composer selfupdate --quiet
|
||||||
- composer install --dev
|
- composer install --dev --prefer-source
|
||||||
- vendor/phpunit/phpunit/composer/bin/phpunit
|
- vendor/bin/phpunit
|
||||||
- composer update --dev
|
- composer update --dev --prefer-source
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc: "irc.freenode.org#phpdocumentor"
|
irc: "irc.freenode.org#phpdocumentor"
|
||||||
|
|||||||
+10
-5
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "barryvdh/reflection-docblock",
|
"name": "phpdocumentor/reflection-docblock",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"authors": [
|
"authors": [
|
||||||
@@ -8,13 +8,18 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3"
|
"php": ">=5.3.3"
|
||||||
},
|
},
|
||||||
"suggest": {
|
|
||||||
"dflydev/markdown": "1.0.*"
|
|
||||||
},
|
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {"Barryvdh": ["src/"]}
|
"psr-0": {"phpDocumentor": ["src/"]}
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "3.7.*@stable"
|
"phpunit/phpunit": "3.7.*@stable"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"dflydev/markdown": "1.0.*"
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.0.x-dev"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,11 +10,11 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection;
|
namespace phpDocumentor\Reflection;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock\Tag;
|
use phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
use Barryvdh\Reflection\DocBlock\Context;
|
use phpDocumentor\Reflection\DocBlock\Context;
|
||||||
use Barryvdh\Reflection\DocBlock\Location;
|
use phpDocumentor\Reflection\DocBlock\Location;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses the DocBlock for any structure.
|
* Parses the DocBlock for any structure.
|
||||||
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock;
|
namespace phpDocumentor\Reflection\DocBlock;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The context in which a DocBlock occurs.
|
* The context in which a DocBlock occurs.
|
||||||
+2
-2
@@ -10,9 +10,9 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock;
|
namespace phpDocumentor\Reflection\DocBlock;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock;
|
use phpDocumentor\Reflection\DocBlock;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses a Description of a DocBlock or tag.
|
* Parses a Description of a DocBlock or tag.
|
||||||
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock;
|
namespace phpDocumentor\Reflection\DocBlock;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The location a DocBlock occurs within a file.
|
* The location a DocBlock occurs within a file.
|
||||||
+2
-2
@@ -10,9 +10,9 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock;
|
namespace phpDocumentor\Reflection\DocBlock;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock;
|
use phpDocumentor\Reflection\DocBlock;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Serializes a DocBlock instance.
|
* Serializes a DocBlock instance.
|
||||||
+21
-21
@@ -10,9 +10,9 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock;
|
namespace phpDocumentor\Reflection\DocBlock;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock;
|
use phpDocumentor\Reflection\DocBlock;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses a tag definition for a DocBlock.
|
* Parses a tag definition for a DocBlock.
|
||||||
@@ -59,43 +59,43 @@ class Tag implements \Reflector
|
|||||||
*/
|
*/
|
||||||
private static $tagHandlerMappings = array(
|
private static $tagHandlerMappings = array(
|
||||||
'author'
|
'author'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\AuthorTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\AuthorTag',
|
||||||
'covers'
|
'covers'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\CoversTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\CoversTag',
|
||||||
'deprecated'
|
'deprecated'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\DeprecatedTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\DeprecatedTag',
|
||||||
'example'
|
'example'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\ExampleTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\ExampleTag',
|
||||||
'link'
|
'link'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\LinkTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\LinkTag',
|
||||||
'method'
|
'method'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\MethodTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\MethodTag',
|
||||||
'param'
|
'param'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\ParamTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\ParamTag',
|
||||||
'property-read'
|
'property-read'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\PropertyReadTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\PropertyReadTag',
|
||||||
'property'
|
'property'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\PropertyTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\PropertyTag',
|
||||||
'property-write'
|
'property-write'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\PropertyWriteTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\PropertyWriteTag',
|
||||||
'return'
|
'return'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\ReturnTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\ReturnTag',
|
||||||
'see'
|
'see'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\SeeTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\SeeTag',
|
||||||
'since'
|
'since'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\SinceTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\SinceTag',
|
||||||
'source'
|
'source'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\SourceTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\SourceTag',
|
||||||
'throw'
|
'throw'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\ThrowsTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\ThrowsTag',
|
||||||
'throws'
|
'throws'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\ThrowsTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\ThrowsTag',
|
||||||
'uses'
|
'uses'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\UsesTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\UsesTag',
|
||||||
'var'
|
'var'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\VarTag',
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\VarTag',
|
||||||
'version'
|
'version'
|
||||||
=> '\Barryvdh\Reflection\DocBlock\Tag\VersionTag'
|
=> '\phpDocumentor\Reflection\DocBlock\Tag\VersionTag'
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
+2
-2
@@ -10,9 +10,9 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock\Tag;
|
use phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for an @author tag in a Docblock.
|
* Reflection class for an @author tag in a Docblock.
|
||||||
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @covers tag in a Docblock.
|
* Reflection class for a @covers tag in a Docblock.
|
||||||
+2
-2
@@ -10,9 +10,9 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock\Tag\VersionTag;
|
use phpDocumentor\Reflection\DocBlock\Tag\VersionTag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @deprecated tag in a Docblock.
|
* Reflection class for a @deprecated tag in a Docblock.
|
||||||
+2
-2
@@ -10,9 +10,9 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock\Tag;
|
use phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @example tag in a Docblock.
|
* Reflection class for a @example tag in a Docblock.
|
||||||
+2
-2
@@ -10,9 +10,9 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock\Tag;
|
use phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @link tag in a Docblock.
|
* Reflection class for a @link tag in a Docblock.
|
||||||
+2
-2
@@ -10,9 +10,9 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock\Tag;
|
use phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @method in a Docblock.
|
* Reflection class for a @method in a Docblock.
|
||||||
+2
-2
@@ -10,9 +10,9 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock\Tag;
|
use phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @param tag in a Docblock.
|
* Reflection class for a @param tag in a Docblock.
|
||||||
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @property-read tag in a Docblock.
|
* Reflection class for a @property-read tag in a Docblock.
|
||||||
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @property tag in a Docblock.
|
* Reflection class for a @property tag in a Docblock.
|
||||||
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @property-write tag in a Docblock.
|
* Reflection class for a @property-write tag in a Docblock.
|
||||||
+3
-3
@@ -10,10 +10,10 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock\Tag;
|
use phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
use Barryvdh\Reflection\DocBlock\Type\Collection;
|
use phpDocumentor\Reflection\DocBlock\Type\Collection;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @return tag in a Docblock.
|
* Reflection class for a @return tag in a Docblock.
|
||||||
+2
-2
@@ -10,9 +10,9 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock\Tag;
|
use phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @see tag in a Docblock.
|
* Reflection class for a @see tag in a Docblock.
|
||||||
+2
-2
@@ -10,9 +10,9 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock\Tag\VersionTag;
|
use phpDocumentor\Reflection\DocBlock\Tag\VersionTag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @since tag in a Docblock.
|
* Reflection class for a @since tag in a Docblock.
|
||||||
+2
-2
@@ -10,9 +10,9 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock\Tag;
|
use phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @source tag in a Docblock.
|
* Reflection class for a @source tag in a Docblock.
|
||||||
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @throws tag in a Docblock.
|
* Reflection class for a @throws tag in a Docblock.
|
||||||
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @uses tag in a Docblock.
|
* Reflection class for a @uses tag in a Docblock.
|
||||||
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @var tag in a Docblock.
|
* Reflection class for a @var tag in a Docblock.
|
||||||
+2
-2
@@ -10,9 +10,9 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Tag;
|
namespace phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock\Tag;
|
use phpDocumentor\Reflection\DocBlock\Tag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reflection class for a @version tag in a Docblock.
|
* Reflection class for a @version tag in a Docblock.
|
||||||
+2
-2
@@ -10,9 +10,9 @@
|
|||||||
* @link http://phpdoc.org
|
* @link http://phpdoc.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Barryvdh\Reflection\DocBlock\Type;
|
namespace phpDocumentor\Reflection\DocBlock\Type;
|
||||||
|
|
||||||
use Barryvdh\Reflection\DocBlock\Context;
|
use phpDocumentor\Reflection\DocBlock\Context;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Collection
|
* Collection
|
||||||
Reference in New Issue
Block a user