composer.json 2.5 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. "keradus/cli-executor": "^1.0",
  38. "mikey179/vfsStream": "^1.6",
  39. "php-coveralls/php-coveralls": "^2.0",
  40. "php-cs-fixer/accessible-object": "^1.0",
  41. "phpunit/phpunit": "^5.7.23 || ^6.4.3",
  42. "symfony/phpunit-bridge": "^3.2.2 || ^4.0"
  43. },
  44. "suggest": {
  45. "ext-mbstring": "For handling non-UTF8 characters in cache signature.",
  46. "symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible."
  47. },
  48. "conflict": {
  49. "hhvm": "*"
  50. },
  51. "config": {
  52. "optimize-autoloader": true,
  53. "sort-packages": true
  54. },
  55. "autoload": {
  56. "psr-4": { "PhpCsFixer\\": "src/" },
  57. "classmap": [
  58. "tests/Test/AbstractFixerTestCase.php",
  59. "tests/Test/AbstractIntegrationCaseFactory.php",
  60. "tests/Test/AbstractIntegrationTestCase.php",
  61. "tests/Test/Assert/AssertTokensTrait.php",
  62. "tests/Test/IntegrationCase.php",
  63. "tests/Test/IntegrationCaseFactory.php",
  64. "tests/Test/IntegrationCaseFactoryInterface.php",
  65. "tests/Test/InternalIntegrationCaseFactory.php",
  66. "tests/TestCase.php"
  67. ]
  68. },
  69. "autoload-dev": {
  70. "psr-4": { "PhpCsFixer\\Tests\\": "tests/" }
  71. },
  72. "bin": ["php-cs-fixer"]
  73. }