|
1 | 1 | { |
2 | 2 | "name": "netlogix/xml-processor", |
3 | 3 | "description": "PHP XML-Processor based on XMLReader", |
| 4 | + "license": "MIT", |
4 | 5 | "homepage": "https://github.com/netlogix/XML-Processor", |
5 | | - "support":{ |
| 6 | + "support": { |
| 7 | + "issues": "https://github.com/netlogix/XML-Processor/issues", |
6 | 8 | "source": "https://github.com/netlogix/XML-Processor/", |
7 | | - "docs": "https://github.com/netlogix/XML-Processor/blob/main/README.md", |
8 | | - "issues": "https://github.com/netlogix/XML-Processor/issues" |
| 9 | + "docs": "https://github.com/netlogix/XML-Processor/blob/main/README.md" |
9 | 10 | }, |
10 | | - "license": "MIT", |
11 | 11 | "require": { |
12 | 12 | "php": "^7.4 || ^8.0", |
13 | | - "ext-xmlreader": "*" |
| 13 | + "ext-xmlreader": "*", |
| 14 | + "symfony/polyfill-php80": ">=1.33.0" |
14 | 15 | }, |
15 | 16 | "require-dev": { |
16 | 17 | "behat/behat": "^3.12.0", |
17 | | - "phpunit/phpunit": "^9.6.6" |
| 18 | + "ergebnis/composer-normalize": "^2.50", |
| 19 | + "phpunit/phpunit": "^9.6.6", |
| 20 | + "rector/rector": "^2.3" |
18 | 21 | }, |
| 22 | + "prefer-stable": true, |
19 | 23 | "autoload": { |
20 | 24 | "psr-4": { |
21 | 25 | "Netlogix\\XmlProcessor\\": "src/" |
22 | 26 | } |
23 | 27 | }, |
24 | 28 | "autoload-dev": { |
25 | 29 | "psr-4": { |
26 | | - "Netlogix\\XmlProcessor\\Tests\\": "tests/", |
27 | | - "Netlogix\\XmlProcessor\\Behat\\": "features/" |
| 30 | + "Netlogix\\XmlProcessor\\Behat\\": "features/", |
| 31 | + "Netlogix\\XmlProcessor\\Tests\\": "tests/" |
28 | 32 | } |
29 | 33 | }, |
30 | | - "scripts": { |
31 | | - "behat": "behat" |
| 34 | + "config": { |
| 35 | + "allow-plugins": { |
| 36 | + "ergebnis/composer-normalize": true |
| 37 | + }, |
| 38 | + "optimize-autoloader": true |
32 | 39 | }, |
33 | | - "prefer-stable": true |
| 40 | + "scripts": { |
| 41 | + "apply-coding-standard": [ |
| 42 | + "@composer:normalize:fix", |
| 43 | + "@rector:fix", |
| 44 | + "@format:fix" |
| 45 | + ], |
| 46 | + "auto-scripts": { |
| 47 | + "cache:clear": "symfony-cmd", |
| 48 | + "assets:install %PUBLIC_DIR%": "symfony-cmd" |
| 49 | + }, |
| 50 | + "composer:normalize": "@composer normalize --no-check-lock --dry-run", |
| 51 | + "composer:normalize:fix": "@composer normalize --no-check-lock", |
| 52 | + "format": "mago fmt --dry-run", |
| 53 | + "format:fix": "mago fmt", |
| 54 | + "lint": "mago lint", |
| 55 | + "rector": "rector process --dry-run", |
| 56 | + "rector:fix": "rector process", |
| 57 | + "test": [ |
| 58 | + "@test:unit", |
| 59 | + "@test:behat" |
| 60 | + ], |
| 61 | + "test:behat": "behat", |
| 62 | + "test:coverage": "XDEBUG_MODE=coverage phpunit --testdox --coverage-html .coverage", |
| 63 | + "test:unit": "phpunit --testdox --testsuite unit" |
| 64 | + } |
34 | 65 | } |
0 commit comments