johnatas-x/grumphp-phpa

Execute phpa in a grumphp task.

Maintainers

Package info

github.com/johnatas-x/grumphp-phpa

pkg:composer/johnatas-x/grumphp-phpa

Statistics

Installs: 6 249

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 1

2.19.0 2026-02-03 09:51 UTC

This package is auto-updated.

Last update: 2026-03-03 09:57:09 UTC


README

This repository adds a task for GrumPHP that launchs php-assumptions. During a commit check for weak assumption. If an assumption is detected, it won't pass.

Installation

Install it using composer:

composer require --dev johnatas-x/grumphp-phpa

Usage

  1. Add the extension in your grumphp.yml file:
extensions:
  - GrumphpPhpa\ExtensionLoader
  1. Add phpa to the tasks:
tasks:
  phpa:
    path: ~
    exclude: []
  • path (string): The path to analyse.
  • exclude (array): List of files/directories to exclude from the analyse.