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

Commit 0e5949c

Browse files
committed
Added license information for all open source libraries (closes #14)
This change introduces the MIT license for all open source libraries and includes the following changes: - SPDX identifiers added to composer.json files - LICENSE file added to each repository - Short licensing header added to all source files - Copyright configuration for PhpStorm
1 parent 98028b1 commit 0e5949c

11 files changed

+48
-0
lines changed

LICENSE

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright (c) Fusonic GmbH (https://www.fusonic.net)
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "fusonic/http-kernel-extensions",
3+
"license": "MIT",
34
"version": "1.0.5",
45
"description": "Symfony HttpKernel Component Extensions.",
56
"type": "library",

src/Controller/RequestDtoResolver.php

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// Copyright (c) Fusonic GmbH. All rights reserved.
4+
// Licensed under the MIT License. See LICENSE file in the project root for license information.
5+
36
declare(strict_types=1);
47

58
namespace Fusonic\HttpKernelExtensions\Controller;

src/Dto/RequestDto.php

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// Copyright (c) Fusonic GmbH. All rights reserved.
4+
// Licensed under the MIT License. See LICENSE file in the project root for license information.
5+
36
declare(strict_types=1);
47

58
namespace Fusonic\HttpKernelExtensions\Dto;

tests/Controller/RequestDtoResolverTest.php

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// Copyright (c) Fusonic GmbH. All rights reserved.
4+
// Licensed under the MIT License. See LICENSE file in the project root for license information.
5+
36
namespace Fusonic\HttpKernelExtensions\Tests\Controller;
47

58
use Fusonic\HttpKernelExtensions\Controller\RequestDtoResolver;

tests/Dto/EmptyDto.php

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// Copyright (c) Fusonic GmbH. All rights reserved.
4+
// Licensed under the MIT License. See LICENSE file in the project root for license information.
5+
36
namespace Fusonic\HttpKernelExtensions\Tests\Dto;
47

58
use Fusonic\HttpKernelExtensions\Dto\RequestDto;

tests/Dto/NotADto.php

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// Copyright (c) Fusonic GmbH. All rights reserved.
4+
// Licensed under the MIT License. See LICENSE file in the project root for license information.
5+
36
namespace Fusonic\HttpKernelExtensions\Tests\Dto;
47

58
class NotADto

tests/Dto/QueryDto.php

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// Copyright (c) Fusonic GmbH. All rights reserved.
4+
// Licensed under the MIT License. See LICENSE file in the project root for license information.
5+
36
namespace Fusonic\HttpKernelExtensions\Tests\Dto;
47

58
use Fusonic\HttpKernelExtensions\Dto\RequestDto;

tests/Dto/RouteParameterDto.php

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// Copyright (c) Fusonic GmbH. All rights reserved.
4+
// Licensed under the MIT License. See LICENSE file in the project root for license information.
5+
36
namespace Fusonic\HttpKernelExtensions\Tests\Dto;
47

58
use Fusonic\HttpKernelExtensions\Dto\RequestDto;

tests/Dto/SubTypeDto.php

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// Copyright (c) Fusonic GmbH. All rights reserved.
4+
// Licensed under the MIT License. See LICENSE file in the project root for license information.
5+
36
namespace Fusonic\HttpKernelExtensions\Tests\Dto;
47

58
class SubTypeDto

tests/Dto/TestDto.php

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// Copyright (c) Fusonic GmbH. All rights reserved.
4+
// Licensed under the MIT License. See LICENSE file in the project root for license information.
5+
36
namespace Fusonic\HttpKernelExtensions\Tests\Dto;
47

58
use Fusonic\HttpKernelExtensions\Dto\RequestDto;

0 commit comments

Comments
 (0)