Skip to content

Commit 00bb9f6

Browse files
minor #61373 chore: PHP CS Fixer - heredoc indentation as of PHP 7.3 (keradus)
This PR was merged into the 7.4 branch. Discussion ---------- chore: PHP CS Fixer - heredoc indentation as of PHP 7.3 | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | Fix CS <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT inspired by symfony/symfony@06e22b0#r2265021821 [Possible since PHP 7.3](https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc) with love by [PHP Coding Standards Fixer](https://cs.symfony.com/) Commits ------- 4a25a6a5785 chore: heredoc indentation as of PHP 7.3
2 parents 2f72656 + c8307f9 commit 00bb9f6

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

Resources/WcswidthDataGenerator.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -80,24 +80,24 @@ private function getHeader(string $version): string
8080
$date = (new \DateTimeImmutable())->format('c');
8181

8282
return <<<EOT
83-
<?php
84-
85-
/*
86-
* This file is part of the Symfony package.
87-
*
88-
* (c) Fabien Potencier <fabien@symfony.com>
89-
*
90-
* This file has been auto-generated by the Symfony String Component for internal use.
91-
*
92-
* Unicode version: $version
93-
* Date: $date
94-
*
95-
* For the full copyright and license information, please view the LICENSE
96-
* file that was distributed with this source code.
97-
*/
98-
99-
100-
EOT;
83+
<?php
84+
85+
/*
86+
* This file is part of the Symfony package.
87+
*
88+
* (c) Fabien Potencier <fabien@symfony.com>
89+
*
90+
* This file has been auto-generated by the Symfony String Component for internal use.
91+
*
92+
* Unicode version: $version
93+
* Date: $date
94+
*
95+
* For the full copyright and license information, please view the LICENSE
96+
* file that was distributed with this source code.
97+
*/
98+
99+
100+
EOT;
101101
}
102102

103103
private function format(array $rawData): array

0 commit comments

Comments
 (0)