Skip to content

Commit

Permalink
Merge pull request #29 from pmsipilot/update-deps
Browse files Browse the repository at this point in the history
chore: Update dependencies
  • Loading branch information
jubianchi authored Jan 20, 2018
2 parents 27758c0 + f6f67be commit aa9cff3
Show file tree
Hide file tree
Showing 7 changed files with 653 additions and 165 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ bin/
!bin/dcv
!bin/entrypoint.sh
.cache/
.php_cs.cache
13 changes: 8 additions & 5 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
<?php

$finder = Symfony\CS\Finder\DefaultFinder::create()
->exclude('somedir')
use PhpCsFixer as CS;

$finder = CS\Finder::create()
->in(__DIR__.DIRECTORY_SEPARATOR.'src')
->in(__DIR__.DIRECTORY_SEPARATOR.'spec')
;

return Symfony\CS\Config\Config::create()
->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL)
->finder($finder)
return CS\Config::create()
->setRules([
'@Symfony' => true,
])
->setFinder($finder)
;
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ services:
php:
- 7.0
- 7.1
- 7.2
- nightly

env:
matrix:
- COMPOSERFLAGS=
- COMPOSERFLAGS=--prefer-lowest
- COMPOSERFLAGS=--prefer-stable

global:
# DOCKER_EMAIL
Expand All @@ -29,6 +31,8 @@ matrix:
env: COMPOSERFLAGS=
- php: 7.1
env: COMPOSERFLAGS=--prefer-lowest
- php: 7.2
env: COMPOSERFLAGS=--prefer-lowest
- php: nightly
env: COMPOSERFLAGS=--prefer-lowest
allow_failures:
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
"name": "pmsipilot/docker-compose-viz",
"description": "Docker compose graph visualization",
"require": {
"symfony/yaml": "^3.1 || ^4@dev",
"php": "^7",
"symfony/yaml": "^3.1 || ^4",
"symfony/console": "^3.1",
"clue/graph": "^0.9",
"graphp/graphviz": "^0.2"
},
"require-dev": {
"crysalead/kahlan": "^2.5.4",
"friendsofphp/php-cs-fixer": "^1.11"
"friendsofphp/php-cs-fixer": "^2"
},
"license": "MIT",
"authors": [
Expand Down
Loading

0 comments on commit aa9cff3

Please sign in to comment.