Skip to content

Add doc parser code change#16

Merged
snake14 merged 8 commits into
add-doc-parserfrom
add-doc-parser-code-change
Oct 9, 2025
Merged

Add doc parser code change#16
snake14 merged 8 commits into
add-doc-parserfrom
add-doc-parser-code-change

Conversation

@snake14
Copy link
Copy Markdown
Contributor

@snake14 snake14 commented Oct 8, 2025

Description

Switch from using Matomo dependency to scoped dependency for parsing docblocks. This is dependent on #15 .

The main reason for these two PRs is because the plugin was dependent on a dev-only dependency from the main application, so we can't rely on that always being available. This switches to a pinned version of a production dependency which is scoped within this plugin and will always be available.

Testing isn't really needed, but you can run the command to annotate a plugin if you like.

@snake14 snake14 marked this pull request as ready for review October 8, 2025 19:55
@snake14 snake14 added the Needs Review For pull requests that need a code review. label Oct 8, 2025
@snake14 snake14 requested a review from a team October 8, 2025 19:56
Copy link
Copy Markdown

@james-hill-matomo james-hill-matomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Tested by running annotations on this branch and 5.x-dev, and saw some minor changes between output. This shows that it is working, and the changes are all fine.

@snake14 snake14 merged commit 2c96659 into add-doc-parser Oct 9, 2025
7 checks passed
@snake14 snake14 deleted the add-doc-parser-code-change branch October 9, 2025 00:43
snake14 added a commit that referenced this pull request Oct 9, 2025
* Add the phpDocumentor dependency

* Add doc parser code change (#16)

* Make code change after dependency update

* Making a few more adjustments to switch dependencies

* Try adding bootstrap to alias classes for PHPStan

* Try some changes

* Revert "Try some changes"

This reverts commit 43b085b.

* Revert "Try adding bootstrap to alias classes for PHPStan"

This reverts commit 1626077.

* Adding autoload to test file

* Trying simplified bootstrap for PHPStan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review For pull requests that need a code review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants