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.
 
 
 
 
 
 

87 lines
3.7 KiB

  1. {
  2. "name": "markbaker/matrix",
  3. "type": "library",
  4. "description": "PHP Class for working with matrices",
  5. "keywords": ["matrix", "vector", "mathematics"],
  6. "homepage": "https://github.com/MarkBaker/PHPMatrix",
  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"
  16. },
  17. "require-dev": {
  18. "phpunit/phpunit": "^8.4@dev",
  19. "squizlabs/php_codesniffer": "^3.0@dev",
  20. "phpmd/phpmd": "dev-master",
  21. "infection/infection": "0.13.x-dev",
  22. "phpstan/phpstan": "^0.12.0@dev",
  23. "sebastian/phpcpd": "^4.1",
  24. "phploc/phploc": "^5.0@dev",
  25. "phpcompatibility/php-compatibility": "dev-master",
  26. "dealerdirect/phpcodesniffer-composer-installer": "dev-master"
  27. },
  28. "autoload": {
  29. "psr-4": {
  30. "Matrix\\": "classes/src/"
  31. },
  32. "files": [
  33. "classes/src/functions/adjoint.php",
  34. "classes/src/functions/antidiagonal.php",
  35. "classes/src/functions/cofactors.php",
  36. "classes/src/functions/determinant.php",
  37. "classes/src/functions/diagonal.php",
  38. "classes/src/functions/identity.php",
  39. "classes/src/functions/inverse.php",
  40. "classes/src/functions/minors.php",
  41. "classes/src/functions/trace.php",
  42. "classes/src/functions/transpose.php",
  43. "classes/src/operations/add.php",
  44. "classes/src/operations/directsum.php",
  45. "classes/src/operations/subtract.php",
  46. "classes/src/operations/multiply.php",
  47. "classes/src/operations/divideby.php",
  48. "classes/src/operations/divideinto.php"
  49. ]
  50. },
  51. "autoload-dev": {
  52. "psr-4": {
  53. "Matrix\\Test\\": "unitTests/classes/src/"
  54. },
  55. "files": [
  56. "unitTests/classes/src/functions/adjointTest.php",
  57. "unitTests/classes/src/functions/antidiagonalTest.php",
  58. "unitTests/classes/src/functions/cofactorsTest.php",
  59. "unitTests/classes/src/functions/determinantTest.php",
  60. "unitTests/classes/src/functions/diagonalTest.php",
  61. "unitTests/classes/src/functions/identityTest.php",
  62. "unitTests/classes/src/functions/inverseTest.php",
  63. "unitTests/classes/src/functions/minorsTest.php",
  64. "unitTests/classes/src/functions/traceTest.php",
  65. "unitTests/classes/src/functions/transposeTest.php",
  66. "unitTests/classes/src/operations/addTest.php",
  67. "unitTests/classes/src/operations/directsumTest.php",
  68. "unitTests/classes/src/operations/subtractTest.php",
  69. "unitTests/classes/src/operations/multiplyTest.php",
  70. "unitTests/classes/src/operations/dividebyTest.php",
  71. "unitTests/classes/src/operations/divideintoTest.php"
  72. ]
  73. },
  74. "scripts": {
  75. "style": "phpcs --report-width=200 --report=summary,full -n",
  76. "test": "phpunit -c phpunit.xml.dist",
  77. "mess": "phpmd classes/src/ xml codesize,unusedcode,design,naming -n",
  78. "lines": "phploc classes/src/ -n",
  79. "cpd": "phpcpd classes/src/ -n",
  80. "versions": "phpcs --report-width=200 --report=summary,full classes/src/ --standard=PHPCompatibility --runtime-set testVersion 5.6- -n",
  81. "infection": "infection --min-msi=70 --min-covered-msi=70 --log-verbosity=all",
  82. "phpstan": "phpstan analyse classes/src/ -c phpstan.neon --level=7 --no-progress -vvv --memory-limit=1024M",
  83. "coverage": "phpunit -c phpunit.xml.dist --coverage-text --coverage-html ./build/coverage"
  84. },
  85. "minimum-stability": "dev"
  86. }