Skip to content

Conversation

@Levdbas
Copy link
Member

@Levdbas Levdbas commented Jan 20, 2024

Issue

Lately some tests fail. This PR focusses on getting the phpstan tests running again while also tackeling two other phpstan errors I got locally.

Solution

Include a file to discover symbols, changing a property name and ignore an ACF function error.

Impact

PHPSTAN tests that run again.

Usage Changes

no

Considerations

I got 20 more errors when running phpstan, mostly the unsafe use of new static(), we might want to ignore that as well? Other errors are also some other missing symbols. Let me know if we want to look into those as well.

Copy link
Member

@nlemoine nlemoine left a comment

Choose a reason for hiding this comment

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

Thank you @Levdbas, this looks good to me 👍

@nlemoine nlemoine merged commit d682c7b into 2.x Jan 26, 2024
@nlemoine nlemoine deleted the fix-phpstan-tests branch January 26, 2024 09:20
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.

3 participants