Skip to content

Conversation

@localheinz
Copy link
Member

@localheinz localheinz commented Jan 27, 2026

This pull request

  • implements a Files\NoPhpstanIgnoreRule which reports an unignorable error when a @phpstan-ignore, @phpstan-ignore-line, or @phpstan-ignore-next-line tag is used to suppress an error

💁‍♂️ For reference, see https://phpstan.org/user-guide/ignoring-errors#ignoring-in-code-using-phpdocs.

@localheinz localheinz self-assigned this Jan 27, 2026
@localheinz localheinz force-pushed the feature/no-phpstan-ignore branch from 1ac815f to 3cbb7c4 Compare January 27, 2026 09:36
@localheinz localheinz changed the title Enhancement: Implement PHPStan\NoIgnoreRule Enhancement: Implement PHPStan\NoPhpstanIgnoreRule Jan 27, 2026
@codecov
Copy link

codecov bot commented Jan 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.22%. Comparing base (32ae316) to head (5ce041f).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1009      +/-   ##
============================================
+ Coverage     98.19%   98.22%   +0.03%     
- Complexity      312      319       +7     
============================================
  Files            37       38       +1     
  Lines          1219     1240      +21     
============================================
+ Hits           1197     1218      +21     
  Misses           22       22              

☔ 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.

@localheinz localheinz force-pushed the feature/no-phpstan-ignore branch 2 times, most recently from bf0c7ca to 11287df Compare January 27, 2026 09:53
@localheinz localheinz changed the title Enhancement: Implement PHPStan\NoPhpstanIgnoreRule Enhancement: Implement Files\NoPhpstanIgnoreRule Jan 27, 2026
@localheinz localheinz force-pushed the feature/no-phpstan-ignore branch from 11287df to 7ba01c8 Compare January 27, 2026 09:54
@localheinz localheinz force-pushed the feature/no-phpstan-ignore branch from 7ba01c8 to 5ce041f Compare January 27, 2026 09:55
@localheinz localheinz merged commit e2a8849 into main Jan 27, 2026
26 checks passed
@localheinz localheinz deleted the feature/no-phpstan-ignore branch January 27, 2026 09:56
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