-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
57 lines (57 loc) · 1.12 KB
/
composer.json
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
{
"name": "liquipedia/sqllint",
"description": "A thin wrapper around the SqlParser from the phpMyAdmin project which can be used to lint any amount of sql files from the command line.",
"version": "1.2.1",
"type": "library",
"license": "GPL-2.0-or-later",
"keywords": [ "sql", "lint", "junit" ],
"authors": [
{
"name": "Alex Winkler",
"email": "[email protected]",
"homepage": "https://liquipedia.net"
}
],
"require": {
"phpmyadmin/sql-parser": "*"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "*",
"mediawiki/minus-x": "*",
"php-parallel-lint/php-parallel-lint": "*",
"php-parallel-lint/php-console-highlighter": "*",
"phpstan/phpstan": "*"
},
"bin": [
"bin/sqllint"
],
"autoload": {
"psr-4": {
"Liquipedia\\SqlLint\\": "src"
}
},
"scripts": {
"lint": [
"parallel-lint --colors --exclude vendor ."
],
"phpcs": [
"phpcs -p -s"
],
"phpstan": [
"phpstan analyse"
],
"minus-x": [
"minus-x check ."
],
"test": [
"composer minus-x",
"composer lint",
"composer phpcs",
"composer phpstan"
],
"fix": [
"minus-x fix .",
"phpcbf"
]
}
}