Skip to content

Commit

Permalink
Add strict types
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Sep 30, 2017
1 parent d844bd1 commit 668d6c0
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DI/ParameterValidationExtension.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Arachne\ParameterValidation\DI;

use Arachne\ParameterValidation\Rules\Validate;
Expand Down
2 changes: 2 additions & 0 deletions src/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Arachne\ParameterValidation\Exception;

/**
Expand Down
2 changes: 2 additions & 0 deletions src/Exception/LogicException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Arachne\ParameterValidation\Exception;

/**
Expand Down
2 changes: 2 additions & 0 deletions src/Exception/ParameterValidationException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Arachne\ParameterValidation\Exception;

use Arachne\Verifier\Exception\VerificationException;
Expand Down
2 changes: 2 additions & 0 deletions src/Rules/Validate.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Arachne\ParameterValidation\Rules;

use Arachne\Verifier\Rules\ValidationRule;
Expand Down
2 changes: 2 additions & 0 deletions src/Rules/ValidateRuleHandler.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Arachne\ParameterValidation\Rules;

use Arachne\ParameterValidation\Exception\InvalidArgumentException;
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/src/Classes/ArticleControl.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Tests\Integration\Classes;

use Arachne\ParameterValidation\Rules\Validate;
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/src/Classes/ArticleEntity.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Tests\Integration\Classes;

/**
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/src/Classes/ArticlePresenter.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Tests\Integration\Classes;

use Arachne\ParameterValidation\Rules\Validate;
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/src/ValidateRuleHandlerTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Tests\Integration;

use Arachne\Codeception\Module\NetteDIModule;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/src/ValidateRuleHandlerTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Tests\Unit;

use Arachne\ParameterValidation\Exception\InvalidArgumentException;
Expand Down

0 comments on commit 668d6c0

Please sign in to comment.