Skip to content

Commit

Permalink
Add PHP 7.1 and 7.2 to CI. (#63)
Browse files Browse the repository at this point in the history
* Add PHP 7.1 and 7.2 to CI.

* Fix count() call on undefined variable.
  • Loading branch information
goto-bus-stop authored Aug 4, 2018
1 parent c55624d commit 29e1de7
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 @@ -2,6 +2,8 @@ language: php
php:
- '5.6'
- '7.0'
- '7.1'
- '7.2'
before_install:
- printf "\n" | pecl install imagick
before_script: composer install
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Player.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class Player
/**
* Co-op partners.
*/
private $coopPartners;
private $coopPartners = [];

/**
* Contains the player's initial state, such as starting resources
Expand Down

0 comments on commit 29e1de7

Please sign in to comment.