{
  "name" : "phpcompatibility/php-compatibility",
  "description" : "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.",
  "type" : "phpcodesniffer-standard",
  "keywords" : [ "compatibility", "phpcs", "standards" ],
  "homepage" : "http://techblog.wimgodden.be/tag/codesniffer/",
  "license" : "LGPL-3.0-or-later",
  "authors" : [ {
    "name" : "Wim Godden",
    "role" : "lead",
    "homepage" : "https://github.com/wimg"
  },
  {
    "name" : "Juliette Reinders Folmer",
    "role" : "lead",
    "homepage" : "https://github.com/jrfnl"
  },
  {
    "name" : "Contributors",
    "homepage" : "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors"
  } ],
  "support" : {
    "issues" : "https://github.com/PHPCompatibility/PHPCompatibility/issues",
    "source" : "https://github.com/PHPCompatibility/PHPCompatibility"
  },
  "require" : {
    "php" : ">=5.4",
    "squizlabs/php_codesniffer" : "^2.6 || ^3.1.0",
    "phpcsstandards/phpcsutils" : "^1.0"
  },
  "require-dev" : {
    "php-parallel-lint/php-parallel-lint": "^1.2.0",
    "php-parallel-lint/php-console-highlighter": "^0.5",
    "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || >=9.0 <9.3.0",
    "phpcsstandards/phpcsdevtools": "^1.0"
  },
  "conflict": {
    "squizlabs/php_codesniffer": "2.6.2"
  },
  "replace": {
    "wimg/php-compatibility": "*"
  },
  "suggest" : {
    "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
  },
  "minimum-stability": "alpha",
  "prefer-stable": true,
  "extra": {
    "branch-alias": {
      "dev-master": "9.x-dev",
      "dev-develop": "10.x-dev"
    }
  },
  "scripts" : {
    "test": [
      "@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
    ],
    "coverage": [
      "@php ./vendor/phpunit/phpunit/phpunit"
    ],
    "coverage-local": [
      "@php ./vendor/phpunit/phpunit/phpunit --coverage-html ./build/logs"
    ],
    "lint": [
      "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git --exclude PHPCompatibility/Tests/Keywords/ForbiddenNames"
    ],
    "check-complete": [
      "@php ./vendor/phpcsstandards/phpcsdevtools/bin/phpcs-check-feature-completeness -q ./PHPCompatibility"
    ],
    "check-complete-strict": [
      "@php ./vendor/phpcsstandards/phpcsdevtools/bin/phpcs-check-feature-completeness ./PHPCompatibility"
    ],
    "install-devcs": [
      "composer require --dev phpcsstandards/phpcsdevcs:\"^1.1.2\" --no-suggest"
    ],
    "remove-devcs": [
      "composer remove --dev phpcsstandards/phpcsdevcs"
    ],
    "checkcs": [
      "@install-devcs",
      "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
      "@remove-devcs"
    ],
    "fixcs": [
      "@install-devcs",
      "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf",
      "@remove-devcs"
    ]
  }
}
