Skip to content

Commit

Permalink
Use strict types
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Sep 30, 2017
1 parent 4b87e14 commit b265584
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Application/ComponentsProtectionTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Arachne\ComponentsProtection\Application;

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

declare(strict_types=1);

namespace Arachne\ComponentsProtection\DI;

use Arachne\ComponentsProtection\Rules\Actions;
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\ComponentsProtection\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\ComponentsProtection\Exception;

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

declare(strict_types=1);

namespace Arachne\ComponentsProtection\Exception;

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

declare(strict_types=1);

namespace Arachne\ComponentsProtection\Rules;

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

declare(strict_types=1);

namespace Arachne\ComponentsProtection\Rules;

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

declare(strict_types=1);

namespace Tests\Functional;

use Arachne\Codeception\Module\NetteApplicationModule;
Expand Down
2 changes: 2 additions & 0 deletions tests/functional/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\Functional\Classes;

use Arachne\ComponentsProtection\Application\ComponentsProtectionTrait;
Expand Down
2 changes: 2 additions & 0 deletions tests/functional/src/Classes/BlockControl.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Tests\Functional\Classes;

use Nette\Application\UI\Control;
Expand Down
2 changes: 2 additions & 0 deletions tests/functional/src/Classes/RouterFactory.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Tests\Functional\Classes;

use Nette\Application\IRouter;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/src/ActionsRuleHandlerTest.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\ComponentsProtection\Exception\InvalidArgumentException;
Expand Down

0 comments on commit b265584

Please sign in to comment.