|
31 | 31 | "require": { |
32 | 32 | "php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0", |
33 | 33 | "allure-framework/allure-php-commons": "^2.0", |
34 | | - "phpunit/phpunit": "^10 || ^11 || ^12" |
| 34 | + "phpunit/phpunit": "^10.0.5 || ^11 || ^12.0.1" |
35 | 35 | }, |
36 | 36 | "require-dev": { |
37 | | - "phpunit/phpunit": "~10.4.0 || ^11 || ^12", |
38 | | - "brianium/paratest": "^7.3", |
39 | | - "psalm/plugin-phpunit": "^0.19.3", |
| 37 | + "brianium/paratest": "^7", |
| 38 | + "psalm/plugin-phpunit": "^0.19.5", |
40 | 39 | "squizlabs/php_codesniffer": "^3.7.2", |
41 | | - "vimeo/psalm": "^6.9" |
| 40 | + "vimeo/psalm": "^6.10" |
42 | 41 | }, |
43 | 42 | "conflict": { |
44 | 43 | "amphp/byte-stream": "<1.5.1", |
|
63 | 62 | }, |
64 | 63 | "psr-4": { |
65 | 64 | "Qameta\\Allure\\PHPUnit\\Test\\Unit\\": "test/unit/", |
66 | | - "Qameta\\Allure\\PHPUnit\\Test\\Report\\": "test/report/" |
| 65 | + "Qameta\\Allure\\PHPUnit\\Test\\Report\\": "test/report/", |
| 66 | + "Qameta\\Allure\\PHPUnit\\Scripts\\": "scripts/" |
67 | 67 | } |
68 | 68 | }, |
69 | 69 | "scripts": { |
70 | 70 | "test-cs": "vendor/bin/phpcs -sp", |
71 | 71 | "test-unit": "vendor/bin/phpunit --coverage-text", |
72 | | - "test-unit-lowest": "vendor/bin/phpunit --configuration=phpunit.10.0.xml --coverage-text", |
| 72 | + "test-unit-phpunit10.0": "vendor/bin/phpunit --configuration=phpunit.10.0.xml --coverage-text", |
73 | 73 | "clear-allure-results": "rm -rf ./build/allure-results", |
74 | 74 | "test-report": [ |
75 | 75 | "@clear-allure-results", |
76 | 76 | "vendor/bin/paratest --processes=3 --configuration=phpunit.report.xml --testsuite=positive", |
77 | 77 | "vendor/bin/paratest --processes=3 --configuration=phpunit.report.xml --testsuite=negative; exit 0" |
78 | 78 | ], |
79 | | - "test-report-lowest": [ |
| 79 | + "test-report-phpunit10.0": [ |
80 | 80 | "@clear-allure-results", |
81 | 81 | "vendor/bin/paratest --processes=3 --configuration=phpunit.10.0.report.xml --testsuite=positive", |
82 | 82 | "vendor/bin/paratest --processes=3 --configuration=phpunit.10.0.report.xml --testsuite=negative; exit 0" |
|
86 | 86 | "vendor/bin/paratest --processes=3 --configuration=phpunit.report.xml --testsuite=positive", |
87 | 87 | "vendor/bin/paratest --processes=3 --configuration=phpunit.report.xml --testsuite=negative & exit 0" |
88 | 88 | ], |
89 | | - "test-report-windows-lowest": [ |
| 89 | + "test-report-windows-phpunit10.0": [ |
90 | 90 | "@clear-allure-results", |
91 | 91 | "vendor/bin/paratest --processes=3 --configuration=phpunit.10.0.report.xml --testsuite=positive", |
92 | 92 | "vendor/bin/paratest --processes=3 --configuration=phpunit.10.0.report.xml --testsuite=negative & exit 0" |
|
98 | 98 | "@test-report", |
99 | 99 | "@test-psalm" |
100 | 100 | ], |
101 | | - "test-lowest": [ |
| 101 | + "test-phpunit10.0": [ |
102 | 102 | "@test-cs", |
103 | | - "@test-unit-lowest", |
104 | | - "@test-report-lowest", |
| 103 | + "@test-unit-phpunit10.0", |
| 104 | + "@test-report-phpunit10.0", |
105 | 105 | "@test-psalm" |
106 | 106 | ], |
107 | 107 | "test-windows": [ |
|
110 | 110 | "@test-report-windows", |
111 | 111 | "@test-psalm" |
112 | 112 | ], |
113 | | - "test-windows-lowest": [ |
| 113 | + "test-windows-phpunit10.0": [ |
114 | 114 | "@test-cs", |
115 | | - "@test-unit-lowest", |
116 | | - "@test-report-windows-lowest", |
| 115 | + "@test-unit-phpunit10.0", |
| 116 | + "@test-report-windows-phpunit10.0", |
117 | 117 | "@test-psalm" |
| 118 | + ], |
| 119 | + "print-phpunit-version": [ |
| 120 | + "Qameta\\Allure\\PHPUnit\\Scripts\\CiScripts::printPhpUnitVersion" |
| 121 | + ], |
| 122 | + "print-phpunit-schema-version": [ |
| 123 | + "Qameta\\Allure\\PHPUnit\\Scripts\\CiScripts::printConfigSchemaVersion" |
118 | 124 | ] |
119 | 125 | } |
120 | 126 | } |
0 commit comments