Skip to content

Commit

Permalink
bumping travis php versions, composer deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydiablo committed Mar 1, 2019
1 parent 6a6f88e commit f40cedc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@ stages:

jobs:
fast_finish: true
allow_failures:
- php: nightly
include:
- stage: style check
php: 7.1
php: 7.2
env: TMPDIR=/tmp USE_XDEBUG=false
script:
- composer style-check
- stage: phpstan analysis
php: 7.1
php: 7.2
env: TMPDIR=/tmp USE_XDEBUG=false
script:
- composer phpstan
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@
}
},
"require-dev": {
"phpunit/phpunit": "^6.0",
"phpstan/phpstan": "^0.9.2",
"phpstan/phpstan": "^0.11.2",
"friendsofphp/php-cs-fixer": "^2.11",
"maglnet/composer-require-checker": "^0.1.6 | ^0.2.1",
"maglnet/composer-require-checker": "^1.1.0",
"phpro/grumphp": "^0.14.0"
},
"scripts": {
"phpstan": "phpstan analyze -l7 -c phpstan.neon --no-progress ./ --ansi",
"phpstan": "phpstan analyze -c phpstan.neon --no-progress --ansi",
"style-check": "php-cs-fixer fix --dry-run -vv"
}
}
1 change: 0 additions & 1 deletion grumphp.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ parameters:
allow_risky: true
config: .php_cs
phpstan:
level: 7
configuration: phpstan.neon
3 changes: 3 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
parameters:
level: 7
paths:
- ./
excludes_analyse:
- %rootDir%/../../../vendor/*
ignoreErrors:

0 comments on commit f40cedc

Please sign in to comment.