summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 5fe757d86a38e07aded836ea99f8cb7b921890c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
  "name": "phpmd/phpmd",
  "description": "PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD.",
  "keywords": [
    "phpmd",
    "pdepend",
    "pmd",
    "mess detection",
    "mess detector"
  ],
  "type": "library",
  "license": "BSD-3-Clause",
  "homepage": "https://phpmd.org/",
  "authors": [
    {
      "name": "Manuel Pichler",
      "homepage": "https://github.com/manuelpichler",
      "email": "github@manuel-pichler.de",
      "role": "Project Founder"
    },
    {
      "name": "Marc Würth",
      "homepage": "https://github.com/ravage84",
      "email": "ravage@bluewin.ch",
      "role": "Project Maintainer"
    },
    {
      "name": "Other contributors",
      "homepage": "https://github.com/phpmd/phpmd/graphs/contributors",
      "role": "Contributors"
    }
  ],
  "support": {
    "irc": "irc://irc.freenode.org/phpmd"
  },
  "minimum-stability": "stable",
  "require": {
    "php": ">=5.3.9",
    "pdepend/pdepend": "^2.10.2",
    "ext-xml": "*",
    "composer/xdebug-handler": "^1.0 || ^2.0"
  },
  "require-dev": {
    "phpunit/phpunit": "^4.8.36 || ^5.7.27",
    "squizlabs/php_codesniffer": "^2.0",
    "mikey179/vfsstream": "^1.6.8",
    "gregwar/rst": "^1.0",
    "ext-simplexml": "*",
    "ext-json": "*",
    "easy-doc/easy-doc": "0.0.0 || ^1.3.2"
  },
  "autoload": {
    "psr-0": {
      "PHPMD\\": "src/main/php"
    }
  },
  "bin": [
    "src/bin/phpmd"
  ],
  "scripts": {
    "test": "phpunit",
    "cs-check": "phpcs -p --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1",
    "cs-fix": "phpcbf -p --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1",
    "build-website": "easy-doc build src/site/config.php --verbose"
  }
}