This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcomposer.json
58 lines (58 loc) · 1.6 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
58
{
"name": "practically/psalm-plugin-yii2",
"description": "Psalm plugin for a better typed yii2 application",
"type": "psalm-plugin",
"authors": [
{
"name": "Ade Attwood",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.1",
"vimeo/psalm": "^4.8",
"yiisoft/yii2": "^2.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.6",
"weirdan/codeception-psalm-module": "^0.13.1",
"codeception/codeception": "^4.1"
},
"extra": {
"psalm": {
"pluginClass": "Practically\\PsalmPluginYii2\\Plugin"
}
},
"autoload": {
"psr-4": {
"Practically\\PsalmPluginYii2\\": "src"
}
},
"config": {
"allow-plugins": {
"yiisoft/yii2-composer": true
}
},
"autoload-dev": {
"psr-4": {
"Practically\\PsalmPluginYii2\\Tests\\": [
"tests/_support",
"tests"
]
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"scripts": {
"test": "codecept build && codecept run",
"psalm": "psalm",
"cs:check": "phpcs --standard=./ruleset.xml --ignore='tests/_run' -s src tests",
"cs:check-errors": "phpcs --standard=./ruleset.xml --warning-severity=10 --ignore='tests/_run' -s src tests",
"cs:fix": "phpcbf --standard=./ruleset.xml --ignore='tests/_run' -s src tests",
"pre-commit": ["@test", "@psalm", "@cs:check-errors"]
}
}