forked from DarkGhostHunter/Preloader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
131 lines (131 loc) · 4.83 KB
/
composer.json
File metadata and controls
131 lines (131 loc) · 4.83 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "diego-ninja/preloader",
"description": "Preloader helper to create a PHP-ready preload script from Opcache.",
"license": "MIT",
"type": "library",
"keywords": [
"diego-ninja",
"preloader",
"php-8",
"opcache"
],
"authors": [
{
"name": "Italo Israel Baeza Cabrera",
"email": "darkghosthunter@gmail.com",
"role": "Developer"
},
{
"name": "Diego Rin martín",
"email": "yosoy@diego.ninja",
"role": "Developer"
}
],
"homepage": "https://github.com/diego-ninja/preloader",
"require": {
"php": "^8.1",
"symfony/finder": "^6 || ^7"
},
"require-dev": {
"captainhook/captainhook": "^5.10",
"captainhook/plugin-composer": "^5.3",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"ergebnis/composer-normalize": "^2.30",
"friendsofphp/php-cs-fixer": "^3.40",
"icanhazstring/composer-unused": "^0.8.7",
"maglnet/composer-require-checker": "^4.5",
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^10",
"roave/security-advisories": "dev-latest"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Ninja\\Preloader\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"captainhook/plugin-composer": true,
"dealerdirect/phpcodesniffer-composer-installer": false,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
"extra": {
"phpstan": {
"autoload_directories": [
"src"
],
"config_file": "phpstan.neon",
"exclude_analyse": [
"vendor"
],
"includes": [
"extension.neon",
"extension.phpunit"
],
"level": 8
}
},
"scripts": {
"deps": "@dev:deps",
"dev:analyze": [
"@dev:analyze:phpstan"
],
"dev:analyze:phpstan": "phpstan",
"dev:build:clean": "git clean -fX builds/",
"dev:deps": [
"@dev:deps:missing",
"@dev:deps:unused"
],
"dev:deps:missing": "php vendor/bin/composer-require-checker --config-file=$(pwd)/crc.config.json",
"dev:deps:unused": "php vendor/bin/composer-unused",
"dev:lint": [
"@dev:lint:syntax",
"@dev:lint:style"
],
"dev:lint:fix": "php-cs-fixer fix --config .php-cs-fixer.php src/ tests/",
"dev:lint:style": "php-cs-fixer check --config .php-cs-fixer.php src/ tests/",
"dev:lint:syntax": "parallel-lint --colors src/ tests/",
"dev:test": [
"@dev:lint",
"@dev:analyze",
"@dev:test:unit"
],
"dev:test:coverage:ci": "phpunit --colors=always --coverage-text --coverage-clover build/logs/clover.xml --coverage-cobertura build/logs/cobertura.xml --coverage-crap4j build/logs/crap4j.xml --coverage-xml build/logs/coverage-xml --log-junit build/junit.xml",
"dev:test:coverage:html": "phpunit --colors=always --coverage-html build/coverage/coverage-html/",
"dev:test:unit": "phpunit --colors=always --testdox",
"dev:test:unit:debug": "phpunit --colors=always --testdox -d xdebug.profiler_enable=on",
"test": "@dev:test"
},
"scripts-descriptions": {
"deps": "Checks for missing and unused dependencies.",
"dev:analyze": "Runs all static analysis checks.",
"dev:analyze:phpstan": "Runs the phpstan static analyzer.",
"dev:build:clean": "Cleans the build/ directory.",
"dev:deps": "Checks for missing and unused dependencies.",
"dev:deps:missing": "Checks for missing dependencies.",
"dev:deps:unused": "Checks for unused dependencies.",
"dev:lint": "Runs all linting checks.",
"dev:lint:fix": "Auto-fixes coding standards issues, if possible.",
"dev:lint:style": "Checks for coding standards issues.",
"dev:lint:syntax": "Checks for syntax errors.",
"dev:test": "Runs linting, static analysis, and unit tests.",
"dev:test:coverage:ci": "Runs unit tests and generates CI coverage reports.",
"dev:test:coverage:html": "Runs unit tests and generates HTML coverage report.",
"dev:test:unit": "Runs unit tests.",
"test": "Runs linting, static analysis, and unit tests."
}
}