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

Commit 93682f4

Browse files
author
Andrey Helldar
authored
Merge pull request #66 from TheDragonCode/9.x
Added copyrights
2 parents 48f461d + f5e31b7 commit 93682f4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1037
-0
lines changed

phpunit.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
<?php
2+
3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
218
/*
319
|--------------------------------------------------------------------------
420
| Register The Composer Auto Loader

phpunit.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!--
4+
~ This file is part of the "dragon-code/api-response" project.
5+
~
6+
~ For the full copyright and license information, please view the LICENSE
7+
~ file that was distributed with this source code.
8+
~
9+
~ @author Andrey Helldar <helldar@ai-rus.com>
10+
~
11+
~ @copyright 2021 Andrey Helldar
12+
~
13+
~ @license MIT
14+
~
15+
~ @see https://github.com/TheDragonCode/api-response
16+
-->
17+
218
<phpunit
319
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
420
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

src/Concerns/Errors.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Concerns;
419

520
use DragonCode\Support\Facades\Helpers\Is;

src/Concerns/Exceptions/Laravel/Api.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Concerns\Exceptions\Laravel;
419

520
use Illuminate\Validation\ValidationException;

src/Concerns/Exceptions/Laravel/Web.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Concerns\Exceptions\Laravel;
419

520
use Illuminate\Validation\ValidationException;

src/Exceptions/Laravel/BaseHandler.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Exceptions\Laravel;
419

520
use DragonCode\Support\Facades\Helpers\Arr;

src/Exceptions/Laravel/Eight/ApiHandler.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Exceptions\Laravel\Eight;
419

520
use DragonCode\ApiResponse\Concerns\Exceptions\Laravel\Api;

src/Exceptions/Laravel/Eight/Handler.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Exceptions\Laravel\Eight;
419

520
use DragonCode\ApiResponse\Concerns\Exceptions\Laravel\Web;

src/Exceptions/Laravel/Seven/ApiHandler.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Exceptions\Laravel\Seven;
419

520
use DragonCode\ApiResponse\Concerns\Exceptions\Laravel\Api;

src/Exceptions/Laravel/Seven/Handler.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Exceptions\Laravel\Seven;
419

520
use DragonCode\ApiResponse\Concerns\Exceptions\Laravel\Web;

src/Parsers/Exception.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Parsers;
419

520
use DragonCode\Support\Facades\Helpers\Call;

src/Parsers/Laravel/Resource.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Parsers\Laravel;
419

520
use DragonCode\ApiResponse\Parsers\Parser;

src/Parsers/Laravel/Validation.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Parsers\Laravel;
419

520
use DragonCode\ApiResponse\Parsers\Parser;

src/Parsers/Main.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Parsers;
419

520
class Main extends Parser

src/Parsers/Parser.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Parsers;
419

520
use DragonCode\ApiResponse\Concerns\Errors;

src/Services/Response.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Services;
419

520
use DragonCode\ApiResponse\Support\Parser;

src/Support/Parser.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Support;
419

520
use DragonCode\ApiResponse\Concerns\Errors;

src/Wrappers/Error.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Wrappers;
419

520
class Error extends Wrapper

src/Wrappers/Resolver.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?php
22

3+
/*
4+
* This file is part of the "dragon-code/api-response" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@ai-rus.com>
10+
*
11+
* @copyright 2021 Andrey Helldar
12+
*
13+
* @license MIT
14+
*
15+
* @see https://github.com/TheDragonCode/api-response
16+
*/
17+
318
namespace DragonCode\ApiResponse\Wrappers;
419

520
use DragonCode\Contracts\ApiResponse\Resolver as ResolverContract;

0 commit comments

Comments
 (0)