Skip to content

[Insight] PHP code should follow PSR-1 basic coding standard - in src/…/Behat/CarManagementContext.php, line 37 #38

Description

@event15

in src/Madkom/RegistryApplication/Domain/CarManagement/Behat/CarManagementContext.php, line 37

Method names should be declared in camelCase. You should rename this method to comply with PSR-1.

    /**
     * @When /^mam następujące dane samochodów, chcę je dodać do repozytorium:$/
     *
     * @param \Behat\Gherkin\Node\TableNode $table
     */
    public function mamNastępujaceDaneSamochodowChceJeDodacDoRepozytorium(TableNode $table)
    {
        $car = $table->getHash();
        foreach ($car as $item) {
            $dto = new CarDTO($item['id'],
                                $item['responsiblePerson'],

Posted from SensioLabsInsight

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions