-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathcomposer.json
More file actions
94 lines (94 loc) · 2.64 KB
/
composer.json
File metadata and controls
94 lines (94 loc) · 2.64 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
{
"name": "eseperio/verifactu-php",
"description": "Librería para la integración del sistema de la agencia tributaria española \"Veri*factu\" (verifactu)",
"type": "library",
"require": {
"bacon/bacon-qr-code": "^3",
"robrichards/xmlseclibs": "^3.0",
"php": ">=8.1",
"ext-soap": "*",
"ext-libxml": "*",
"ext-openssl": "*",
"ext-dom": "*",
"vlucas/phpdotenv": "^5.5"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"phpstan/phpstan": "2.1.x-dev"
},
"license": "MIT",
"autoload": {
"psr-4": {
"eseperio\\verifactu\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"eseperio\\verifactu\\tests\\": "tests/"
}
},
"authors": [
{
"name": "E.Alamo",
"email": "erosdelalamo@gmail.com"
}
],
"minimum-stability": "dev",
"scripts": {
"check-env": "php -r \"if (!file_exists('.env') && file_exists('.env.example')) { copy('.env.example', '.env'); echo PHP_EOL . '⚠️ No .env file found. Created from .env.example. Please edit .env with your certificate details.' . PHP_EOL . PHP_EOL; }\"",
"test": [
"@check-env",
"phpunit"
],
"test-readme": [
"@check-env",
"phpunit tests/Unit/Examples/"
],
"test-verifactu": [
"@check-env",
"phpunit tests/Verifactu/"
],
"test-unit": [
"@check-env",
"phpunit --testsuite=Unit"
],
"test-sandbox": [
"@check-env",
"phpunit --testsuite=Integration"
],
"coverage": [
"@check-env",
"phpunit --coverage-html var/coverage/html"
],
"phpstan": "phpstan analyse",
"phpstan-baseline": "phpstan analyse --generate-baseline",
"cs-fix": "php-cs-fixer fix",
"cs-check": "php-cs-fixer fix --dry-run --diff",
"rector": "rector process",
"rector-dry": "rector process --dry-run",
"quality": [
"@cs-check",
"@phpstan",
"@test"
],
"quality-fix": [
"@cs-fix",
"@rector",
"@test"
]
},
"scripts-descriptions": {
"test": "Run the unit tests using PHPUnit",
"test-readme": "Test that README.md examples work correctly",
"test-unit": "Run all unit tests",
"coverage": "Generate test coverage report",
"phpstan": "Run PHPStan static analysis",
"phpstan-baseline": "Generate PHPStan baseline file",
"cs-fix": "Fix code style issues using PHP CS Fixer",
"cs-check": "Check code style using PHP CS Fixer (dry run)",
"rector": "Apply Rector refactoring",
"rector-dry": "Preview Rector refactoring (dry run)",
"quality": "Run all quality checks (style, static analysis, tests)",
"quality-fix": "Fix all quality issues and run tests"
}
}