You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

94 lines
3.4 KiB

  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": "^5.6.0|^7.0.0"
  16. },
  17. "require-dev": {
  18. "phpunit/phpunit": "^4.8.35|^5.4.0",
  19. "phpdocumentor/phpdocumentor":"2.*",
  20. "phpmd/phpmd": "2.*",
  21. "sebastian/phpcpd": "2.*",
  22. "phploc/phploc": "2.*",
  23. "squizlabs/php_codesniffer": "^3.4.0",
  24. "phpcompatibility/php-compatibility": "^9.0",
  25. "dealerdirect/phpcodesniffer-composer-installer": "^0.5.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": [
  78. "phpcs --report-width=200 --report=summary,full -n"
  79. ],
  80. "mess": [
  81. "phpmd classes/src/ xml codesize,unusedcode,design,naming -n"
  82. ],
  83. "lines": [
  84. "phploc classes/src/ -n"
  85. ],
  86. "cpd": [
  87. "phpcpd classes/src/ -n"
  88. ],
  89. "versions": [
  90. "phpcs --report-width=200 --report=summary,full classes/src/ --standard=PHPCompatibility --runtime-set testVersion 5.6- -n"
  91. ]
  92. },
  93. "minimum-stability": "dev"
  94. }