-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
90 lines (90 loc) · 2.68 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "level-level/ll-voordemensen",
"description": "Unofficial plugin to access the VoordeMensen ticket platform directly from WordPress",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Level Level",
"homepage": "https://level-level.com"
}
],
"repositories": {
"packagist.org": false,
"private-packagist": {
"type": "composer",
"url": "https://repo.packagist.com/level-level/"
}
},
"require": {
"php": "^8.0"
},
"autoload": {
"psr-4": {
"LevelLevel\\VoorDeMensen\\": "app/"
}
},
"scripts": {
"post-install-cmd": [
"composer dump-autoload"
],
"post-update-cmd": [
"composer dump-autoload"
],
"test": [
"echo Running tests",
"@test:composer",
"@test:phpcs",
"@test:phpstan",
"@test:docs"
],
"test:composer": [
"composer validate"
],
"test:phpcs": [
"phpcs"
],
"test:psalm": [
"echo Deprecated: use 'test:phpstan' instead.",
"@test:phpstan"
],
"test:phpstan": [
"phpstan --memory-limit=2g"
],
"integration:setup": [
"docker-compose up -d",
"echo Waiting for docker to become alive.",
"wget -q -O - --tries=10 localhost:8089/wp-admin",
"docker-compose run --rm wordpress-cli wp core install --url=localhost:8089 --title=Test --admin_user=admin --admin_password=password [email protected]",
"docker-compose run --rm wordpress-cli wp plugin activate ll-voordemensen"
],
"test:ci:psalm": [
"docker-compose run --rm -w /var/www/html/wp-content/plugins/ll-voordemensen wordpress php vendor/bin/psalm.phar"
],
"integration:teardown": [
"docker-compose down"
],
"test:docs": [
"php-doc-check ./app -x vendor"
],
"fix": [
"phpcbf"
],
"make-pot": [
"wp i18n make-pot ./ --skip-js --slug=ll-vdm"
]
},
"require-dev": {
"niels-de-blaauw/php-doc-check": "^0.2.2",
"level-level/phpstan-config": "^1.0",
"szepeviktor/phpstan-wordpress": "^1.3",
"phpstan/extension-installer": "^1.3",
"level-level/coding-standards": "^4.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}