-
Notifications
You must be signed in to change notification settings - Fork 10
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
Use phpcs for tests dir #20
Conversation
@lezhnev74 what about this one? |
This PR forces tests to conform to Doctrine coding standards. In general, tests should be of as high quality as possible, as well as the code itself. |
i've applied phpcbf here, is it not enough? |
Try to run this command:
Updated
|
Ah, I see. In our team we use php-cs-fixer which fix all the things it considered violated, but I'm afraid there is no csc set for doctrine ruleset
I can update all of them by hand in this PR |
That would a hell of the PR. If you can do this, please go ahead 🥇 |
* add phpcs to travis ci job to track progress
20a67a8
to
20dcdc6
Compare
e15710f
to
c5cf960
Compare
I've added cscheck as separate travis step, so we can track the progress now https://travis-ci.org/lezhnev74/openapi-psr7-validator/jobs/533693779 |
I'm utilized https://plugins.jetbrains.com/plugin/7160-camelcase for the rest ) 5 errors left to fix |
Aaand all green! |
Dont know why, but locally it show more progress-bar points
Travis show the same count as your screenshot above. But I hope this does not influence anything |
Great work!!!
That is interesting. |
Applies phpcs to test files on a regular basis