Skip to content
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 opened this issue Oct 25, 2018 · 0 comments

Comments

@dmanners
Copy link
Contributor

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.
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant