Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Call to Magento\ImportExport\Model\Source\Import\Behavior\Custom with constructor arguments #123

Closed
@dmanners

Description

@dmanners

Preconditions (*)

  1. 2.3-develop
  2. phpstan installed

Steps to reproduce (*)

  1. ./vendor/bin/phpstan analyse -l 0 app/code/Magento/ImportExport/Test/Unit/Model/Source/Import/Behavior/CustomTest.php

Expected result (*)

  1. No errors

Actual result (*)

 ------ ---------------------------------------------------------------------------------------------------------------------------------------------
  Line   Test/Unit/Model/Source/Import/Behavior/CustomTest.php
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------
  35     Class Magento\ImportExport\Model\Source\Import\Behavior\Custom does not have a constructor and must be instantiated without any parameters.
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions