aik099 / CodingStandard

The PHP_CodeSniffer coding standard I'm using on all of my projects
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Validate "parent::" method name #14

Closed aik099 closed 10 years ago

aik099 commented 10 years ago

We need to validate that method name after parent:: indeed matches the current method name.

function nameOne() {
    parent::nameTwo();

   ...
}