cancel
Showing results for 
Search instead for 
Did you mean: 

Code Quality Testing environment

SOLVED

Code Quality Testing environment

 

TLDR: I want to clone my Magento modules independently to run code quality tests against them without composer installing the entire Magento framework based on my package dependencies.

 

Hi all - code quality question here.

 

I want to be able to `git clone` my Magento modules independently so that code quality tests can be executed against them. The pain for me at the moment is that my dependencies naturally include the Magento framework which causes me to have to:

 

  1. wait for the framework package to download and...
  2. have a lengthy `.gitignore` file because the Magento framework files are copied into the root of the project.

How are some of you handling this?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Code Quality Testing environment

This was easy enough to overcome with:

 

composer install --no-plugins; # Prevent Magento from copying itself to the project root

View solution in original post

1 REPLY 1

Re: Code Quality Testing environment

This was easy enough to overcome with:

 

composer install --no-plugins; # Prevent Magento from copying itself to the project root