|
1 | 1 | { |
2 | 2 | "name": "phpcfdi/ceutils", |
3 | 3 | "description": "PHP library for Mexican SAT Electronic Accounting 1.3", |
| 4 | + "license": "MIT", |
4 | 5 | "keywords": [ |
5 | 6 | "mexico", |
6 | 7 | "sat", |
7 | 8 | "contabilidad electrónica", |
8 | 9 | "póliza", |
9 | 10 | "balanza" |
10 | 11 | ], |
11 | | - "homepage": "https://github.com/PhpCfdi/CeUtils", |
12 | | - "license": "MIT", |
13 | 12 | "authors": [ |
14 | 13 | { |
15 | 14 | "name": "Cesar Aguilera", |
|
20 | 19 | "email": "eclipxe13@gmail.com" |
21 | 20 | } |
22 | 21 | ], |
| 22 | + "homepage": "https://github.com/PhpCfdi/CeUtils", |
23 | 23 | "require": { |
24 | | - "php": ">=7.4", |
| 24 | + "php": ">=8.1", |
25 | 25 | "ext-bcmath": "*", |
26 | | - "ext-openssl": "*", |
27 | 26 | "ext-dom": "*", |
28 | | - "eclipxe/cfdiutils": "^v2.23.3", |
29 | | - "eclipxe/xmlresourceretriever": "^1.3.2", |
30 | | - "eclipxe/xmlschemavalidator": "^3.0.2", |
31 | | - "phpcfdi/credentials": "^1.1.3" |
| 27 | + "ext-openssl": "*", |
| 28 | + "eclipxe/cfdiutils": "^3.0.2", |
| 29 | + "eclipxe/xmlresourceretriever": "^2.0.3", |
| 30 | + "eclipxe/xmlschemavalidator": "^3.0.5", |
| 31 | + "phpcfdi/credentials": "^1.3.0" |
32 | 32 | }, |
33 | 33 | "require-dev": { |
34 | | - "ergebnis/composer-normalize": "^2.15", |
35 | 34 | "phpunit/phpunit": "^9.5" |
36 | 35 | }, |
37 | 36 | "autoload": { |
|
44 | 43 | "PhpCfdi\\CeUtils\\Tests\\": "tests/" |
45 | 44 | } |
46 | 45 | }, |
47 | | - "config": { |
48 | | - "allow-plugins": { |
49 | | - "ergebnis/composer-normalize": true |
50 | | - } |
51 | | - }, |
52 | 46 | "scripts": { |
53 | 47 | "dev:build": [ |
| 48 | + "@php tools/composer-normalize normalize --dry-run", |
54 | 49 | "@dev:fix-style", |
55 | 50 | "@dev:test" |
56 | 51 | ], |
|
62 | 57 | "@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --verbose --coverage-html build/coverage/html/" |
63 | 58 | ], |
64 | 59 | "dev:fix-style": [ |
| 60 | + "@php tools/composer-normalize normalize", |
65 | 61 | "@php tools/php-cs-fixer fix --verbose", |
66 | 62 | "@php tools/phpcbf --colors -sp" |
67 | 63 | ], |
|
73 | 69 | }, |
74 | 70 | "scripts-descriptions": { |
75 | 71 | "dev:build": "DEV: run dev:fix-style and dev:tests, run before pull request", |
76 | | - "dev:check-style": "DEV: search for code style errors using php-cs-fixer and phpcs", |
| 72 | + "dev:check-style": "DEV: search for code style errors using composer-normalize, php-cs-fixer and phpcs", |
77 | 73 | "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/", |
78 | | - "dev:fix-style": "DEV: fix code style errors using php-cs-fixer and phpcbf", |
| 74 | + "dev:fix-style": "DEV: fix code style errors using composer-normalize, php-cs-fixer and phpcbf", |
79 | 75 | "dev:test": "DEV: run dev:check-style, phpunit and phpstan" |
80 | 76 | } |
81 | 77 | } |
0 commit comments