Skip to content

logeecom/pl_module_core

 
 

Repository files navigation

ecommerce_module_core

CircleCI Codacy Badge Codacy Badge

Core library for e-commerces (PS, Woo, Magento, etc) modules

Commit Procedure

Before any commit, you MUST run all tests and they all MUST pass. To run tests on different versions of PHP, go to the root directory and in terminal run command:

sh run-tests.sh

You MUST run code inspection so standards could be followed. Assuming you are using PHPStorm (you should), Select src and tests folders in project view and choose "Inspect code..." from right click menu. Select "Selected files" and click OK. When inspection finishes, no errors should be reported except spelling errors (you should review them as well just in case).

Also, in commit dialog you must choose at least these options:

  • Reformat code
  • Perform code analysis
  • Check TODO

This will also run analysis on commit but only on changed files.

Resource compilation

To compile resources in the root directory execute the following command: php cssCompile.php

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 82.5%
  • JavaScript 10.0%
  • HTML 4.0%
  • CSS 2.0%
  • SCSS 1.5%