composer.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "markbaker/complex",
  3. "type": "library",
  4. "description": "PHP Class for working with complex numbers",
  5. "keywords": ["complex", "mathematics"],
  6. "homepage": "https://github.com/MarkBaker/PHPComplex",
  7. "license": "MIT",
  8. "authors": [
  9. {
  10. "name": "Mark Baker",
  11. "email": "mark@lange.demon.co.uk"
  12. }
  13. ],
  14. "require": {
  15. "php": "^7.2 || ^8.0"
  16. },
  17. "require-dev": {
  18. "phpunit/phpunit": "^7.0 || ^8.0 || ^9.3",
  19. "phpdocumentor/phpdocumentor": "2.*",
  20. "phpmd/phpmd": "2.*",
  21. "sebastian/phpcpd": "^4.0",
  22. "phploc/phploc": "^4.0",
  23. "squizlabs/php_codesniffer": "^3.4",
  24. "phpcompatibility/php-compatibility": "^9.0",
  25. "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0"
  26. },
  27. "autoload": {
  28. "psr-4": {
  29. "Complex\\": "classes/src/"
  30. },
  31. "files": [
  32. "classes/src/functions/abs.php",
  33. "classes/src/functions/acos.php",
  34. "classes/src/functions/acosh.php",
  35. "classes/src/functions/acot.php",
  36. "classes/src/functions/acoth.php",
  37. "classes/src/functions/acsc.php",
  38. "classes/src/functions/acsch.php",
  39. "classes/src/functions/argument.php",
  40. "classes/src/functions/asec.php",
  41. "classes/src/functions/asech.php",
  42. "classes/src/functions/asin.php",
  43. "classes/src/functions/asinh.php",
  44. "classes/src/functions/atan.php",
  45. "classes/src/functions/atanh.php",
  46. "classes/src/functions/conjugate.php",
  47. "classes/src/functions/cos.php",
  48. "classes/src/functions/cosh.php",
  49. "classes/src/functions/cot.php",
  50. "classes/src/functions/coth.php",
  51. "classes/src/functions/csc.php",
  52. "classes/src/functions/csch.php",
  53. "classes/src/functions/exp.php",
  54. "classes/src/functions/inverse.php",
  55. "classes/src/functions/ln.php",
  56. "classes/src/functions/log2.php",
  57. "classes/src/functions/log10.php",
  58. "classes/src/functions/negative.php",
  59. "classes/src/functions/pow.php",
  60. "classes/src/functions/rho.php",
  61. "classes/src/functions/sec.php",
  62. "classes/src/functions/sech.php",
  63. "classes/src/functions/sin.php",
  64. "classes/src/functions/sinh.php",
  65. "classes/src/functions/sqrt.php",
  66. "classes/src/functions/tan.php",
  67. "classes/src/functions/tanh.php",
  68. "classes/src/functions/theta.php",
  69. "classes/src/operations/add.php",
  70. "classes/src/operations/subtract.php",
  71. "classes/src/operations/multiply.php",
  72. "classes/src/operations/divideby.php",
  73. "classes/src/operations/divideinto.php"
  74. ]
  75. },
  76. "scripts": {
  77. "style": "phpcs --report-width=200 --standard=PSR2 --report=summary,full classes/src/ unitTests/classes/src -n",
  78. "mess": "phpmd classes/src/ xml codesize,unusedcode,design,naming -n",
  79. "lines": "phploc classes/src/ -n",
  80. "cpd": "phpcpd classes/src/ -n",
  81. "versions": "phpcs --report-width=200 --standard=PHPCompatibility --report=summary,full classes/src/ --runtime-set testVersion 7.2- -n"
  82. },
  83. "minimum-stability": "dev"
  84. }