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

[BUGFIX] Avoid php-cs-fixer 3.5.0 #371

Merged
merged 1 commit into from Jan 26, 2022
Merged

Conversation

oliverklee
Copy link
Contributor

Version 3.5.0 has a bug concerning intersection types that breaks our
build.

Fixes #368

Version 3.5.0 has a bug concerning intersection types that breaks our
build.

Fixes #368
@oliverklee oliverklee added the bug Something isn't working label Jan 26, 2022
@oliverklee oliverklee self-assigned this Jan 26, 2022
@lukaszuznanski lukaszuznanski merged commit a999668 into main Jan 26, 2022
@lukaszuznanski lukaszuznanski deleted the bugfix/cs-fixer-conflict branch January 26, 2022 17:25
sbuerk added a commit to sbuerk/testing-framework that referenced this pull request Mar 4, 2022
To increase and maintain code quality has been added using
php-cs-fixer and typo3/coding-standards to this package.
CGL run changed two method return types in a way which leads
to a bunch of fails in core phpstan scans.

This is a already known bug of php-cs-fixer, reported for
version 3.5.0 but also 3.6.0 will change this the same way.

This patch reverts the return-type docblock change for

* 'BaseTestClass::getAccessibleMock()'
* 'BaseTestClass::getAccessibleMockForAbstractClass()'

and additional add following to composer.json conflict section:

    "friendsofphp/php-cs-fixer": "3.5.0 || 3.6.0"

Further reads:

PHP-CS-Fixer/PHP-CS-Fixer#6238
FriendsOfTYPO3/tea#371
FriendsOfTYPO3/tea@a999668

Releases: main, 7, 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add conflict with friendsofphp/php-cs-fixer 3.5.0
2 participants