Skip to content

Commit

Permalink
Code checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed May 28, 2024
1 parent 600de6e commit bafa956
Show file tree
Hide file tree
Showing 41 changed files with 91 additions and 90 deletions.
4 changes: 2 additions & 2 deletions src/Api/RequestInterface.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Api;

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

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Api;

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

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Api;

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

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Model;

use WBW\Library\Common\Traits\Integers\IntegerIdTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Model/ImageHit.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Model;

use WBW\Library\Common\Traits\Strings\StringRawDataTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Video.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Model;

use WBW\Library\Common\Traits\Integers\IntegerHeightTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Model/VideoHit.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Model;

use WBW\Library\Common\Traits\Strings\StringRawDataTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Provider/AbstractProvider.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Provider;

use GuzzleHttp\Client;
Expand Down
4 changes: 2 additions & 2 deletions src/Provider/ApiProvider.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Provider;

use InvalidArgumentException;
Expand Down
4 changes: 2 additions & 2 deletions src/Request/AbstractRequest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* Disclaimer: This source code is protected by copyright law and by
* international conventions.
Expand All @@ -15,6 +13,8 @@
* (c) 2019 All rights reserved.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Request;

use InvalidArgumentException;
Expand Down
4 changes: 2 additions & 2 deletions src/Request/SearchImagesRequest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Request;

use InvalidArgumentException;
Expand Down
4 changes: 2 additions & 2 deletions src/Request/SearchVideosRequest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Request;

use InvalidArgumentException;
Expand Down
4 changes: 2 additions & 2 deletions src/Response/AbstractResponse.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Response;

use WBW\Library\Common\Provider\AbstractResponse as BaseResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Response/SearchImagesResponse.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Response;

use WBW\Library\Pixabay\Model\ImageHit;
Expand Down
4 changes: 2 additions & 2 deletions src/Response/SearchVideosResponse.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Response;

use WBW\Library\Pixabay\Model\VideoHit;
Expand Down
4 changes: 2 additions & 2 deletions src/Serializer/JsonDeserializer.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Serializer;

use WBW\Library\Common\Helper\ArrayHelper;
Expand Down
4 changes: 2 additions & 2 deletions src/Serializer/RequestSerializer.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Serializer;

use WBW\Library\Common\Helper\ArrayHelper;
Expand Down
4 changes: 2 additions & 2 deletions src/Serializer/ResponseDeserializer.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Serializer;

use WBW\Library\Common\Helper\ArrayHelper;
Expand Down
4 changes: 2 additions & 2 deletions tests/AbstractTestCase.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Tests;

use PHPUnit\Framework\TestCase;
Expand Down
4 changes: 2 additions & 2 deletions tests/Api/RequestInterfaceTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Tests\Api;

use WBW\Library\Pixabay\Api\RequestInterface;
Expand Down
4 changes: 2 additions & 2 deletions tests/Fixtures/Model/TestHit.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Tests\Fixtures\Model;

use WBW\Library\Pixabay\Model\AbstractHit;
Expand Down
4 changes: 2 additions & 2 deletions tests/Fixtures/Provider/TestApiProvider.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Tests\Fixtures\Provider;

use WBW\Library\Pixabay\Provider\ApiProvider;
Expand Down
4 changes: 2 additions & 2 deletions tests/Fixtures/Provider/TestProvider.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the pixabay-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pixabay\Tests\Fixtures\Provider;

use WBW\Library\Pixabay\Provider\AbstractProvider;
Expand Down
Loading

0 comments on commit bafa956

Please sign in to comment.