Skip to content

Repository files navigation

Mago Configuration

A shareable Mago configuration.

Installation

Install these packages as a dev dependencies in the project:

composer require --dev alpheus/mago carthage-software/mago

Usage

Implement the configuration into mago.toml:

extends = "./vendor/alpheus/mago"

[source]
paths = [
    "./src",
]

[analyzer]
excludes = [
    "./vendor",
]

Or go with different presets:

extends = [
    "./vendor/alpheus/mago",
    "./vendor/alpheus/mago/presets/psl",
    "./vendor/alpheus/mago/presets/phpunit",
]

[source]
paths = [
    "./src",
]

[analyzer]
excludes = [
    "./vendor",
]

License

This project is licensed under the terms of the MIT license.

Releases

Contributors

Languages