Skip to content

Commit

Permalink
Removed more usages of the short array syntax (php 5.3 compatibility).
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Oct 19, 2015
1 parent 84300e5 commit 1a50f72
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 1a50f72

Please sign in to comment.