Skip to content

Commit

Permalink
OXDEV-7539 Add copyrights and check strict types
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Fedurtsya <[email protected]>
  • Loading branch information
Sieg committed Nov 30, 2023
1 parent 627318c commit 7b85f19
Show file tree
Hide file tree
Showing 26 changed files with 158 additions and 4 deletions.
7 changes: 7 additions & 0 deletions src/Setting/Controller/ModuleSettingController.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Setting\Controller;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\DataType\BooleanSetting;
Expand Down
7 changes: 7 additions & 0 deletions src/Setting/Controller/ThemeSettingController.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Setting\Controller;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\DataType\BooleanSetting;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

namespace OxidEsales\GraphQL\ConfigurationAccess\Setting\Infrastructure;

use OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\Setting;
Expand Down
2 changes: 0 additions & 2 deletions src/Setting/Infrastructure/ShopSettingRepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Setting\Infrastructure;

interface ShopSettingRepositoryInterface
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

namespace OxidEsales\GraphQL\ConfigurationAccess\Setting\Infrastructure;

use TheCodingMachine\GraphQLite\Types\ID;
Expand Down
7 changes: 7 additions & 0 deletions src/Setting/Service/JsonService.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Setting\Service;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\Exception\CollectionEncodingException;
Expand Down
5 changes: 5 additions & 0 deletions src/Setting/Service/JsonServiceInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

namespace OxidEsales\GraphQL\ConfigurationAccess\Setting\Service;

interface JsonServiceInterface
Expand Down
5 changes: 5 additions & 0 deletions src/Setting/Service/ModuleSettingServiceInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

namespace OxidEsales\GraphQL\ConfigurationAccess\Setting\Service;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\DataType\BooleanSetting;
Expand Down
2 changes: 0 additions & 2 deletions src/Setting/Service/ShopSettingServiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Setting\Service;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\DataType\BooleanSetting;
Expand Down
5 changes: 5 additions & 0 deletions src/Setting/Service/ThemeSettingServiceInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

namespace OxidEsales\GraphQL\ConfigurationAccess\Setting\Service;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\DataType\BooleanSetting;
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/Controller/ModuleSettingControllerTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\Controller;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\Controller\ModuleSettingController;
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/Controller/ThemeSettingControllerTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\Controller;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\Controller\ThemeSettingController;
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/DataType/BooleanSettingTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\DataType;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\DataType\BooleanSetting;
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/DataType/FloatSettingTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\DataType;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\DataType\FloatSetting;
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/DataType/IntegerSettingTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\DataType;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\DataType\IntegerSetting;
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/DataType/SettingTypeTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\DataType;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\DataType\SettingType;
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/DataType/StringSettingTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\DataType;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\DataType\StringSetting;
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/Enum/FieldTypeTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\DataType;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\Enum\FieldType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\Infrastructure;

use OxidEsales\EshopCommunity\Internal\Framework\Config\Dao\ShopConfigurationSettingDaoInterface;
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/Infrastructure/ModuleSettingRepositoryTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\Infrastructure;

use OxidEsales\EshopCommunity\Internal\Framework\Module\Configuration\Dao\ModuleConfigurationDaoInterface;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\Infrastructure;

use Doctrine\DBAL\ForwardCompatibility\Result;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\Infrastructure;

use OxidEsales\EshopCommunity\Internal\Framework\Config\Utility\ShopSettingEncoderInterface;
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/Service/JsonServiceTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\Service;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\Exception\CollectionEncodingException;
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/Service/ModuleSettingServiceTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\Service;

use OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\Setting;
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/Service/ThemeSettingServiceTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit\Service;

use OxidEsales\GraphQL\ConfigurationAccess\Setting\DataType\BooleanSetting;
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/UnitTestCase.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/

declare(strict_types=1);

namespace OxidEsales\GraphQL\ConfigurationAccess\Tests\Unit;

use OxidEsales\EshopCommunity\Internal\Transition\Utility\BasicContextInterface;
Expand Down

0 comments on commit 7b85f19

Please sign in to comment.