★ wanayoo — archive 1999 https://github.com/phpDocumentor/ReflectionDocBlock/pull/198Nouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue when processing invalid tags #198

Merged
merged 3 commits into from Jan 12, 2020
Merged

Fix issue when processing invalid tags #198

merged 3 commits into from Jan 12, 2020

Conversation

@jaapio
Copy link
Member

@jaapio jaapio commented Jan 3, 2020

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.

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.
@jaapio jaapio requested a review from mvriel Jan 3, 2020
@mvriel
mvriel approved these changes Jan 12, 2020
Copy link
Member

@mvriel mvriel left a comment

Reviewed; with a couple of suggestions for possible improvements

@jaapio jaapio force-pushed the fix/invalid-tag-usage-fix branch from 135db42 to bb629f6 Jan 12, 2020
@jaapio jaapio merged commit f256f0b into master Jan 12, 2020
14 of 15 checks passed
14 of 15 checks passed
setup
Details
Unit tests Unit tests
Details
Unit tests for PHP version 7.2 on ubuntu-latest Unit tests for PHP version 7.2 on ubuntu-latest
Details
Unit tests for PHP version 7.3 on ubuntu-latest Unit tests for PHP version 7.3 on ubuntu-latest
Details
Unit tests for PHP version 7.4 on ubuntu-latest Unit tests for PHP version 7.4 on ubuntu-latest
Details
Unit tests for PHP version 7.2 on windows-latest Unit tests for PHP version 7.2 on windows-latest
Details
Unit tests for PHP version 7.3 on windows-latest Unit tests for PHP version 7.3 on windows-latest
Details
Unit tests for PHP version 7.4 on windows-latest Unit tests for PHP version 7.4 on windows-latest
Details
Unit tests for PHP version 7.2 on macOS-latest Unit tests for PHP version 7.2 on macOS-latest
Details
Unit tests for PHP version 7.3 on macOS-latest Unit tests for PHP version 7.3 on macOS-latest
Details
Unit tests for PHP version 7.4 on macOS-latest Unit tests for PHP version 7.4 on macOS-latest
Details
codestyle
Details
phpstan
Details
psalm
Details
Scrutinizer Created
Details
@jaapio jaapio deleted the fix/invalid-tag-usage-fix branch Jan 12, 2020
@jaapio
Copy link
Member Author

@jaapio jaapio commented Jan 12, 2020

Thanks for the review. Updated the code and merged it to master.
We might want to merge this to v4? however, this is a breaking change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.