Skip to content

Instantly share code, notes, and snippets.

View albertobraschi's full-sized avatar

Alberto Braschi albertobraschi

View GitHub Profile
@rafaelstz
rafaelstz / GrumPHP-Magento2.md
Last active May 22, 2023 20:03
Configure GrumPHP in your Magento 2 to check: Composer, PHPCS, PHPMD, PHPCSFixer, PHPCPD, PHPLint, Security Checker, XML Lint.

Install GrumPHP in your Magento 2

Create the grumphp.yml in the root folder of your project and run these commands below:

    composer require "phpro/grumphp:^0.14" --dev
    composer require nlubisch/grumphp-easycodingstandard --dev
    composer require wearejust/grumphp-extra-tasks --dev
    composer require jakub-onderka/php-parallel-lint --dev   
<?php
/**
* User: Matheus Gomes
* E-maiL: [email protected]
* Date: 07/03/19
* Time: 15:32
*/
class CreditCard
{