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
Description
Preconditions (*)
- 2.3-develop
- phpstan installed
Steps to reproduce (*)
./vendor/bin/phpstan analyse -l 0 app/code/Magento/ImportExport/Test/Unit/Model/Source/Import/Behavior/CustomTest.php
Expected result (*)
- 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.
------ ---------------------------------------------------------------------------------------------------------------------------------------------