{
  "name": "nextcloud/circles",
  "description": "circles",
  "minimum-stability": "stable",
  "license": "agpl",
  "config": {
    "optimize-autoloader": true,
    "classmap-authoritative": true,
    "autoloader-suffix": "Circles",
    "platform": {
      "php": "8.1"
    },
    "allow-plugins": {
      "bamarni/composer-bin-plugin": true
    }
  },
  "authors": [
    {
      "name": "Maxence Lange",
      "email": "maxence@artificial-owl.com"
    }
  ],
  "autoload": {
    "psr-4": {
      "OCA\\Circles\\": "lib/"
    }
  },
  "scripts": {
    "post-install-cmd": [
        "[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --ansi"
    ],
    "cs:check": "php-cs-fixer fix --dry-run --diff",
    "cs:fix": "php-cs-fixer fix",
    "psalm": "psalm --threads=$(nproc) --no-cache",
    "psalm:update-baseline": "psalm --threads=1 --no-cache --update-baseline",
    "psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
    "psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
    "test": [
      "@test:unit"
    ],
    "test:unit": "vendor/bin/phpunit -c tests/phpunit.xml",
    "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './tests/stubs/*' -print0 | xargs -0 -n1 php -l",
    "rector": "rector && composer cs:fix"
  },
  "require-dev": {
    "nextcloud/ocp": "dev-stable32",
    "bamarni/composer-bin-plugin": "^1.8"
  }
}
