Skip to content

Commit

Permalink
Strict types declaration added to all the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Smoren committed Jun 15, 2023
1 parent f811d52 commit f4bbb3b
Show file tree
Hide file tree
Showing 30 changed files with 60 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/Bitmap/BitmapTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\Bitmap;

use Smoren\Schemator\Structs\Bitmap;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/ContainerAccessHelper/DeleteTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\ContainerAccessHelper;

use Codeception\Test\Unit;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/ContainerAccessHelper/ExistsTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\ContainerAccessHelper;

use Smoren\Schemator\Helpers\ContainerAccessHelper;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/ContainerAccessHelper/GetRefTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\ContainerAccessHelper;

use Codeception\Test\Unit;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/ContainerAccessHelper/GetTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\ContainerAccessHelper;

use Codeception\Test\Unit;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/ContainerAccessHelper/SetTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\ContainerAccessHelper;

use Codeception\Test\Unit;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/Fixtures/ChildClass.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\Fixtures;

class ChildClass extends ParentClass
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/Fixtures/ClassWithAccessibleProperties.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\Fixtures;

class ClassWithAccessibleProperties
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/Fixtures/IndependentClass.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\Fixtures;

class IndependentClass
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/Fixtures/ParentClass.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\Fixtures;

class ParentClass
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/Fixtures/SerializableFixture.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\Fixtures;

class SerializableFixture
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/NestedAccessor/ExamplesTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\NestedAccessor;

use Smoren\Schemator\Components\NestedAccessor;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/NestedAccessor/NestedAccessorAppendTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\NestedAccessor;

use Smoren\Schemator\Components\NestedAccessor;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/NestedAccessor/NestedAccessorDeleteTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\NestedAccessor;

use Smoren\Schemator\Components\NestedAccessor;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/NestedAccessor/NestedAccessorExistTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\NestedAccessor;

use Smoren\Schemator\Components\NestedAccessor;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/NestedAccessor/NestedAccessorFactoryTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\NestedAccessor;

use Smoren\Schemator\Components\NestedAccessor;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/NestedAccessor/NestedAccessorGetTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\NestedAccessor;

use Smoren\Schemator\Components\NestedAccessor;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/NestedAccessor/NestedAccessorSetTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\NestedAccessor;

use Smoren\Schemator\Components\NestedAccessor;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/NestedAccessor/NestedAccessorUpdateTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\NestedAccessor;

use Smoren\Schemator\Components\NestedAccessor;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/ObjectAccessHelper/GetPropertyRefTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\ObjectAccessHelper;

use Codeception\Test\Unit;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/ObjectAccessHelper/GetPropertyValueTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\ObjectAccessHelper;

use Codeception\Test\Unit;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/ObjectAccessHelper/HasMethodTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\ObjectAccessHelper;

use Codeception\Test\Unit;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/ObjectAccessHelper/HasPropertyTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\ObjectAccessHelper;

use Codeception\Test\Unit;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/ObjectAccessHelper/HasPublicMethodTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\ObjectAccessHelper;

use Codeception\Test\Unit;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/ObjectAccessHelper/HasPublicPropertyTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\ObjectAccessHelper;

use Codeception\Test\Unit;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/ObjectAccessHelper/HasReadablePropertyTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\ObjectAccessHelper;

use Codeception\Test\Unit;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/ObjectAccessHelper/HasWritablePropertyTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\ObjectAccessHelper;

use Codeception\Test\Unit;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/ObjectAccessHelper/SetPropertyValueTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\ObjectAccessHelper;

use Codeception\Test\Unit;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/Schemator/MassSchematorTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\Schemator;

use Smoren\Schemator\Exceptions\SchematorException;
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/Schemator/SchematorTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Smoren\Schemator\Tests\Unit\Schemator;

use Codeception\Test\Unit;
Expand Down

0 comments on commit f4bbb3b

Please sign in to comment.