Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PHPDocBlockChecker Plugin Detailed Error Logging#159

Merged
corpsee merged 2 commits into
php-censor:masterphp-censor/php-censor:masterfrom
Dave13h:Plugin-DocBlockChecker-detailed-errorsDave13h/php-censor:Plugin-DocBlockChecker-detailed-errorsCopy head branch name to clipboard
Feb 27, 2018
Merged

PHPDocBlockChecker Plugin Detailed Error Logging#159
corpsee merged 2 commits into
php-censor:masterphp-censor/php-censor:masterfrom
Dave13h:Plugin-DocBlockChecker-detailed-errorsDave13h/php-censor:Plugin-DocBlockChecker-detailed-errorsCopy head branch name to clipboard

Conversation

@Dave13h
Copy link
Copy Markdown
Contributor

@Dave13h Dave13h commented Feb 26, 2018

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
Copy link
Copy Markdown
Member

corpsee commented Feb 27, 2018

@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.