From 5d5af73705af83fef3a10e67ddfba4489a6a33dd Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Sat, 27 Oct 2018 13:11:39 +0200 Subject: [PATCH] TASK: Add missing license comments in PHP files --- Classes/Domain/Search/CachedSearchService.php | 19 +++++++++++++++++++ .../Search/MissingAttributeException.php | 19 +++++++++++++++++++ .../Hook/Filter/FrontendUserAccessFilter.php | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/Classes/Domain/Search/CachedSearchService.php b/Classes/Domain/Search/CachedSearchService.php index b0a6dff..0976521 100644 --- a/Classes/Domain/Search/CachedSearchService.php +++ b/Classes/Domain/Search/CachedSearchService.php @@ -2,6 +2,25 @@ namespace Codappix\SearchCore\Domain\Search; +/* + * Copyright (C) 2018 Benjamin Serfhos + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. + */ + use Codappix\SearchCore\Connection\SearchRequestInterface; use Codappix\SearchCore\Connection\SearchResultInterface; use TYPO3\CMS\Core\SingletonInterface; diff --git a/Classes/Domain/Search/MissingAttributeException.php b/Classes/Domain/Search/MissingAttributeException.php index 0e075ed..f47e369 100644 --- a/Classes/Domain/Search/MissingAttributeException.php +++ b/Classes/Domain/Search/MissingAttributeException.php @@ -2,6 +2,25 @@ namespace Codappix\SearchCore\Domain\Search; +/* + * Copyright (C) 2018 Benjamin Serfhos + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. + */ + class MissingAttributeException extends \InvalidArgumentException { } diff --git a/Classes/Hook/Filter/FrontendUserAccessFilter.php b/Classes/Hook/Filter/FrontendUserAccessFilter.php index e043b0a..fc19fec 100644 --- a/Classes/Hook/Filter/FrontendUserAccessFilter.php +++ b/Classes/Hook/Filter/FrontendUserAccessFilter.php @@ -2,6 +2,25 @@ namespace Codappix\SearchCore\Hook\Filter; +/* + * Copyright (C) 2018 Benjamin Serfhos + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. + */ + use TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication; /**