Skip to content

Commit

Permalink
fix count(): Parameter must be an array or an object that implements … (
Browse files Browse the repository at this point in the history
pdepend#303)

* fix count(): Parameter must be an array or an object that implements Countable (php 7.2)
  • Loading branch information
remicollet authored and Emir Beganović committed Nov 10, 2017
1 parent 7d34d66 commit 35842f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ matrix:
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
- php: nightly
allow_failures:
- php: 7.2
- php: nightly
fast_finish: true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class InheritanceAnalyzer extends AbstractAnalyzer implements
*
* @var array(integer)
*/
private $rootClasses = null;
private $rootClasses = array();

/**
* The maximum depth of inheritance tree value within the analyzed source code.
Expand Down

0 comments on commit 35842f7

Please sign in to comment.