Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Added copyrights #66

Merged
merged 1 commit into from
Nov 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions phpunit.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

/*
|--------------------------------------------------------------------------
| Register The Composer Auto Loader
Expand Down
16 changes: 16 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
~ This file is part of the "dragon-code/api-response" project.
~
~ For the full copyright and license information, please view the LICENSE
~ file that was distributed with this source code.
~
~ @author Andrey Helldar <helldar@ai-rus.com>
~
~ @copyright 2021 Andrey Helldar
~
~ @license MIT
~
~ @see https://github.com/TheDragonCode/api-response
-->

<phpunit
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand Down
15 changes: 15 additions & 0 deletions src/Concerns/Errors.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Concerns;

use DragonCode\Support\Facades\Helpers\Is;
Expand Down
15 changes: 15 additions & 0 deletions src/Concerns/Exceptions/Laravel/Api.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Concerns\Exceptions\Laravel;

use Illuminate\Validation\ValidationException;
Expand Down
15 changes: 15 additions & 0 deletions src/Concerns/Exceptions/Laravel/Web.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Concerns\Exceptions\Laravel;

use Illuminate\Validation\ValidationException;
Expand Down
15 changes: 15 additions & 0 deletions src/Exceptions/Laravel/BaseHandler.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Exceptions\Laravel;

use DragonCode\Support\Facades\Helpers\Arr;
Expand Down
15 changes: 15 additions & 0 deletions src/Exceptions/Laravel/Eight/ApiHandler.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Exceptions\Laravel\Eight;

use DragonCode\ApiResponse\Concerns\Exceptions\Laravel\Api;
Expand Down
15 changes: 15 additions & 0 deletions src/Exceptions/Laravel/Eight/Handler.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Exceptions\Laravel\Eight;

use DragonCode\ApiResponse\Concerns\Exceptions\Laravel\Web;
Expand Down
15 changes: 15 additions & 0 deletions src/Exceptions/Laravel/Seven/ApiHandler.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Exceptions\Laravel\Seven;

use DragonCode\ApiResponse\Concerns\Exceptions\Laravel\Api;
Expand Down
15 changes: 15 additions & 0 deletions src/Exceptions/Laravel/Seven/Handler.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Exceptions\Laravel\Seven;

use DragonCode\ApiResponse\Concerns\Exceptions\Laravel\Web;
Expand Down
15 changes: 15 additions & 0 deletions src/Parsers/Exception.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Parsers;

use DragonCode\Support\Facades\Helpers\Call;
Expand Down
15 changes: 15 additions & 0 deletions src/Parsers/Laravel/Resource.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Parsers\Laravel;

use DragonCode\ApiResponse\Parsers\Parser;
Expand Down
15 changes: 15 additions & 0 deletions src/Parsers/Laravel/Validation.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Parsers\Laravel;

use DragonCode\ApiResponse\Parsers\Parser;
Expand Down
15 changes: 15 additions & 0 deletions src/Parsers/Main.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Parsers;

class Main extends Parser
Expand Down
15 changes: 15 additions & 0 deletions src/Parsers/Parser.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Parsers;

use DragonCode\ApiResponse\Concerns\Errors;
Expand Down
15 changes: 15 additions & 0 deletions src/Services/Response.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Services;

use DragonCode\ApiResponse\Support\Parser;
Expand Down
15 changes: 15 additions & 0 deletions src/Support/Parser.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Support;

use DragonCode\ApiResponse\Concerns\Errors;
Expand Down
15 changes: 15 additions & 0 deletions src/Wrappers/Error.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Wrappers;

class Error extends Wrapper
Expand Down
15 changes: 15 additions & 0 deletions src/Wrappers/Resolver.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?php

/*
* This file is part of the "dragon-code/api-response" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see https://github.com/TheDragonCode/api-response
*/

namespace DragonCode\ApiResponse\Wrappers;

use DragonCode\Contracts\ApiResponse\Resolver as ResolverContract;
Expand Down
Loading