|
8 | 8 | { |
9 | 9 | "name": "Ivan Krutov", |
10 | 10 | "email": "vania-pooh@aerokube.com", |
11 | | - "role": "Developer" |
| 11 | + "role": "Developer" |
| 12 | + }, |
| 13 | + { |
| 14 | + "name": "Edward Surov", |
| 15 | + "email": "zoohie@gmail.com", |
| 16 | + "role": "Developer" |
12 | 17 | } |
13 | 18 | ], |
14 | 19 | "support": { |
15 | 20 | "email": "allure@qameta.io", |
16 | 21 | "source": "https://github.com/allure-framework/allure-codeception" |
17 | 22 | }, |
18 | 23 | "require": { |
19 | | - "php": ">=7.1.3", |
| 24 | + "php": "^8", |
20 | 25 | "ext-json": "*", |
21 | | - "codeception/codeception": "^2.5 | ^3 | ^4", |
22 | | - "allure-framework/allure-php-api": "^1.3", |
23 | | - "symfony/filesystem": "^2.7 | ^3 | ^4 | ^5", |
24 | | - "symfony/finder": "^2.7 | ^3 | ^4 | ^5" |
| 26 | + "codeception/codeception": "^4.1", |
| 27 | + "allure-framework/allure-php-commons": "2.0.0-rc3" |
25 | 28 | }, |
26 | 29 | "require-dev": { |
27 | 30 | "ext-dom": "*", |
28 | | - "phpunit/phpunit": "^7.2 | ^8 | ^9" |
| 31 | + "phpunit/phpunit": "^9", |
| 32 | + "psalm/plugin-phpunit": "^0.16.1", |
| 33 | + "remorhaz/php-json-data": "^0.5.3", |
| 34 | + "remorhaz/php-json-path": "^0.7.7", |
| 35 | + "squizlabs/php_codesniffer": "^3.6.1", |
| 36 | + "vimeo/psalm": "^4.10" |
| 37 | + }, |
| 38 | + "conflict": { |
| 39 | + "codeception/phpunit-wrapper": "<9.0.1" |
29 | 40 | }, |
30 | 41 | "autoload": { |
31 | | - "psr-0": { |
32 | | - "Yandex": "src/" |
| 42 | + "psr-4": { |
| 43 | + "Qameta\\Allure\\Codeception\\": "src/" |
33 | 44 | } |
34 | 45 | }, |
35 | 46 | "autoload-dev": { |
36 | 47 | "psr-4": { |
37 | | - "Yandex\\Allure\\Codeception\\": [ |
38 | | - "test/report/", |
39 | | - "test/unit/" |
| 48 | + "Qameta\\Allure\\Codeception\\Test\\Functional\\": "test/codeception/functional/", |
| 49 | + "Qameta\\Allure\\Codeception\\Test\\Acceptance\\": "test/codeception/acceptance/", |
| 50 | + "Qameta\\Allure\\Codeception\\Test\\Unit\\": "test/codeception/unit/", |
| 51 | + "Qameta\\Allure\\Codeception\\Test\\": [ |
| 52 | + "test/codeception/_support/", |
| 53 | + "test/report/" |
40 | 54 | ] |
41 | 55 | } |
42 | 56 | }, |
43 | 57 | "scripts": { |
44 | | - "test-report": [ |
45 | | - "vendor/bin/codecept run --no-exit --report", |
46 | | - "vendor/bin/phpunit --testsuite=report" |
| 58 | + "build": [ |
| 59 | + "vendor/bin/codecept build", |
| 60 | + "vendor/bin/codecept gherkin:snippets acceptance" |
| 61 | + ], |
| 62 | + "test-cs": "vendor/bin/phpcs -sp", |
| 63 | + "test-report-generate": [ |
| 64 | + "rm -rf ./build/log/", |
| 65 | + "vendor/bin/codecept run --no-exit --report" |
47 | 66 | ], |
| 67 | + "test-report-check": "vendor/bin/phpunit --testsuite=report", |
| 68 | + "test-psalm": "vendor/bin/psalm --shepherd", |
48 | 69 | "test": [ |
49 | | - "@test-report" |
| 70 | + "@test-cs", |
| 71 | + "@test-report-generate", |
| 72 | + "@test-report-check", |
| 73 | + "@test-psalm" |
50 | 74 | ] |
51 | 75 | } |
52 | 76 | } |
0 commit comments