Skip to content

Commit cd1d24d

Browse files
authored
Merge pull request #45 from tg-bot-api/feature/composer2-support
Updated grumphp to 1.1 version
2 parents 4ff744a + 2274458 commit cd1d24d

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ dist: trusty
22
language: php
33

44
php:
5-
- 7.2
65
- 7.3
76
- 7.4
87

@@ -17,7 +16,7 @@ cache:
1716

1817
matrix:
1918
include:
20-
- php: 7.2
19+
- php: 7.3
2120
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
2221
- php: 7.4
2322
env: 'COMPOSER_FLAGS="--ignore-platform-reqs"'

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424
],
2525
"require": {
26-
"php": ">7.2",
26+
"php": ">7.3",
2727
"ext-json": "*",
2828
"phpdocumentor/reflection-docblock": "^4.3|^5.0",
2929
"psr/http-client": "^1.0",
@@ -36,7 +36,7 @@
3636
},
3737
"require-dev": {
3838
"friendsofphp/php-cs-fixer": "^2.13",
39-
"phpro/grumphp": "^0.14.3",
39+
"phpro/grumphp": "^1.1.0",
4040
"phpstan/phpstan": "^0.10.6",
4141
"phpunit/phpunit": "^7.5.2",
4242
"povils/phpmnd": "^2.0",

grumphp.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
parameters:
2-
git_dir: .
3-
bin_dir: vendor/bin
4-
process_async_limit: 10
5-
process_async_wait: 1000
1+
grumphp:
62
process_timeout: 600
73
ascii:
84
succeeded: ~
@@ -42,16 +38,14 @@ parameters:
4238
with_dependencies: false
4339
strict: false
4440
phpcpd:
45-
directory: '.'
41+
directory: ['.']
4642
exclude: ['vendor']
47-
names_exclude: []
48-
regexps_exclude: []
4943
fuzzy: false
5044
min_lines: 5
5145
min_tokens: 70
5246
triggered_by: ['php']
5347
phpmnd:
54-
directory: .
48+
directory: '.'
5549
whitelist_patterns: []
5650
exclude: []
5751
exclude_name: []
@@ -73,4 +67,4 @@ parameters:
7367
- "var_dump"
7468
- "dump"
7569
- "exit;"
76-
triggered_by: [php]
70+
triggered_by: [php]

0 commit comments

Comments
 (0)