Jaapio
5892a510fe
Fix phpstan workflow
2020-06-18 22:57:11 +02:00
Jaapio
01848b641d
Use composer image to install dependencies
2020-06-18 22:50:07 +02:00
Graham Campbell
47691ae2be
Removed unnecessary version constraint
2020-06-15 13:21:21 +01:00
Jaap van Otterdijk
cd72d394ca
Merge pull request #212 from orklah/static-fixes
...
change somes things for SA
2020-02-22 13:28:44 +01:00
Orklah
9724d359e9
change somes things for SA
2020-02-22 12:03:05 +01:00
Jaap van Otterdijk
8bc250e5d2
Merge pull request #214 from phpDocumentor/feature/improve-ci
...
Improve ci setup
2020-02-22 11:15:11 +01:00
Jaapio
98f8eeaa24
Improve ci setup
2020-02-22 11:08:00 +01:00
Jaap van Otterdijk
5463f8d32c
Merge pull request #207 from orklah/static-analysis
...
More static analysis fixes
2020-02-20 21:42:36 +01:00
Orklah
8641f53768
fix CS
2020-02-20 21:30:57 +01:00
Orklah
43288974a5
small fixes
2020-02-20 21:26:56 +01:00
Jaap van Otterdijk
45e5409b3f
Merge pull request #210 from TysonAndre/patch-1
...
Fix typo in .PHONY for Makefile
2020-02-20 20:45:11 +01:00
Tyson Andre
3c866bb5ff
Fix typo in .PHONY for Makefile
2020-02-20 14:43:17 -05:00
dependabot-preview[bot]
011b369030
Bump webmozart/assert from 1.6.0 to 1.7.0
...
Bumps [webmozart/assert](https://github.com/webmozart/assert ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/webmozart/assert/releases )
- [Changelog](https://github.com/webmozart/assert/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webmozart/assert/compare/1.6.0...1.7.0 )
Signed-off-by: dependabot-preview[bot] <[email protected] >
2020-02-17 17:48:35 +00:00
Jaap van Otterdijk
edea3e8693
Merge pull request #206 from phpDocumentor/bc-check
...
Bc check
2020-02-12 21:05:04 +01:00
Jaapio
917b6648e6
CSFixes
2020-02-12 20:14:58 +01:00
Jaapio
50b2bc6670
Fetch tags
2020-02-12 20:01:06 +01:00
Jaap van Otterdijk
b21eaf3a01
Merge pull request #201 from orklah/master
...
bump phpstan to master
2020-02-12 19:32:43 +01:00
Jaapio
b73a2b7be0
Add bc check to ci
2020-02-12 19:30:27 +01:00
Jaapio
5b4b720bd1
Add bc check to ci
2020-02-12 19:29:34 +01:00
Jaap van Otterdijk
49a9955ef6
Merge pull request #205 from remicollet/issue-74
...
don't rely on 'args' in trace, not available in 7.4
2020-02-12 19:13:16 +01:00
Remi Collet
e8384e45fa
don't rely on 'args' in trace, not available in 7.4
2020-02-12 13:46:34 +01:00
Mike van Riel
50e77ace68
Change unit testing to match phpDocumentor itself
2020-02-12 08:18:08 +01:00
Andreas Prucha - Abexto
1070e666aa
Make getter for bodyTemplate public in order to make conversion of existig Description to custom Description class easier (e.g. new MyDescriptionClass($origionalDescription->getBodyTemplate(), $origionalDescription->getTags();)
2020-02-12 07:52:22 +01:00
Daniel Rotter
51b773933d
Make regex for method more performant to avoid catastrophic backtracking
2020-02-12 07:28:49 +01:00
Daniel Rotter
8727095d6b
Add failing testcase for long method name
2020-02-12 07:28:49 +01:00
Orklah
ada1b6be7f
bump phpstan to master. Fixed ignored errors
2020-02-10 21:41:22 +01:00
Jaap van Otterdijk
e2ce1d210a
Merge pull request #202 from drupol/fix-for-php74
...
PHP 7.4 fix - Ensure the existence of the 'args' key.
2020-02-10 21:23:05 +01:00
Pol Dellaiera
91307e3009
Fix previous erroneous assignment.
2020-02-10 21:04:24 +01:00
Jaapio
1ef2c9d917
Build on push & pr
2020-02-10 19:44:24 +01:00
Pol Dellaiera
1c6203a9f7
PHP 7.4 fix - Create a temporary variable to prevent Fatal error.
2020-02-10 13:22:22 +01:00
Pol Dellaiera
adcffd685b
PHP 7.4 fix - Check if 'args' key exists, if not, use an empty array.
2020-02-10 11:52:42 +01:00
Pol Dellaiera
e6166a8b40
PHP 7.4 fix - Ensure the existence of the 'args' key.
2020-02-10 11:19:17 +01:00
Jaapio
a48807183a
Add github action status badge
2020-02-09 10:16:15 +01:00
Jaapio
a83a19f71b
Fix code style
2020-02-09 10:13:47 +01:00
Jaapio
1e5bd86da1
Fix invalid void type default for arguments
2020-02-09 09:31:53 +01:00
Jaap van Otterdijk
a8dc047f21
Merge pull request #200 from phpDocumentor/feature/improved-tag-parsing
...
Limit characters after tag name
2020-02-09 09:15:34 +01:00
Jaapio
9169749b9e
Improve test descriptions
2020-02-09 09:11:55 +01:00
Jaapio
264bd1fff7
Handle tag specialization correctly
2020-02-09 09:05:22 +01:00
Jaapio
ed7b7919e3
Limit characters after tag name
...
Previously we allowed all characters after a tag name which made
it a bit fuzzy how tags are handled. Psr-5 is more strict about
the characters that are allowed in tags and those that are part of
the body. A tag name can now be followed by `(`, <space> and `{` all
other characters are forbidden. The first character of the body is
not restricted anymore.
fixes #165
2020-02-09 08:52:29 +01:00
Jaapio
6a88d1ae42
use phpstan action
2020-02-05 21:17:02 +01:00
Jaapio
da71602ae9
Fix issue on workflow
2020-02-02 20:24:25 +01:00
Jaapio
6239e0d184
Switch to phpdoc coding-standard
2020-02-02 11:33:17 +01:00
Jaapio
93919e334b
Fix code style
2020-01-27 21:01:09 +01:00
Jaapio
31fd6db84f
Return invalid tag when factory returned null
2020-01-25 15:52:34 +01:00
Jaapio
cf16f630f2
Fix code style
2020-01-16 09:49:07 +01:00
Jaapio
ce65c06bb6
Fix serialization issue of InvalidTag
2020-01-16 09:38:58 +01:00
Jaap van Otterdijk
f256f0b49e
Merge pull request #198 from phpDocumentor/fix/invalid-tag-usage-fix
...
Fix issue when processing invalid tags
2020-01-12 13:26:24 +01:00
Jaapio
bb629f6469
Improvements to code
2020-01-12 13:19:45 +01:00
Jaapio
1b78639b8b
Add testcase for invalid tag creation
2020-01-03 14:06:44 +01:00
Jaapio
bdecc2d3bf
Fix issue when processing invalid tags
...
When invalid tags are processed a null was returned causing all kind
of issues in the normal behavior of this libary. As a solution a generic tag
could be created. But that would just drop the error information in.
Therefore a new tag was introduced, `invalidTag` the tag is just like the
generic tag but does contain the error triggered during the creation of the
tag. Which might help applications like phpdocumentor to display validation issues.
2020-01-03 13:33:06 +01:00