yireo/magento2-devhacks

Some hacks to make M2 development easier

Installs: 346

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 4

Forks: 1

Open Issues: 1

Type:magento2-module

0.1.2 2021-05-13 09:33 UTC

This package is auto-updated.

Last update: 2024-11-17 13:00:15 UTC


README

Magento 2 module with development hacks, that came in handy for myself.

Installation

Use the following commands to install:

composer require yireo/magento2-devhacks:@dev --dev

Enable this module:

./bin/magento module:enable Yireo_DevHacks
./bin/magento setup:upgrade

Skip template path validation

The core checks whether PHTML templates are in the path of the Magento core. When using the composer feature path to symlink a local repository to Magento, while the path is outside of Magento, this throws an exception. This module simply skips the entire logic. No configuration needed. Bam.

Toggle TESTS_CLEANUP in integration tests configuration

Moved to separate Yireo_IntegrationTestHelper module instead.