← Back to team overview

mahara-contributors team mailing list archive

[Bug 2003990] A change has been merged

 

Reviewed:  https://reviews.mahara.org/c/mahara/+/13668
Committed: https://git.mahara.org/mahara/mahara/commit/7c1df258261cf34e6eadd00869d6b5f69173c5f3
Submitter: "Robert Lyon <robertl@xxxxxxxxxxxxxxx>"
Branch:    main

commit 7c1df258261cf34e6eadd00869d6b5f69173c5f3
Author: Doris Tam <doristam@xxxxxxxxxxxxxxx>
Date:   Fri Jan 27 15:35:13 2023 +1300

Bug 2003990: GrumPHP experimental

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

Make changes, git add them, git commit

Change-Id: Ifaae01b49d9c5e1d89aaf6f90dea02e74bb317b6

-- 
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



References