-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcomposer.json
More file actions
34 lines (34 loc) · 1.29 KB
/
composer.json
File metadata and controls
34 lines (34 loc) · 1.29 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
{
"name": "e0ipso/simple_oauth_21",
"description": "Implements OAuth 2.1 on top of Simple OAuth for Drupal",
"type": "drupal-module",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Mateu Aguiló Bosch",
"email": "mateu@mateuaguilo.com"
}
],
"require-dev": {
"drupal/coder": "^8",
"phpstan/phpstan": "^2.1",
"mglaman/phpstan-drupal": "^2.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/extension-installer": "^1.4"
},
"scripts": {
"syntax:check": "find . -type f \\( -name '*.php' -o -name '*.module' -o -name '*.install' \\) ! -path './vendor/*' ! -path './node_modules/*' -exec php -l {} + | grep -v 'No syntax errors detected' || echo 'All PHP files have valid syntax'",
"lint:check": [
"@syntax:check",
"php ./vendor/bin/phpcs --ignore=vendor/*,node_modules/* --standard=Drupal,DrupalPractice --extensions=php,module/php,install/php,inc/php,yml ."
],
"lint:fix": "php ./vendor/bin/phpcbf --ignore=vendor/*,node_modules/* --standard=Drupal,DrupalPractice --extensions=php,module/php,install/php,inc/php,yml .",
"release": "npm run semantic-release"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}