Skip to content

Conversation

@oliverklee
Copy link
Collaborator

This tool will help detect and fix more PSR-12 issues, and it will also
help modernize the tests so that it's easier to cover issues found by
PHPStan with tests.

.gitattributes Outdated
/.github/ export-ignore
/.gitignore export-ignore
/.phive/ export-ignore
/.php-cs-fixer.dist.php export-ignore
Copy link
Collaborator

Choose a reason for hiding this comment

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

Now would maybe be an appropriate time to group all the config files for checking tools into a common folder so that the root folder doesn’t become a mess.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done: #288

I'll update this PR once the other PR is merged.

Should we move phpunit.xml as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

And should we also move the Doxyfile?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, Doxyfile would be great. I’m on the fence about phpunit.xml. I kinda like the fact that you can just run phpunit without args in the root dir. But I think I like clean dirs even more… WDYT?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Okay, then I'll move Doxyfile as well. Concerning phpunit.xml: I'd also prefer to keep it in the project root as this makes tool integration a lot easier (e.g., being able to easily run the tests in PhpStorm).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Concerning the config file move: Done, rebased and repushed.

@oliverklee oliverklee marked this pull request as draft June 27, 2021 16:10
@oliverklee oliverklee force-pushed the feature/php-cs-fixer branch from 9c7baec to d2e8a11 Compare July 1, 2021 11:56
@oliverklee oliverklee marked this pull request as ready for review July 1, 2021 11:58
This tool will help detect and fix more PSR-12 issues, and it will also
help modernize the tests so that it's easier to cover issues found by
PHPStan with tests.
@oliverklee oliverklee force-pushed the feature/php-cs-fixer branch from d2e8a11 to 068624d Compare July 1, 2021 19:21
@sabberworm sabberworm merged commit 066432a into MyIntervals:master Jul 1, 2021
@oliverklee oliverklee deleted the feature/php-cs-fixer branch July 2, 2021 07:11
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.

2 participants