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 49ebbb9 commit 2911c54
Show file tree
Hide file tree
Showing 21 changed files with 42 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DI/SecurityVerificationExtension.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Arachne\SecurityVerification\DI;

use Arachne\Security\DI\SecurityExtension;
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\SecurityVerification\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\SecurityVerification\Exception;

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

declare(strict_types=1);

namespace Arachne\SecurityVerification\Exception;

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

declare(strict_types=1);

namespace Arachne\SecurityVerification;

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

declare(strict_types=1);

namespace Arachne\SecurityVerification\Rules;

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

declare(strict_types=1);

namespace Arachne\SecurityVerification\Rules;

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

declare(strict_types=1);

namespace Arachne\SecurityVerification\Rules;

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

declare(strict_types=1);

namespace Arachne\SecurityVerification\Rules;

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

declare(strict_types=1);

namespace Arachne\SecurityVerification\Rules;

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

declare(strict_types=1);

namespace Arachne\SecurityVerification\Rules;

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

declare(strict_types=1);

namespace Arachne\SecurityVerification\Rules;

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

declare(strict_types=1);

namespace Arachne\SecurityVerification\Rules;

use Arachne\SecurityVerification\Exception\InvalidArgumentException;
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;

use Nette\Security\IResource;
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\SecurityVerification\Rules\Identity;
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/src/Classes/AuthorizatorFactory.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\Security\Authentication\FirewallInterface;
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/src/SecurityVerificationTest.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/IdentityRuleTest.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\Security\Authentication\FirewallInterface;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/src/NoIdentityRuleTest.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\Security\Authentication\FirewallInterface;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/src/PrivilegeRuleTest.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\Security\Authorization\AuthorizatorInterface;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/src/RoleRuleTest.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\Security\Authentication\FirewallInterface;
Expand Down

0 comments on commit 2911c54

Please sign in to comment.