composer.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "zendframework/zend-code",
  3. "description": "provides facilities to generate arbitrary code using an object oriented interface",
  4. "license": "BSD-3-Clause",
  5. "keywords": [
  6. "zf2",
  7. "code"
  8. ],
  9. "homepage": "https://github.com/zendframework/zend-code",
  10. "autoload": {
  11. "psr-4": {
  12. "Zend\\Code\\": "src/"
  13. }
  14. },
  15. "require": {
  16. "php": "^7.1",
  17. "zendframework/zend-eventmanager": "^2.6 || ^3.0"
  18. },
  19. "require-dev": {
  20. "ext-phar": "*",
  21. "doctrine/annotations": "~1.0",
  22. "zendframework/zend-stdlib": "^2.7 || ^3.0",
  23. "phpunit/phpunit": "^6.2.3",
  24. "zendframework/zend-coding-standard": "^1.0.0"
  25. },
  26. "suggest": {
  27. "doctrine/annotations": "Doctrine\\Common\\Annotations >=1.0 for annotation features",
  28. "zendframework/zend-stdlib": "Zend\\Stdlib component"
  29. },
  30. "minimum-stability": "dev",
  31. "prefer-stable": true,
  32. "extra": {
  33. "branch-alias": {
  34. "dev-master": "3.3.x-dev",
  35. "dev-develop": "3.4.x-dev"
  36. }
  37. },
  38. "autoload-dev": {
  39. "psr-4": {
  40. "ZendTest\\Code\\": "test/"
  41. }
  42. },
  43. "scripts": {
  44. "check": [
  45. "@cs-check",
  46. "@test"
  47. ],
  48. "upload-coverage": "coveralls -v",
  49. "cs-check": "phpcs",
  50. "cs-fix": "phpcbf",
  51. "test": "phpunit --colors=always",
  52. "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
  53. }
  54. }