Skip to content

Commit

Permalink
added strict types
Browse files Browse the repository at this point in the history
  • Loading branch information
ranpafin committed Nov 8, 2016
1 parent ea8fdaa commit b4c4e97
Show file tree
Hide file tree
Showing 21 changed files with 23 additions and 22 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -6,10 +6,10 @@ php:
fast_finish: true

before_script:
- composer install -vvv
- composer install -v

script:
- phpunit -v --coverage-clover ./build/logs/clover.xml
- phpunit -vvv --coverage-clover ./build/logs/clover.xml

after_script:
- php bin/coveralls -v
- php bin/coveralls -vvv
2 changes: 1 addition & 1 deletion src/Card/Card.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Card;

Expand Down
2 changes: 1 addition & 1 deletion src/Card/Hand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Card;

Expand Down
2 changes: 1 addition & 1 deletion src/Card/HandInterface.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Card;

Expand Down
2 changes: 1 addition & 1 deletion src/Card/Suit.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Card;

Expand Down
2 changes: 1 addition & 1 deletion src/Configuration/Bootstrap.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Configuration;

Expand Down
2 changes: 1 addition & 1 deletion src/Hands/AdjustableHandStrengthInterface.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Hands;

Expand Down
2 changes: 1 addition & 1 deletion src/Hands/HandMatcherInterface.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Hands;

Expand Down
2 changes: 1 addition & 1 deletion src/Hands/HighCard.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Hands;

Expand Down
2 changes: 1 addition & 1 deletion src/Hands/OnePair.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Hands;

Expand Down
2 changes: 1 addition & 1 deletion src/Hands/Score.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Hands;

Expand Down
2 changes: 1 addition & 1 deletion src/Hands/ScoreInterface.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Hands;

Expand Down
2 changes: 1 addition & 1 deletion src/Hands/Search/EqualityFinder.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Hands\Search;

Expand Down
2 changes: 1 addition & 1 deletion src/Hands/Search/HandSearch.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Hands\Search;

Expand Down
2 changes: 1 addition & 1 deletion src/Hands/Search/HandSearchInterface.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Hands\Search;

Expand Down
2 changes: 1 addition & 1 deletion src/Hands/Search/ScoreSearch.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Hands\Search;

Expand Down
2 changes: 1 addition & 1 deletion src/Hands/Search/StraightFinder.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Hands\Search;

Expand Down
1 change: 1 addition & 0 deletions src/Hands/Search/ThreeOfAKindFinder.php
@@ -1,4 +1,5 @@
<?php
declare(strict_types = 1);

namespace Hands\Search;

Expand Down
2 changes: 1 addition & 1 deletion src/Hands/Straight.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Hands;

Expand Down
2 changes: 1 addition & 1 deletion src/Hands/ThreeOfAKind.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Hands;

Expand Down
2 changes: 1 addition & 1 deletion src/Hands/TwoPairs.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Hands;

Expand Down

0 comments on commit b4c4e97

Please sign in to comment.