{
  "name": "overtrue/phplint",
  "description": "`phplint` is a tool that can speed up linting of php files by running several lint processes at once.",
  "type": "library",
  "keywords": [
    "phplint",
    "lint",
    "syntax",
    "check"
  ],
  "license": "MIT",
  "authors": [
    {
      "name": "overtrue",
      "email": "anzhengchao@gmail.com"
    }
  ],
  "require": {
    "php": "^8.1",
    "ext-json": "*",
    "symfony/console": "^5.0 || ^6.0",
    "symfony/finder": "^6.0",
    "symfony/process": "^6.0",
    "symfony/yaml": "^6.0",
    "n98/junit-xml": "1.1.0"
  },
  "require-dev": {
    "jakub-onderka/php-console-highlighter": "^0.4",
    "brainmaestro/composer-git-hooks": "^2.8.5",
    "friendsofphp/php-cs-fixer": "^3.4.0",
    "jetbrains/phpstorm-stubs": "^2021.3 || ^2022.0",
    "bamarni/composer-bin-plugin": "^1.4"
  },
  "autoload": {
    "psr-4": {
      "Overtrue\\PHPLint\\": "src/"
    }
  },
  "extra": {
    "hooks": {
      "pre-commit": [
        "composer fix-style"
      ]
    }
  },
  "scripts": {
    "bin": "echo 'bin not installed'",
    "post-update-cmd": [
      "cghooks update",
      "@composer bin all update --ansi"
    ],
    "post-merge": "composer install",
    "post-install-cmd": [
      "cghooks add --ignore-lock",
      "cghooks update",
      "@composer bin all install --ansi"
    ],
    "cghooks": "vendor/bin/cghooks",
    "check-style": "php-cs-fixer fix --using-cache=no --diff --dry-run --ansi",
    "fix-style": "php-cs-fixer fix --using-cache=no --ansi",
    "lint:syntax": "./bin/phplint --ansi"
  },
  "minimum-stability": "dev",
  "prefer-stable": true,
  "scripts-descriptions": {
    "check-style": "Run style checks (only dry run - no fixing!).",
    "fix-style": "Run style checks and fix violations."
  },
  "bin": [
    "bin/phplint"
  ],
  "config": {
    "allow-plugins": {
      "bamarni/composer-bin-plugin": true
    },
    "platform": {
      "php": "8.1"
    }
  }
}
