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

Run PHP-CS-Fixer in GitHub Actions #1335

Merged
merged 3 commits into from
Jan 5, 2021

Conversation

fbourigault
Copy link
Contributor

Q A
Branch? 2.0
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

StyleCI builds report running in 0 files 🤷‍♂️

This move the execution of PHP-CS-Fixer in GitHub Actions and report CS violations using cs2pr.

@coveralls
Copy link

coveralls commented Jan 4, 2021

Coverage Status

Coverage increased (+0.07%) to 83.637% when pulling 1c65154 on fbourigault:github-actions-php-cs-fixer into 2c16d31 on liip:master.

@fbourigault fbourigault force-pushed the github-actions-php-cs-fixer branch 2 times, most recently from 715ec85 to 1c65154 Compare January 4, 2021 21:46
@@ -32,9 +32,7 @@ class ResolveCache implements \JsonSerializable
private $force;

/**
* @param string $path
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so the idea here is to only document parameters that are not fully documented via the method signature?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This come from the @Symfony ruleset.

I could set no_superfluous_phpdoc_tags to false, revert changes and stick with the GitHub Actions part.

Then we could discuss of the rules to apply to this project.

@lsmith77 lsmith77 merged commit 67719fb into liip:master Jan 5, 2021
@lsmith77
Copy link
Contributor

lsmith77 commented Jan 5, 2021 via email

@fbourigault fbourigault deleted the github-actions-php-cs-fixer branch January 5, 2021 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants