Skip to content

Commit 39dfde9

Browse files
Use core binaries
1 parent 2d04900 commit 39dfde9

File tree

4 files changed

+136
-2001
lines changed

4 files changed

+136
-2001
lines changed

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
PLUGIN_DIR = advancedforms
2+
3+
# These two options will change the behavior of the `make vendor` command.
24
USE_COMPOSER = true
35
USE_NPM = false
46

7+
# These options will change the behavior of several lint/static analysis commands.
8+
# By default, you do not need to change anything as these binaries are provided by
9+
# GLPI's core.
10+
# You only need to set it to true if your plugin load its own binary
11+
# in its vendor directory for one of these tools.
12+
USE_LOCAL_PHPUNIT_BIN = false
13+
USE_LOCAL_PHPSTAN_BIN = false
14+
USE_LOCAL_PSALM_BIN = false
15+
USE_LOCAL_RECTOR_BIN = false
16+
USE_LOCAL_PHPCSFIXER_BIN = false
17+
518
include ../../PluginsMakefile.mk

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
"php": ">=8.2"
44
},
55
"require-dev": {
6-
"friendsofphp/php-cs-fixer": "^3.86",
7-
"glpi-project/tools": "^0.7.7",
8-
"phpstan/phpstan": "^2.1",
9-
"rector/rector": "^2.1"
6+
"glpi-project/tools": "^0.7.7"
107
},
118
"config": {
129
"optimize-autoloader": true,

0 commit comments

Comments
 (0)