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

FileNameUnitTest: Re-enable the unit tests for non-strict class names. #925

Merged

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Apr 8, 2017

The unit tests for non-strict class names were never enabled as the directory in which the test files live, wasn't listed in the glob() call.
This was previously not corrected as the @codingStandardsChangeSetting directives did not seem to work well in combination with a PHP open tag as the target token.

This has now been fixed. The unit tests should now pass and the directory has been included by making the glob() call more dynamic which will automatically include additional directories if these would be added in the future.

@jrfnl jrfnl added this to the 0.12.0 milestone Apr 8, 2017
@jrfnl jrfnl force-pushed the feature/re-enable-strict-class-file-name-unit-tests branch from 7d7e0ed to d0c528a Compare April 8, 2017 21:45
The unit tests for non-strict class names were never enabled as the directory in which the test files live, wasn't listed in the `glob()` call.
This was previously not corrected as the `@codingStandardsChangeSetting` directives did not seem to work well in combination with a PHP open tag as the target token.

This has now been fixed. The unit tests should now pass and the directory has been included by making the `glob()` call more dynamic which will automatically include additional directories if these would be added in the future.
@JDGrimes JDGrimes merged commit 438e222 into develop Apr 8, 2017
@JDGrimes JDGrimes deleted the feature/re-enable-strict-class-file-name-unit-tests branch April 8, 2017 22:14
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.

None yet

3 participants