Skip to content

Fix: Remove unmatched PHPStan ignore comments in BaseMap.php#106

Merged
mondrake merged 2 commits into
masterfrom
fix/phpstan-unmatched-ignores
May 13, 2026
Merged

Fix: Remove unmatched PHPStan ignore comments in BaseMap.php#106
mondrake merged 2 commits into
masterfrom
fix/phpstan-unmatched-ignores

Conversation

@mondrake
Copy link
Copy Markdown
Contributor

No description provided.

PHPStan is reporting "No error with identifier assign.propertyType is reported"
errors on lines 170, 174, 223, and 273 because the @phpstan-ignore comments
are no longer necessary. These ignore directives are for the `assign.propertyType`
error, but the code no longer triggers this error.

Removed the unmatched ignore comments to resolve the PHPStan errors.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.68%. Comparing base (fb27b2f) to head (307f3d5).

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #106   +/-   ##
=========================================
  Coverage     97.68%   97.68%           
  Complexity      220      220           
=========================================
  Files             9        9           
  Lines           519      519           
=========================================
  Hits            507      507           
  Misses           12       12           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

PHPStan is reporting "No error with identifier assign.propertyType is reported"
errors on lines 170, 174, 223, and 273 because the @phpstan-ignore comments
are no longer necessary. These ignore directives are for the `assign.propertyType`
error, but the code no longer triggers this error.

Kept the valid ignore comments on lines 78, 209, 214, and 228 which are still needed.

Removed only the unmatched ignore comments to resolve the PHPStan errors.
@mondrake mondrake merged commit 89e52ab into master May 13, 2026
9 checks passed
@mondrake mondrake deleted the fix/phpstan-unmatched-ignores branch May 13, 2026 20:29
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.

1 participant