-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
75 lines (75 loc) · 3.24 KB
/
Copy pathcomposer.json
File metadata and controls
75 lines (75 loc) · 3.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "phalcon/talon",
"description": "Test harness and Phalcon bootstrapping for PHPUnit and beyond",
"type": "library",
"license": "BSD-3-Clause",
"keywords": ["phalcon", "testing", "phpunit", "test", "harness"],
"require": {
"php": "^8.1",
"phalcon/cli-options-parser": "^2.0",
"symfony/browser-kit": "^6.4 || ^7.0",
"symfony/dom-crawler": "^6.4 || ^7.0",
"symfony/http-client": "^6.4 || ^7.0",
"symfony/mime": "^6.4 || ^7.0"
},
"require-dev": {
"ext-pdo": "*",
"ext-sqlite3": "*",
"friendsofphp/php-cs-fixer": "^3",
"pds/composer-script-names": "^1",
"pds/skeleton": "^1",
"phalcon/phalcon": "^6.0@beta || ^6.0",
"phpstan/phpstan": "^2",
"phpunit/phpcov": "^9",
"phpunit/phpunit": "^10.5",
"predis/predis": "^2 || ^3",
"squizlabs/php_codesniffer": "^3 || ^4"
},
"suggest": {
"ext-phalcon": "Phalcon C extension (^5) - one of ext-phalcon or phalcon/phalcon is required",
"phalcon/phalcon": "Phalcon PHP implementation (^6) - alternative to the C extension",
"predis/predis": "For the Services (Redis) helpers",
"ext-memcached": "For the Services (Memcached) helpers"
},
"autoload": {
"psr-4": { "Phalcon\\Talon\\": "src/" }
},
"autoload-dev": {
"psr-4": { "Phalcon\\Talon\\Tests\\": "tests/" }
},
"bin": ["bin/talon"],
"config": {
"sort-packages": true,
"allow-plugins": {
"pds/skeleton": false,
"infection/extension-installer": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"analyze": "phpstan analyse -c resources/phpstan.neon",
"cs": "phpcs --standard=resources/phpcs.xml",
"cs-fix": "phpcbf --standard=resources/phpcs.xml",
"cs-fixer": "php-cs-fixer fix --config=resources/php-cs-fixer.php --dry-run --diff",
"cs-fixer-fix": "php-cs-fixer fix --config=resources/php-cs-fixer.php",
"test": "@php bin/talon run",
"test-coverage": [
"rm -rf tests/_output/cov && mkdir -p tests/_output/cov",
"@php bin/talon run unit -- --coverage-php tests/_output/cov/unit.cov",
"@php bin/talon run mariadb -- --coverage-php tests/_output/cov/mariadb.cov",
"@php bin/talon run mysql -- --coverage-php tests/_output/cov/mysql.cov",
"@php bin/talon run pgsql -- --coverage-php tests/_output/cov/pgsql.cov",
"@php vendor/bin/phpcov merge --clover tests/_output/coverage.xml tests/_output/cov"
],
"test-coverage-html": [
"rm -rf tests/_output/cov && mkdir -p tests/_output/cov",
"@php bin/talon run unit -- --coverage-php tests/_output/cov/unit.cov",
"@php bin/talon run mariadb -- --coverage-php tests/_output/cov/mariadb.cov",
"@php bin/talon run mysql -- --coverage-php tests/_output/cov/mysql.cov",
"@php bin/talon run pgsql -- --coverage-php tests/_output/cov/pgsql.cov",
"@php vendor/bin/phpcov merge --html tests/_output/coverage tests/_output/cov"
],
"test-mutation": "infection --configuration=resources/infection.json5 --threads=max"
}
}