Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
105 lines (105 loc) · 3.21 KB
/
Copy pathcomposer.json
File metadata and controls
105 lines (105 loc) · 3.21 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "syde/dbal",
"description": "Database abstraction layer for WordPress, on top of wpdb and dbDelta.",
"type": "library",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Syde",
"homepage": "https://syde.com",
"role": "company"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [
{
"type": "composer",
"url": "https://raw.githubusercontent.com/inpsyde/wp-stubs/main",
"only": [
"inpsyde/wp-stubs-versions"
]
},
{
"type": "composer",
"url": "https://wpackagist.org",
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"require": {
"php": ">=8.2",
"ext-json": "*"
},
"require-dev": {
"syde/phpcs": "~1.0.1",
"phpunit/phpunit": "^9.6.17",
"brain/monkey": "^2.6.1",
"inpsyde/wp-stubs-versions": "dev-latest",
"phpstan/phpstan": "^2.1.1",
"phpstan/phpstan-deprecation-rules": "^2.0.1",
"phpstan/phpstan-mockery": "^2.0.0",
"phpstan/phpstan-phpunit": "^2.0.4",
"swissspidy/phpstan-no-private": "^v1.0.0",
"roots/wordpress": ">=7.0",
"syde/wp-phpunit-integration": "^0.4"
},
"autoload": {
"psr-4": {
"Syde\\Dbal\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Syde\\Dbal\\Tests\\": "tests/src/",
"Syde\\Dbal\\Tests\\Unit\\": "tests/unit/",
"Syde\\Dbal\\Tests\\Integration\\": "tests/integration/"
},
"classmap": [
"tests/fixtures/"
]
},
"scripts": {
"cs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
"phpstan": "@php ./vendor/bin/phpstan analyse --memory-limit=1G",
"tests:unit:cov": "@php ./vendor/phpunit/phpunit/phpunit --testsuite=unit",
"tests:unit": "@php ./vendor/phpunit/phpunit/phpunit --testsuite=unit --no-coverage",
"tests:integration": "@php ./vendor/phpunit/phpunit/phpunit --testsuite=integration --no-coverage -c phpunit-integration.xml.dist",
"tests": [
"@tests:integration",
"@tests:unit"
],
"tests:cov": [
"@tests:integration",
"@tests:unit:cov"
],
"qa": [
"@tests:unit",
"@cs"
]
},
"config": {
"optimize-autoloader": true,
"allow-plugins": {
"roots/wordpress-core-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true
}
},
"extra": {
"wordpress-install-dir": "vendor/wordpress/wordpress",
"installer-paths": {
"vendor/wordpress/wordpress/wp-content/themes/{$name}": [
"type:wordpress-theme"
],
"vendor/wordpress/wordpress/wp-content/plugins/{$name}": [
"type:wordpress-plugin"
],
"vendor/wordpress/wordpress/wp-content/mu-plugins/{$name}": [
"type:wordpress-muplugin"
]
}
}
}