Skip to content

Commit

Permalink
Merge pull request #2 from vinogradsoft/1.0.2-dev
Browse files Browse the repository at this point in the history
Added strict typing declare(strict_types=1);.
  • Loading branch information
vinogradsoft authored Oct 20, 2023
2 parents 5670e92 + e138f12 commit 5c9fd30
Show file tree
Hide file tree
Showing 39 changed files with 40 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "vinogradsoft/scanner",
"description": "Сканер",
"description": "Tree Traversal Library.",
"license": "MIT",
"authors": [
{
"name": "vinograd",
"email": "[email protected]"
}
],
"version": "1.0.1",
"version": "1.0.2",
"minimum-stability": "stable",
"autoload": {
"psr-4": {
Expand Down
1 change: 1 addition & 0 deletions src/AbstractChecker.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions src/AbstractTraversalStrategy.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions src/ArrayDriver.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions src/BaseChecker.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions src/BreadthStrategy.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions src/Checker.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions src/Driver.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions src/Exception/ConfigurationException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/Filter.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions src/Leaf.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions src/Node.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions src/NodeFactory.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions src/Scanner.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions src/SingleStrategy.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions src/Verifier.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions src/Visitor.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Vinograd\Scanner;

Expand Down
1 change: 1 addition & 0 deletions tests/Cases/Dummy/DummyNodeFactory.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Cases\Dummy;

Expand Down
1 change: 1 addition & 0 deletions tests/Cases/Dummy/DummyVisitor.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Cases\Dummy;

Expand Down
1 change: 1 addition & 0 deletions tests/Cases/Dummy/TestCaseProviderVisitor.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Cases\Dummy;

Expand Down
1 change: 1 addition & 0 deletions tests/Cases/StrategyCase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Cases;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/AbstractCheckerTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/AbstractTraversalStrategyTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/ArrayDriverTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/BaseCheckerTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit\BreadthTraversalStrategy;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit\BreadthTraversalStrategy;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit\BreadthTraversalStrategy;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/Scanner/ScannerSnapTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit\Scanner;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/Scanner/SearchTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit\Scanner;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/Scanner/SearchWithLeafFilterTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit\Scanner;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/Scanner/SearchWithNodeFilterTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit\Scanner;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/Scanner/SearchWithResetLeafFilterTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit\Scanner;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/Scanner/SearchWithResetNodeFilterTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit\Scanner;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit\SingleTraversalStrategy;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit\SingleTraversalStrategy;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit\SingleTraversalStrategy;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit\SingleTraversalStrategy;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/VerifierTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Unit;

Expand Down

0 comments on commit 5c9fd30

Please sign in to comment.