Skip to content

Commit 61a7cc2

Browse files
committed
Update license headers
1 parent fd7de0a commit 61a7cc2

Some content is hidden

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

44 files changed

+186
-215
lines changed

.php-cs-fixer.php

+14
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,20 @@
3737
'import_functions' => true,
3838
'import_classes' => null,
3939
],
40+
'header_comment' => [
41+
'header' => <<<COMMENT
42+
This file is part of RakLib.
43+
Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
44+
45+
RakLib is not affiliated with Jenkins Software LLC nor RakNet.
46+
47+
RakLib is free software: you can redistribute it and/or modify
48+
it under the terms of the GNU General Public License as published by
49+
the Free Software Foundation, either version 3 of the License, or
50+
(at your option) any later version.
51+
COMMENT,
52+
'location' => 'after_open',
53+
],
4054
'indentation_type' => true,
4155
'native_function_invocation' => [
4256
'scope' => 'namespaced',

src/RakLib.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/generic/ReceiveReliabilityLayer.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/generic/ReliableCacheEntry.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/generic/SendReliabilityLayer.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/generic/Socket.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/generic/SocketException.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/protocol/ACK.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/protocol/AcknowledgePacket.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/protocol/AdvertiseSystem.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/protocol/ConnectedPacket.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/protocol/ConnectedPing.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/protocol/ConnectedPong.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/protocol/ConnectionRequest.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/protocol/ConnectionRequestAccepted.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/protocol/Datagram.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/protocol/DisconnectionNotification.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/protocol/EncapsulatedPacket.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

src/protocol/IncompatibleProtocolVersion.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

33
/*
4-
* RakLib network library
4+
* This file is part of RakLib.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
56
*
7+
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
68
*
7-
* This project is not affiliated with Jenkins Software LLC nor RakNet.
8-
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* RakLib is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation, either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
1413
*/
1514

1615
declare(strict_types=1);

0 commit comments

Comments
 (0)