Skip to content

Enhancement: Enable and configure header_comment fixer - #671

Closed
localheinz wants to merge 2 commits into
php:masterfrom
localheinz:feature/header-comment
Closed

Enhancement: Enable and configure header_comment fixer#671
localheinz wants to merge 2 commits into
php:masterfrom
localheinz:feature/header-comment

Conversation

@localheinz

@localheinzlocalheinz commented Jul 16, 2022

Copy link
Copy Markdown
Contributor

❗ 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.

Comment thread.php-cs-fixer.php
*/

$header = <<<TXT
Any ideas?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

@localheinz
localheinzforce-pushed the feature/header-comment branch from 2061247 to 4e10ef6CompareJuly 16, 2022 17:49
@localheinz
localheinzforce-pushed the feature/header-comment branch from 046cc3e to e1a1418CompareJuly 16, 2022 17:50
Comment threadcached.php
@@ -1,15 +1,11 @@
<?php
/*
Yes, we know this can be used to view the source for any file

Copy link
Copy Markdown
ContributorAuthor

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
Copy Markdown
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 deleted the feature/header-comment branch July 17, 2022 10:20
Sign up for freeto 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

@localheinz@kamil-tekiela