composer.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "friendsofphp/php-cs-fixer",
  3. "type": "application",
  4. "description": "A tool to automatically fix PHP code style",
  5. "license": "MIT",
  6. "authors": [
  7. {
  8. "name": "Fabien Potencier",
  9. "email": "fabien@symfony.com"
  10. },
  11. {
  12. "name": "Dariusz Rumiński",
  13. "email": "dariusz.ruminski@gmail.com"
  14. }
  15. ],
  16. "require": {
  17. "php": "^5.6 || >=7.0 <7.3",
  18. "ext-json": "*",
  19. "ext-tokenizer": "*",
  20. "composer/semver": "^1.4",
  21. "doctrine/annotations": "^1.2",
  22. "gecko-packages/gecko-php-unit": "^2.0 || ^3.0",
  23. "php-cs-fixer/diff": "^1.2",
  24. "symfony/console": "^3.2 || ^4.0",
  25. "symfony/event-dispatcher": "^3.0 || ^4.0",
  26. "symfony/filesystem": "^3.0 || ^4.0",
  27. "symfony/finder": "^3.0 || ^4.0",
  28. "symfony/options-resolver": "^3.0 || ^4.0",
  29. "symfony/polyfill-php70": "^1.0",
  30. "symfony/polyfill-php72": "^1.4",
  31. "symfony/process": "^3.0 || ^4.0",
  32. "symfony/stopwatch": "^3.0 || ^4.0"
  33. },
  34. "require-dev": {
  35. "johnkary/phpunit-speedtrap": "^1.1 || ^2.0@dev",
  36. "justinrainbow/json-schema": "^5.0",
  37. "mikey179/vfsStream": "^1.6",
  38. "php-coveralls/php-coveralls": "^2.0",
  39. "php-cs-fixer/accessible-object": "^1.0",
  40. "phpunit/phpunit": "^5.7.23 || ^6.4.3",
  41. "symfony/phpunit-bridge": "^3.2.2 || ^4.0"
  42. },
  43. "suggest": {
  44. "ext-mbstring": "For handling non-UTF8 characters in cache signature.",
  45. "symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible."
  46. },
  47. "conflict": {
  48. "hhvm": "*"
  49. },
  50. "config": {
  51. "optimize-autoloader": true,
  52. "sort-packages": true
  53. },
  54. "autoload": {
  55. "psr-4": { "PhpCsFixer\\": "src/" },
  56. "classmap": [
  57. "tests/Test/Assert/AssertTokensTrait.php",
  58. "tests/Test/AbstractFixerTestCase.php",
  59. "tests/Test/AbstractIntegrationTestCase.php",
  60. "tests/Test/IntegrationCase.php",
  61. "tests/Test/IntegrationCaseFactory.php"
  62. ]
  63. },
  64. "autoload-dev": {
  65. "psr-4": { "PhpCsFixer\\Tests\\": "tests/" }
  66. },
  67. "bin": ["php-cs-fixer"],
  68. "extra": {
  69. "branch-alias": {
  70. "dev-master": "2.10-dev"
  71. }
  72. }
  73. }