composer.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. "php-cs-fixer/diff": "^1.2",
  23. "symfony/console": "^3.2 || ^4.0",
  24. "symfony/event-dispatcher": "^3.0 || ^4.0",
  25. "symfony/filesystem": "^3.0 || ^4.0",
  26. "symfony/finder": "^3.0 || ^4.0",
  27. "symfony/options-resolver": "^3.0 || ^4.0",
  28. "symfony/polyfill-php70": "^1.0",
  29. "symfony/polyfill-php72": "^1.4",
  30. "symfony/process": "^3.0 || ^4.0",
  31. "symfony/stopwatch": "^3.0 || ^4.0"
  32. },
  33. "conflict": {
  34. "hhvm": "*"
  35. },
  36. "require-dev": {
  37. "johnkary/phpunit-speedtrap": "^1.1 || ^2.0@dev",
  38. "justinrainbow/json-schema": "^5.0",
  39. "keradus/cli-executor": "^1.0",
  40. "mikey179/vfsStream": "^1.6",
  41. "php-coveralls/php-coveralls": "^2.0",
  42. "php-cs-fixer/accessible-object": "^1.0",
  43. "phpunit/phpunit": "^5.7.23 || ^6.4.3",
  44. "phpunitgoodpractices/traits": "^1.3.1",
  45. "symfony/phpunit-bridge": "^3.2.2 || ^4.0"
  46. },
  47. "suggest": {
  48. "ext-mbstring": "For handling non-UTF8 characters in cache signature.",
  49. "symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible."
  50. },
  51. "config": {
  52. "optimize-autoloader": true,
  53. "sort-packages": true
  54. },
  55. "autoload": {
  56. "psr-4": {
  57. "PhpCsFixer\\": "src/"
  58. },
  59. "classmap": [
  60. "tests/Test/AbstractFixerTestCase.php",
  61. "tests/Test/AbstractIntegrationCaseFactory.php",
  62. "tests/Test/AbstractIntegrationTestCase.php",
  63. "tests/Test/Assert/AssertTokensTrait.php",
  64. "tests/Test/Constraint/SameStringsConstraint.php",
  65. "tests/Test/IntegrationCase.php",
  66. "tests/Test/IntegrationCaseFactory.php",
  67. "tests/Test/IntegrationCaseFactoryInterface.php",
  68. "tests/Test/InternalIntegrationCaseFactory.php",
  69. "tests/TestCase.php"
  70. ]
  71. },
  72. "autoload-dev": {
  73. "psr-4": {
  74. "PhpCsFixer\\Tests\\": "tests/"
  75. }
  76. },
  77. "bin": [
  78. "php-cs-fixer"
  79. ]
  80. }