Repository navigation
gh-2706: Switch to PHPStan docblock parser #2759
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
Open
bart-jaskulski
wants to merge
29
commits into
phpactor:master
Choose a base branch
from
bart-jaskulski:gh-2706
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
9cd6143
gh-2706: Switch to PHPStan docblock parser
bart-jaskulski 563d374
Misc fixes and improvements of phpstan parser integration
bart-jaskulski 4c7cab9
Add support for rendering docblock with phpstan
bart-jaskulski bc446bc
Extract common functionality and provide "basic" strategy
bart-jaskulski 6ad0438
Minor fixes in phpstan docblock parsing
bart-jaskulski f212fd6
Changes in tests for phpstan compatibility (breaks default docblock p…
bart-jaskulski c898ac8
Attempt to make UnusedImportProvider work with phpstan
bart-jaskulski 4f7bc19
Fix unhandled match case
bart-jaskulski 4b6ee72
Support parsing multiple docblocks from one text fragment
bart-jaskulski 126fe57
Change expected test result for phpstan doc parser
bart-jaskulski 041101e
Grouping with phpstan/doc-parser is not simple task
bart-jaskulski 2e01a58
Remove trimming of content -- handled by parent template
bart-jaskulski 724495e
Get rid of unused method
bart-jaskulski ad62112
Add property-read/write in phpdoc parsing
bart-jaskulski 6d704cb
Restore native parser in tests
bart-jaskulski 951bf7b
Move phpstan docblock usage flag to constructor
bart-jaskulski a7bd0e3
Add basic tests failing with phpstan parser
bart-jaskulski 2d100c4
Fix false-positive unused import on array types
bart-jaskulski 9f7d8d9
Rely on docblock type for return tag
bart-jaskulski 54465e2
Add return type to keep phpstan happy
bart-jaskulski ba10ea5
Update phpstan/docblock-parser to v2
bart-jaskulski 85f0d52
Update composer.lock file
bart-jaskulski deb6995
Control used phpdoc parser with config parameter
bart-jaskulski 4f1ac6b
Change method visibility
bart-jaskulski 109dd82
style: move public method higher in class hierarchy
bart-jaskulski 087ede8
Add test for synthetic types usage
bart-jaskulski 0096488
Merge remote-tracking branch 'upstream/master' into gh-2706
bart-jaskulski e5bae22
Add test for false-positive unused import
bart-jaskulski 0f22d0f
Add missing test sources
bart-jaskulski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Change expected test result for phpstan doc parser
Signed-off-by: Bart Jaskulski <bjaskulski@protonmail.com>
- Loading branch information
commit 126fe578834ca8b4735a93c3f8de8cf73ac10c84
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.