Skip to content
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

Use native php-cs-fixers for phpdoc order and separation #133

Merged
merged 2 commits into from
Dec 19, 2022
Merged

Use native php-cs-fixers for phpdoc order and separation #133

merged 2 commits into from
Dec 19, 2022

Conversation

GrahamCampbell
Copy link
Member

@GrahamCampbell GrahamCampbell commented Dec 18, 2022

It was also necessary to pin the php-cs-fixer minor version because they make breaking changes in minor version bumps. Note that the upgrade was necessary in order to get the latest fixers.

@GrahamCampbell GrahamCampbell marked this pull request as ready for review December 18, 2022 23:07
Copy link
Member

@driesvints driesvints left a comment

Choose a reason for hiding this comment

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

@taylorotwell taylorotwell merged commit 45ad986 into laravel:main Dec 19, 2022
@GrahamCampbell GrahamCampbell deleted the use-native-fixers branch December 19, 2022 20:26
@@ -37,6 +37,7 @@ public function execute($totalFiles, $changes)
{
$summary = new FixReport\ReportSummary(
$changes,
$totalFiles,
Copy link

Choose a reason for hiding this comment

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

It was also necessary to pin the php-cs-fixer minor version because they make breaking changes in minor version bumps. Note that the upgrade was necessary in order to get the latest fixers.

BC promise is not covering classes marked as @internal. Be careful when playing with internal logic for that reason.

https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.0.0/src/Console/Report/FixReport/ReportSummary.php#L20

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.

4 participants