-
-
Notifications
You must be signed in to change notification settings - Fork 165
Closed
Labels
bugSomething isn't workingSomething isn't workingcomment-stylesRequest for a new comment style, or fixing a bug with theseRequest for a new comment style, or fixing a bug with thesegood first issueGood for newcomersGood for newcomers
Description
When calling reuse addheader on PHP files the comment header is placed outside the <?php tag, which is incorrect.
To demonstrate, assume we have an example file with this content:
<?php
// some code hereThen this happens:
Multiline Comment
| Command |
|
| Expected |
<?php
/*
* SPDX-License-Identifier: MIT
*/ |
| Actual |
/*
* SPDX-License-Identifier: MIT
*/
<?php |
Single line Comment
| Command |
|
| Expected |
<?php
// SPDX-License-Identifier: MIT |
| Actual |
// SPDX-License-Identifier: MIT
<?php |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcomment-stylesRequest for a new comment style, or fixing a bug with theseRequest for a new comment style, or fixing a bug with thesegood first issueGood for newcomersGood for newcomers