Skip to content

Excluding files/folders #34

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

Closed
Anahkiasen opened this issue Jan 26, 2015 · 3 comments
Closed

Excluding files/folders #34

Anahkiasen opened this issue Jan 26, 2015 · 3 comments
Milestone

Comments

@Anahkiasen
Copy link

This may sound weird or go against the purpose, but is there any way to configure the checker for it to ignore specific files or folders?

Currently PSC will scan absolutely all classes and consider any public method part of the public API. While this is technically true there is a lot of classes in my code that are public while not being part of the "public" part of the package nor supposed to be used for public consumption. Classes like the ones that compile the PHAR and such, that aren't documented anywhere and are only there for internal use.

@Anahkiasen
Copy link
Author

Or is this what #23 will bring?

@tomzx
Copy link
Owner

tomzx commented Jan 26, 2015

Exclusion at a file/folder level is what #23 should bring.
Exclusion of classes that do not use @api annotation in a package that uses it is what #8 should bring.

Hopefully these two cover most of the inclusion/exclusion people will need.

@tomzx tomzx added this to the Candidate for next Minor milestone Jan 26, 2015
@tomzx
Copy link
Owner

tomzx commented Jun 22, 2015

Source filtering was added @ v0.6.3. Please try it out and let me know if you have any suggestions on how to improve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants