andersundsehr / no-ci
composer @no-ci addon
Installs: 22 614
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Type:composer-plugin
pkg:composer/andersundsehr/no-ci
Requires
- php: ^7.3 || ^8.0
- composer-plugin-api: ^2.0
- ondram/ci-detector: ^4.1
Requires (Dev)
- composer/composer: ^2.0
- pluswerk/grumphp-config: ^5
README
install
composer req andersundsehr/no-ci
what does it do
This plugin adds the possibility to add @no-ci/@ci to any composer script.
you can Add it in front of every possible composer script. documentation
Example composer.json
{
  "scripts": {
    "test": [
      "@no-ci @php vendor/bin/phpunit -c phpunit.xml",
      "@ci @php vendor/bin/phpunit -c phpunit-ci.xml"
    ],
    "other:examples": [
      "@no-ci Composer\\Config::disableProcessTimeout",
      "@no-ci @clearCache",
      "@no-ci @composer install",
      "@no-ci @php script.php",
      "@no-ci @putenv COMPOSER=phpstan-composer.json",
      "@no-ci ls -alh"
    ],
    "clearCache": "rm -rf var"
  }
}
with ♥️ from anders und sehr GmbH
If something did not work 😮
or you appreciate this Extension 🥰 let us know.
We are hiring https://www.andersundsehr.com/karriere/