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

chore: tests documentation classes #7855

Conversation

kubawerlos
Copy link
Contributor

No description provided.

@coveralls
Copy link

Coverage Status

coverage: 96.028% (+1.1%) from 94.904%
when pulling bd4325a on 6b7562617765726c6f73:test_documentation_generation_classes
into e1b66dd on PHP-CS-Fixer:master.

Copy link
Member

@julienfalque julienfalque left a comment

Choose a reason for hiding this comment

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

IMO adding tests for those classes does not add much value because the actual generated documentation can already serve this purpose. Checking generated changes with Git is quite trivial. This is also already checked in CI.

However, now that you have done the biggest part of the job to write the tests, I don't think maintaining them will be a burden so I'm fine merging this anyway.

*
* @var string[]
*/
private static $classesWithoutTests = [
Copy link
Member

Choose a reason for hiding this comment

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

❤️

@keradus
Copy link
Member

keradus commented Feb 28, 2024

thanks @kubawerlos

@keradus keradus merged commit 008b824 into PHP-CS-Fixer:master Feb 28, 2024
25 checks passed
@kubawerlos kubawerlos deleted the test_documentation_generation_classes branch February 29, 2024 08:22
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

4 participants