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 4df5436 commit 57d3a66
Show file tree
Hide file tree
Showing 78 changed files with 157 additions and 156 deletions.
4 changes: 2 additions & 2 deletions src/Api/PaginateResponseInterface.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Api;

use WBW\Library\Pexels\Response\AbstractResponse;
Expand Down
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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Api;

/**
Expand Down
4 changes: 2 additions & 2 deletions src/Model/AbstractMedia.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Model;

use WBW\Library\Common\Traits\Integers\IntegerHeightTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Collection.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Model;

use WBW\Library\Common\Traits\Strings\StringDescriptionTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Photo.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Model;

use WBW\Library\Common\Traits\Strings\StringRawDataTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Source.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Model;

use WBW\Library\Common\Traits\Strings\StringRawDataTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Model/User.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Model;

use WBW\Library\Common\Traits\Integers\IntegerIdTrait;
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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Model;

use WBW\Library\Common\Traits\Strings\StringRawDataTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Model/VideoFile.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Model;

use WBW\Library\Common\Traits\Integers\IntegerHeightTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Model/VideoPicture.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Model;

use WBW\Library\Common\Traits\Integers\IntegerIdTrait;
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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\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);

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

declare(strict_types = 1);

namespace WBW\Library\Pexels\Request;

use InvalidArgumentException;
Expand Down
4 changes: 2 additions & 2 deletions src/Request/CollectionRequest.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Request;

use WBW\Library\Common\Traits\Strings\StringIdTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Request/CollectionsRequest.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Request;

use WBW\Library\Common\Traits\Integers\IntegerPageTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Request/CuratedPhotosRequest.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Request;

use WBW\Library\Common\Traits\Integers\IntegerPageTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Request/GetPhotoRequest.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Request;

use WBW\Library\Common\Provider\SubstituableRequestInterface;
Expand Down
4 changes: 2 additions & 2 deletions src/Request/GetVideoRequest.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Request;

use WBW\Library\Common\Provider\SubstituableRequestInterface;
Expand Down
4 changes: 2 additions & 2 deletions src/Request/PopularVideosRequest.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Request;

use WBW\Library\Common\Traits\Integers\IntegerMaxDurationTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Request/SearchPhotosRequest.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Request;

use WBW\Library\Common\Traits\Integers\IntegerPageTrait;
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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Request;

use WBW\Library\Common\Traits\Integers\IntegerPageTrait;
Expand Down
4 changes: 2 additions & 2 deletions src/Response/AbstractMediaResponse.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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Response;

use WBW\Library\Pexels\Model\AbstractMedia;
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 pexels-library package.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types = 1);

namespace WBW\Library\Pexels\Response;

use WBW\Library\Common\Provider\AbstractResponse as BaseResponse;
Expand Down
Loading

0 comments on commit 57d3a66

Please sign in to comment.