Skip to content

PHPDocBlockChecker Plugin Detailed Error Logging#159

Merged
corpsee merged 2 commits into
php-censor:masterfrom
Dave13h:Plugin-DocBlockChecker-detailed-errors
Feb 27, 2018
Merged

PHPDocBlockChecker Plugin Detailed Error Logging#159
corpsee merged 2 commits into
php-censor:masterfrom
Dave13h:Plugin-DocBlockChecker-detailed-errors

Conversation

@Dave13h

@Dave13h Dave13h commented Feb 26, 2018

Copy link
Copy Markdown
Contributor

This PR logs the error from the PHPDocBlockChecker rather than just logging that the doc block is missing.

Contribution type

Feature

Description of change

Previously when the docblock checker failed, it would just log that the docblock was missing rather than the actual message coming back from the plugin.

This PR logs the error from the PHPDocBlockChecker rather than just logging that the doc block is missing.
@@ -154,12 +154,43 @@ public function execute()
protected function reportErrors($output)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Class PHPCensor\Plugin\PhpDocblockChecker::reportErrors is missing a docblock.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

^^ Exactly 😁

@corpsee corpsee added this to the 1.0 milestone Feb 27, 2018
@corpsee

corpsee commented Feb 27, 2018

Copy link
Copy Markdown
Member

@Dave13h Thanks! 👍

@corpsee corpsee merged commit be68f11 into php-censor:master Feb 27, 2018
@Dave13h Dave13h deleted the Plugin-DocBlockChecker-detailed-errors branch September 14, 2018 13:33
@corpsee corpsee removed this from the Version 1.0.* (patch) milestone May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants