Commit Graph
411 Commits
Author SHA1 Message Date
TomasVotruba 1119a97659 drop unused phpmd.xml 2017-11-15 20:01:54 +01:00
TomasVotruba 03f8b85625 use coveralls over scrutinizer 2017-11-15 20:01:54 +01:00
Gabriel Caruso 7524aba21f Fix tests 2017-11-15 08:29:42 +01:00
Gabriel Caruso fd1a734d29 Remove composer.lock, and update to PHPUnit 6 and Mockery 1 2017-11-15 08:29:42 +01:00
Gabriel Caruso c006d4a2d5 Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-15 08:29:42 +01:00
TomasVotruba 03b7048a61 README: improve install and examples 2017-11-12 21:24:40 +01:00
TomasVotruba 8959be6da0 gitignore: add temp 2017-11-12 21:23:54 +01:00
TomasVotruba 0ded2070d1 travis: run cs just once 2017-11-12 21:23:54 +01:00
TomasVotruba 5ff9ca38c5 [cs] finalize, spaces, concat and strict comparison 2017-11-12 21:23:54 +01:00
TomasVotruba 833126e6a3 [cs] ignore irelevant errors 2017-11-12 21:23:54 +01:00
TomasVotruba a872e515bb [cs] add and apply psr2 2017-11-12 21:23:54 +01:00
TomasVotruba 0294ce9b70 travis: add tests to cs check 2017-11-12 21:23:54 +01:00
TomasVotruba 44c0ac7d5f [cs] remove unused imports, short array and order imports on tests 2017-11-12 21:23:54 +01:00
TomasVotruba 6e5fc0c312 [cs] ignore temp code 2017-11-12 21:23:54 +01:00
TomasVotruba 771a21db91 [cs] use short arrays, order imports 2017-11-12 21:23:54 +01:00
TomasVotruba 87c6ecc5f4 init coding style check 2017-11-12 21:23:54 +01:00
TomasVotruba e223aa704a travis: add PHP 7.2 2017-11-12 21:23:54 +01:00
TomasVotruba dad79320b3 fix cs 2017-11-10 23:53:51 +01:00
TomasVotruba a69e7c5103 travis: drop unused commands 2017-11-10 23:53:51 +01:00
TomasVotruba c9c580e482 DocBlock: move public method up 2017-11-10 23:53:51 +01:00
TomasVotruba 0cb4b04fa6 add test for removeTag() 2017-11-10 23:53:51 +01:00
TomasVotruba 474fd9e29a add test for removeTag() 2017-11-10 23:53:51 +01:00
Tomáš Votruba c62f4592a0 DocBlock: add removeTag() method 2017-11-10 23:53:51 +01:00
Jaapio 14f9edf1ae Switch to phpdocumentor/reflection-common stable 2017-09-11 20:06:11 +02:00
Jaapio c5545d1519 Adds sort to order expected keys
Without this sort the order of argument name and type matter. But
we accually don't care about the order. Only name and type are allowed
but the order doesn't matter.
2017-09-11 19:56:35 +02:00
Bozhidar Hristov 899b409199 Add tests for phpDocumentor\Reflection\DocBlock::getTags 2017-09-11 19:53:47 +02:00
Bozhidar Hristov b2f473ed77 Update Description.php
Getter for `tags`.
2017-09-11 19:53:47 +02:00
Jaapio 2d3d238c43 Adds name to example tag 2017-08-30 20:51:59 +02:00
Jaapio 1d3a5e8585 Fixes namespace error in ExampleFinder 2017-08-30 20:51:28 +02:00
Jaapio 86e24012a3 Merge remote-tracking branch 'warxcell/empty_var_name' 2017-08-29 21:37:41 +02:00
Bozhidar Hristov b11ada456f Fixes https://github.com/phpDocumentor/ReflectionDocBlock/issues/117 2017-08-28 09:51:41 +03:00
Jaapio 125c8b15c8 Fixes risky tests 2017-08-18 23:01:43 +02:00
Jaapio ac75d9af0a Adds codecoverage reporting 2017-08-18 23:00:55 +02:00
Jaapio c054cfdfe1 Fixes implementation of Example tag 2017-08-18 23:00:12 +02:00
Roberto Espinoza a8d791f8c9 Check tag body has a value before trying to access it as an string array 2017-08-08 08:43:50 +02:00
Roberto Espinoza 4aada1f93c Check tag body has a value before trying to access it as an string array 2017-08-08 08:39:58 +02:00
Jaapio 3c8d2425b5 Drop hhvm support 2017-08-04 23:25:06 +02:00
Jaapio 2b49b7962a Allow see tag to url
The see tag allows Fqsen and uri's. But in the current implementation
only Fqsen where allowed. This wrapps the uri and Fqsen in an uniform class
to be able address them in the same way.

Fixes #78
2017-08-04 23:11:57 +02:00
Jaapio 51911abd63 Stop building for php 5 2017-08-04 23:11:13 +02:00
Jaapio 007a536bc5 Upgrades type-resolver to 0.4.0
Type resolver has renamed some classes.
Dropping php 5.5 support
2017-08-04 23:11:13 +02:00
Jaapio 183824db76 Restores future support for annotations
In #89 the regex to parse tags was to strict. The first character after a tag
had to be a single string. Annotations typically start with a parentheses. Only character not
allowed after a tag is a [.
2017-08-04 22:55:59 +02:00
Jaapio 48d3720bf4 Downgrade phpdocumentor/type-resolver to 0.3
In order to restore a bc break made in 3.2.0 I downgraded the
type-resolver. This makes the version less compatible with php 7.1
But will help our users to upgrade.
2017-08-04 22:52:58 +02:00
Jaapio 46f7e8bb07 Allows usage of compound array types
fixes #50
2017-07-15 13:38:20 +02:00
Jaapio b453d2c304 Allow omitting method return type
Support for `@method myMethod()` was missing but according to the
docs of phpdocumentor this is possible.
2017-07-15 13:38:20 +02:00
Jaapio 8ba1708217 Updates phpunit dependencies 2017-07-15 13:30:40 +02:00
Jaapio 382d7cd6f3 Removes space after tag without description
fixes #86
2017-07-14 18:33:36 +02:00
Jaapio 7c33776cd8 Upgrade typeresolver to 0.4 2017-07-14 16:40:01 +02:00
Aleksei Akireikin 3048f961a3 Unit tests fixed 2017-07-14 16:20:14 +02:00
Jan Schneider 2318e5eb97 Add unit test. 2017-06-04 21:54:23 +02:00
Jan Schneider 47ace60533 Add a tag formatter that aligns all tag values. 2017-06-04 21:54:23 +02:00