summaryrefslogtreecommitdiff
path: root/vendor/beberlei/assert/composer.json
blob: e1187047010eb82135e99ceb3d35f2f96d82548d (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
{
  "name": "beberlei/assert",
  "description": "Thin assertion library for input validation in business models.",
  "authors": [
    {
      "name": "Benjamin Eberlei",
      "email": "[email protected]",
      "role": "Lead Developer"
    },
    {
      "name": "Richard Quadling",
      "email": "[email protected]",
      "role": "Collaborator"
    }
  ],
  "license": "BSD-2-Clause",
  "keywords": [
    "assert",
    "assertion",
    "validation"
  ],
  "autoload": {
    "psr-4": {
      "Assert\\": "lib/Assert"
    },
    "files": [
      "lib/Assert/functions.php"
    ]
  },
  "autoload-dev": {
    "psr-4": {
      "Assert\\Tests\\": "tests/Assert/Tests"
    },
    "files": [
      "tests/Assert/Tests/Fixtures/functions.php"
    ]
  },
  "config": {
    "sort-packages": true
  },
  "require": {
    "php": "^7",
    "ext-simplexml": "*",
    "ext-mbstring": "*",
    "ext-ctype": "*",
    "ext-json": "*"
  },
  "require-dev": {
    "friendsofphp/php-cs-fixer": "*",
    "phpstan/phpstan-shim": "*",
    "phpunit/phpunit": ">=6.0.0 <8"
  },
  "scripts": {
    "assert:generate-docs": "php bin/generate_method_docs.php",
    "assert:cs-lint": "php-cs-fixer fix --diff -vvv --dry-run",
    "assert:cs-fix": "php-cs-fixer fix . -vvv || true",
    "assert:sa-code": "vendor/bin/phpstan analyse --configuration=phpstan-code.neon --no-progress --ansi -l 7 bin lib",
    "assert:sa-tests": "vendor/bin/phpstan analyse --configuration=phpstan-tests.neon --no-progress --ansi -l 7 tests"
  },
  "suggest": {
    "ext-intl": "Needed to allow Assertion::count(), Assertion::isCountable(), Assertion::minCount(), and Assertion::maxCount() to operate on ResourceBundles"
  }
}