{
  "name": "ihr/web",
  "type": "project",
  "require": {},
  "require-dev": {
    "php-parallel-lint/php-parallel-lint": "^1.4",
    "phpstan/phpstan": "^2.1",
    "phpunit/phpunit": "^11.4",
    "rector/rector": "^2.2.5",
    "friendsofphp/php-cs-fixer": "^3.68",
    "squizlabs/php_codesniffer": "^3.10",
    "phpcompatibility/php-compatibility": "^9.3",
    "dealerdirect/phpcodesniffer-composer-installer": "^1.0"
  },
  "config": {
    "optimize-autoloader": true,
    "sort-packages": true,
    "allow-plugins": {
      "dealerdirect/phpcodesniffer-composer-installer": true
    }
  },
  "scripts": {
    "rector:dry": "php vendor/bin/rector process --dry-run --ansi",
    "rector:apply": "php vendor/bin/rector process --ansi",
    "lint": "php vendor/bin/parallel-lint . --exclude vendor --exclude .backup_trash* --exclude pe2",
    "cs:fix": "php vendor/bin/php-cs-fixer fix --ansi --using-cache yes",
    "cs:check": "php vendor/bin/php-cs-fixer fix --ansi --dry-run --diff --using-cache yes",
    "phpcs": "php vendor/bin/phpcs --extensions=php --parallel=4",
    "phpstan": "php vendor/bin/phpstan analyse --memory-limit=1G",
    "test": "php vendor/bin/phpunit --colors=always",
    "qa": [
      "@lint",
      "@cs:check",
      "@phpcs",
      "@phpstan",
      "@rector:dry"
    ]
  }
}
