From f23995005cf5994898d5565fda79e67688db5fa2 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 30 May 2020 15:38:32 +0200 Subject: [PATCH] add copyrights --- Algorithm/Maze/MazeGenerator.php | 4 ++-- Algorithm/PathFinding/AStar.php | 5 +++++ Algorithm/PathFinding/Grid.php | 5 +++++ Algorithm/PathFinding/JumpPointSearch.php | 5 +++++ Algorithm/PathFinding/Path.php | 5 +++++ Message/Mail/EmailAbstract.php | 5 +++++ Message/Mail/Mail.php | 5 +++++ 7 files changed, 32 insertions(+), 2 deletions(-) diff --git a/Algorithm/Maze/MazeGenerator.php b/Algorithm/Maze/MazeGenerator.php index 93a653133..c559e5495 100644 --- a/Algorithm/Maze/MazeGenerator.php +++ b/Algorithm/Maze/MazeGenerator.php @@ -151,8 +151,8 @@ class MazeGenerator public static function render(array $maze) : string { $rendered = ''; - foreach ($maze as $y => $row) { - foreach ($row as $x => $column) { + foreach ($maze as $row) { + foreach ($row as $column) { $rendered .= $column; } diff --git a/Algorithm/PathFinding/AStar.php b/Algorithm/PathFinding/AStar.php index 3c990b2c2..cc3d1b274 100644 --- a/Algorithm/PathFinding/AStar.php +++ b/Algorithm/PathFinding/AStar.php @@ -9,6 +9,11 @@ * @license OMS License 1.0 * @version 1.0.0 * @link https://orange-management.org + * + * Extended based on: + * MIT License + * © 2011-2012 Xueqiao Xu + * © PathFinding.js */ declare(strict_types=1); diff --git a/Algorithm/PathFinding/Grid.php b/Algorithm/PathFinding/Grid.php index ac58550ad..e81db57a2 100644 --- a/Algorithm/PathFinding/Grid.php +++ b/Algorithm/PathFinding/Grid.php @@ -9,6 +9,11 @@ * @license OMS License 1.0 * @version 1.0.0 * @link https://orange-management.org + * + * Extended based on: + * MIT License + * © 2011-2012 Xueqiao Xu + * © PathFinding.js */ declare(strict_types=1); diff --git a/Algorithm/PathFinding/JumpPointSearch.php b/Algorithm/PathFinding/JumpPointSearch.php index 3a45b0922..f8ce3f9d8 100644 --- a/Algorithm/PathFinding/JumpPointSearch.php +++ b/Algorithm/PathFinding/JumpPointSearch.php @@ -9,6 +9,11 @@ * @license OMS License 1.0 * @version 1.0.0 * @link https://orange-management.org + * + * Extended based on: + * MIT License + * © 2011-2012 Xueqiao Xu + * © PathFinding.js */ declare(strict_types=1); diff --git a/Algorithm/PathFinding/Path.php b/Algorithm/PathFinding/Path.php index b22bce4e0..c3ced26b7 100644 --- a/Algorithm/PathFinding/Path.php +++ b/Algorithm/PathFinding/Path.php @@ -9,6 +9,11 @@ * @license OMS License 1.0 * @version 1.0.0 * @link https://orange-management.org + * + * Extended based on: + * MIT License + * © 2011-2012 Xueqiao Xu + * © PathFinding.js */ declare(strict_types=1); diff --git a/Message/Mail/EmailAbstract.php b/Message/Mail/EmailAbstract.php index efbf7cd89..1ff6a0275 100644 --- a/Message/Mail/EmailAbstract.php +++ b/Message/Mail/EmailAbstract.php @@ -9,6 +9,11 @@ * @license OMS License 1.0 * @version 1.0.0 * @link https://orange-management.org + * + * Extended based on: + * GLGPL 2.1 License + * © 2012 - 2015 Marcus Bointon, 2010 - 2012 Jim Jagielski, 2004 - 2009 Andy Prevost + * © PHPMailer */ declare(strict_types=1); diff --git a/Message/Mail/Mail.php b/Message/Mail/Mail.php index 8202a2680..1cde4122a 100644 --- a/Message/Mail/Mail.php +++ b/Message/Mail/Mail.php @@ -9,6 +9,11 @@ * @license OMS License 1.0 * @version 1.0.0 * @link https://orange-management.org + * + * Extended based on: + * GLGPL 2.1 License + * © 2012 - 2015 Marcus Bointon, 2010 - 2012 Jim Jagielski, 2004 - 2009 Andy Prevost + * © PHPMailer */ declare(strict_types=1);