← Back to team overview

mahara-contributors team mailing list archive

[Bug 2003990] [NEW] GrumPHP Mahara for linting on commits

 

Public bug reported:

Currently pulls in our phpstan.neon file and runs phpstan on

`git commit` related commands.

Refer to https://github.com/phpro/grumphp

Quick start:

- composer require --dev phpro/grumphp
- composer require --dev phpstan/phpstan

In case SimpleSAMLPHP throws phpstan errors: run `make ssphp`

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/2003990

Title:
  GrumPHP Mahara for linting on commits

Status in Mahara:
  New

Bug description:
  Currently pulls in our phpstan.neon file and runs phpstan on

  `git commit` related commands.

  Refer to https://github.com/phpro/grumphp

  Quick start:

  - composer require --dev phpro/grumphp
  - composer require --dev phpstan/phpstan

  In case SimpleSAMLPHP throws phpstan errors: run `make ssphp`

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/2003990/+subscriptions



Follow ups