composer.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "composer/pcre",
  3. "description": "PCRE wrapping library that offers type-safe preg_* replacements.",
  4. "type": "library",
  5. "license": "MIT",
  6. "keywords": [
  7. "pcre",
  8. "regex",
  9. "preg",
  10. "regular expression"
  11. ],
  12. "authors": [
  13. {
  14. "name": "Jordi Boggiano",
  15. "email": "j.boggiano@seld.be",
  16. "homepage": "http://seld.be"
  17. }
  18. ],
  19. "require": {
  20. "php": "^7.4 || ^8.0"
  21. },
  22. "require-dev": {
  23. "phpunit/phpunit": "^9",
  24. "phpstan/phpstan": "^2",
  25. "phpstan/phpstan-strict-rules": "^2",
  26. "phpstan/phpstan-deprecation-rules": "^2"
  27. },
  28. "conflict": {
  29. "phpstan/phpstan": "<2.2.2"
  30. },
  31. "autoload": {
  32. "psr-4": {
  33. "Composer\\Pcre\\": "src"
  34. }
  35. },
  36. "autoload-dev": {
  37. "psr-4": {
  38. "Composer\\Pcre\\": "tests"
  39. }
  40. },
  41. "extra": {
  42. "branch-alias": {
  43. "dev-main": "3.x-dev"
  44. },
  45. "phpstan": {
  46. "includes": [
  47. "extension.neon"
  48. ]
  49. }
  50. },
  51. "scripts": {
  52. "test": [
  53. "@php vendor/bin/phpunit",
  54. "@php vendor/bin/phpunit --testsuite phpstan"
  55. ],
  56. "phpstan": "@php phpstan analyse"
  57. }
  58. }