-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
99 lines (99 loc) · 2.71 KB
/
composer.json
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "php-webdriver/webdriver",
"description": "A PHP client for Selenium WebDriver. Previously facebook/webdriver.",
"license": "MIT",
"type": "library",
"keywords": [
"webdriver",
"selenium",
"php",
"geckodriver",
"chromedriver"
],
"homepage": "https://github.com/php-webdriver/php-webdriver",
"require": {
"php": "^5.6 || ~7.0 || ^8.0",
"ext-curl": "*",
"ext-json": "*",
"ext-zip": "*",
"symfony/polyfill-mbstring": "^1.12",
"symfony/process": "^2.8 || ^3.1 || ^4.0 || ^5.0 || ^6.0"
},
"require-dev": {
"ondram/ci-detector": "^2.1 || ^3.5 || ^4.0",
"php-coveralls/php-coveralls": "^2.4",
"php-mock/php-mock-phpunit": "^1.1 || ^2.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpunit/phpunit": "^5.7 || ^7 || ^8 || ^9",
"squizlabs/php_codesniffer": "^3.5",
"symfony/var-dumper": "^3.3 || ^4.0 || ^5.0 || ^6.0"
},
"replace": {
"facebook/webdriver": "*"
},
"suggest": {
"ext-SimpleXML": "For Firefox profile creation"
},
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"Facebook\\WebDriver\\": "lib/"
},
"files": [
"lib/Exception/TimeoutException.php"
]
},
"autoload-dev": {
"psr-4": {
"Facebook\\WebDriver\\": [
"tests/unit",
"tests/functional"
]
},
"classmap": [
"tests/functional/"
]
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
},
"sort-packages": true
},
"scripts": {
"post-install-cmd": [
"php -r 'if (PHP_VERSION_ID > 70103) { exit(1); }' || composer install --working-dir=tools/php-cs-fixer --no-progress --no-interaction"
],
"post-update-cmd": [
"php -r 'if (PHP_VERSION_ID > 70103) { exit(1); }' || composer update --working-dir=tools/php-cs-fixer --no-progress --no-interaction"
],
"all": [
"@lint",
"@analyze",
"@test"
],
"analyze": [
"vendor/bin/phpstan analyze -c phpstan.neon --ansi",
"tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --diff --dry-run -vvv --ansi",
"vendor/bin/phpcs --standard=PSR2 ./lib/ ./tests/"
],
"fix": [
"@composer normalize",
"tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --diff -vvv || exit 0",
"vendor/bin/phpcbf --standard=PSR2 ./lib/ ./tests/"
],
"lint": [
"vendor/bin/parallel-lint -j 10 ./lib ./tests example.php",
"@composer validate",
"@composer normalize --dry-run"
],
"preinstall": [
"@composer update --no-progress --no-interaction",
"@composer require --dev phpstan/phpstan",
"@composer require --dev ergebnis/composer-normalize"
],
"test": [
"vendor/bin/phpunit --colors=always"
]
}
}