Skip to content
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

Add exclude paths configuration for annotation driver #19

merged 1 commit into from Jun 7, 2018


2 participants
Copy link

jankonas commented Jun 6, 2018

Adds configuration option for excluding some paths from annotation driver search.

This is useful when you have some executable code in searched directories.

For example when you have whole %appDir% in paths, you can exclude %appDir%/bootstrap.php and other files, so their code is not executed when the annotation driver parses annotations. Otherwise it would be, as the parsed files are included inside AnnotationDriver::getAllClassNames method by require_once function.


This comment has been minimized.

Copy link

f3l1x commented Jun 7, 2018

Thank you.

@f3l1x f3l1x merged commit 285af68 into nettrine:master Jun 7, 2018

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
coverage/coveralls Coverage increased (+0.2%) to 45.126%

@f3l1x f3l1x added the feature label Jun 7, 2018

@f3l1x f3l1x added this to the v0.2 milestone Jun 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.