|
1 | 1 | { |
2 | 2 | "name": "beluga-php/docker-php", |
| 3 | + "description": "A Docker PHP client", |
3 | 4 | "license": "MIT", |
4 | 5 | "type": "library", |
5 | | - "description": "A Docker PHP client", |
6 | | - "config": { |
7 | | - "optimize-autoloader": true, |
8 | | - "sort-packages": true, |
9 | | - "preferred-install": "dist", |
10 | | - "allow-plugins": { |
11 | | - "php-http/discovery": false |
12 | | - } |
13 | | - }, |
14 | | - "minimum-stability": "dev", |
15 | | - "prefer-stable": true, |
16 | | - "autoload": { |
17 | | - "psr-4": { |
18 | | - "Docker\\": "src/" |
19 | | - } |
20 | | - }, |
21 | | - "autoload-dev": { |
22 | | - "psr-4": { |
23 | | - "Docker\\Tests\\": "tests/" |
24 | | - } |
25 | | - }, |
26 | 6 | "funding": [ |
27 | 7 | { |
28 | 8 | "type": "github", |
|
37 | 17 | "php-http/discovery": "^1.19", |
38 | 18 | "plesk/socket-client": "^2.1", |
39 | 19 | "psr/http-message": "^2.0", |
40 | | - "symfony/filesystem": "^7.0|^6.3", |
41 | | - "symfony/process": "^7.0|^6.3", |
42 | | - "symfony/serializer": "^7.0|^6.3" |
| 20 | + "symfony/filesystem": "^6.3 || ^7.0", |
| 21 | + "symfony/process": "^6.3 || ^7.0", |
| 22 | + "symfony/serializer": "^6.3 || ^7.0" |
43 | 23 | }, |
44 | 24 | "require-dev": { |
| 25 | + "ergebnis/composer-normalize": "^2.42", |
45 | 26 | "friendsofphp/php-cs-fixer": "^3.8", |
46 | 27 | "php-parallel-lint/php-parallel-lint": "^1.2", |
47 | 28 | "phpstan/phpstan": "^1.10", |
|
51 | 32 | }, |
52 | 33 | "conflict": { |
53 | 34 | "docker-php/docker-php": "*", |
54 | | - "php-http/message": "<1.15", |
55 | | - "nikic/php-parser": "<4.13" |
| 35 | + "nikic/php-parser": "<4.13", |
| 36 | + "php-http/message": "<1.15" |
| 37 | + }, |
| 38 | + "minimum-stability": "dev", |
| 39 | + "prefer-stable": true, |
| 40 | + "autoload": { |
| 41 | + "psr-4": { |
| 42 | + "Docker\\": "src/" |
| 43 | + } |
| 44 | + }, |
| 45 | + "autoload-dev": { |
| 46 | + "psr-4": { |
| 47 | + "Docker\\Tests\\": "tests/" |
| 48 | + } |
| 49 | + }, |
| 50 | + "config": { |
| 51 | + "allow-plugins": { |
| 52 | + "ergebnis/composer-normalize": true, |
| 53 | + "php-http/discovery": false |
| 54 | + }, |
| 55 | + "optimize-autoloader": true, |
| 56 | + "preferred-install": "dist", |
| 57 | + "sort-packages": true |
| 58 | + }, |
| 59 | + "extra": { |
| 60 | + "branch-alias": { |
| 61 | + "1.41": "1.41.x-dev", |
| 62 | + "1.42": "1.42.x-dev", |
| 63 | + "dev-master": "1.43.x-dev" |
| 64 | + } |
56 | 65 | }, |
57 | 66 | "scripts": { |
58 | | - "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", |
59 | | - "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", |
60 | 67 | "console": "vendor/bin/psysh", |
61 | 68 | "lint": "vendor/bin/parallel-lint --exclude vendor .", |
62 | | - "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", |
| 69 | + "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", |
| 70 | + "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", |
63 | 71 | "phpstan": "vendor/bin/phpstan analyse --level 2 src", |
64 | | - "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", |
65 | | - "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml", |
| 72 | + "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", |
66 | 73 | "test": [ |
67 | 74 | "@lint", |
68 | 75 | "@phpunit" |
69 | | - ] |
| 76 | + ], |
| 77 | + "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", |
| 78 | + "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml" |
70 | 79 | }, |
71 | 80 | "scripts-descriptions": { |
72 | 81 | "console": "Runs PsySH Console", |
73 | 82 | "lint": "Runs complete codebase lint testing", |
74 | 83 | "phpunit": "Runs library test suite", |
| 84 | + "test": "Runs all tests", |
75 | 85 | "test-ci": "Runs library test suite (for continuous integration)", |
76 | | - "test-coverage": "Runs test-coverage analysis", |
77 | | - "test": "Runs all tests" |
78 | | - }, |
79 | | - "extra": { |
80 | | - "branch-alias": { |
81 | | - "dev-master": "1.43.x-dev", |
82 | | - "1.42": "1.42.x-dev", |
83 | | - "1.41": "1.41.x-dev" |
84 | | - } |
| 86 | + "test-coverage": "Runs test-coverage analysis" |
85 | 87 | } |
86 | 88 | } |
0 commit comments