Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Conversation

DrewML
Copy link
Contributor

@DrewML DrewML commented Dec 17, 2018

This PR is a:

  • New topic
  • Content update
  • Content fix or rewrite
  • Bug fix or improvement

Summary

When this pull request is merged, it will add a rule disallowing usage of synchronous require, which is almost always not what the developer intended to do and is a source of bugs.

This came up during investigation of a report where bundling wasn't working with a core bundled extension.

Additional information

List all affected URLs

@magento-cicd2
Copy link
Contributor

An admin must run tests on this PR before it can be merged.

@osrecio osrecio self-assigned this Dec 18, 2018
@osrecio osrecio self-requested a review December 18, 2018 07:51
Copy link
Member

@osrecio osrecio left a comment

Choose a reason for hiding this comment

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

Thanks @DrewML for your contribution.

Agree with your PR., actually I had a problem using sync way of require

@jeff-matthews jeff-matthews added Internal Dev Differentiates work between community and Magento staff Technical Updates to the code or processes that alter the technical content of the doc 2.2.x 2.3.x Magento 2.3 related changes labels Dec 18, 2018
@jeff-matthews
Copy link
Contributor

running tests

@jeff-matthews jeff-matthews merged commit 30e30bc into magento:master Dec 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2.2.x 2.3.x Magento 2.3 related changes Internal Dev Differentiates work between community and Magento staff Technical Updates to the code or processes that alter the technical content of the doc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants