Skip to content

Enhancement: Enable and configure header_comment fixer #671

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

Closed
wants to merge 2 commits into from

Conversation

localheinz
Copy link
Contributor

@localheinz localheinz commented Jul 16, 2022

❗ Blocked by #670.

This pull request

  • enables and configures the header_comment fixer
  • runs make coding-standards

Follows #559.

πŸ’β€β™‚οΈ For reference, see https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v3.4.0/doc/rules/comment/header_comment.rst.

*/

$header = <<<TXT
Any ideas?
Copy link
Contributor Author

Choose a reason for hiding this comment

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

❗

@localheinz localheinz force-pushed the feature/header-comment branch from 2061247 to 4e10ef6 Compare July 16, 2022 17:49
@localheinz localheinz force-pushed the feature/header-comment branch from 046cc3e to e1a1418 Compare July 16, 2022 17:50
@@ -1,15 +1,11 @@
<?php
/*
Yes, we know this can be used to view the source for any file
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably makes sense to keep these, but move them.

@kamil-tekiela
Copy link
Member

I don't like this and I prefer not to do this. I see no real value in this as it's just comments. They are not even phpdoc. I would remove those strange C++ comments, but I would not add any new header comments.

@localheinz localheinz closed this Jul 17, 2022
@localheinz localheinz deleted the feature/header-comment branch July 17, 2022 10:20
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