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

Bump Psalm to 5.0.0 and fix errors for Symfony 6.2 #10261

Merged
merged 1 commit into from
Nov 30, 2022

Conversation

derrabus
Copy link
Member

The Symfony 6.2 release breaks our static analysis once again. This PR should fix the issue.

@derrabus derrabus added this to the 2.13.5 milestone Nov 30, 2022
@greg0ire
Copy link
Member

greg0ire commented Nov 30, 2022

The breaking test seems to have to do with $COLUMNS / a symfony/console upgrade

@greg0ire
Copy link
Member

It looks as if

<env name="COLUMNS" value="120"/>
was previously ignored and 100 was used instead.

@greg0ire
Copy link
Member

greg0ire commented Nov 30, 2022

This is the commit that breaks the test according to git bisect: symfony/console@5edfa27

Full PR at symfony/symfony#45318

@derrabus
Copy link
Member Author

It looks as if

<env name="COLUMNS" value="120"/>

was previously ignored and 100 was used instead.

That setting still is ignored: If I set it to 100, the test keeps failing.

@greg0ire
Copy link
Member

Must be a red herring, let's try the solution mentioned here: https://github.com/symfony/symfony-docs/pull/16476/files

@derrabus
Copy link
Member Author

Full PR at symfony/symfony#45318

That PR was closed in favor of symfony/symfony#47062

@greg0ire
Copy link
Member

I don't think we can access the output wrapper form the test, so maybe let's just drop this // from the assertion.

@derrabus
Copy link
Member Author

Yes, that's what I did now.

@derrabus derrabus merged commit 4b577e7 into doctrine:2.13.x Nov 30, 2022
@derrabus derrabus deleted the bump/sa branch November 30, 2022 21:00
derrabus added a commit to derrabus/orm that referenced this pull request Nov 30, 2022
* 2.13.x:
  Bump Psalm to 5.0.0 and fix errors for Symfony 6.2 (doctrine#10261)
  Leverage Lexer's Token type (follow up)
derrabus added a commit to derrabus/orm that referenced this pull request Nov 30, 2022
* 2.14.x:
  Bump Psalm to 5.0.0 and fix errors for Symfony 6.2 (doctrine#10261)
  Make use statements redundant
  Leverage Lexer's Token type (follow up)
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