Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Add Missing Docblock analyzer #193

Merged
merged 2 commits into from
Oct 6, 2016
Merged

Conversation

ddmler
Copy link
Collaborator

@ddmler ddmler commented Oct 6, 2016

Hey!

Type: bug fix & new feature

Link to issue: #95

This pull request affects the following components (please check boxes):

  • Core
  • Analyzer
  • Compiler
  • Control Flow Graph
  • Documentation

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the Contributing Guidelines.
  • I have checked that another pull request for this purpose does not exist.
  • I wrote some tests for this PR.

Small description of change:

  • Added missing docblock analyzer
  • removed already existing missing docblock notices
  • Add compile events for functions and traits

For interface compile events this is waiting for merge PR #157

*
* Ignore traits compiling from vendor
*/
$checkVendor = strpos($function->getFilepath(), './vendor');
Copy link
Owner

Choose a reason for hiding this comment

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

$function, seems it's a typo, maybe $trait?

Stmt\Function_::class,
Stmt\Trait_::class,
Stmt\Interface_::class,
Stmt\ClassConst::class,
Copy link
Owner

Choose a reason for hiding this comment

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

About ClassConst, it's a hardcore time :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we can make a config setting what to activate :)

@ovr ovr merged commit d4acb3f into ovr:master Oct 6, 2016
@ovr
Copy link
Owner

ovr commented Oct 6, 2016

@ddmler
Thanks you for this PR 👍

@ddmler ddmler deleted the missing-docblock-analyzer branch October 6, 2016 15:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants