Chapter 2. Configuration

With the minimalist JSON file phpcompatinfo.json

{
    "source-providers": [
        {
            "in": ". as current",
            "name": "/\\.(php|inc|phtml)$/"
        }
    ],
    "plugins": [
    ],
    "analysers": [
    ],
    "services": [
    ]
}

Put it in your project’s folder. Alternative locations are possible. Please refer to the Chapter 8, The Json Configuration File for details on how to do this.

[Note]

The JSON configuration file is no more required for basic usage. Reserved to advanced users.