composer.json 994 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "name": "staabm/side-effects-detector",
  3. "license": "MIT",
  4. "description": "A static analysis tool to detect side effects in PHP code",
  5. "keywords": ["static analysis"],
  6. "autoload": {
  7. "classmap": ["lib/"]
  8. },
  9. "autoload-dev": {
  10. "classmap": [
  11. "tests/"
  12. ]
  13. },
  14. "require": {
  15. "php": "^7.4 || ^8.0",
  16. "ext-tokenizer": "*"
  17. },
  18. "require-dev": {
  19. "phpstan/extension-installer": "^1.4.3",
  20. "phpstan/phpstan": "^1.12.6",
  21. "phpunit/phpunit": "^9.6.21",
  22. "symfony/var-dumper": "^5.4.43",
  23. "tomasvotruba/type-coverage": "1.0.0",
  24. "tomasvotruba/unused-public": "1.0.0"
  25. },
  26. "config": {
  27. "optimize-autoloader": true,
  28. "sort-packages": true,
  29. "allow-plugins": {
  30. "phpstan/extension-installer": true
  31. }
  32. },
  33. "scripts": {
  34. "qa": ["@test", "@phpstan"],
  35. "phpstan": "phpstan analyze",
  36. "test": "phpunit"
  37. }
  38. }