keboola / php-component

General library for PHP applications running in Keboola Connection environment
MIT License
0 stars 1 forks source link

disable timeout on phpunit #59

Open odinuv opened 5 years ago

odinuv commented 5 years ago
A static helper also exists that can disable the process timeout for a specific script directly in composer.json:

{
    "scripts": {
        "test": [
            "Composer\\Config::disableProcessTimeout",
            "phpunit"
        ]
    }
}

https://getcomposer.org/doc/articles/scripts.md#writing-custom-commands