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

Restrict the installable versions of PHP-CS-Fixer to workaround issue FriendsOfPHP/PHP-CS-Fixer#6238 #1277

Merged
merged 1 commit into from Jan 14, 2022

Conversation

ste93cry
Copy link
Collaborator

@ste93cry ste93cry commented Jan 14, 2022

After the release of PHP-CS-Fixer 3.5, a bug was discovered that changes intersection types to union types, making our build to fail because it changes Foo&PHPUnit\Framework\MockObject\MockObject to Foo|PHPUnit\Framework\MockObject\MockObject in all tests. Restricting the installable version to an older one should be enough to workaround the problem while waiting for its resolution

@ste93cry ste93cry merged commit 1b1c35a into master Jan 14, 2022
@ste93cry ste93cry deleted the fix-broken-build-after-php-cs-fixer-update branch January 14, 2022 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants