• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

valkyrjaio / ci-rector-php / 43996449880
100%

Build:
DEFAULT BRANCH: 26.x
Ran 17 Nov 2026 01:33AM UTC
Jobs 1
Files 4
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Nov 2026 01:33AM UTC coverage: 100.0%. Remained the same
43996449880

push

github

web-flow
[Rector] fix: Fork the Override attribute rule (#353)

# Description

Keep the `#[Override]` rule when the Rector requirement moves to 2.8.

Rector 2.8 deprecates `AddOverrideAttributeToOverriddenMethodsRector`,
and the deprecated rule throws when it runs. The attribute makes PHP
fail when a later change removes the parent method, so a method that no
longer overrides anything cannot stay behind. This pull request forks
the 2.7.0 rule into this package and configures the fork in place of the
Rector rule.

Rector 2.8 also moves `AddVoidReturnTypeWhereNoReturnRector` to the
`ClassLike` namespace, and it moves the rule documentation classes from
`Symplify\RuleDocGenerator` to `Rector\RuleDoc`. Static analysis cannot
see the old names, so this pull request requires Rector 2.8.4 and
imports the new names in both custom rules.

## Types of changes

- [ ] Improvement _(non-breaking change which improves code)_
- [x] Bug fix _(non-breaking change which fixes an issue)_
- [ ] New feature _(non-breaking change which adds functionality)_
- [ ] Deprecation _(breaking change which removes functionality)_
- [ ] Breaking change _(fix or feature that would cause existing
functionality to change)_
- [ ] Documentation improvement

## Changes

- **`AddOverrideAttributeToOverriddenMethodsRector`** — the fork of the
Rector 2.7.0 rule, with the Rector MIT notice
- **`Rules`** — configures the fork, and imports the void return rule
from its 2.8 namespace
- **`RemoveNonConflictingAliasInUseStatementRector`** — imports the rule
documentation classes from `Rector\RuleDoc`
- **`composer.json`, `.github/ci/rector/composer.json`** — require
`rector/rector` `^2.8.4`
- **Tests** — the upstream fixtures for the rule, fixtures for the
guards they do not reach, and a test that locks the configured rule list
- **`README.md`** — documents the fork as a custom rule

🤖 Generated with [Claude Code](https://claude.com/claude-code)

121 of 121 new or added lines in 1 file covered. (100.0%)

267 of 267 relevant lines covered (100.0%)

12.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43996449880.1 17 Nov 2026 01:33AM UTC 4
100.0
GitHub Action Run
Source Files on build 43996449880
  • Tree
  • List 4
  • Changed 2
  • Source Changed 2
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43996449880
  • 8dc476c6 on github
  • Prev Build on 26.x (#40728300092)
  • Next Build on 26.x (#43996960955)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc