Skip to content
This repository was archived by the owner on Jul 21, 2019. It is now read-only.

TomasVotruba/shopsys-spryker-and-sylius-analysis

Repository files navigation

Code Complexity of Shopsys, Spryker & Sylius

Build Status

You can find nice summary of these metrics 2 posts:

To be sure we're not making them up, you can run them yourself on you local machine:

1. Install

Spryker requires few extra PHP extensions. Here is how you add them:

On Linux

sudo apt-get install php-bcmath php-gmp php-redis php-bz2

Install this Repository

Then you can install this repository:

git clone https://github.com/TomasVotruba/shopsys-spryker-and-sylius-analysis.git ecommerce-analysis
cd ecommerce-analysis
composer install

Download Projects

As project have dependencies in conflict, they have to be cloned to own directories. This command downloads all projects to /project directory and runs composer install on them.

bin/run prepare

2. Run Analysis

bin/run analyze

Or limit it to single project:

bin/run analyze --project shopsys 

And it will print this nice summary for every project:

Preview

Easy Coding Standard

This will check coding standards of project with psr2.yml and clean-code.yml sets:

bin/run ecs

PHPStan

This will run and show number of errors per level:

bin/run phpstan

# with specific level only
bin/run phpstan --level 7

# with top 20 most frequent errors
bin/run phpstan --level 7 --report

And it will print summary for every project:

Preview

Packages

No packages published

Contributors 2

  •  
  •  

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy