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

Improve test consistency #80

Merged
merged 5 commits into from
Dec 1, 2020
Merged

Improve test consistency #80

merged 5 commits into from
Dec 1, 2020

Conversation

krsriq
Copy link

@krsriq krsriq commented Nov 28, 2020

The tests have a rather high variance of formatting, docblock usage, closing php tags and the test class namespaces were wrong in same cases.
This PR cleans the tests up somewhat.

@mfn
Copy link

mfn commented Nov 28, 2020

I wonder why the style fixer doesn't pick up most of them @GrahamCampbell ?

@krsriq
Copy link
Author

krsriq commented Nov 28, 2020

Maybe because styleci is configured to only include src @mfn ?

Faker/.styleci.yml

Lines 43 to 45 in af4a5ce

finder:
path:
- src

@pimjansen
Copy link

@GrahamCampbell maybe just also include the tests dir for styleci? Thoughts?

@pimjansen pimjansen added the enhancement New feature or request label Nov 30, 2020
@IonBazan IonBazan mentioned this pull request Nov 30, 2020
6 tasks
@GrahamCampbell GrahamCampbell merged commit 5ead637 into FakerPHP:main Dec 1, 2020
@GrahamCampbell
Copy link
Member

Thanks. :)

@krsriq krsriq deleted the CHORE/tests_consistency branch December 1, 2020 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants