From ffa43f3c3b9f44db5efb9831287bef68a80e1432 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 19 Apr 2014 18:16:55 +0200 Subject: update headers to be compatible with phpdoc, slim down license text to make code more visible --- app/news.php | 32 +++++++--------------- appinfo/app.php | 31 +++++++-------------- appinfo/routes.php | 32 +++++++--------------- articleenhancer/articleenhancer.php | 32 +++++++--------------- articleenhancer/enhancer.php | 32 +++++++--------------- articleenhancer/regexarticleenhancer.php | 24 ++++------------ articleenhancer/xpatharticleenhancer.php | 32 +++++++--------------- backgroundjob/task.php | 32 +++++++--------------- bin/updater.py | 29 ++++++-------------- businesslayer/businesslayer.php | 32 +++++++--------------- businesslayer/businesslayerconflictexception.php | 32 +++++++--------------- businesslayer/businesslayerexception.php | 32 +++++++--------------- businesslayer/businesslayervalidationexception.php | 32 +++++++--------------- businesslayer/feedbusinesslayer.php | 32 +++++++--------------- businesslayer/folderbusinesslayer.php | 32 +++++++--------------- businesslayer/itembusinesslayer.php | 32 +++++++--------------- controller/apicontroller.php | 32 +++++++--------------- controller/exportcontroller.php | 32 +++++++--------------- controller/feedapicontroller.php | 32 +++++++--------------- controller/feedcontroller.php | 32 +++++++--------------- controller/folderapicontroller.php | 32 +++++++--------------- controller/foldercontroller.php | 32 +++++++--------------- controller/itemapicontroller.php | 32 +++++++--------------- controller/itemcontroller.php | 32 +++++++--------------- controller/pagecontroller.php | 32 +++++++--------------- core/db.php | 22 ++++----------- core/logger.php | 22 ++++----------- core/settings.php | 22 ++++----------- db/doesnotexistexception.php | 23 ++++------------ db/entity.php | 30 +++++++------------- db/feed.php | 32 +++++++--------------- db/feedmapper.php | 32 +++++++--------------- db/feedtype.php | 32 +++++++--------------- db/folder.php | 32 +++++++--------------- db/foldermapper.php | 32 +++++++--------------- db/iapi.php | 32 +++++++--------------- db/imapper.php | 31 +++++++-------------- db/item.php | 32 +++++++--------------- db/itemmapper.php | 31 +++++++-------------- db/mapper.php | 25 ++++------------- db/mapperfactory.php | 32 +++++++--------------- db/multipleobjectsreturnedexception.php | 23 ++++------------ db/postgres/itemmapper.php | 31 +++++++-------------- db/statusflag.php | 32 +++++++--------------- fetcher/feedfetcher.php | 32 +++++++--------------- fetcher/fetcher.php | 32 +++++++--------------- fetcher/fetcherexception.php | 32 +++++++--------------- fetcher/ifeedfetcher.php | 32 +++++++--------------- hooks/user.php | 32 +++++++--------------- http/downloadresponse.php | 25 +++++------------ http/textdownloadresponse.php | 25 +++++------------ http/textresponse.php | 25 +++++------------ middleware/corsmiddleware.php | 23 ++++------------ tests/classloader.php | 24 +++++----------- tests/unit/articleenhancer/EnhancerTest.php | 32 +++++++--------------- .../articleenhancer/RegexArticleEnhancerTest.php | 32 +++++++--------------- .../articleenhancer/XPathArticleEnhancerTest.php | 32 +++++++--------------- tests/unit/businesslayer/BusinessLayerTest.php | 32 +++++++--------------- tests/unit/businesslayer/FeedBusinessLayerTest.php | 32 +++++++--------------- .../unit/businesslayer/FolderBusinessLayerTest.php | 32 +++++++--------------- tests/unit/businesslayer/ItemBusinessLayerTest.php | 32 +++++++--------------- tests/unit/businesslayer/StatusFlagTest.php | 32 +++++++--------------- tests/unit/controller/ApiControllerTest.php | 32 +++++++--------------- tests/unit/controller/ExportControllerTest.php | 32 +++++++--------------- tests/unit/controller/FeedApiControllerTest.php | 32 +++++++--------------- tests/unit/controller/FeedControllerTest.php | 32 +++++++--------------- tests/unit/controller/FolderApiControllerTest.php | 32 +++++++--------------- tests/unit/controller/FolderControllerTest.php | 32 +++++++--------------- tests/unit/controller/ItemApiControllerTest.php | 32 +++++++--------------- tests/unit/controller/ItemControllerTest.php | 32 +++++++--------------- tests/unit/controller/PageControllerTest.php | 32 +++++++--------------- tests/unit/db/EntityTest.php | 32 +++++++--------------- tests/unit/db/FeedMapperTest.php | 32 +++++++--------------- tests/unit/db/FeedTest.php | 32 +++++++--------------- tests/unit/db/FolderMapperTest.php | 32 +++++++--------------- tests/unit/db/FolderTest.php | 32 +++++++--------------- tests/unit/db/ItemMapperTest.php | 32 +++++++--------------- tests/unit/db/ItemTest.php | 32 +++++++--------------- tests/unit/db/MapperFactoryTest.php | 32 +++++++--------------- tests/unit/db/MapperTest.php | 22 ++++----------- tests/unit/db/postgres/ItemMapperTest.php | 32 +++++++--------------- tests/unit/fetcher/FeedFetcherTest.php | 32 +++++++--------------- tests/unit/http/DownloadResponseTest.php | 22 ++++----------- tests/unit/http/TextDownloadResponseTest.php | 22 ++++----------- tests/unit/http/TextResponseTest.php | 22 ++++----------- tests/unit/middleware/CORSMiddlewareTest.php | 22 ++++----------- tests/unit/utility/ConfigTest.php | 32 +++++++--------------- tests/unit/utility/FaviconFetcherTest.php | 22 ++++----------- tests/unit/utility/MethodAnnotationReaderTest.php | 22 ++++----------- tests/unit/utility/OPMLExporterTest.php | 32 +++++++--------------- tests/unit/utility/UpdaterTest.php | 32 +++++++--------------- utility/config.php | 32 +++++++--------------- utility/controllertestutility.php | 23 ++++------------ utility/faviconfetcher.php | 23 ++++------------ utility/mappertestutility.php | 23 ++++------------ utility/methodannotationreader.php | 23 ++++------------ utility/opmlexporter.php | 32 +++++++--------------- utility/simplepieapifactory.php | 22 ++++----------- utility/updater.php | 32 +++++++--------------- 99 files changed, 897 insertions(+), 2045 deletions(-) diff --git a/app/news.php b/app/news.php index 3658dac3c..de3652e6f 100644 --- a/app/news.php +++ b/app/news.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\App; diff --git a/appinfo/app.php b/appinfo/app.php index 486c234a7..e56d3ecb7 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -1,26 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News; diff --git a/appinfo/routes.php b/appinfo/routes.php index c79c5d8d2..84b421bb0 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News; diff --git a/articleenhancer/articleenhancer.php b/articleenhancer/articleenhancer.php index 53b2d6fa8..e5bf2f7aa 100644 --- a/articleenhancer/articleenhancer.php +++ b/articleenhancer/articleenhancer.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\ArticleEnhancer; diff --git a/articleenhancer/enhancer.php b/articleenhancer/enhancer.php index 7981751ea..6fa617701 100644 --- a/articleenhancer/enhancer.php +++ b/articleenhancer/enhancer.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\ArticleEnhancer; diff --git a/articleenhancer/regexarticleenhancer.php b/articleenhancer/regexarticleenhancer.php index 0742bc127..9fecc0d6f 100644 --- a/articleenhancer/regexarticleenhancer.php +++ b/articleenhancer/regexarticleenhancer.php @@ -1,26 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ namespace OCA\News\ArticleEnhancer; diff --git a/articleenhancer/xpatharticleenhancer.php b/articleenhancer/xpatharticleenhancer.php index 0d7589fec..466621466 100644 --- a/articleenhancer/xpatharticleenhancer.php +++ b/articleenhancer/xpatharticleenhancer.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\ArticleEnhancer; diff --git a/backgroundjob/task.php b/backgroundjob/task.php index 1f4ebc1e0..e41e67744 100644 --- a/backgroundjob/task.php +++ b/backgroundjob/task.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Backgroundjob; diff --git a/bin/updater.py b/bin/updater.py index 94156950f..8f466bd72 100644 --- a/bin/updater.py +++ b/bin/updater.py @@ -1,27 +1,16 @@ #!/usr/bin/env python - """ - -ownCloud - News - -@author Bernhard Posselt -@copyright 2012 Bernhard Posselt dev@bernhard-posselt.com - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -License as published by the Free Software Foundation; either -version 3 of the License, or any later version. - -This library 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 AFFERO GENERAL PUBLIC LICENSE for more details. - -You should have received a copy of the GNU Affero General Public -License along with this library. If not, see . - +Updater script for the news app which allows multiple feeds to be updated at +once to speed up the update process. Built in cron has to be disabled in the +news config, see the README.rst file in the top directory for more information. """ +__author__ = 'Bernhard Posselt' +__copyright__ = 'Copyright 2012-2014, Bernhard Posselt' +__license__ = 'AGPL3+' +__maintainer__ = 'Bernhard Posselt' +__email__ = 'dev@bernhard-posselt.com' + import sys import time import json diff --git a/businesslayer/businesslayer.php b/businesslayer/businesslayer.php index d0d4cd246..ea03db1af 100644 --- a/businesslayer/businesslayer.php +++ b/businesslayer/businesslayer.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/businesslayer/businesslayerconflictexception.php b/businesslayer/businesslayerconflictexception.php index a65bbf2d6..d29548256 100644 --- a/businesslayer/businesslayerconflictexception.php +++ b/businesslayer/businesslayerconflictexception.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/businesslayer/businesslayerexception.php b/businesslayer/businesslayerexception.php index 59796e764..e9428a05e 100644 --- a/businesslayer/businesslayerexception.php +++ b/businesslayer/businesslayerexception.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/businesslayer/businesslayervalidationexception.php b/businesslayer/businesslayervalidationexception.php index c4f2c2387..d61afd6f1 100644 --- a/businesslayer/businesslayervalidationexception.php +++ b/businesslayer/businesslayervalidationexception.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/businesslayer/feedbusinesslayer.php b/businesslayer/feedbusinesslayer.php index caa81e0d3..fa7a25331 100644 --- a/businesslayer/feedbusinesslayer.php +++ b/businesslayer/feedbusinesslayer.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; use \OCA\News\Core\Logger; diff --git a/businesslayer/folderbusinesslayer.php b/businesslayer/folderbusinesslayer.php index 5c5914c7a..46774aa5e 100644 --- a/businesslayer/folderbusinesslayer.php +++ b/businesslayer/folderbusinesslayer.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/businesslayer/itembusinesslayer.php b/businesslayer/itembusinesslayer.php index 7558667cf..d7b711af4 100644 --- a/businesslayer/itembusinesslayer.php +++ b/businesslayer/itembusinesslayer.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/controller/apicontroller.php b/controller/apicontroller.php index 25b230016..7af08d56a 100644 --- a/controller/apicontroller.php +++ b/controller/apicontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/exportcontroller.php b/controller/exportcontroller.php index a0011f9e6..61cf37c9c 100644 --- a/controller/exportcontroller.php +++ b/controller/exportcontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/feedapicontroller.php b/controller/feedapicontroller.php index 51aa48dd9..14902693d 100644 --- a/controller/feedapicontroller.php +++ b/controller/feedapicontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/feedcontroller.php b/controller/feedcontroller.php index 9d7f091bc..e9be7e811 100644 --- a/controller/feedcontroller.php +++ b/controller/feedcontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/folderapicontroller.php b/controller/folderapicontroller.php index 24a7ba151..4e566541c 100644 --- a/controller/folderapicontroller.php +++ b/controller/folderapicontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/foldercontroller.php b/controller/foldercontroller.php index 1e0eea390..bdea99753 100644 --- a/controller/foldercontroller.php +++ b/controller/foldercontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/itemapicontroller.php b/controller/itemapicontroller.php index 7b1852545..533fb2032 100644 --- a/controller/itemapicontroller.php +++ b/controller/itemapicontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/itemcontroller.php b/controller/itemcontroller.php index ff340ce30..ec316aabb 100644 --- a/controller/itemcontroller.php +++ b/controller/itemcontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/pagecontroller.php b/controller/pagecontroller.php index 25caf19e2..5b7cf7ea1 100644 --- a/controller/pagecontroller.php +++ b/controller/pagecontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/core/db.php b/core/db.php index 507f6ed85..beda5240c 100644 --- a/core/db.php +++ b/core/db.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ namespace OCA\News\Core; diff --git a/core/logger.php b/core/logger.php index 68789e94c..3ad6ff23a 100644 --- a/core/logger.php +++ b/core/logger.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ namespace OCA\News\Core; diff --git a/core/settings.php b/core/settings.php index 98392332f..3d3c2dfdb 100644 --- a/core/settings.php +++ b/core/settings.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ namespace OCA\News\Core; diff --git a/db/doesnotexistexception.php b/db/doesnotexistexception.php index a6cdaa19d..ef2e9dd7d 100644 --- a/db/doesnotexistexception.php +++ b/db/doesnotexistexception.php @@ -1,27 +1,16 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ - namespace OCA\News\Db; diff --git a/db/entity.php b/db/entity.php index 7e1075027..ae781e1e5 100644 --- a/db/entity.php +++ b/db/entity.php @@ -1,25 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/feed.php b/db/feed.php index 4d7318842..571a25f80 100644 --- a/db/feed.php +++ b/db/feed.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/feedmapper.php b/db/feedmapper.php index 06267b19d..a69f1fa89 100644 --- a/db/feedmapper.php +++ b/db/feedmapper.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/feedtype.php b/db/feedtype.php index 530301f61..2539214ed 100644 --- a/db/feedtype.php +++ b/db/feedtype.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/folder.php b/db/folder.php index 4e388cbe5..747a6eb79 100644 --- a/db/folder.php +++ b/db/folder.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/foldermapper.php b/db/foldermapper.php index f3bedd70e..017ccd0db 100644 --- a/db/foldermapper.php +++ b/db/foldermapper.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/iapi.php b/db/iapi.php index 2f4043641..e5de5bd38 100644 --- a/db/iapi.php +++ b/db/iapi.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/imapper.php b/db/imapper.php index b8332f44c..0cd4123cb 100644 --- a/db/imapper.php +++ b/db/imapper.php @@ -1,26 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/item.php b/db/item.php index 141c0b8a6..fc193cc5d 100644 --- a/db/item.php +++ b/db/item.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/itemmapper.php b/db/itemmapper.php index 33b09e357..884405e6b 100644 --- a/db/itemmapper.php +++ b/db/itemmapper.php @@ -1,26 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/mapper.php b/db/mapper.php index dae59a84e..bae26910a 100644 --- a/db/mapper.php +++ b/db/mapper.php @@ -1,29 +1,16 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ - namespace OCA\News\Db; use \OCA\News\Core\Db; diff --git a/db/mapperfactory.php b/db/mapperfactory.php index 178e62160..6a1038af0 100644 --- a/db/mapperfactory.php +++ b/db/mapperfactory.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/multipleobjectsreturnedexception.php b/db/multipleobjectsreturnedexception.php index 0a8ca5686..922d7a22a 100644 --- a/db/multipleobjectsreturnedexception.php +++ b/db/multipleobjectsreturnedexception.php @@ -1,27 +1,16 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ - namespace OCA\News\Db; diff --git a/db/postgres/itemmapper.php b/db/postgres/itemmapper.php index d5395f008..af746ecc1 100644 --- a/db/postgres/itemmapper.php +++ b/db/postgres/itemmapper.php @@ -1,26 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db\Postgres; diff --git a/db/statusflag.php b/db/statusflag.php index 7a63cb129..d24f81275 100644 --- a/db/statusflag.php +++ b/db/statusflag.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/fetcher/feedfetcher.php b/fetcher/feedfetcher.php index 61d800941..47cd0924a 100644 --- a/fetcher/feedfetcher.php +++ b/fetcher/feedfetcher.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Fetcher; diff --git a/fetcher/fetcher.php b/fetcher/fetcher.php index c86db6b64..3d5780f7e 100644 --- a/fetcher/fetcher.php +++ b/fetcher/fetcher.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Fetcher; diff --git a/fetcher/fetcherexception.php b/fetcher/fetcherexception.php index a9082dd30..24600bbef 100644 --- a/fetcher/fetcherexception.php +++ b/fetcher/fetcherexception.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Fetcher; diff --git a/fetcher/ifeedfetcher.php b/fetcher/ifeedfetcher.php index 5fa7fc678..9bfb4957d 100644 --- a/fetcher/ifeedfetcher.php +++ b/fetcher/ifeedfetcher.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Fetcher; diff --git a/hooks/user.php b/hooks/user.php index a0015c4cf..cbacbbf6a 100644 --- a/hooks/user.php +++ b/hooks/user.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Hooks; diff --git a/http/downloadresponse.php b/http/downloadresponse.php index 56a46b15b..15489529c 100644 --- a/http/downloadresponse.php +++ b/http/downloadresponse.php @@ -1,27 +1,16 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ - namespace OCA\News\Http; use \OCP\AppFramework\Http\Response; diff --git a/http/textdownloadresponse.php b/http/textdownloadresponse.php index 07de87ba1..ac6e8153e 100644 --- a/http/textdownloadresponse.php +++ b/http/textdownloadresponse.php @@ -1,27 +1,16 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ - namespace OCA\News\Http; diff --git a/http/textresponse.php b/http/textresponse.php index 41d9c40e0..8ea015329 100644 --- a/http/textresponse.php +++ b/http/textresponse.php @@ -1,27 +1,16 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ - namespace OCA\News\Http; use \OCP\AppFramework\Http\Response; diff --git a/middleware/corsmiddleware.php b/middleware/corsmiddleware.php index 20d6fc32a..26229c3a5 100644 --- a/middleware/corsmiddleware.php +++ b/middleware/corsmiddleware.php @@ -1,27 +1,16 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ - namespace OCA\News\Middleware; use OCP\IRequest; diff --git a/tests/classloader.php b/tests/classloader.php index b59ecd85a..bca9c21ea 100644 --- a/tests/classloader.php +++ b/tests/classloader.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ require_once __DIR__ . '/../3rdparty/simplepie/autoloader.php'; diff --git a/tests/unit/articleenhancer/EnhancerTest.php b/tests/unit/articleenhancer/EnhancerTest.php index 663714590..31133dc4a 100644 --- a/tests/unit/articleenhancer/EnhancerTest.php +++ b/tests/unit/articleenhancer/EnhancerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\ArticleEnhancer; diff --git a/tests/unit/articleenhancer/RegexArticleEnhancerTest.php b/tests/unit/articleenhancer/RegexArticleEnhancerTest.php index 38c570cfb..b88abc985 100644 --- a/tests/unit/articleenhancer/RegexArticleEnhancerTest.php +++ b/tests/unit/articleenhancer/RegexArticleEnhancerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\ArticleEnhancer; diff --git a/tests/unit/articleenhancer/XPathArticleEnhancerTest.php b/tests/unit/articleenhancer/XPathArticleEnhancerTest.php index dd84c31fd..a0120a6f3 100644 --- a/tests/unit/articleenhancer/XPathArticleEnhancerTest.php +++ b/tests/unit/articleenhancer/XPathArticleEnhancerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\ArticleEnhancer; diff --git a/tests/unit/businesslayer/BusinessLayerTest.php b/tests/unit/businesslayer/BusinessLayerTest.php index 54ca11cba..e55badcf2 100644 --- a/tests/unit/businesslayer/BusinessLayerTest.php +++ b/tests/unit/businesslayer/BusinessLayerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/tests/unit/businesslayer/FeedBusinessLayerTest.php b/tests/unit/businesslayer/FeedBusinessLayerTest.php index f856f2ca6..1f4f4daa0 100644 --- a/tests/unit/businesslayer/FeedBusinessLayerTest.php +++ b/tests/unit/businesslayer/FeedBusinessLayerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/tests/unit/businesslayer/FolderBusinessLayerTest.php b/tests/unit/businesslayer/FolderBusinessLayerTest.php index 22b9e53d0..c66bb9453 100644 --- a/tests/unit/businesslayer/FolderBusinessLayerTest.php +++ b/tests/unit/businesslayer/FolderBusinessLayerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/tests/unit/businesslayer/ItemBusinessLayerTest.php b/tests/unit/businesslayer/ItemBusinessLayerTest.php index f0f9d1906..7ad3dc16e 100644 --- a/tests/unit/businesslayer/ItemBusinessLayerTest.php +++ b/tests/unit/businesslayer/ItemBusinessLayerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/tests/unit/businesslayer/StatusFlagTest.php b/tests/unit/businesslayer/StatusFlagTest.php index d96f40a6b..2e295b3d4 100644 --- a/tests/unit/businesslayer/StatusFlagTest.php +++ b/tests/unit/businesslayer/StatusFlagTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/tests/unit/controller/ApiControllerTest.php b/tests/unit/controller/ApiControllerTest.php index 6aa6ee4ea..79a7d02e9 100644 --- a/tests/unit/controller/ApiControllerTest.php +++ b/tests/unit/controller/ApiControllerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/tests/unit/controller/ExportControllerTest.php b/tests/unit/controller/ExportControllerTest.php index bc3baf4cf..2fbd8d272 100644 --- a/tests/unit/controller/ExportControllerTest.php +++ b/tests/unit/controller/ExportControllerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/tests/unit/controller/FeedApiControllerTest.php b/tests/unit/controller/FeedApiControllerTest.php index 752eb575b..fdd507258 100644 --- a/tests/unit/controller/FeedApiControllerTest.php +++ b/tests/unit/controller/FeedApiControllerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/tests/unit/controller/FeedControllerTest.php b/tests/unit/controller/FeedControllerTest.php index 2135c5366..f25d4beed 100644 --- a/tests/unit/controller/FeedControllerTest.php +++ b/tests/unit/controller/FeedControllerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/tests/unit/controller/FolderApiControllerTest.php b/tests/unit/controller/FolderApiControllerTest.php index 702699b98..aa134f58e 100644 --- a/tests/unit/controller/FolderApiControllerTest.php +++ b/tests/unit/controller/FolderApiControllerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/tests/unit/controller/FolderControllerTest.php b/tests/unit/controller/FolderControllerTest.php index 142f8e2c4..04345aa84 100644 --- a/tests/unit/controller/FolderControllerTest.php +++ b/tests/unit/controller/FolderControllerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/tests/unit/controller/ItemApiControllerTest.php b/tests/unit/controller/ItemApiControllerTest.php index ead262cd4..90f7a9680 100644 --- a/tests/unit/controller/ItemApiControllerTest.php +++ b/tests/unit/controller/ItemApiControllerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/tests/unit/controller/ItemControllerTest.php b/tests/unit/controller/ItemControllerTest.php index c3296b2f6..c28eac9fa 100644 --- a/tests/unit/controller/ItemControllerTest.php +++ b/tests/unit/controller/ItemControllerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/tests/unit/controller/PageControllerTest.php b/tests/unit/controller/PageControllerTest.php index 03ac1aa61..898226361 100644 --- a/tests/unit/controller/PageControllerTest.php +++ b/tests/unit/controller/PageControllerTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/tests/unit/db/EntityTest.php b/tests/unit/db/EntityTest.php index c57d9997e..8356e0336 100644 --- a/tests/unit/db/EntityTest.php +++ b/tests/unit/db/EntityTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/tests/unit/db/FeedMapperTest.php b/tests/unit/db/FeedMapperTest.php index 4e78dbf3a..35433bf31 100644 --- a/tests/unit/db/FeedMapperTest.php +++ b/tests/unit/db/FeedMapperTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/tests/unit/db/FeedTest.php b/tests/unit/db/FeedTest.php index 0a3226b98..8e627c753 100644 --- a/tests/unit/db/FeedTest.php +++ b/tests/unit/db/FeedTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/tests/unit/db/FolderMapperTest.php b/tests/unit/db/FolderMapperTest.php index 9254bf493..5389800aa 100644 --- a/tests/unit/db/FolderMapperTest.php +++ b/tests/unit/db/FolderMapperTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/tests/unit/db/FolderTest.php b/tests/unit/db/FolderTest.php index 9899f2305..9c59cdeec 100644 --- a/tests/unit/db/FolderTest.php +++ b/tests/unit/db/FolderTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/tests/unit/db/ItemMapperTest.php b/tests/unit/db/ItemMapperTest.php index bf8210f5f..35b371526 100644 --- a/tests/unit/db/ItemMapperTest.php +++ b/tests/unit/db/ItemMapperTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/tests/unit/db/ItemTest.php b/tests/unit/db/ItemTest.php index dab4fdd90..b979450aa 100644 --- a/tests/unit/db/ItemTest.php +++ b/tests/unit/db/ItemTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/tests/unit/db/MapperFactoryTest.php b/tests/unit/db/MapperFactoryTest.php index 5f07f7cbb..3e82c1555 100644 --- a/tests/unit/db/MapperFactoryTest.php +++ b/tests/unit/db/MapperFactoryTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/tests/unit/db/MapperTest.php b/tests/unit/db/MapperTest.php index 1f41c2ba0..b25fc4fcc 100644 --- a/tests/unit/db/MapperTest.php +++ b/tests/unit/db/MapperTest.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ diff --git a/tests/unit/db/postgres/ItemMapperTest.php b/tests/unit/db/postgres/ItemMapperTest.php index 2fbd7a71a..796a59f5f 100644 --- a/tests/unit/db/postgres/ItemMapperTest.php +++ b/tests/unit/db/postgres/ItemMapperTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db\Postgres; diff --git a/tests/unit/fetcher/FeedFetcherTest.php b/tests/unit/fetcher/FeedFetcherTest.php index 7972a47b1..714e1d1de 100644 --- a/tests/unit/fetcher/FeedFetcherTest.php +++ b/tests/unit/fetcher/FeedFetcherTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Fetcher; diff --git a/tests/unit/http/DownloadResponseTest.php b/tests/unit/http/DownloadResponseTest.php index f72505bd3..82884ab85 100644 --- a/tests/unit/http/DownloadResponseTest.php +++ b/tests/unit/http/DownloadResponseTest.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ diff --git a/tests/unit/http/TextDownloadResponseTest.php b/tests/unit/http/TextDownloadResponseTest.php index 3363c1df5..c7f2e211f 100644 --- a/tests/unit/http/TextDownloadResponseTest.php +++ b/tests/unit/http/TextDownloadResponseTest.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ diff --git a/tests/unit/http/TextResponseTest.php b/tests/unit/http/TextResponseTest.php index ccffb9a1b..01241065f 100644 --- a/tests/unit/http/TextResponseTest.php +++ b/tests/unit/http/TextResponseTest.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ diff --git a/tests/unit/middleware/CORSMiddlewareTest.php b/tests/unit/middleware/CORSMiddlewareTest.php index 96a50d88c..ccc0420ca 100644 --- a/tests/unit/middleware/CORSMiddlewareTest.php +++ b/tests/unit/middleware/CORSMiddlewareTest.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ diff --git a/tests/unit/utility/ConfigTest.php b/tests/unit/utility/ConfigTest.php index 8dd64ac7b..186177489 100644 --- a/tests/unit/utility/ConfigTest.php +++ b/tests/unit/utility/ConfigTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Utility; diff --git a/tests/unit/utility/FaviconFetcherTest.php b/tests/unit/utility/FaviconFetcherTest.php index 875fcf11d..3dbb441f0 100644 --- a/tests/unit/utility/FaviconFetcherTest.php +++ b/tests/unit/utility/FaviconFetcherTest.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ diff --git a/tests/unit/utility/MethodAnnotationReaderTest.php b/tests/unit/utility/MethodAnnotationReaderTest.php index d41224ffa..57d6e921e 100644 --- a/tests/unit/utility/MethodAnnotationReaderTest.php +++ b/tests/unit/utility/MethodAnnotationReaderTest.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ diff --git a/tests/unit/utility/OPMLExporterTest.php b/tests/unit/utility/OPMLExporterTest.php index eb9384f27..958beaaa8 100644 --- a/tests/unit/utility/OPMLExporterTest.php +++ b/tests/unit/utility/OPMLExporterTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Utility; diff --git a/tests/unit/utility/UpdaterTest.php b/tests/unit/utility/UpdaterTest.php index 2e6b03351..68acb0d47 100644 --- a/tests/unit/utility/UpdaterTest.php +++ b/tests/unit/utility/UpdaterTest.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Utility; diff --git a/utility/config.php b/utility/config.php index b2416ce9a..fc65339e9 100644 --- a/utility/config.php +++ b/utility/config.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Utility; diff --git a/utility/controllertestutility.php b/utility/controllertestutility.php index ab534bfc6..a0b81a226 100644 --- a/utility/controllertestutility.php +++ b/utility/controllertestutility.php @@ -1,27 +1,16 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ - namespace OCA\News\Utility; use OCP\IRequest; diff --git a/utility/faviconfetcher.php b/utility/faviconfetcher.php index ae5d8c184..96205a088 100644 --- a/utility/faviconfetcher.php +++ b/utility/faviconfetcher.php @@ -1,27 +1,16 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ - namespace OCA\News\Utility; diff --git a/utility/mappertestutility.php b/utility/mappertestutility.php index 27b513f15..eb7c2a471 100644 --- a/utility/mappertestutility.php +++ b/utility/mappertestutility.php @@ -1,27 +1,16 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ - namespace OCA\News\Utility; use OCA\News\Core\Db; diff --git a/utility/methodannotationreader.php b/utility/methodannotationreader.php index dc2347b3d..a3732ec21 100644 --- a/utility/methodannotationreader.php +++ b/utility/methodannotationreader.php @@ -1,27 +1,16 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ - namespace OCA\News\Utility; diff --git a/utility/opmlexporter.php b/utility/opmlexporter.php index b0f4ec70b..2ac735746 100644 --- a/utility/opmlexporter.php +++ b/utility/opmlexporter.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Utility; diff --git a/utility/simplepieapifactory.php b/utility/simplepieapifactory.php index 65f482095..2184cd994 100644 --- a/utility/simplepieapifactory.php +++ b/utility/simplepieapifactory.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ diff --git a/utility/updater.php b/utility/updater.php index cfe9cc16a..670837656 100644 --- a/utility/updater.php +++ b/utility/updater.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Utility; -- cgit v1.2.3