Ref T7409. Adds ArcanistXHPASTLinter::LINT_USELESS_OVERRIDING_METHOD for detecting method which only call their parent method. Based on Generic_Sniffs_CodeAnalysis_UselessOverridingMethodSniff.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T7415: Write a linter rule to detect when a class name is used instead of self
T7409: Implement PHPCS lints - Commits
- rARC6295134bc7fb: Add a linter rule for useless overriding methods
Added unit tests.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- master
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 5319 Build 5337: [Placeholder Plan] Wait for 30 Seconds