Skip to content

Commit

Permalink
Merge pull request #44 from derrabus/php53-compat
Browse files Browse the repository at this point in the history
Removed more usages of the short array syntax
  • Loading branch information
MarvinKlemp committed Oct 21, 2015
2 parents 8d87a55 + 1a50f72 commit 8beb96f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,14 +298,14 @@ public function buildContainer()

$c['violation_checker'] = function ($c) {
return new ComposedViolationChecker(
[
array(
new ClassViolationChecker(),
new InterfaceViolationChecker(),
new MethodViolationChecker($c['ancestor_resolver']),
new SuperTypeViolationChecker(),
new TypeHintViolationChecker(),
new MethodDefinitionViolationChecker($c['ancestor_resolver']),
]
)
);
};

Expand Down

0 comments on commit 8beb96f

Please sign in to comment.