composer.json 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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",
  18. "ext-json": "*",
  19. "ext-tokenizer": "*",
  20. "composer/semver": "^1.4 || ^2.0 || ^3.0",
  21. "composer/xdebug-handler": "^1.2",
  22. "doctrine/annotations": "^1.2",
  23. "php-cs-fixer/diff": "^2.0",
  24. "symfony/console": "^3.4.43 || ^4.4.11 || ^5.1.3",
  25. "symfony/event-dispatcher": "^3.0 || ^4.0 || ^5.0",
  26. "symfony/filesystem": "^3.0 || ^4.0 || ^5.0",
  27. "symfony/finder": "^3.0 || ^4.0 || ^5.0",
  28. "symfony/options-resolver": "^3.0 || ^4.0 || ^5.0",
  29. "symfony/polyfill-php70": "^1.0",
  30. "symfony/polyfill-php72": "^1.4",
  31. "symfony/process": "^3.0 || ^4.0 || ^5.0",
  32. "symfony/stopwatch": "^3.0 || ^4.0 || ^5.0"
  33. },
  34. "require-dev": {
  35. "johnkary/phpunit-speedtrap": "^1.1 || ^2.0 || ^3.0",
  36. "justinrainbow/json-schema": "^5.0",
  37. "keradus/cli-executor": "^1.4",
  38. "mikey179/vfsstream": "^1.6",
  39. "php-coveralls/php-coveralls": "^2.4.1",
  40. "php-cs-fixer/accessible-object": "^1.0",
  41. "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2",
  42. "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1",
  43. "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.1",
  44. "phpunitgoodpractices/traits": "^1.9.1",
  45. "symfony/phpunit-bridge": "^5.1",
  46. "symfony/yaml": "^3.0 || ^4.0 || ^5.0"
  47. },
  48. "suggest": {
  49. "ext-dom": "For handling output formats in XML",
  50. "ext-mbstring": "For handling non-UTF8 characters.",
  51. "php-cs-fixer/phpunit-constraint-isidenticalstring": "For IsIdenticalString constraint.",
  52. "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "For XmlMatchesXsd constraint.",
  53. "symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible."
  54. },
  55. "config": {
  56. "sort-packages": true
  57. },
  58. "autoload": {
  59. "psr-4": {
  60. "PhpCsFixer\\": "src/"
  61. },
  62. "classmap": [
  63. "tests/Test/AbstractFixerTestCase.php",
  64. "tests/Test/AbstractIntegrationCaseFactory.php",
  65. "tests/Test/AbstractIntegrationTestCase.php",
  66. "tests/Test/Assert/AssertTokensTrait.php",
  67. "tests/Test/IntegrationCase.php",
  68. "tests/Test/IntegrationCaseFactory.php",
  69. "tests/Test/IntegrationCaseFactoryInterface.php",
  70. "tests/Test/InternalIntegrationCaseFactory.php",
  71. "tests/Test/IsIdenticalConstraint.php",
  72. "tests/TestCase.php"
  73. ]
  74. },
  75. "autoload-dev": {
  76. "psr-4": {
  77. "PhpCsFixer\\Tests\\": "tests/"
  78. }
  79. },
  80. "bin": [
  81. "php-cs-fixer"
  82. ]
  83. }