Skip to content

Fixed fatal error on "magento sampledata:deploy" when magento is not installed. #13571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 15, 2018
Merged

Fixed fatal error on "magento sampledata:deploy" when magento is not installed. #13571

merged 3 commits into from
Feb 15, 2018

Conversation

4quaternion
Copy link
Contributor

Description

Fixed fatal error on "magento sampledata:deploy" when magento is not installed.
Original PR #8990

Manual testing scenarios

  1. checkout Magento from 2.3-develop branch
  2. Run bin/magento sampledata:deploy (with no errors)

Manual testing scenarios

  1. checkout Magento from 2.3-develop branch
  2. install magento
  3. Run bin/magento sampledata:deploy (with no errors)

Additional test cases see #8990

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@ishakhsuvarov ishakhsuvarov self-assigned this Feb 8, 2018
@ishakhsuvarov ishakhsuvarov added this to the February 2018 milestone Feb 8, 2018
okorshenko
okorshenko previously approved these changes Feb 8, 2018
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function __construct(
ComposerInformation $composerInformation,
Filesystem $filesystem,
PackageFactory $packageFactory,
ComponentRegistrarInterface $componentRegistrar,
\Magento\Framework\Filesystem\Directory\ReadInterfaceFactory $directoryReadFactory = null
\Magento\Framework\Filesystem\Directory\ReadFactory $directoryReadFactory = null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would great to cover this with the tests

@magento-engcom-team magento-engcom-team merged commit f45b664 into magento:2.3-develop Feb 15, 2018
magento-engcom-team pushed a commit that referenced this pull request Feb 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants