Skip to content

Commit a6fdc51

Browse files
committed
remove license headers for source files in favour of a single license file at the repo root
1 parent 1f15941 commit a6fdc51

9 files changed

+1
-108
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"annotations"
77
],
88
"homepage": "https://github.com/pgraham/php-annotations",
9-
"license": "BSD",
9+
"license": "BSD-3-Clause",
1010
"authors": [
1111
{
1212
"name": "Philip Graham",

test/AnnotationParsingTest.php

-13
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
11
<?php
2-
/**
3-
* =============================================================================
4-
* Copyright (c) 2022, Philip Graham
5-
* All rights reserved.
6-
*
7-
* This file is part of php-annotations and is licensed by the Copyright holder
8-
* under the 3-clause BSD License. The full text of the license can be found in
9-
* the LICENSE.txt file included in the root directory of this distribution or
10-
* at the link below.
11-
* =============================================================================
12-
*
13-
* @license http://www.opensource.org/licenses/bsd-license.php
14-
*/
152
use zpt\anno\Annotations;
163
use PHPUnit\Framework\TestCase as TestCase;
174

test/InstantiationTest.php

-13
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
11
<?php
2-
/**
3-
* =============================================================================
4-
* Copyright (c) 2013, Philip Graham
5-
* All rights reserved.
6-
*
7-
* This file is part of Reed and is licensed by the Copyright holder under the
8-
* 3-clause BSD License. The full text of the license can be found in the
9-
* LICENSE.txt file included in the root directory of this distribution or at
10-
* the link below.
11-
* =============================================================================
12-
*
13-
* @license http://www.opensource.org/licenses/bsd-license.php
14-
*/
152
namespace zpt\anno;
163

174
use PHPUnit\Framework\TestCase as TestCase;

test/PerfTest.php

-13
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
11
<?php
2-
/**
3-
* =============================================================================
4-
* Copyright (c) 2013, Philip Graham
5-
* All rights reserved.
6-
*
7-
* This file is part of Reed and is licensed by the Copyright holder under the
8-
* 3-clause BSD License. The full text of the license can be found in the
9-
* LICENSE.txt file included in the root directory of this distribution or at
10-
* the link below.
11-
* =============================================================================
12-
*
13-
* @license http://www.opensource.org/licenses/bsd-license.php
14-
*/
152
namespace zpt\anno;
163

174
use PHPUnit\Framework\TestCase as TestCase;

test/test-common.php

-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
11
<?php
2-
/**
3-
* =============================================================================
4-
* Copyright (c) 2012, Philip Graham
5-
* All rights reserved.
6-
*
7-
* This file is part of php-annotations and is licensed by the Copyright holder
8-
* under the 3-clause BSD License. The full text of the license can be found in
9-
* the LICENSE.txt file included in the root directory of this distribution or
10-
* at the link below.
11-
* =============================================================================
12-
*
13-
* This file sets up the environment for running tests.
14-
*
15-
* @license http://www.opensource.org/licenses/bsd-license.php
16-
*/
17-
182
$loader = require __DIR__ . '/../vendor/autoload.php';
193
$loader->addPsr4('zpt\\anno\\', __DIR__ . '/../zpt/anno');

zpt/anno/AnnotationFactory.php

-13
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
11
<?php
2-
/**
3-
* =============================================================================
4-
* Copyright (c) 2013, Philip Graham
5-
* All rights reserved.
6-
*
7-
* This file is part of Reed and is licensed by the Copyright holder under
8-
* the 3-clause BSD License. The full text of the license can be found in the
9-
* LICENSE.txt file included in the root directory of this distribution or at
10-
* the link below.
11-
* =============================================================================
12-
*
13-
* @license http://www.opensource.org/licenses/bsd-license.php
14-
*/
152
namespace zpt\anno;
163

174
use \ReflectionClass;

zpt/anno/AnnotationParser.php

-13
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
11
<?php
2-
/**
3-
* =============================================================================
4-
* Copyright (c) 2022, Philip Graham
5-
* All rights reserved.
6-
*
7-
* This file is part of Reed and is licensed by the Copyright holder under the
8-
* 3-clause BSD License. The full text of the license can be found in the
9-
* LICENSE.txt file included in the root directory of this distribution or at
10-
* the link below.
11-
* =============================================================================
12-
*
13-
* @license http://www.opensource.org/licenses/bsd-license.php
14-
*/
152
namespace zpt\anno;
163

174
use zpt\anno\ValueLexer;

zpt/anno/Annotations.php

-13
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
11
<?php
2-
/**
3-
* =============================================================================
4-
* Copyright (c) 2013, Philip Graham
5-
* All rights reserved.
6-
*
7-
* This file is part of Reed and is licensed by the Copyright holder under
8-
* the 3-clause BSD License. The full text of the license can be found in the
9-
* LICENSE.txt file included in the root directory of this distribution or at
10-
* the link below.
11-
* =============================================================================
12-
*
13-
* @license http://www.opensource.org/licenses/bsd-license.php
14-
*/
152
namespace zpt\anno;
163

174
use \ArrayAccess;

zpt/anno/ReflectorNotCommentedException.php

-13
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
11
<?php
2-
/**
3-
* =============================================================================
4-
* Copyright (c) 2013, Philip Graham
5-
* All rights reserved.
6-
*
7-
* This file is part of Reed and is licensed by the Copyright holder under
8-
* the 3-clause BSD License. The full text of the license can be found in the
9-
* LICENSE.txt file included in the root directory of this distribution or at
10-
* the link below.
11-
* =============================================================================
12-
*
13-
* @license http://www.opensource.org/licenses/bsd-license.php
14-
*/
152
namespace zpt\anno;
163

174
use \Exception;

0 commit comments

Comments
 (0)