composer.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "zendframework/zend-code",
  3. "description": "Extensions to the PHP Reflection API, static code scanning, and code generation",
  4. "license": "BSD-3-Clause",
  5. "keywords": [
  6. "zf",
  7. "zendframework",
  8. "code"
  9. ],
  10. "support": {
  11. "docs": "https://docs.zendframework.com/zend-code/",
  12. "issues": "https://github.com/zendframework/zend-code/issues",
  13. "source": "https://github.com/zendframework/zend-code",
  14. "rss": "https://github.com/zendframework/zend-code/releases.atom",
  15. "chat": "https://zendframework-slack.herokuapp.com",
  16. "forum": "https://discourse.zendframework.com/c/questions/components"
  17. },
  18. "require": {
  19. "php": "^7.1",
  20. "zendframework/zend-eventmanager": "^2.6 || ^3.0"
  21. },
  22. "require-dev": {
  23. "ext-phar": "*",
  24. "doctrine/annotations": "^1.0",
  25. "phpunit/phpunit": "^7.5.15",
  26. "zendframework/zend-coding-standard": "^1.0",
  27. "zendframework/zend-stdlib": "^2.7 || ^3.0"
  28. },
  29. "suggest": {
  30. "doctrine/annotations": "Doctrine\\Common\\Annotations >=1.0 for annotation features",
  31. "zendframework/zend-stdlib": "Zend\\Stdlib component"
  32. },
  33. "autoload": {
  34. "psr-4": {
  35. "Zend\\Code\\": "src/"
  36. }
  37. },
  38. "autoload-dev": {
  39. "psr-4": {
  40. "ZendTest\\Code\\": "test/"
  41. }
  42. },
  43. "config": {
  44. "sort-packages": true
  45. },
  46. "extra": {
  47. "branch-alias": {
  48. "dev-master": "3.3.x-dev",
  49. "dev-develop": "3.4.x-dev"
  50. }
  51. },
  52. "scripts": {
  53. "check": [
  54. "@cs-check",
  55. "@test"
  56. ],
  57. "cs-check": "phpcs",
  58. "cs-fix": "phpcbf",
  59. "test": "phpunit --colors=always",
  60. "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
  61. }
  62. }