Skip to content

Fix PHPStan level 8 errors in tests, DEV-1895 - #22

Merged
kapilpandya22 merged 1 commit into
masterfrom
DEV-1895-fix-phpstan
Oct 15, 2026
Merged

kapilpandya22 merged 1 commit into
masterfrom
DEV-1895-fix-phpstan

Conversation

@kapilpandya22

Copy link
Copy Markdown
Member
  • Asserts that the loaded store is a Magento\Store\Model\Store, so getBaseUrl() is known to PHPStan.
  • Removes the unused $objectManager property from ModuleConfigTest.

@kapilpandya22
kapilpandya22 merged commit 6295bbe into master Oct 15, 2026
26 checks passed
@kapilpandya22
kapilpandya22 deleted the DEV-1895-fix-phpstan branch October 15, 2026 09:03
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.

2 participants