summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: e3dcc3fb638bf8ade787c202632bdd2a6ec99f21 (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
{
    "name": "dshafik/php7-mysql-shim",
    "description": "A PHP 7 shim for ext/mysql",
    "license": "MIT",
    "authors": [
        {
            "name": "Davey Shafik",
            "email": "me@daveyshafik.com",
            "homepage": "https://daveyshafik.com"
        }
    ],
    "require": {
        "php": ">=5.3.6",
        "ext-mysqli": "*"
    },
    "require-dev": {
        "squizlabs/php_codesniffer": "^3.5",
        "friendsofphp/php-cs-fixer": "^2.16",
        "phpunit/phpunit": "^8.0"
    },
    "autoload": {
        "files": ["lib/mysql.php"]
    },
    "scripts": {
        "test": "phpunit",
        "fix-cs": [
            "phpcbf --standard=PSR1,PSR2 ./libs ./tests",
            "php-cs-fixer fix --rules=@PSR2 ./lib",
            "php-cs-fixer fix --rules=@PSR2 ./tests"
        ]
    }
}