Skip to content

Detect proper method casing #14

@OndraM

Description

@OndraM

Codestyle should detect when wrong casing (which differs from parent class/interface) is used.
https://github.com/lmc-eu/matej-client-php/pull/72/files/81f858f6395a328912b2d46e9adfb0c02641ef10#diff-ad0bc5361b920e3a3e22dce7973789a4R18

class MyTest extends PHPUnit\Framework\TestCase
    protected function setup(): void { // should be setUp
    ...
    }
}

I've seen some check for this, not sure where it was 🙈 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions