jrfnl
36f4124fa4
Tests: mark test without assertions as such
...
... to prevent it from being considered "risky" and being listed as "risky" below each test run.
```
There was 1 risky test:
1) phpDocumentor\Reflection\ModifyBackTraceSafeTest::testBackTraceModificationDoesNotImpactFunctionArguments
This test did not perform any assertions
/home/runner/work/ReflectionDocBlock/ReflectionDocBlock/tests/integration/ModifyBackTraceSafeTest.php:15
```
2021-08-01 14:16:50 +02:00
Jaapio
73650dde91
Fix FQSEN resolving on see,covers,uses
...
The See, Covers and Use tags can reference also methods, properties and
constants. Which means that the FqsenResolver cannot handle those properly.
This patch fixes that issue.
2020-09-02 22:48:30 +02:00
Jaapio
6ff90eb7bd
Fix issue with modified backtrace
...
php allows the backtrace arguments to be modified via the
backtrace. By using array_map we make sure that we do not overwrite
references.
2020-08-12 18:07:00 +02:00
Jaapio
9781068ce1
Move away from phropecy since it is not php8 ready
2020-07-20 21:20:51 +02:00
Jaapio
aee984014b
Apply new code style
2019-09-20 10:54:12 +02:00
Michael Knappe
6907decc71
added test for generic tag to parse description with 0 as expected
2019-04-30 13:22:06 +02:00
Chuck Burgess
d9952bd114
initialize variables before include, so that var tag usage is normal
2018-01-29 14:03:51 -06:00
Chuck Burgess
7bd0e7e4a1
extra space
2018-01-07 09:09:21 -06:00
Chuck Burgess
2f482c78b0
add tests for bug #63 ;
2018-01-07 08:50:54 -06:00
TomasVotruba
1c8f795c0e
apply coding standard to code
2018-01-02 13:40:57 +01:00
Gabriel Caruso
a1e6160b99
Welcome 2018 🎉
2018-01-02 04:52:36 -02:00
TomasVotruba
4a9675841b
add PHP 7.1 typehints
2017-11-30 10:27:01 +01:00
TomasVotruba
a1d8751ad6
tests: add strict_types and typehints, remove tests that are now covered by typehints
2017-11-30 10:27:01 +01:00
Gabriel Caruso
7524aba21f
Fix tests
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
5ff9ca38c5
[cs] finalize, spaces, concat and strict comparison
2017-11-12 21:23:54 +01:00
TomasVotruba
a872e515bb
[cs] add and apply psr2
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
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
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
Mike van Riel
ed4c6b77ab
Write example on escaping values in a DocBlock
2015-06-28 19:49:32 +02:00
Mike van Riel
216cf0025f
Add example on writing your own Tag and prepare for TagFactory objects
2015-06-28 11:56:16 +02:00
Mike van Riel
a6ffa93e28
Add example and functional test for reconstituting a DocBlock
2015-06-27 16:47:47 +02:00
Mike van Riel
cff8a80680
Add integration test and example on how to read tags
2015-06-24 22:50:12 +02:00
Mike van Riel
97c3735b32
Add first integration test
2015-06-24 08:42:24 +02:00