-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
56 lines (56 loc) · 1.27 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
{
"description": "",
"name": "fykosak/nette-orm",
"type": "library",
"license": "GPL-3.0-or-later",
"require": {
"php": ">=8.1",
"nette/di": "v3.*",
"nette/database": "v3.*",
"ext-pdo": "*",
"ext-gettext": "*"
},
"require-dev": {
"nette/tester": "^2.4.0",
"squizlabs/php_codesniffer": "3.6.0",
"phpstan/phpstan": "1.10.21"
},
"authors": [
{
"name": "Michal Koutny",
"email": "[email protected]"
},
{
"name": "Michal Mišo Červeňák",
"email": "[email protected]"
},
{
"name": "Lukáš Timo",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Fykosak\\NetteORM\\": "src/",
"Fykosak\\NetteORM\\Tests\\": "tests/"
}
},
"scripts": {
"testPSR": "php -e vendor/squizlabs/php_codesniffer/bin/phpcs --standard=PSR12 src/",
"initTestDatabase": [
"mysql < tests/resource/schema.sql "
],
"clearCache": [
"rm -r tests/temp/*"
],
"test": [
"vendor/bin/tester tests -p php -s -c tests/php.ini -j 1"
],
"testCoverage": [
"vendor/bin/tester tests -p php --coverage coverage.html --coverage-src src/ -s -c tests/php.ini -j 1"
],
"testPHPStan": [
"vendor/bin/phpstan analyse --level 6 src/ tests/"
]
}
}