Commit Graph
822 Commits
Author SHA1 Message Date
Mike van Riel c80c4b84ee Merge pull request #57 from GrahamCampbell/patch-1
dev-master should always be avoided
2015-06-13 00:18:32 +02:00
Graham Campbell 9440ae1b6b dev-master should always be avoided 2015-06-12 23:17:06 +01:00
Mike van Riel 0574a870e4 Merge pull request #56 from mvriel/feature/refactor-to-v2
Refactored 90% of the library
2015-06-13 00:14:52 +02:00
Mike van Riel 18ef0a8055 Refactored 90% of the library 2015-06-12 20:58:56 +02:00
Mike van Riel b640140928 Merge pull request #54 from mvriel/feature/refactor-to-v2
Add support for types and improve resolution
2015-06-10 14:55:27 +02:00
Mike van Riel 58d09836c1 Add interface for the DocBlockFactory 2015-06-10 14:53:41 +02:00
Mike van Riel 53a142d672 Make resolver final 2015-06-08 08:02:07 +02:00
Mike van Riel b54671f51f Introduce Types
phpDocumentor is capable of representing a whole series of types, more
than PHP supports in fact, and this commit represents those types and a
Resolver that is capable of taking a type Expression and resolving that
to a series of Value Objects representing those types.
2015-06-08 07:05:32 +02:00
Mike van Riel 6e3bf405b3 Merge branch 'master' of github.com:phpDocumentor/ReflectionDocBlock 2015-06-07 15:07:55 +02:00
Mike van Riel 2e3172c173 Upped master dev version to 3.0 2015-06-07 15:07:32 +02:00
Mike van Riel fab7169255 Add support for types and improve resolution
As part of the re-architecting of phpDocumentor and its Reflection component
we needed to move the type classes from the \phpDocumentor\Descriptor
namespace to \phpDocumentor\Reflection\Types.

In addition to this I have removed the resolution / type creation from the
Collection class into a new Resolver class that is capable of resolving any
type into a Type or Fqsen object.

This is the first commit with the base classes and a test for the Resolver
functionality in subsequent commits we need to add tests for the other
classes and to refactor the collection object.
2015-06-07 11:03:28 +02:00
Mike van Riel bd622adfac Merge pull request #53 from mvriel/feature/refactor-to-v2
Make Context leaner and enable third parties to create them
2015-06-06 21:40:28 +02:00
Mike van Riel f3f4d07808 Make Context leaner and enable third parties to create them
Contexts are necessary for factories to resolve QSEN into FQSENs based
on partial namespaces and namespace aliases. These provide DocBlocks
with the namespace name and namespace aliases.

The new ContextFactory will enable third parties who don't use
phpDocumentor's Reflection component to construct a Context based on
a class reflector or namespace name (and file contents).
2015-06-06 20:03:59 +02:00
Mike van Riel f5e35e0629 [#52] Removed dflydev/markdown from suggested list
The markdown package by DFlyDev is deprecated and is not recommended
anymore due to the provided alternatives (parsedown or commonmark).
2015-05-12 09:21:12 +02:00
Mike van Riel 0862bda1a7 Merge pull request #47 from TomasVotruba/patch-1
travis: PHP 7.0 nightly added
2015-02-27 10:28:18 +01:00
Tomáš Votruba 27a4749a50 travis: PHP 7.0 nightly added
See http://docs.travis-ci.com/user/languages/php/#PHP-7
2015-02-27 10:18:02 +01:00
Mike van Riel 139de61110 Merge pull request #46 from colinodell/remove-composer-lock
Remove composer.lock
2015-02-25 18:26:05 +01:00
Mike van Riel 6af9d09011 Merge pull request #45 from colinodell/commonmark-support
Add support for the league/commonmark Markdown parser
2015-02-25 18:24:05 +01:00
Colin O'Dell 3b76919329 Remove composer.lock
Per the Composer documentation:

> Note: For libraries it is not necessarily recommended to commit the lock file (...)

https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
2015-02-23 15:03:39 -05:00
Colin O'Dell b268342bf1 Add support for the league/commonmark Markdown parser 2015-02-23 14:50:38 -05:00
Mike van Riel 27848b2a25 Merge pull request #44 from dunglas/patch-1
minor: typo fix in PHPDoc
2015-02-12 13:17:11 +01:00
Kévin Dunglas b735f12f62 minor: typo fix in PHPDoc 2015-02-12 13:08:38 +01:00
Mike van Riel 1d43dcf418 Remove external code coverage 2015-02-03 21:57:02 +01:00
Mike van Riel fa01efa273 Remove external code coverage and fix scrutinizer issues 2015-02-03 21:43:12 +01:00
Mike van Riel 6bddbfdd2b Add scrutinizer config 2015-02-03 13:17:25 +01:00
Mike van Riel 9f929a987a Disable failing test before tagging 2015-02-03 13:10:50 +01:00
Mike van Riel e2d20cf798 Merge pull request #41 from cebe/patch-1
Create LICENSE
2015-02-03 07:38:02 +01:00
Carsten Brandt 92cfb9c8b0 Create LICENSE
According to [composer.json](https://github.com/phpDocumentor/ReflectionDocBlock/blob/master/composer.json#L4) it should be MIT.

fixes #40
2014-12-19 23:13:47 +01:00
Chuck Burgess 783f450ee6 Merge pull request #39 from mvriel/feature/phpDocumentor2/42
Add support for DocBlock template markers
2014-09-02 09:26:20 -05:00
Mike van Riel 6142bbbbbf Add missing DocBlock (info). 2014-08-30 11:16:26 +02:00
Mike van Riel fe8652b292 Add support for DocBlock template markers
DocBlocks may start with #@+ and #@- to indicate that they are (the start) of a DocBlock
template or the end of a template.

In this commit I have changed the way a DocBlock is parsed to interpret this information
and added tests to show for it. In addition I have added more comments to the Regular
Expression responsible for splitting a DocBlock to show the business rules more clearly.

This is the first step in implementing https://github.com/phpDocumentor/phpDocumentor2/issues/42.
2014-08-30 11:08:15 +02:00
Mike van Riel 70bca88316 Merge pull request #38 from GrahamCampbell/stuff
Composer And Travis Updates
2014-08-21 23:05:07 +02:00
Graham Campbell cb7c16fb61 Travis improvements 2014-08-21 13:02:49 +01:00
Graham Campbell 0233433e59 Composer updates 2014-08-21 13:02:41 +01:00
Mike van Riel c830f38cf3 Merge pull request #37 from alexkn/fix-error-display
Remove Error display at MethodTag
2014-08-09 12:27:07 +02:00
Alexander Knöbel 236c7c7961 Remove Error display at MethodTag 2014-08-09 12:09:15 +02:00
Mike van Riel 0d8a07252b Merge pull request #33 from Nyholm/patch-1
Added PHP 5.6 and HHVM to travis.yml
2014-07-19 08:49:33 +02:00
Tobias Nyholm b4cd037a02 Added hhvm-nightly 2014-07-09 14:15:10 +02:00
Tobias Nyholm 37bb216b95 Added PHP 5.6 and HHVM to travis.yml 2014-07-09 12:05:21 +02:00
Mike van Riel 5f8ee928b6 Merge branch 'master' of github.com:phpDocumentor/ReflectionDocBlock 2014-04-26 12:10:44 +02:00
Mike van Riel d798405fae Implement support for Variadic arguments
Fixes https://github.com/phpDocumentor/phpDocumentor2/issues/629, in
this commit we add support for recognizing and displaying variadic
arguments as described in the Variadics RFC on Internals
(https://wiki.php.net/rfc/variadics).

This adds support for describing Variadics even before PHP 5.6, where
this feature is planned.
2014-03-28 10:21:30 +01:00
Mike van Riel aee778bec6 Merge pull request #31 from siad007/patch-1
Fixed method call.
2014-03-16 13:31:01 +01:00
Siad Ardroumli 832559be31 Fixed method call.
Related to https://github.com/phpDocumentor/phpDocumentor2/pull/1145
2014-03-16 13:23:37 +01:00
Mike van Riel 54c707b480 Merge pull request #30 from cebe/preserve-newlines
Preserve newlines in docblock tags
2014-03-01 11:01:55 +01:00
Carsten Brandt 4922a4a286 Preserve newlines in docblock tags
This is especially important when using markdown.
Adding a blank line between text introduces a new paragraph.
Current implementation will result in all text staying in one paragraph
and also other elements like lists and code do not get recognized in
most cases.
2014-02-28 17:17:48 +01:00
Mike van Riel 506de88c26 Add support for Parsedown as a markdown parser 2013-12-05 09:16:55 +01:00
Vasil Rangelov d67d5f41ee Merge pull request #25 from barryvdh/patch-1
Markdown is not required, so move to suggest
2013-08-08 09:31:39 -07:00
Barry vd. Heuvel 7a5d99cd4f Markdown is not required, so move to suggest
Markdown is only used once and a check is in place to see if the markdown classes exists. So perhaps it is better to move this to suggest instead of require, so the people who don't need it, don't have to download it.
2013-08-08 18:25:04 +02:00
Vasil Rangelov 57eadf5708 Merge pull request #24 from tommygnr/travis-5.5
Enable travis builds on php5.5
2013-08-07 04:04:22 -07:00
Tom Corrigan fbecde4331 Enable travis builds on php5.5 2013-08-07 13:08:11 +10:00