Thanks to visit codestin.com
Credit goes to github.com

Skip to content

psalm fixes#8286

Merged
beberlei merged 1 commit into
doctrine:2.7from
orklah:psalm-fixes-2
Sep 30, 2020
Merged

psalm fixes#8286
beberlei merged 1 commit into
doctrine:2.7from
orklah:psalm-fixes-2

Conversation

@orklah
Copy link
Copy Markdown
Contributor

@orklah orklah commented Sep 27, 2020

Hi,

This PR propose fixing about 170 issues detected by Psalm at level 6.

If merged, there will be about 30 issues left to permanently raise the level to 6.

There was a lot of miscs modifications so it was difficult to separate in smaller PR. Please leave a review note on any modification you want to know more, I'll explain why the fix was relevant/necessary

Comment thread lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php Outdated
@greg0ire greg0ire requested a review from ostrolucky September 29, 2020 17:29
@beberlei beberlei added this to the 2.7.4 milestone Sep 30, 2020
@beberlei beberlei merged commit e0eb82a into doctrine:2.7 Sep 30, 2020
*
* @var array
*
* @psalm-var array<string, array{type: string, fieldName: string, columnName: string, inherited: class-string}>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

/cc @orklah nullable is missing here. Also, all the array keys are supposed to be optional but here they're required...

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.

5 participants