Skip to content

Commit

Permalink
Merge pull request #18 from mediact/bugfix/33-temporarily-disable-dep…
Browse files Browse the repository at this point in the history
…endency-guard

Bugfix: temporarily disable dependency guard
  • Loading branch information
ksangers authored Nov 15, 2018
2 parents 8132e27 + dbaa1d6 commit c76d946
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 39 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"mediact/coding-standard-phpstorm": "~1.0",
"mediact/composer-dependency-installer": "^1.0",
"mediact/composer-file-installer": "^1.0",
"mediact/dependency-guard": "^1.0",
"phpro/grumphp": "~0.1",
"phpstan/phpstan": "~0.1",
"phpunit/phpunit": "~3.7 || ~4.0 || ~5.0 || ~6.0 || ~7.0"
Expand Down
76 changes: 38 additions & 38 deletions config/default/grumphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,42 +32,42 @@ parameters:
config_file: ./phpunit.xml
metadata:
priority: 200
dependency-guard:
metadata:
priority: 100

services:
mediact.dependency_guard.exporter.factory:
class: Mediact\DependencyGuard\Composer\Command\Exporter\ViolationExporterFactory

mediact.dependency_guard.exporter:
class: Mediact\DependencyGuard\Exporter\ViolationExporterInterface
factory: 'mediact.dependency_guard.exporter.factory:create'
arguments:
- '@console.input'
- '@console.output'

mediact.dependency_guard.factory:
class: Mediact\DependencyGuard\DependencyGuardFactory

mediact.dependency_guard.composer.io:
class: Composer\IO\BufferIO

mediact.dependency_guard.composer.factory:
class: Composer\Factory

mediact.dependency_guard.composer:
class: Composer\Composer
factory: mediact.dependency_guard.composer.factory:createComposer
arguments:
- '@mediact.dependency_guard.composer.io'
# dependency-guard:
# metadata:
# priority: 100

mediact.dependency_guard.grumphp.task:
class: Mediact\DependencyGuard\GrumPHP\DependencyGuard
arguments:
- '@mediact.dependency_guard.composer'
- '@mediact.dependency_guard.factory'
- '@mediact.dependency_guard.exporter'
tags:
- name: grumphp.task
config: dependency-guard
#services:
# mediact.dependency_guard.exporter.factory:
# class: Mediact\DependencyGuard\Composer\Command\Exporter\ViolationExporterFactory
#
# mediact.dependency_guard.exporter:
# class: Mediact\DependencyGuard\Exporter\ViolationExporterInterface
# factory: 'mediact.dependency_guard.exporter.factory:create'
# arguments:
# - '@console.input'
# - '@console.output'
#
# mediact.dependency_guard.factory:
# class: Mediact\DependencyGuard\DependencyGuardFactory
#
# mediact.dependency_guard.composer.io:
# class: Composer\IO\BufferIO
#
# mediact.dependency_guard.composer.factory:
# class: Composer\Factory
#
# mediact.dependency_guard.composer:
# class: Composer\Composer
# factory: mediact.dependency_guard.composer.factory:createComposer
# arguments:
# - '@mediact.dependency_guard.composer.io'
#
# mediact.dependency_guard.grumphp.task:
# class: Mediact\DependencyGuard\GrumPHP\DependencyGuard
# arguments:
# - '@mediact.dependency_guard.composer'
# - '@mediact.dependency_guard.factory'
# - '@mediact.dependency_guard.exporter'
# tags:
# - name: grumphp.task
# config: dependency-guard

0 comments on commit c76d946

Please sign in to comment.