composer.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "sebastian/code-unit",
  3. "description": "Collection of value objects that represent the PHP code units",
  4. "type": "library",
  5. "homepage": "https://github.com/sebastianbergmann/code-unit",
  6. "license": "BSD-3-Clause",
  7. "authors": [
  8. {
  9. "name": "Sebastian Bergmann",
  10. "email": "sebastian@phpunit.de",
  11. "role": "lead"
  12. }
  13. ],
  14. "support": {
  15. "issues": "https://github.com/sebastianbergmann/code-unit/issues",
  16. "security": "https://github.com/sebastianbergmann/code-unit/security/policy"
  17. },
  18. "prefer-stable": true,
  19. "require": {
  20. "php": ">=8.2"
  21. },
  22. "require-dev": {
  23. "phpunit/phpunit": "^11.5"
  24. },
  25. "config": {
  26. "platform": {
  27. "php": "8.2.0"
  28. },
  29. "optimize-autoloader": true,
  30. "sort-packages": true
  31. },
  32. "autoload": {
  33. "classmap": [
  34. "src/"
  35. ]
  36. },
  37. "autoload-dev": {
  38. "classmap": [
  39. "tests/_fixture"
  40. ],
  41. "files": [
  42. "tests/_fixture/file_with_multiple_code_units.php",
  43. "tests/_fixture/function.php",
  44. "tests/_fixture/issue_9.php"
  45. ]
  46. },
  47. "extra": {
  48. "branch-alias": {
  49. "dev-main": "3.0-dev"
  50. }
  51. }
  52. }