diff --git a/apps/accessibility/appinfo/routes.php b/apps/accessibility/appinfo/routes.php index 02bf52eac7ec376ded94fc3a98f86264e5dd6e90..1774566809be2da579206579cbc79fbde1895cca 100644 --- a/apps/accessibility/appinfo/routes.php +++ b/apps/accessibility/appinfo/routes.php @@ -4,7 +4,7 @@ * * @author Alexey Pyltsyn * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - return [ 'routes' => [ ['name' => 'accessibility#getCss', 'url' => '/css/user-{md5}', 'verb' => 'GET'], diff --git a/apps/accessibility/lib/AccessibilityProvider.php b/apps/accessibility/lib/AccessibilityProvider.php index 09182eba6265622bd5054115dcf2d204e505af30..417cf7d039cc2460f1315c746da1a3d9f1860b07 100644 --- a/apps/accessibility/lib/AccessibilityProvider.php +++ b/apps/accessibility/lib/AccessibilityProvider.php @@ -8,7 +8,7 @@ * @author Jan-Christoph Borchardt * @author Janis Köhr * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -19,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Accessibility; use OCP\IL10N; diff --git a/apps/accessibility/lib/AppInfo/Application.php b/apps/accessibility/lib/AppInfo/Application.php index 9b3d2ae7a3269184f5f87b4ba091aa288ee8edc4..8093869357b5df3e48d3c1e7e6ced34ff8e73c26 100644 --- a/apps/accessibility/lib/AppInfo/Application.php +++ b/apps/accessibility/lib/AppInfo/Application.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Roeland Jago Douma * @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Accessibility\AppInfo; use OCA\Accessibility\Service\JSDataService; diff --git a/apps/accessibility/lib/Controller/AccessibilityController.php b/apps/accessibility/lib/Controller/AccessibilityController.php index 2e33c7b5884c145dc7ad11f3c234fd3fcac18c16..7a5a82085dc6a6470fe4ab35e14e1d57806b18d9 100644 --- a/apps/accessibility/lib/Controller/AccessibilityController.php +++ b/apps/accessibility/lib/Controller/AccessibilityController.php @@ -9,7 +9,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Janis Köhr * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Roeland Jago Douma * @author Thomas Citharel @@ -23,14 +23,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Accessibility\Controller; use OC\Template\IconsCacher; diff --git a/apps/accessibility/lib/Controller/ConfigController.php b/apps/accessibility/lib/Controller/ConfigController.php index b918b33f31b6e00ed006019a9cb59a92b9b02863..592c2268eb8ae44c59f120fa67c180b71a908956 100644 --- a/apps/accessibility/lib/Controller/ConfigController.php +++ b/apps/accessibility/lib/Controller/ConfigController.php @@ -9,7 +9,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Daniel Kesselberg * @author Janis Köhr - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -21,14 +21,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Accessibility\Controller; use OCA\Accessibility\AccessibilityProvider; diff --git a/apps/accessibility/lib/Migration/RepairUserConfig.php b/apps/accessibility/lib/Migration/RepairUserConfig.php index 2b4bbc1ed19c8345841f923756acea3aafb29f70..45a2ca3c0959461431b930145946bbe927d5c2e4 100644 --- a/apps/accessibility/lib/Migration/RepairUserConfig.php +++ b/apps/accessibility/lib/Migration/RepairUserConfig.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Accessibility\Migration; use OCA\Accessibility\AppInfo\Application; diff --git a/apps/accessibility/lib/Service/JSDataService.php b/apps/accessibility/lib/Service/JSDataService.php index 3b23748757a6b63a29bcfa24f818991634be9544..d6062af0a5fb4aa3cbf51b4671f5d7c830ccd941 100644 --- a/apps/accessibility/lib/Service/JSDataService.php +++ b/apps/accessibility/lib/Service/JSDataService.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Accessibility\Service; use OCA\Accessibility\AppInfo\Application; diff --git a/apps/accessibility/lib/Settings/Personal.php b/apps/accessibility/lib/Settings/Personal.php index 64cfe4514944477ec3105daae65ba4c1764cacf9..68d0adbdb966dc4a9d113e5bd4846ad069e46d03 100644 --- a/apps/accessibility/lib/Settings/Personal.php +++ b/apps/accessibility/lib/Settings/Personal.php @@ -4,7 +4,8 @@ * @copyright Copyright (c) 2019 Janis Köhr * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Accessibility\Settings; use OCA\Accessibility\AccessibilityProvider; diff --git a/apps/accessibility/lib/Settings/PersonalSection.php b/apps/accessibility/lib/Settings/PersonalSection.php index c10544a42f443c3d7b41508eb436038f93671ca5..7d8e233b5bbf5caa25c7f140c32a4b3ea8c688cb 100644 --- a/apps/accessibility/lib/Settings/PersonalSection.php +++ b/apps/accessibility/lib/Settings/PersonalSection.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2018 John Molakvoæ * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Accessibility\Settings; use OCP\IL10N; diff --git a/apps/admin_audit/lib/Actions/Action.php b/apps/admin_audit/lib/Actions/Action.php index 42540c304731dc75b038ec5284ec08960a62b4d6..17be0fb8197e49984c62d7838ab538d804b68254 100644 --- a/apps/admin_audit/lib/Actions/Action.php +++ b/apps/admin_audit/lib/Actions/Action.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\AdminAudit\Actions; use Psr\Log\LoggerInterface; diff --git a/apps/admin_audit/lib/Actions/AppManagement.php b/apps/admin_audit/lib/Actions/AppManagement.php index d4340a1c7bd714bee5da9159b80d3d17c906e05c..d6bc7d2c61f2604fc80a2bf775ffa3eb0b38418c 100644 --- a/apps/admin_audit/lib/Actions/AppManagement.php +++ b/apps/admin_audit/lib/Actions/AppManagement.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\AdminAudit\Actions; class AppManagement extends Action { diff --git a/apps/admin_audit/lib/Actions/Auth.php b/apps/admin_audit/lib/Actions/Auth.php index 9e0ed67474f25085d9ca40dbe6d50663b6f43e5d..27722d4a41c1b98344e3881cc982a0f06195c8a2 100644 --- a/apps/admin_audit/lib/Actions/Auth.php +++ b/apps/admin_audit/lib/Actions/Auth.php @@ -7,6 +7,7 @@ declare(strict_types=1); * * @author Joas Schilling * @author Lukas Reschke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\AdminAudit\Actions; /** diff --git a/apps/admin_audit/lib/Actions/Console.php b/apps/admin_audit/lib/Actions/Console.php index ad8b8e2d0b76bf909b6d1f634a25fab48eba0cf4..a69d1f5ff82f317293a9ff48ce44804a51a4c5ef 100644 --- a/apps/admin_audit/lib/Actions/Console.php +++ b/apps/admin_audit/lib/Actions/Console.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\AdminAudit\Actions; class Console extends Action { diff --git a/apps/admin_audit/lib/Actions/Files.php b/apps/admin_audit/lib/Actions/Files.php index 79ac57927b132122de90792d02aad7e469ce83d3..b02f9a4f02b701329bdb5bad41dcfa67b58d4fea 100644 --- a/apps/admin_audit/lib/Actions/Files.php +++ b/apps/admin_audit/lib/Actions/Files.php @@ -7,6 +7,7 @@ declare(strict_types=1); * * @author Joas Schilling * @author Lukas Reschke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\AdminAudit\Actions; /** diff --git a/apps/admin_audit/lib/Actions/GroupManagement.php b/apps/admin_audit/lib/Actions/GroupManagement.php index b73b8182f76297650bd85fbb16cf62406b446852..e79b86bb88bcc46da35054e4406cb1aa797e2fc7 100644 --- a/apps/admin_audit/lib/Actions/GroupManagement.php +++ b/apps/admin_audit/lib/Actions/GroupManagement.php @@ -8,6 +8,7 @@ declare(strict_types=1); * @author Bjoern Schiessle * @author Joas Schilling * @author Lukas Reschke + * @author Roeland Jago Douma * @author Roger Szabo * * @license GNU AGPL version 3 or any later version @@ -19,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\AdminAudit\Actions; use OCP\IGroup; diff --git a/apps/admin_audit/lib/Actions/Security.php b/apps/admin_audit/lib/Actions/Security.php index efb0819e7cf6febb912af266ec6e813912ab862d..e4831ac6fc1aca4b90b5d7180b2b8a5415f3b369 100644 --- a/apps/admin_audit/lib/Actions/Security.php +++ b/apps/admin_audit/lib/Actions/Security.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\AdminAudit\Actions; use OCP\IUser; diff --git a/apps/admin_audit/lib/Actions/Sharing.php b/apps/admin_audit/lib/Actions/Sharing.php index ad2330476778a27c145b1ed123488a1aa4722a16..98fbbf7fbd961cff4b69b0b15023a5473a88b299 100644 --- a/apps/admin_audit/lib/Actions/Sharing.php +++ b/apps/admin_audit/lib/Actions/Sharing.php @@ -9,6 +9,7 @@ declare(strict_types=1); * @author Joas Schilling * @author Julius Härtl * @author Lukas Reschke + * @author Roeland Jago Douma * @author Sascha Wiswedel * * @license GNU AGPL version 3 or any later version @@ -20,14 +21,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\AdminAudit\Actions; use OCP\Share\IShare; diff --git a/apps/admin_audit/lib/Actions/Trashbin.php b/apps/admin_audit/lib/Actions/Trashbin.php index d21eeb0ca32f02aab2b8f2494e33e4ee4f94b55f..ab2863399e54293bd72761309f4fe2a260ecce01 100644 --- a/apps/admin_audit/lib/Actions/Trashbin.php +++ b/apps/admin_audit/lib/Actions/Trashbin.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\AdminAudit\Actions; class Trashbin extends Action { diff --git a/apps/admin_audit/lib/Actions/UserManagement.php b/apps/admin_audit/lib/Actions/UserManagement.php index febadffef3fa58963a553623ae2ef6ca92e8ede7..02d5b60d2fa295cdcc49c2bd1417ee275c3dcb25 100644 --- a/apps/admin_audit/lib/Actions/UserManagement.php +++ b/apps/admin_audit/lib/Actions/UserManagement.php @@ -9,8 +9,9 @@ declare(strict_types=1); * @author Bjoern Schiessle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -21,14 +22,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\AdminAudit\Actions; use OCP\IUser; diff --git a/apps/admin_audit/lib/Actions/Versions.php b/apps/admin_audit/lib/Actions/Versions.php index 6b4badf81b06334ef402d449c4c83396c887e76e..acd3b0e77e7c8bd144bafec3c7572ccd9eca95f6 100644 --- a/apps/admin_audit/lib/Actions/Versions.php +++ b/apps/admin_audit/lib/Actions/Versions.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\AdminAudit\Actions; class Versions extends Action { diff --git a/apps/admin_audit/lib/AppInfo/Application.php b/apps/admin_audit/lib/AppInfo/Application.php index 4ee49e7129b42a5fe4e06cb2314e850e63743cb9..7b5fb520bc9f1f12a5d9ce8e18512a5a60402912 100644 --- a/apps/admin_audit/lib/AppInfo/Application.php +++ b/apps/admin_audit/lib/AppInfo/Application.php @@ -24,14 +24,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\AdminAudit\AppInfo; use Closure; diff --git a/apps/admin_audit/lib/BackgroundJobs/Rotate.php b/apps/admin_audit/lib/BackgroundJobs/Rotate.php index e0edbc6f4b1d47ba3238b088cf05ba7f0dd1e844..27d5109fd3f3e72e4b4766ad9bf02d6aa3f72c1e 100644 --- a/apps/admin_audit/lib/BackgroundJobs/Rotate.php +++ b/apps/admin_audit/lib/BackgroundJobs/Rotate.php @@ -7,6 +7,7 @@ declare(strict_types=1); * * @author Arthur Schiwon * @author Christoph Wurst + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\AdminAudit\BackgroundJobs; use OC\BackgroundJob\TimedJob; diff --git a/apps/admin_audit/lib/Listener/CriticalActionPerformedEventListener.php b/apps/admin_audit/lib/Listener/CriticalActionPerformedEventListener.php index 75f7d86d4214f8955e15a200d4646dc9a5ba0793..3f91c0c2731ad9a2ad371a44ac17a9c1845d6fa9 100644 --- a/apps/admin_audit/lib/Listener/CriticalActionPerformedEventListener.php +++ b/apps/admin_audit/lib/Listener/CriticalActionPerformedEventListener.php @@ -1,9 +1,12 @@ * + * @author Joas Schilling + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\AdminAudit\Listener; use OCA\AdminAudit\Actions\Action; diff --git a/apps/admin_audit/tests/Actions/SecurityTest.php b/apps/admin_audit/tests/Actions/SecurityTest.php index fab598615b3b598c3b1bead4b3f5de5815816d80..aa9d971376835f38229073d213e5e7f64ece8ffa 100644 --- a/apps/admin_audit/tests/Actions/SecurityTest.php +++ b/apps/admin_audit/tests/Actions/SecurityTest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\AdminAudit\Tests\Actions; use OCA\AdminAudit\Actions\Security; diff --git a/apps/cloud_federation_api/appinfo/routes.php b/apps/cloud_federation_api/appinfo/routes.php index cedcacb5bf6144c57c6733584c7fe290bdf99d02..d70b06f821c48e5107a30ded467b3597b7e056c5 100644 --- a/apps/cloud_federation_api/appinfo/routes.php +++ b/apps/cloud_federation_api/appinfo/routes.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - return [ 'routes' => [ [ diff --git a/apps/cloud_federation_api/lib/AppInfo/Application.php b/apps/cloud_federation_api/lib/AppInfo/Application.php index 83bf310f99387e4273bbcf37f04cfb78d478bc2a..509e8322ba55501a4f7219c1fb81d010b0b737ac 100644 --- a/apps/cloud_federation_api/lib/AppInfo/Application.php +++ b/apps/cloud_federation_api/lib/AppInfo/Application.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\CloudFederationAPI\AppInfo; use OCA\CloudFederationAPI\Capabilities; diff --git a/apps/cloud_federation_api/lib/Capabilities.php b/apps/cloud_federation_api/lib/Capabilities.php index cd1ce5dd359295466997a8eeb8a2996eb28da2bf..6164c0e0dba6cfd6a574ae8c314eeee23e166b3b 100644 --- a/apps/cloud_federation_api/lib/Capabilities.php +++ b/apps/cloud_federation_api/lib/Capabilities.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\CloudFederationAPI; use OCP\Capabilities\ICapability; diff --git a/apps/cloud_federation_api/lib/Config.php b/apps/cloud_federation_api/lib/Config.php index a55dfabb5272fc051cf2a5594f5da2aeca403c7f..8611b7cef9c97a4d78383e87094e70141fcd1b6e 100644 --- a/apps/cloud_federation_api/lib/Config.php +++ b/apps/cloud_federation_api/lib/Config.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\CloudFederationAPI; use OCP\Federation\ICloudFederationProviderManager; diff --git a/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php b/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php index cc2364ed645e4a406193e999953e1f00852c92f1..02105fb3f9c33b2a14b4483147f4bbb1097df70c 100644 --- a/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php +++ b/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\CloudFederationAPI\Controller; use OCA\CloudFederationAPI\Config; diff --git a/apps/comments/appinfo/routes.php b/apps/comments/appinfo/routes.php index e8e537e5b1e77bb72da3dd09b614d8c0a070cd23..8a7a60c4dcd414933a89ce0e7dc3fc3d89c16ae7 100644 --- a/apps/comments/appinfo/routes.php +++ b/apps/comments/appinfo/routes.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - return [ 'routes' => [ ['name' => 'Notifications#view', 'url' => '/notifications/view/{id}', 'verb' => 'GET'], diff --git a/apps/comments/lib/Activity/Filter.php b/apps/comments/lib/Activity/Filter.php index 0ad6d9bf4acee62de91d3b56996ffd2c02f7ce14..efd8d5140aeec7c40c1ba8f7643d0e5dbe543a95 100644 --- a/apps/comments/lib/Activity/Filter.php +++ b/apps/comments/lib/Activity/Filter.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Activity; use OCP\Activity\IFilter; diff --git a/apps/comments/lib/Activity/Listener.php b/apps/comments/lib/Activity/Listener.php index 4b676b5cbb13df6e20236ee4dc4e926f41583343..94d10bb4c23ce3d3b3c969a141ad134cb776e581 100644 --- a/apps/comments/lib/Activity/Listener.php +++ b/apps/comments/lib/Activity/Listener.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Comments\Activity; use OCP\Activity\IManager; diff --git a/apps/comments/lib/Activity/Provider.php b/apps/comments/lib/Activity/Provider.php index fca3b9e75d53e07468ac1daa42365a4d66cdcc03..e42e119c61745c58e10c3418a4334d7f003f0f2f 100644 --- a/apps/comments/lib/Activity/Provider.php +++ b/apps/comments/lib/Activity/Provider.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling + * @author Morris Jobke * * @license GNU AGPL version 3 or any later version * @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Activity; use OCP\Activity\IEvent; diff --git a/apps/comments/lib/Activity/Setting.php b/apps/comments/lib/Activity/Setting.php index fefee1ca8769a00832b894c6e607534dbea02012..c0d91c244a699e1bb4232cf124fe3fd5f86143ab 100644 --- a/apps/comments/lib/Activity/Setting.php +++ b/apps/comments/lib/Activity/Setting.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Activity; use OCP\Activity\ISetting; diff --git a/apps/comments/lib/AppInfo/Application.php b/apps/comments/lib/AppInfo/Application.php index af12c7ac093283256e75fdfd61a269b457d981f2..090d62df6393d6336ba5494b4b7463d579af9960 100644 --- a/apps/comments/lib/AppInfo/Application.php +++ b/apps/comments/lib/AppInfo/Application.php @@ -5,7 +5,7 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\AppInfo; use Closure; diff --git a/apps/comments/lib/Capabilities.php b/apps/comments/lib/Capabilities.php index a1083c7d8f60ff4041e565cc34c04d6d9943c616..ba5d2a2086b256a7d7051f321e39ef4f95e8b5d4 100644 --- a/apps/comments/lib/Capabilities.php +++ b/apps/comments/lib/Capabilities.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments; use OCP\Capabilities\ICapability; diff --git a/apps/comments/lib/Collaboration/CommentersSorter.php b/apps/comments/lib/Collaboration/CommentersSorter.php index 9fe0ed74fad3f0095fe543227493e827bc95bdbe..065e932fc9f11c3a56cf03e8edef18943cd72547 100644 --- a/apps/comments/lib/Collaboration/CommentersSorter.php +++ b/apps/comments/lib/Collaboration/CommentersSorter.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Collaboration; use OCP\Collaboration\AutoComplete\ISorter; diff --git a/apps/comments/lib/Controller/Notifications.php b/apps/comments/lib/Controller/Notifications.php index 388aab26c55e19cf07b60e78890d7a7b8f0c2ff0..a538eddc0230b879094e41cee442c1ef8e63afa5 100644 --- a/apps/comments/lib/Controller/Notifications.php +++ b/apps/comments/lib/Controller/Notifications.php @@ -1,6 +1,6 @@ * * @author Arthur Schiwon * @author Christoph Wurst @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Controller; use OCP\AppFramework\Controller; diff --git a/apps/comments/lib/EventHandler.php b/apps/comments/lib/EventHandler.php index 20a15a9b02648820d698995f4e8c5546173f5d1b..6027a24b0269f20e0037a2c52fcb230f9b352542 100644 --- a/apps/comments/lib/EventHandler.php +++ b/apps/comments/lib/EventHandler.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments; use OCA\Comments\Activity\Listener as ActivityListener; diff --git a/apps/comments/lib/Listener/CommentsEntityEventListener.php b/apps/comments/lib/Listener/CommentsEntityEventListener.php index a0d5b175f0aee46e0342018f34cded6b5d3d2b75..5675e1904cc649131aea924f26ef88700a295481 100644 --- a/apps/comments/lib/Listener/CommentsEntityEventListener.php +++ b/apps/comments/lib/Listener/CommentsEntityEventListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Listener; use OCP\Comments\CommentsEntityEvent; diff --git a/apps/comments/lib/Listener/LoadAdditionalScripts.php b/apps/comments/lib/Listener/LoadAdditionalScripts.php index 86ec097325e5740bcd816e989a022856a82cc025..e43ca5f2bbe5d536247b1b4e11db15ed77fff150 100644 --- a/apps/comments/lib/Listener/LoadAdditionalScripts.php +++ b/apps/comments/lib/Listener/LoadAdditionalScripts.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Roeland Jago Douma * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Listener; use OCA\Comments\AppInfo\Application; diff --git a/apps/comments/lib/Listener/LoadSidebarScripts.php b/apps/comments/lib/Listener/LoadSidebarScripts.php index 654482cf57e73ad3f06867dc04005f46e428c0e0..842788f1de81a833fbbdb9e471b07c6eb165f914 100644 --- a/apps/comments/lib/Listener/LoadSidebarScripts.php +++ b/apps/comments/lib/Listener/LoadSidebarScripts.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Roeland Jago Douma * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Listener; use OCA\Comments\AppInfo\Application; diff --git a/apps/comments/lib/MaxAutoCompleteResultsInitialState.php b/apps/comments/lib/MaxAutoCompleteResultsInitialState.php index 62a1cb42e24b4319c607f1f0321702020ab81df8..015eaf19d84eb5eea64e6f0ca97b7b019cd3d694 100644 --- a/apps/comments/lib/MaxAutoCompleteResultsInitialState.php +++ b/apps/comments/lib/MaxAutoCompleteResultsInitialState.php @@ -5,6 +5,8 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2021 Roeland Jago Douma * + * @author Arthur Schiwon + * @author Christoph Wurst * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -16,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments; use OCP\AppFramework\Services\InitialStateProvider; diff --git a/apps/comments/lib/Notification/Listener.php b/apps/comments/lib/Notification/Listener.php index 9f7062f94679ecf427a05a72ccb1668587809ccf..3f92ac3554034d7e89304eeb32468bef9ceeb834 100644 --- a/apps/comments/lib/Notification/Listener.php +++ b/apps/comments/lib/Notification/Listener.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Comments\Notification; use OCP\Comments\CommentsEvent; diff --git a/apps/comments/lib/Notification/Notifier.php b/apps/comments/lib/Notification/Notifier.php index 9dd88f0d888738ea1a1ce012b33aa10baf353aa6..fa0924f313e4d697557682d934752f5ae603c409 100644 --- a/apps/comments/lib/Notification/Notifier.php +++ b/apps/comments/lib/Notification/Notifier.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Comments\Notification; use OCP\Comments\IComment; diff --git a/apps/comments/lib/Search/CommentsSearchProvider.php b/apps/comments/lib/Search/CommentsSearchProvider.php index 67c297b02ceef8b3a087b05d9879ed8885f3135f..796e87ad4bb54c655fe01485e8f6234d0228aa52 100644 --- a/apps/comments/lib/Search/CommentsSearchProvider.php +++ b/apps/comments/lib/Search/CommentsSearchProvider.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Search; use OCP\IL10N; diff --git a/apps/comments/lib/Search/LegacyProvider.php b/apps/comments/lib/Search/LegacyProvider.php index d58cc9847cf40168e533ddf747f85f94b1135341..cba48678e8b24b3bc6ac8be01f0065b255057e83 100644 --- a/apps/comments/lib/Search/LegacyProvider.php +++ b/apps/comments/lib/Search/LegacyProvider.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Search; use OCP\Comments\IComment; diff --git a/apps/comments/lib/Search/Result.php b/apps/comments/lib/Search/Result.php index e154ca0277d61306980fda3dfc6473aad1123745..ec799b7e30a573bb4b3d80980092321d694b63ad 100644 --- a/apps/comments/lib/Search/Result.php +++ b/apps/comments/lib/Search/Result.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Search; use OCP\Comments\IComment; diff --git a/apps/comments/tests/Unit/Activity/ListenerTest.php b/apps/comments/tests/Unit/Activity/ListenerTest.php index 558241de7f5620c2b2e958993c71eb932d448a3b..9bd0bcfb60c41a419eff5a1d6280fd3406a07eea 100644 --- a/apps/comments/tests/Unit/Activity/ListenerTest.php +++ b/apps/comments/tests/Unit/Activity/ListenerTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Tests\Unit\Activity; use OCA\Comments\Activity\Listener; diff --git a/apps/comments/tests/Unit/AppInfo/ApplicationTest.php b/apps/comments/tests/Unit/AppInfo/ApplicationTest.php index 0f522e987a2da523cb7ec8fe3d4dcfd067fee233..710a517f03552d44ae3ec3862773230a06c864cb 100644 --- a/apps/comments/tests/Unit/AppInfo/ApplicationTest.php +++ b/apps/comments/tests/Unit/AppInfo/ApplicationTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Comments\Tests\Unit\AppInfo; use OCA\Comments\AppInfo\Application; diff --git a/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php b/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php index 61fdbf5d52e11a7843735ab8353dcd59cdbafc9e..fe833e14a3bfb94144561ae226108599ae8f0f82 100644 --- a/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php +++ b/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Tests\Unit\Collaboration; use OCA\Comments\Collaboration\CommentersSorter; diff --git a/apps/comments/tests/Unit/Controller/NotificationsTest.php b/apps/comments/tests/Unit/Controller/NotificationsTest.php index 99cdd27a1c88a3d6429a8686d38f670dd1084064..c21101030e80c0cdd0601b5f77089dc21be4a035 100644 --- a/apps/comments/tests/Unit/Controller/NotificationsTest.php +++ b/apps/comments/tests/Unit/Controller/NotificationsTest.php @@ -4,7 +4,7 @@ * * @author Arthur Schiwon * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Comments\Tests\Unit\Controller; use OCA\Comments\Controller\Notifications; diff --git a/apps/comments/tests/Unit/EventHandlerTest.php b/apps/comments/tests/Unit/EventHandlerTest.php index cd8b5e1031c870cf230fd631b8979369205b5f67..619cb31a71400606e6fcda0c9abfb12c6a838100 100644 --- a/apps/comments/tests/Unit/EventHandlerTest.php +++ b/apps/comments/tests/Unit/EventHandlerTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Tests\Unit\Notification; use OCA\Comments\Activity\Listener as ActivityListener; diff --git a/apps/comments/tests/Unit/Notification/ListenerTest.php b/apps/comments/tests/Unit/Notification/ListenerTest.php index 71380c06fecd88ed2d0e8d091327aef917baebfa..b70c00a22cdea27b300812a4040f15f1f9d7c1ef 100644 --- a/apps/comments/tests/Unit/Notification/ListenerTest.php +++ b/apps/comments/tests/Unit/Notification/ListenerTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Comments\Tests\Unit\Notification; use OCA\Comments\Notification\Listener; diff --git a/apps/comments/tests/Unit/Notification/NotifierTest.php b/apps/comments/tests/Unit/Notification/NotifierTest.php index 4f400ae7ffe702ecb699f8ad86765a7248f06d59..1c8b644918d78d8390e7dc3e41241ebcc337eab6 100644 --- a/apps/comments/tests/Unit/Notification/NotifierTest.php +++ b/apps/comments/tests/Unit/Notification/NotifierTest.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Comments\Tests\Unit\Notification; use OCA\Comments\Notification\Notifier; diff --git a/apps/contactsinteraction/lib/AddressBook.php b/apps/contactsinteraction/lib/AddressBook.php index 55a275411dd97b0ef1447578e9fabe4b386c2776..1a024947362ea9d1e599f14c00138dc17dc981ec 100644 --- a/apps/contactsinteraction/lib/AddressBook.php +++ b/apps/contactsinteraction/lib/AddressBook.php @@ -5,7 +5,8 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst + * @author Georg Ehrke * * @license GNU AGPL version 3 or any later version * @@ -16,13 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction; use Exception; diff --git a/apps/contactsinteraction/lib/AddressBookProvider.php b/apps/contactsinteraction/lib/AddressBookProvider.php index 4a4d5235a335e447666ea1bb86a2b147632635bf..74d472d421b1f3045e772ad5a2187ab9ca070f94 100644 --- a/apps/contactsinteraction/lib/AddressBookProvider.php +++ b/apps/contactsinteraction/lib/AddressBookProvider.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction; use OCA\ContactsInteraction\AppInfo\Application; diff --git a/apps/contactsinteraction/lib/AppInfo/Application.php b/apps/contactsinteraction/lib/AppInfo/Application.php index 8d0e2fd4e71dc3fbcbfa11cee922326bd23924dd..21260cf18d0a639059595e2bd429daba15d623a6 100644 --- a/apps/contactsinteraction/lib/AppInfo/Application.php +++ b/apps/contactsinteraction/lib/AppInfo/Application.php @@ -5,7 +5,8 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst + * @author Morris Jobke * * @license GNU AGPL version 3 or any later version * @@ -16,13 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction\AppInfo; use OCA\ContactsInteraction\Listeners\ContactInteractionListener; diff --git a/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php b/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php index 9e3ab5bf3cac0f7579d74731553c2e9a9dbe0839..2a48452d42640f03d7c1130e7f5cfa9a6e4146e8 100644 --- a/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php +++ b/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction\BackgroundJob; use OCA\ContactsInteraction\Db\RecentContactMapper; diff --git a/apps/contactsinteraction/lib/Card.php b/apps/contactsinteraction/lib/Card.php index 4134924c2c3cf82aa31f8081a06f9731f273d52c..bf4ca1f394f9b68d25d7dd1023e838741620c3f2 100644 --- a/apps/contactsinteraction/lib/Card.php +++ b/apps/contactsinteraction/lib/Card.php @@ -5,7 +5,9 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst + * @author Georg Ehrke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,13 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction; use OCA\ContactsInteraction\Db\RecentContact; diff --git a/apps/contactsinteraction/lib/Db/CardSearchDao.php b/apps/contactsinteraction/lib/Db/CardSearchDao.php index 8686183d182fe572080b12507a7c9559819afa7f..4bf9d9367c4c42ae84a372d188fd2302ad4b8390 100644 --- a/apps/contactsinteraction/lib/Db/CardSearchDao.php +++ b/apps/contactsinteraction/lib/Db/CardSearchDao.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction\Db; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/apps/contactsinteraction/lib/Db/RecentContact.php b/apps/contactsinteraction/lib/Db/RecentContact.php index e6c379d0aa15b6fa55bc7e8883da0f3103321273..306792b434e7f0ea0fc5b92e39442496b96b86a9 100644 --- a/apps/contactsinteraction/lib/Db/RecentContact.php +++ b/apps/contactsinteraction/lib/Db/RecentContact.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction\Db; use OCP\AppFramework\Db\Entity; diff --git a/apps/contactsinteraction/lib/Db/RecentContactMapper.php b/apps/contactsinteraction/lib/Db/RecentContactMapper.php index 40605d130ff61feec7329d1c558327a18dc2c954..d606c07152ae6a75288c3a1d383684f0c39e5583 100644 --- a/apps/contactsinteraction/lib/Db/RecentContactMapper.php +++ b/apps/contactsinteraction/lib/Db/RecentContactMapper.php @@ -5,7 +5,8 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst + * @author Georg Ehrke * * @license GNU AGPL version 3 or any later version * @@ -16,13 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction\Db; use OCP\AppFramework\Db\DoesNotExistException; diff --git a/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php b/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php index 4135d83b5af3b749d069ca816b3a9f09d3509de8..21991007ee70a76d9e4843e6c45055fd2e52adee 100644 --- a/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php +++ b/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction\Listeners; use OCA\ContactsInteraction\Db\CardSearchDao; diff --git a/apps/contactsinteraction/lib/Migration/Version010000Date20200304152605.php b/apps/contactsinteraction/lib/Migration/Version010000Date20200304152605.php index a2f01480562a0c4d07902f101d94ba398e2ba7fa..5f75c11d7e8197313c917149ecdf9d3f644778d8 100644 --- a/apps/contactsinteraction/lib/Migration/Version010000Date20200304152605.php +++ b/apps/contactsinteraction/lib/Migration/Version010000Date20200304152605.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction\Migration; use Closure; diff --git a/apps/contactsinteraction/tests/Db/RecentContactMapperTest.php b/apps/contactsinteraction/tests/Db/RecentContactMapperTest.php index 026859168f5de0262cdb02b123bb47e13d2b46f7..7042de9c1b0b9ef392a01f8fa700e9761b193eb6 100644 --- a/apps/contactsinteraction/tests/Db/RecentContactMapperTest.php +++ b/apps/contactsinteraction/tests/Db/RecentContactMapperTest.php @@ -1,9 +1,12 @@ * + * @author Daniel Kesselberg + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\ContactsInteraction\Tests\Db; use OCA\ContactsInteraction\Db\RecentContact; diff --git a/apps/dashboard/appinfo/routes.php b/apps/dashboard/appinfo/routes.php index e0d7979a48e9dd685bd80fc83c44ac4fdb5525c6..81b7d325a787ba5feb4534bd674388feb16f6b69 100644 --- a/apps/dashboard/appinfo/routes.php +++ b/apps/dashboard/appinfo/routes.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Julius Härtl * + * @author Julien Veyssier * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -23,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see . * */ - return [ 'routes' => [ ['name' => 'dashboard#index', 'url' => '/', 'verb' => 'GET'], diff --git a/apps/dashboard/lib/Controller/DashboardController.php b/apps/dashboard/lib/Controller/DashboardController.php index da8f095d43e24a1506eb85320e80d828c00cd74b..88baa641b45144ba1d2422c236ed7e18f30511b7 100644 --- a/apps/dashboard/lib/Controller/DashboardController.php +++ b/apps/dashboard/lib/Controller/DashboardController.php @@ -5,7 +5,10 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Julius Härtl * + * @author Julien Veyssier * @author Julius Härtl + * @author Morris Jobke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -23,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see . * */ - namespace OCA\Dashboard\Controller; use OCA\Dashboard\Service\BackgroundService; diff --git a/apps/dashboard/lib/Controller/LayoutApiController.php b/apps/dashboard/lib/Controller/LayoutApiController.php index 31b796575e02cf39911737b8195a38f42291022e..755470b7b07eaaf92da50b2c9c4faffdaac4c6d9 100644 --- a/apps/dashboard/lib/Controller/LayoutApiController.php +++ b/apps/dashboard/lib/Controller/LayoutApiController.php @@ -1,4 +1,7 @@ * @@ -20,10 +23,6 @@ * along with this program. If not, see . * */ - -declare(strict_types=1); - - namespace OCA\Dashboard\Controller; use OCP\AppFramework\Http\JSONResponse; diff --git a/apps/dashboard/lib/Service/BackgroundService.php b/apps/dashboard/lib/Service/BackgroundService.php index 69fd2c1301fec04cd557f0cb416db7fb3ac47c2b..f9bd987bdcac2583dfc43654a3d0d3c2f3b1fb4a 100644 --- a/apps/dashboard/lib/Service/BackgroundService.php +++ b/apps/dashboard/lib/Service/BackgroundService.php @@ -1,7 +1,11 @@ * + * @author Jan C. Borchardt * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -20,10 +24,6 @@ * along with this program. If not, see . * */ - -declare(strict_types=1); - - namespace OCA\Dashboard\Service; use InvalidArgumentException; diff --git a/apps/dav/appinfo/routes.php b/apps/dav/appinfo/routes.php index 892456ef2a348101bea83c9e5755afd1c828c760..6d237ee2a1f4cc8bfc52aeb4dd00b6ac74c2c2e7 100644 --- a/apps/dav/appinfo/routes.php +++ b/apps/dav/appinfo/routes.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - return [ 'routes' => [ ['name' => 'birthday_calendar#enable', 'url' => '/enableBirthdayCalendar', 'verb' => 'POST'], diff --git a/apps/dav/appinfo/v1/caldav.php b/apps/dav/appinfo/v1/caldav.php index 19842c91f094ff7b6b2cc20a7f430bdefbaa3fe0..b1543ba3cef1d8082754666ebacf22f3d4f0eb3e 100644 --- a/apps/dav/appinfo/v1/caldav.php +++ b/apps/dav/appinfo/v1/caldav.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - // Backends use OC\KnownUser\KnownUserService; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/appinfo/v1/carddav.php b/apps/dav/appinfo/v1/carddav.php index bb766bbaecaa2da54f3d8cf002771c6397829718..637ae3eed1a1f215f25c48e9fbcf14b2d8a9cddb 100644 --- a/apps/dav/appinfo/v1/carddav.php +++ b/apps/dav/appinfo/v1/carddav.php @@ -5,7 +5,7 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @author Thomas Müller @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - // Backends use OC\KnownUser\KnownUserService; use OCA\DAV\AppInfo\PluginManager; diff --git a/apps/dav/appinfo/v1/publicwebdav.php b/apps/dav/appinfo/v1/publicwebdav.php index a6ccad4752e114fd2d18a44ce93844cca91c2876..b0b87c66ca6389116b35656459a084f59d4b9e61 100644 --- a/apps/dav/appinfo/v1/publicwebdav.php +++ b/apps/dav/appinfo/v1/publicwebdav.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - // load needed apps $RUNTIME_APPTYPES = ['filesystem', 'authentication', 'logging']; diff --git a/apps/dav/appinfo/v1/webdav.php b/apps/dav/appinfo/v1/webdav.php index 3df898445058a84ac0ecbc60b6a7a0926e13fcb6..7b0a0ae11df996071079c15244de71c9283446d9 100644 --- a/apps/dav/appinfo/v1/webdav.php +++ b/apps/dav/appinfo/v1/webdav.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - // no php execution timeout for webdav if (strpos(@ini_get('disable_functions'), 'set_time_limit') === false) { @set_time_limit(0); diff --git a/apps/dav/appinfo/v2/direct.php b/apps/dav/appinfo/v2/direct.php index 1d250a30065fe2641729c493419269c6efb2e828..cab6109e5e62dfb977cae7002249afc84330fe79 100644 --- a/apps/dav/appinfo/v2/direct.php +++ b/apps/dav/appinfo/v2/direct.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2018, Roeland Jago Douma * - * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - use \OCA\DAV\Direct\ServerFactory; // no php execution timeout for webdav diff --git a/apps/dav/bin/chunkperf.php b/apps/dav/bin/chunkperf.php index f72106dab3346627b39f98db1af4ef4a80f93078..a8652654bca07fa835b6136449f444f2f7632f41 100644 --- a/apps/dav/bin/chunkperf.php +++ b/apps/dav/bin/chunkperf.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - require '../../../../3rdparty/autoload.php'; if ($argc !== 6) { diff --git a/apps/dav/lib/AppInfo/Application.php b/apps/dav/lib/AppInfo/Application.php index 8dfbf62db2ce16119440ccb9f2463d87744a57de..7e26912120ad9b617658cb15447dd3a22c87328c 100644 --- a/apps/dav/lib/AppInfo/Application.php +++ b/apps/dav/lib/AppInfo/Application.php @@ -9,7 +9,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * @author Thomas Citharel * @author Thomas Müller @@ -30,7 +30,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\DAV\AppInfo; use Exception; diff --git a/apps/dav/lib/AppInfo/PluginManager.php b/apps/dav/lib/AppInfo/PluginManager.php index 40fced6e86a35cd10009cda40ee75b5369c461d5..0b83d6a9205a1348af473eb9e72ed2b92dcf62b2 100644 --- a/apps/dav/lib/AppInfo/PluginManager.php +++ b/apps/dav/lib/AppInfo/PluginManager.php @@ -26,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\DAV\AppInfo; use OC\ServerContainer; diff --git a/apps/dav/lib/Avatars/AvatarHome.php b/apps/dav/lib/Avatars/AvatarHome.php index cbdd2b21b12202b8fbe45b2c32272dea436c4f2e..ba52daeb2b32fa6314321f980cb00a4630888e28 100644 --- a/apps/dav/lib/Avatars/AvatarHome.php +++ b/apps/dav/lib/Avatars/AvatarHome.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Avatars; use OCP\IAvatarManager; diff --git a/apps/dav/lib/Avatars/AvatarNode.php b/apps/dav/lib/Avatars/AvatarNode.php index a577a5916169fae231e2957ee875d24cf3185ea4..ade523561f2f9084e77b2c8ab3f13eb6c15c62a6 100644 --- a/apps/dav/lib/Avatars/AvatarNode.php +++ b/apps/dav/lib/Avatars/AvatarNode.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Avatars; use OCP\IAvatar; diff --git a/apps/dav/lib/Avatars/RootCollection.php b/apps/dav/lib/Avatars/RootCollection.php index 01f270362b7c2b3e2ceb1c9bf42746119cd2b3eb..c5e78624d447380ff5111bc7f9b506545c4833a3 100644 --- a/apps/dav/lib/Avatars/RootCollection.php +++ b/apps/dav/lib/Avatars/RootCollection.php @@ -1,6 +1,6 @@ * * @author Morris Jobke * @author Roeland Jago Douma @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Avatars; use Sabre\DAVACL\AbstractPrincipalCollection; diff --git a/apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php b/apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php index badfc2ca041b63b2c917abe37c25461a03b9c0e2..3d4e4dd5e6b99dd845356c21135b3060a2f5d2cd 100644 --- a/apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php +++ b/apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OCA\DAV\CalDAV\Reminder\ReminderService; diff --git a/apps/dav/lib/BackgroundJob/CalendarRetentionJob.php b/apps/dav/lib/BackgroundJob/CalendarRetentionJob.php index 5121505165954f8d25a3257646778075d8d17fed..6be6d7c3cd1e398af306a204dad438efeb0947c8 100644 --- a/apps/dav/lib/BackgroundJob/CalendarRetentionJob.php +++ b/apps/dav/lib/BackgroundJob/CalendarRetentionJob.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\BackgroundJob; use OCA\DAV\CalDAV\RetentionService; diff --git a/apps/dav/lib/BackgroundJob/CleanupDirectLinksJob.php b/apps/dav/lib/BackgroundJob/CleanupDirectLinksJob.php index 093e61111d6ec26b329af051398499e28788a743..6c10a05f9a5391ce98854ab463f700507687f68a 100644 --- a/apps/dav/lib/BackgroundJob/CleanupDirectLinksJob.php +++ b/apps/dav/lib/BackgroundJob/CleanupDirectLinksJob.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OC\BackgroundJob\TimedJob; diff --git a/apps/dav/lib/BackgroundJob/CleanupInvitationTokenJob.php b/apps/dav/lib/BackgroundJob/CleanupInvitationTokenJob.php index 90b240e2e453ed9524b862e6b997ac764b01a770..9621b5d9499e31a51153bbeb44a0241145fd79f4 100644 --- a/apps/dav/lib/BackgroundJob/CleanupInvitationTokenJob.php +++ b/apps/dav/lib/BackgroundJob/CleanupInvitationTokenJob.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OC\BackgroundJob\TimedJob; diff --git a/apps/dav/lib/BackgroundJob/EventReminderJob.php b/apps/dav/lib/BackgroundJob/EventReminderJob.php index ee6a920431683992c4fb880055546f35cb2225f2..b67a5d970bb65d378c882578cd8d326ed535d31f 100644 --- a/apps/dav/lib/BackgroundJob/EventReminderJob.php +++ b/apps/dav/lib/BackgroundJob/EventReminderJob.php @@ -1,9 +1,8 @@ * * @author Georg Ehrke - * @author Roeland Jago Douma * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -15,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OC\BackgroundJob\TimedJob; diff --git a/apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php b/apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php index e4c2fcccc9d8534804701e32841345e15ffdae7a..2fdb761793783910c12121b7adcc050b9a7b8cf6 100644 --- a/apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php +++ b/apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php @@ -3,7 +3,6 @@ * @copyright 2017 Georg Ehrke * * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -14,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OC\BackgroundJob\QueuedJob; diff --git a/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php b/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php index 32a48919868ee34f9f12f518e25e6b34122266f2..fbb944159fd3a3e2aa248cef2ce6b906511763b6 100644 --- a/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php +++ b/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use DateInterval; diff --git a/apps/dav/lib/BackgroundJob/RegisterRegenerateBirthdayCalendars.php b/apps/dav/lib/BackgroundJob/RegisterRegenerateBirthdayCalendars.php index 7240f067170ede3bbc044ecff609ab4e691446b1..0813de7d1ad9550d8d2ce8738d38d8577b97d9c3 100644 --- a/apps/dav/lib/BackgroundJob/RegisterRegenerateBirthdayCalendars.php +++ b/apps/dav/lib/BackgroundJob/RegisterRegenerateBirthdayCalendars.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/dav/lib/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJob.php b/apps/dav/lib/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJob.php index 86d2d3ae35dff2ad6e06ae845fae8c204e15f19e..e9326309c7d892c1bc51a33aa371eec2bc2d4b85 100644 --- a/apps/dav/lib/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJob.php +++ b/apps/dav/lib/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJob.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Georg Ehrke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OC\BackgroundJob\TimedJob; diff --git a/apps/dav/lib/BackgroundJob/UploadCleanup.php b/apps/dav/lib/BackgroundJob/UploadCleanup.php index 104faf12b65dc50faac8cb5bbf5f9b428904d82b..70f4d6b95650fca879a0f9a1e7dfaa2eb19c75d2 100644 --- a/apps/dav/lib/BackgroundJob/UploadCleanup.php +++ b/apps/dav/lib/BackgroundJob/UploadCleanup.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OC\User\NoUserException; diff --git a/apps/dav/lib/CalDAV/Activity/Backend.php b/apps/dav/lib/CalDAV/Activity/Backend.php index 4b896de3b89bcce36383b5df6fcb78727b1d336b..84ba50b8c37b6cff8d0f3f85e1600c33da61227b 100644 --- a/apps/dav/lib/CalDAV/Activity/Backend.php +++ b/apps/dav/lib/CalDAV/Activity/Backend.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity; use OCA\DAV\CalDAV\Activity\Provider\Calendar; diff --git a/apps/dav/lib/CalDAV/Activity/Filter/Calendar.php b/apps/dav/lib/CalDAV/Activity/Filter/Calendar.php index c2c7ec5d34ae9f594a9fe3cf4c0fdbe275ad816c..06258e3cf746bdb6d80465beb69ab5fc4de06c76 100644 --- a/apps/dav/lib/CalDAV/Activity/Filter/Calendar.php +++ b/apps/dav/lib/CalDAV/Activity/Filter/Calendar.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2016 Joas Schilling * * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Filter; use OCP\Activity\IFilter; diff --git a/apps/dav/lib/CalDAV/Activity/Filter/Todo.php b/apps/dav/lib/CalDAV/Activity/Filter/Todo.php index d361ff389c4a755bace2774b790351265831b893..f727c10befe9f09be54e5eabacc565136c692158 100644 --- a/apps/dav/lib/CalDAV/Activity/Filter/Todo.php +++ b/apps/dav/lib/CalDAV/Activity/Filter/Todo.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Filter; use OCP\Activity\IFilter; diff --git a/apps/dav/lib/CalDAV/Activity/Provider/Base.php b/apps/dav/lib/CalDAV/Activity/Provider/Base.php index bc6e7a6cca095b6a3fae6598f4cf2e2c3207c993..7f70980a72b9ff7f903a3ca1680d411f706a6374 100644 --- a/apps/dav/lib/CalDAV/Activity/Provider/Base.php +++ b/apps/dav/lib/CalDAV/Activity/Provider/Base.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Provider; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php b/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php index a30c628a3adc29f8dfe071ec4dba1416a28545b5..daab7806e4678ae9e210cffb51aafd76001c5fdb 100644 --- a/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php +++ b/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Provider; use OCP\Activity\IEvent; diff --git a/apps/dav/lib/CalDAV/Activity/Provider/Event.php b/apps/dav/lib/CalDAV/Activity/Provider/Event.php index 03845cc4d87e02a19167c39348c538a0f1227c45..96366f54942928a2cf7c331031fb242c0f89b149 100644 --- a/apps/dav/lib/CalDAV/Activity/Provider/Event.php +++ b/apps/dav/lib/CalDAV/Activity/Provider/Event.php @@ -5,6 +5,7 @@ * @author Christoph Wurst * @author Joas Schilling * @author Julius Härtl + * @author Morris Jobke * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Provider; use OC_App; diff --git a/apps/dav/lib/CalDAV/Activity/Provider/Todo.php b/apps/dav/lib/CalDAV/Activity/Provider/Todo.php index 2f6c088be0a191bfba4d98214f1ca957e65835a9..a3ab81e38ae3840dc7f8d5ccc36051a382d537da 100644 --- a/apps/dav/lib/CalDAV/Activity/Provider/Todo.php +++ b/apps/dav/lib/CalDAV/Activity/Provider/Todo.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling + * @author Morris Jobke * * @license GNU AGPL version 3 or any later version * @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Provider; use OCP\Activity\IEvent; diff --git a/apps/dav/lib/CalDAV/Activity/Setting/CalDAVSetting.php b/apps/dav/lib/CalDAV/Activity/Setting/CalDAVSetting.php index a0b6b1304899c95be01c8a3a8ad7f04ee787137c..20325a253f4f14f07e3677ccd8c11790c37abf5e 100644 --- a/apps/dav/lib/CalDAV/Activity/Setting/CalDAVSetting.php +++ b/apps/dav/lib/CalDAV/Activity/Setting/CalDAVSetting.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Robin Appelman * + * @author Joas Schilling * @author Robin Appelman * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Setting; use OCP\Activity\ActivitySettings; diff --git a/apps/dav/lib/CalDAV/Activity/Setting/Calendar.php b/apps/dav/lib/CalDAV/Activity/Setting/Calendar.php index 7a0fc4601fe0dcdbea913a29f7d28e035b893abd..4a226fca4397185defbf18e26c3e9f9b56e94011 100644 --- a/apps/dav/lib/CalDAV/Activity/Setting/Calendar.php +++ b/apps/dav/lib/CalDAV/Activity/Setting/Calendar.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Setting; class Calendar extends CalDAVSetting { diff --git a/apps/dav/lib/CalDAV/Activity/Setting/Event.php b/apps/dav/lib/CalDAV/Activity/Setting/Event.php index aa43f6c17e67325419f6a4be1ef43d3b3928cb91..0239296a403b51d65410ff57d5ea90f335da27b0 100644 --- a/apps/dav/lib/CalDAV/Activity/Setting/Event.php +++ b/apps/dav/lib/CalDAV/Activity/Setting/Event.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Setting; class Event extends CalDAVSetting { diff --git a/apps/dav/lib/CalDAV/Activity/Setting/Todo.php b/apps/dav/lib/CalDAV/Activity/Setting/Todo.php index 1c441e4d182f98b7453e1c48ffb5b7364ab166db..7d27b30c4afc0b8610a6eab86f4354d2ab76aee6 100644 --- a/apps/dav/lib/CalDAV/Activity/Setting/Todo.php +++ b/apps/dav/lib/CalDAV/Activity/Setting/Todo.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Setting; class Todo extends CalDAVSetting { diff --git a/apps/dav/lib/CalDAV/BirthdayCalendar/EnablePlugin.php b/apps/dav/lib/CalDAV/BirthdayCalendar/EnablePlugin.php index 358463cbf0f5a858979578729e1a7f3ee949e8b4..b736d9432bd14ddbb932e511217eb5a32767a16d 100644 --- a/apps/dav/lib/CalDAV/BirthdayCalendar/EnablePlugin.php +++ b/apps/dav/lib/CalDAV/BirthdayCalendar/EnablePlugin.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\BirthdayCalendar; use OCA\DAV\CalDAV\BirthdayService; diff --git a/apps/dav/lib/CalDAV/BirthdayService.php b/apps/dav/lib/CalDAV/BirthdayService.php index fc525934f15237465493e7accf6e2de85eba94fa..3f73ca7a1dc5a55ebf70979381f779c00e899612 100644 --- a/apps/dav/lib/CalDAV/BirthdayService.php +++ b/apps/dav/lib/CalDAV/BirthdayService.php @@ -7,11 +7,13 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Georg Ehrke * * @author Achim Königs + * @author Christian Weiske * @author Christoph Wurst * @author Georg Ehrke * @author Robin Appelman * @author Sven Strickroth * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license AGPL-3.0 * @@ -28,7 +30,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; use Exception; diff --git a/apps/dav/lib/CalDAV/CachedSubscription.php b/apps/dav/lib/CalDAV/CachedSubscription.php index bef43f6564448c1a4b32bee5ee9254a08e0bd7f4..18e61450ee9b63a74e91e5ba5a1d0b5eb56f6acf 100644 --- a/apps/dav/lib/CalDAV/CachedSubscription.php +++ b/apps/dav/lib/CalDAV/CachedSubscription.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV; use OCA\DAV\Exception\UnsupportedLimitOnInitialSyncException; diff --git a/apps/dav/lib/CalDAV/CachedSubscriptionObject.php b/apps/dav/lib/CalDAV/CachedSubscriptionObject.php index 0a4920b2f24e0d67af7159eaee712c1eba8fd9d5..db8c9fa8e801153362fc2da6988219f6f075a48d 100644 --- a/apps/dav/lib/CalDAV/CachedSubscriptionObject.php +++ b/apps/dav/lib/CalDAV/CachedSubscriptionObject.php @@ -6,7 +6,6 @@ declare(strict_types=1); * @copyright 2018 Georg Ehrke * * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -17,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV; use Sabre\DAV\Exception\MethodNotAllowed; diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php index 2b9a2d1d145afe668018a4cb67a02b6336c6db6b..4bb75e3431a1fb4d1a2b88571651d1b891d4889c 100644 --- a/apps/dav/lib/CalDAV/CalDavBackend.php +++ b/apps/dav/lib/CalDAV/CalDavBackend.php @@ -4,11 +4,12 @@ * @copyright Copyright (c) 2018 Georg Ehrke * @copyright Copyright (c) 2020, leith abdulla () * + * @author Chih-Hsuan Yen * @author Christoph Wurst * @author dartcafe * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author leith abdulla * @author Lukas Reschke * @author Morris Jobke @@ -35,7 +36,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; use DateTime; diff --git a/apps/dav/lib/CalDAV/Calendar.php b/apps/dav/lib/CalDAV/Calendar.php index 191ac384e72dd31faee619751a16e8d5fa9ff495..df4d6d4a3fb3499cc691f100fa80e329a69a2329 100644 --- a/apps/dav/lib/CalDAV/Calendar.php +++ b/apps/dav/lib/CalDAV/Calendar.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; use OCA\DAV\DAV\Sharing\IShareable; diff --git a/apps/dav/lib/CalDAV/CalendarHome.php b/apps/dav/lib/CalDAV/CalendarHome.php index c418ff049c1aed8fd7dbb0e9915ae877295e81a9..3a1ee2883c5de0ef5f5f6b98290f322409ace58c 100644 --- a/apps/dav/lib/CalDAV/CalendarHome.php +++ b/apps/dav/lib/CalDAV/CalendarHome.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; use OCA\DAV\AppInfo\PluginManager; diff --git a/apps/dav/lib/CalDAV/CalendarImpl.php b/apps/dav/lib/CalDAV/CalendarImpl.php index 2f4aa858a322377b9cef2a787061206190b5a250..4f34e604c81ee7986a616327d00a8f2ef5f0d374 100644 --- a/apps/dav/lib/CalDAV/CalendarImpl.php +++ b/apps/dav/lib/CalDAV/CalendarImpl.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV; use OCP\Calendar\ICalendar; diff --git a/apps/dav/lib/CalDAV/CalendarManager.php b/apps/dav/lib/CalDAV/CalendarManager.php index ca527ab7a5fdae604f7896cb39b1ddaf05960a4e..0377979a8a8a7f8465f03d3e2db6a450e351953d 100644 --- a/apps/dav/lib/CalDAV/CalendarManager.php +++ b/apps/dav/lib/CalDAV/CalendarManager.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV; use OCP\Calendar\IManager; diff --git a/apps/dav/lib/CalDAV/CalendarObject.php b/apps/dav/lib/CalDAV/CalendarObject.php index 0e42d9522ab16adc2106c48711b15fb35db0673d..1582e8f2bfc981e5a2d2a6cad61377f7b87a60b2 100644 --- a/apps/dav/lib/CalDAV/CalendarObject.php +++ b/apps/dav/lib/CalDAV/CalendarObject.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; use OCP\IL10N; diff --git a/apps/dav/lib/CalDAV/CalendarRoot.php b/apps/dav/lib/CalDAV/CalendarRoot.php index 308e282f0c67bb315852ab67ea3b4ca5dfbbe5cd..5b2bfa3602791646e83231f5e2aeb49a22eed0a1 100644 --- a/apps/dav/lib/CalDAV/CalendarRoot.php +++ b/apps/dav/lib/CalDAV/CalendarRoot.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; class CalendarRoot extends \Sabre\CalDAV\CalendarRoot { diff --git a/apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php b/apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php index 52e9c330b2f38618c33186892222a797d3614a01..ae568720c55b737b9dc19b4ccdbce1516f08ff04 100644 --- a/apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php +++ b/apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php @@ -13,7 +13,7 @@ * * 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 + * 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 diff --git a/apps/dav/lib/CalDAV/IRestorable.php b/apps/dav/lib/CalDAV/IRestorable.php index 438098b5a0ef838fc1d187d24c58dc9cebe6479b..fab73c43d3aed1b85e105578aa000dac9667ea22 100644 --- a/apps/dav/lib/CalDAV/IRestorable.php +++ b/apps/dav/lib/CalDAV/IRestorable.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\CalDAV; use Sabre\DAV\Exception; diff --git a/apps/dav/lib/CalDAV/Integration/ExternalCalendar.php b/apps/dav/lib/CalDAV/Integration/ExternalCalendar.php index a42c704f53cb2b7bc7e23cd83a3676aad1ca2337..9c801a08a260d6971a26764e7ea01b24a4406e82 100644 --- a/apps/dav/lib/CalDAV/Integration/ExternalCalendar.php +++ b/apps/dav/lib/CalDAV/Integration/ExternalCalendar.php @@ -13,7 +13,7 @@ * * 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 + * 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 diff --git a/apps/dav/lib/CalDAV/Integration/ICalendarProvider.php b/apps/dav/lib/CalDAV/Integration/ICalendarProvider.php index 298d877f5da57e8c4f7faeb66372b14f33a853cb..c72112f06ba14161bcffb765dfd994b08d48ef63 100644 --- a/apps/dav/lib/CalDAV/Integration/ICalendarProvider.php +++ b/apps/dav/lib/CalDAV/Integration/ICalendarProvider.php @@ -13,7 +13,7 @@ * * 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 + * 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 diff --git a/apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php b/apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php index 7b0ee1bbef243668dc29ca47a16977578911af79..d1ea6902af39a0c48d47337048ba5999145a332f 100644 --- a/apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php +++ b/apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\InvitationResponse; use OCA\DAV\AppInfo\PluginManager; diff --git a/apps/dav/lib/CalDAV/Outbox.php b/apps/dav/lib/CalDAV/Outbox.php index a830b4b9b8d0fede5e4efd5d931ca5e46ed09127..eebb48e1294e71aebe9e67a5b8c866d7ec8418b6 100644 --- a/apps/dav/lib/CalDAV/Outbox.php +++ b/apps/dav/lib/CalDAV/Outbox.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV; use OCP\IConfig; diff --git a/apps/dav/lib/CalDAV/Plugin.php b/apps/dav/lib/CalDAV/Plugin.php index f87907e6c5d774ea698fd9adc8dd90691b31e39b..5b367c51053e5b20c3fa15d9548872baeb4c671f 100644 --- a/apps/dav/lib/CalDAV/Plugin.php +++ b/apps/dav/lib/CalDAV/Plugin.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Georg Ehrke - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; class Plugin extends \Sabre\CalDAV\Plugin { diff --git a/apps/dav/lib/CalDAV/Principal/Collection.php b/apps/dav/lib/CalDAV/Principal/Collection.php index 83e3d82e13f1ea44f35d0c533f771aea11ec7555..279977416093c258823177b30caf91e5da3d7591 100644 --- a/apps/dav/lib/CalDAV/Principal/Collection.php +++ b/apps/dav/lib/CalDAV/Principal/Collection.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Principal; /** diff --git a/apps/dav/lib/CalDAV/Principal/User.php b/apps/dav/lib/CalDAV/Principal/User.php index 1d1e823af71c38da7ff5c1ecaab4dc673f1e98a7..904ecc32e893c235fb4f1766992f864dba528e2e 100644 --- a/apps/dav/lib/CalDAV/Principal/User.php +++ b/apps/dav/lib/CalDAV/Principal/User.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Principal; /** diff --git a/apps/dav/lib/CalDAV/Proxy/Proxy.php b/apps/dav/lib/CalDAV/Proxy/Proxy.php index 3bac846ed97babe8dc90d1e40907f83ec32f6f07..8bafe8cc3b31b2f7dfc35996778ff0d89f162329 100644 --- a/apps/dav/lib/CalDAV/Proxy/Proxy.php +++ b/apps/dav/lib/CalDAV/Proxy/Proxy.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Proxy; use OCP\AppFramework\Db\Entity; diff --git a/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php b/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php index a422b19a46b0dc016692ff75236f64eb85f8fd58..19c72ffa0e9679ca6c7925ea151dae32337c5c83 100644 --- a/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php +++ b/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Proxy; use OCP\AppFramework\Db\QBMapper; diff --git a/apps/dav/lib/CalDAV/PublicCalendar.php b/apps/dav/lib/CalDAV/PublicCalendar.php index 064d011f69c5d5488b64b53c72dca900f8099fb7..4a29c8d237afa2bd56ca825accee6515de900087 100644 --- a/apps/dav/lib/CalDAV/PublicCalendar.php +++ b/apps/dav/lib/CalDAV/PublicCalendar.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV; use Sabre\DAV\Exception\NotFound; diff --git a/apps/dav/lib/CalDAV/PublicCalendarObject.php b/apps/dav/lib/CalDAV/PublicCalendarObject.php index 792015d373b34d1173b620b13ca59a2cb6982d95..69a5583d8f5fbae8c48c24eb6e12c1be3f0da48d 100644 --- a/apps/dav/lib/CalDAV/PublicCalendarObject.php +++ b/apps/dav/lib/CalDAV/PublicCalendarObject.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV; class PublicCalendarObject extends CalendarObject { diff --git a/apps/dav/lib/CalDAV/PublicCalendarRoot.php b/apps/dav/lib/CalDAV/PublicCalendarRoot.php index 2d4db467d584624f0a725fe4885a6fb994dc9759..aafbb48ae8e0665108b89b0aabbd9c9da12a0580 100644 --- a/apps/dav/lib/CalDAV/PublicCalendarRoot.php +++ b/apps/dav/lib/CalDAV/PublicCalendarRoot.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Lukas Reschke - * @author Roeland Jago Douma * @author Thomas Citharel * @author Thomas Müller * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; use OCP\IConfig; diff --git a/apps/dav/lib/CalDAV/Publishing/PublishPlugin.php b/apps/dav/lib/CalDAV/Publishing/PublishPlugin.php index e5ae9064ae7e0ef90f1f50ce117fd451fb055293..97e942f9da24a09da9a072bce30a30239d6dc8b6 100644 --- a/apps/dav/lib/CalDAV/Publishing/PublishPlugin.php +++ b/apps/dav/lib/CalDAV/Publishing/PublishPlugin.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Georg Ehrke + * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Citharel * @author Thomas Müller @@ -17,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Publishing; use OCA\DAV\CalDAV\Calendar; diff --git a/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php b/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php index bfeaf6b3daff719fe89f8c3f0492122c22c2d8d9..35bce872bf818c2039af60fce43030d7250a0c3c 100644 --- a/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php +++ b/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016 Thomas Citharel * * @author Christoph Wurst - * @author Roeland Jago Douma * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -15,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Publishing\Xml; use Sabre\Xml\Writer; diff --git a/apps/dav/lib/CalDAV/Reminder/Backend.php b/apps/dav/lib/CalDAV/Reminder/Backend.php index 62d9c5b1341621bf34c9cbf095004f4a83b9cbb9..48b1e9aed46364b15a57f1147c411a3e6d86b0de 100644 --- a/apps/dav/lib/CalDAV/Reminder/Backend.php +++ b/apps/dav/lib/CalDAV/Reminder/Backend.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php b/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php index 3ce05476ff52f2148a3f88987e789e0b9a84ddd5..a6b439c0b4fe6c944371287eb2840416b1aa072b 100644 --- a/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php +++ b/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder; use OCP\IUser; diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php index 5b46271f453ff627f1615eabbaa90bd12e3cbaf4..8df6ef06fa5d4a80ed66a99a38d49ee482a5d4c8 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; use OCA\DAV\CalDAV\Reminder\INotificationProvider; diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AudioProvider.php b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AudioProvider.php index 7f47281185f86efe1cc4e4c7c8fd9e4c9adceff6..4b369b34dc0fa012d58918a92f9393e5e6e48268 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AudioProvider.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AudioProvider.php @@ -6,7 +6,6 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Georg Ehrke * * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -17,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; /** diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php index 38c875315bfb90b7b83a622d7024b833da9330c8..71cdd2cdd69045fe0a95125f72e9b649dec9ed22 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php @@ -22,14 +22,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; use DateTime; diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/ProviderNotAvailableException.php b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/ProviderNotAvailableException.php index e6c41d02ac456f0d4afefec33b808a26f7ce80c1..2e4f9a384939345e4ab416b565fa5aff5c368040 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/ProviderNotAvailableException.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/ProviderNotAvailableException.php @@ -5,7 +5,6 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018 Thomas Citharel * - * @author Roeland Jago Douma * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -17,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; class ProviderNotAvailableException extends \Exception { diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/PushProvider.php b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/PushProvider.php index 6db3ca563aef78c78c51a60bf41b85529e7c0af3..7b53fac766a3c61042be627453a7485a093a9b97 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/PushProvider.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/PushProvider.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; use OCA\DAV\AppInfo\Application; diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php b/apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php index b9b500c36f9948acdf982931b848ae9a6cd24ec9..cd8030a1177200495f684c8bb01648ea206fd5ad 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php @@ -7,7 +7,6 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Georg Ehrke * * @author Georg Ehrke - * @author Roeland Jago Douma * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -19,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder; /** diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationTypeDoesNotExistException.php b/apps/dav/lib/CalDAV/Reminder/NotificationTypeDoesNotExistException.php index 1b144fdbbf058fac288b16ad9ffb9391a488df61..16fb858bc3a6ca2e902b705ad4d5b08e729cbb33 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationTypeDoesNotExistException.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationTypeDoesNotExistException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder; class NotificationTypeDoesNotExistException extends \Exception { diff --git a/apps/dav/lib/CalDAV/Reminder/Notifier.php b/apps/dav/lib/CalDAV/Reminder/Notifier.php index 310f5e5b23ddc4dd9296a5f783a1b6825c0f9d3a..6dbe95db244d9dd27a1989d8b75ca832f3aed6ac 100644 --- a/apps/dav/lib/CalDAV/Reminder/Notifier.php +++ b/apps/dav/lib/CalDAV/Reminder/Notifier.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder; use DateTime; diff --git a/apps/dav/lib/CalDAV/Reminder/ReminderService.php b/apps/dav/lib/CalDAV/Reminder/ReminderService.php index 83fe413c0ee88e9ce7c39b53b3bab461ffe09dea..ad5c18d477dede75c892ba2d6130df82440ab2c5 100644 --- a/apps/dav/lib/CalDAV/Reminder/ReminderService.php +++ b/apps/dav/lib/CalDAV/Reminder/ReminderService.php @@ -8,6 +8,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Georg Ehrke + * @author Joas Schilling * @author Roeland Jago Douma * @author Thomas Citharel * @@ -20,14 +21,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder; use DateTimeImmutable; diff --git a/apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php b/apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php index 8eb47511d485a4507ac31806918dc92edb969b78..61b4dafe34c6e25c1d777bb2c6ea0ebad8b9835f 100644 --- a/apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php +++ b/apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\ResourceBooking; use OCA\DAV\CalDAV\Proxy\ProxyMapper; diff --git a/apps/dav/lib/CalDAV/ResourceBooking/ResourcePrincipalBackend.php b/apps/dav/lib/CalDAV/ResourceBooking/ResourcePrincipalBackend.php index 287eef36c6956c8b06f6f785ff34cca319ea1402..65203e24da5915893e622572d7e7744611ee41cc 100644 --- a/apps/dav/lib/CalDAV/ResourceBooking/ResourcePrincipalBackend.php +++ b/apps/dav/lib/CalDAV/ResourceBooking/ResourcePrincipalBackend.php @@ -3,7 +3,6 @@ * @copyright 2018, Georg Ehrke * * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -14,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\ResourceBooking; use OCA\DAV\CalDAV\Proxy\ProxyMapper; diff --git a/apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php b/apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php index f550956c294b8b5a0621cfb44ba071ed7e5afdb0..ca78ebd4bc4323378371b97b688267db9dae9c53 100644 --- a/apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php +++ b/apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php @@ -3,7 +3,6 @@ * @copyright 2018, Georg Ehrke * * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -14,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\ResourceBooking; use OCA\DAV\CalDAV\Proxy\ProxyMapper; diff --git a/apps/dav/lib/CalDAV/RetentionService.php b/apps/dav/lib/CalDAV/RetentionService.php index 7342b719c81015817aab6caa91c1bedad3ee8d48..1d92d847641b69d626d758bad3d51d623d63ba0e 100644 --- a/apps/dav/lib/CalDAV/RetentionService.php +++ b/apps/dav/lib/CalDAV/RetentionService.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\CalDAV; use OCA\DAV\AppInfo\Application; diff --git a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php index 8d26f83ffc9f1eaea7d192beff6ca5c33e1639e9..63290e76e617a9d0a09e7b4f6931925b40743207 100644 --- a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php +++ b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php @@ -2,6 +2,8 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * @copyright Copyright (c) 2017, Georg Ehrke + * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/). + * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/). * * @author brad2014 * @author Brad Rubenstein @@ -9,6 +11,7 @@ * @author Georg Ehrke * @author Joas Schilling * @author Leon Klingele + * @author Nick Sweeting * @author rakekniven * @author Roeland Jago Douma * @author Thomas Citharel @@ -29,7 +32,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV\Schedule; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/dav/lib/CalDAV/Schedule/Plugin.php b/apps/dav/lib/CalDAV/Schedule/Plugin.php index d384968e92117e0bd31d2eccd77beebe296a27b9..7ea75dcca2a8a03db561a7b20059e006941983fb 100644 --- a/apps/dav/lib/CalDAV/Schedule/Plugin.php +++ b/apps/dav/lib/CalDAV/Schedule/Plugin.php @@ -19,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Schedule; use DateTimeZone; diff --git a/apps/dav/lib/CalDAV/Search/SearchPlugin.php b/apps/dav/lib/CalDAV/Search/SearchPlugin.php index a25abac6020ffee950f5dfc66cf0398c0161dac9..d08a5749ab20b3480b09f7b314e31d00c41450f5 100644 --- a/apps/dav/lib/CalDAV/Search/SearchPlugin.php +++ b/apps/dav/lib/CalDAV/Search/SearchPlugin.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search; use OCA\DAV\CalDAV\CalendarHome; diff --git a/apps/dav/lib/CalDAV/Search/Xml/Filter/CompFilter.php b/apps/dav/lib/CalDAV/Search/Xml/Filter/CompFilter.php index cf6df3b8c58f5160ac610c9bd828585c5a22cc71..d5b7c834e36472ec686749a5311f1655565a1144 100644 --- a/apps/dav/lib/CalDAV/Search/Xml/Filter/CompFilter.php +++ b/apps/dav/lib/CalDAV/Search/Xml/Filter/CompFilter.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search\Xml\Filter; use OCA\DAV\CalDAV\Search\SearchPlugin; diff --git a/apps/dav/lib/CalDAV/Search/Xml/Filter/LimitFilter.php b/apps/dav/lib/CalDAV/Search/Xml/Filter/LimitFilter.php index 5940df55654340b288863b1ad10b0480397928c6..2c435ba3650ac63c692a85080a2f3ffa93ca6ee5 100644 --- a/apps/dav/lib/CalDAV/Search/Xml/Filter/LimitFilter.php +++ b/apps/dav/lib/CalDAV/Search/Xml/Filter/LimitFilter.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search\Xml\Filter; use OCA\DAV\CalDAV\Search\SearchPlugin; diff --git a/apps/dav/lib/CalDAV/Search/Xml/Filter/OffsetFilter.php b/apps/dav/lib/CalDAV/Search/Xml/Filter/OffsetFilter.php index 4331b2a4d9b31091a8f0d30511fbe63b0fd4f0cf..a6f41d091617a09a25fece35a5182456697f4c59 100644 --- a/apps/dav/lib/CalDAV/Search/Xml/Filter/OffsetFilter.php +++ b/apps/dav/lib/CalDAV/Search/Xml/Filter/OffsetFilter.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search\Xml\Filter; use OCA\DAV\CalDAV\Search\SearchPlugin; diff --git a/apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php b/apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php index 2f24c54beb4e1456fe8571900cfba9169b91926d..c25450a0c9444a586ed46f0219c7a2ec31d07ef2 100644 --- a/apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php +++ b/apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search\Xml\Filter; use OCA\DAV\CalDAV\Search\SearchPlugin; diff --git a/apps/dav/lib/CalDAV/Search/Xml/Filter/PropFilter.php b/apps/dav/lib/CalDAV/Search/Xml/Filter/PropFilter.php index db03855e9713e24599ab0ac4011b2e5dd89fc902..990b0ebf73087b5918b005d4fdd94765537c4360 100644 --- a/apps/dav/lib/CalDAV/Search/Xml/Filter/PropFilter.php +++ b/apps/dav/lib/CalDAV/Search/Xml/Filter/PropFilter.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search\Xml\Filter; use OCA\DAV\CalDAV\Search\SearchPlugin; diff --git a/apps/dav/lib/CalDAV/Search/Xml/Filter/SearchTermFilter.php b/apps/dav/lib/CalDAV/Search/Xml/Filter/SearchTermFilter.php index b5ec27eefd5bd5899febec07374a93f7555ff6f3..06fe39a463bdee16380b95a2f439ec41f4604c5a 100644 --- a/apps/dav/lib/CalDAV/Search/Xml/Filter/SearchTermFilter.php +++ b/apps/dav/lib/CalDAV/Search/Xml/Filter/SearchTermFilter.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search\Xml\Filter; use OCA\DAV\CalDAV\Search\SearchPlugin; diff --git a/apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php b/apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php index d9215a5a73c7890bc0c642231b23b68495571064..98efe36ee43c6ea93e73529a30ecbcc601e385f7 100644 --- a/apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php +++ b/apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search\Xml\Request; use OCA\DAV\CalDAV\Search\SearchPlugin; diff --git a/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObject.php b/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObject.php index 877ae82157df6f1e5e8b20103d7284b5dc6ddc7f..5730b7a10028167df51856e84bbbd78cf492b4fb 100644 --- a/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObject.php +++ b/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObject.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\CalDAV\Trashbin; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObjectsCollection.php b/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObjectsCollection.php index 6b084d7c8576721f85fb274d850e938b41816918..20d05c047b1309e5614e24e364684c0d0db34a6a 100644 --- a/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObjectsCollection.php +++ b/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObjectsCollection.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\CalDAV\Trashbin; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/CalDAV/Trashbin/Plugin.php b/apps/dav/lib/CalDAV/Trashbin/Plugin.php index 93f17cc5b7c7d9b1f9caf44796f87a096526a0ba..a4dff69ec77df78c544338035d9e53f8f4cdd470 100644 --- a/apps/dav/lib/CalDAV/Trashbin/Plugin.php +++ b/apps/dav/lib/CalDAV/Trashbin/Plugin.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\CalDAV\Trashbin; use Closure; diff --git a/apps/dav/lib/CalDAV/Trashbin/RestoreTarget.php b/apps/dav/lib/CalDAV/Trashbin/RestoreTarget.php index 0175168e8d207bf3d4a603ed10a63300b31c7dee..31331957c49acc04352ead76f67d9b7543b483ba 100644 --- a/apps/dav/lib/CalDAV/Trashbin/RestoreTarget.php +++ b/apps/dav/lib/CalDAV/Trashbin/RestoreTarget.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\CalDAV\Trashbin; use OCA\DAV\CalDAV\IRestorable; diff --git a/apps/dav/lib/CalDAV/Trashbin/TrashbinHome.php b/apps/dav/lib/CalDAV/Trashbin/TrashbinHome.php index 87f1f24aaab2daff6e323db3a0e74c4fb89151fb..34d11e51eb3ec97201d6592ff956a2c7abf5197a 100644 --- a/apps/dav/lib/CalDAV/Trashbin/TrashbinHome.php +++ b/apps/dav/lib/CalDAV/Trashbin/TrashbinHome.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\CalDAV\Trashbin; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php b/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php index ac592797d3d06d96914faa4dc1aeeb6f17b26cfd..13aef7ed2273d8b9eaa3401dd64321d48d1aa04d 100644 --- a/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php +++ b/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php @@ -7,7 +7,6 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -18,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\WebcalCaching; use OCA\DAV\CalDAV\CalendarHome; diff --git a/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php b/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php index d002c98d1c475ea6ae6bd49f65092cc04eb8ee6a..543d15e0179b0ee227a6b7364c8a092cf047aaf2 100644 --- a/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php +++ b/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php @@ -21,14 +21,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CalDAV\WebcalCaching; use Exception; diff --git a/apps/dav/lib/Capabilities.php b/apps/dav/lib/Capabilities.php index 2ab06117c38b34d248d92f285b2518a9d95be71c..5d4e3c050779513954e342202835c3e20c4ec101 100644 --- a/apps/dav/lib/Capabilities.php +++ b/apps/dav/lib/Capabilities.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV; use OCP\Capabilities\ICapability; diff --git a/apps/dav/lib/CardDAV/Activity/Backend.php b/apps/dav/lib/CardDAV/Activity/Backend.php index f23eee9d9aba60a19276b40005f76b0e3c23d507..b713284e182d6651e5f31d6c4b1ae39b010494d6 100644 --- a/apps/dav/lib/CardDAV/Activity/Backend.php +++ b/apps/dav/lib/CardDAV/Activity/Backend.php @@ -1,13 +1,11 @@ * - * @author Christoph Wurst * @author Joas Schilling - * @author Roeland Jago Douma - * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version * @@ -18,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CardDAV\Activity; use OCA\DAV\CardDAV\Activity\Provider\Addressbook; diff --git a/apps/dav/lib/CardDAV/Activity/Filter.php b/apps/dav/lib/CardDAV/Activity/Filter.php index 9c9c0403d78b500b5b31c8758d2bf8cd2134f213..3ca4c3367d552f326744f0eef21cf9a090bfb1c4 100644 --- a/apps/dav/lib/CardDAV/Activity/Filter.php +++ b/apps/dav/lib/CardDAV/Activity/Filter.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CardDAV\Activity; use OCP\Activity\IFilter; diff --git a/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php b/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php index 26ee637fcbc24ecf0cb27c8e1c4ef5db6f1d49b7..bb03f6a8bfcccd2102980dcb98cd04dc82dec0bf 100644 --- a/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php +++ b/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php @@ -1,6 +1,7 @@ * @@ -15,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CardDAV\Activity\Provider; use OCP\Activity\IEvent; diff --git a/apps/dav/lib/CardDAV/Activity/Provider/Base.php b/apps/dav/lib/CardDAV/Activity/Provider/Base.php index 9a9b58e6c6e0e49d68f69cbcc27162af4b781460..2f6de31de1578f28b4bf2d148669b44c5e7c6d38 100644 --- a/apps/dav/lib/CardDAV/Activity/Provider/Base.php +++ b/apps/dav/lib/CardDAV/Activity/Provider/Base.php @@ -1,6 +1,7 @@ * @@ -15,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CardDAV\Activity\Provider; use OCA\DAV\CardDAV\CardDavBackend; diff --git a/apps/dav/lib/CardDAV/Activity/Provider/Card.php b/apps/dav/lib/CardDAV/Activity/Provider/Card.php index a1b5ab97206dbbf2412ed1ba15cb761baeca4367..10d7ea1787a34648144e4c06335d303b230aeb54 100644 --- a/apps/dav/lib/CardDAV/Activity/Provider/Card.php +++ b/apps/dav/lib/CardDAV/Activity/Provider/Card.php @@ -1,6 +1,7 @@ * @@ -15,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CardDAV\Activity\Provider; use OCP\Activity\IEvent; diff --git a/apps/dav/lib/CardDAV/Activity/Setting.php b/apps/dav/lib/CardDAV/Activity/Setting.php index 2226d0ba5ceecf56f3b6625c33d4c5de5a4d7ec5..c152fbd90606c584640a3028005c675ace58e3f0 100644 --- a/apps/dav/lib/CardDAV/Activity/Setting.php +++ b/apps/dav/lib/CardDAV/Activity/Setting.php @@ -1,6 +1,7 @@ * @@ -15,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CardDAV\Activity; use OCA\DAV\CalDAV\Activity\Setting\CalDAVSetting; diff --git a/apps/dav/lib/CardDAV/AddressBook.php b/apps/dav/lib/CardDAV/AddressBook.php index 0078dece85465ce1f6b8a167ab542bd83cd09da8..9bd24bedbac62a683c6c7acb2f4b04a85edd0622 100644 --- a/apps/dav/lib/CardDAV/AddressBook.php +++ b/apps/dav/lib/CardDAV/AddressBook.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCA\DAV\DAV\Sharing\IShareable; diff --git a/apps/dav/lib/CardDAV/AddressBookImpl.php b/apps/dav/lib/CardDAV/AddressBookImpl.php index e270b579e1fa7f2d4925917c915d9430c7a3bed1..8b0d494fd016712034cfae8a527d3941e650f559 100644 --- a/apps/dav/lib/CardDAV/AddressBookImpl.php +++ b/apps/dav/lib/CardDAV/AddressBookImpl.php @@ -3,13 +3,14 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Arne Hamann + * @author Arthur Schiwon * @author Björn Schießle * @author call-me-matt * @author Christoph Wurst * @author Daniel Kesselberg * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Thomas Müller * @@ -28,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCP\Constants; diff --git a/apps/dav/lib/CardDAV/AddressBookRoot.php b/apps/dav/lib/CardDAV/AddressBookRoot.php index 57fc6b710100fc7c25048c806385d5a357924be0..897ed8190714dc5750b206fc66c330da156fd965 100644 --- a/apps/dav/lib/CardDAV/AddressBookRoot.php +++ b/apps/dav/lib/CardDAV/AddressBookRoot.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCA\DAV\AppInfo\PluginManager; diff --git a/apps/dav/lib/CardDAV/CardDavBackend.php b/apps/dav/lib/CardDAV/CardDavBackend.php index fa7db3750ff9518c3e3a633735cfa76677dd1bed..13926ef12ce38d0d5ec9b66048ae7fa0110d0e2b 100644 --- a/apps/dav/lib/CardDAV/CardDavBackend.php +++ b/apps/dav/lib/CardDAV/CardDavBackend.php @@ -5,10 +5,11 @@ * @author Arne Hamann * @author Arthur Schiwon * @author Björn Schießle + * @author Chih-Hsuan Yen * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author matt <34400929+call-me-matt@users.noreply.github.com> * @author Morris Jobke * @author Robin Appelman @@ -32,7 +33,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCA\DAV\Connector\Sabre\Principal; diff --git a/apps/dav/lib/CardDAV/ContactsManager.php b/apps/dav/lib/CardDAV/ContactsManager.php index 20616a65edc9748dd2b58908cbeb4f1eb1010018..bed1e676337dd383e948b61c9f5aa8e7e219e967 100644 --- a/apps/dav/lib/CardDAV/ContactsManager.php +++ b/apps/dav/lib/CardDAV/ContactsManager.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCP\Contacts\IManager; diff --git a/apps/dav/lib/CardDAV/Converter.php b/apps/dav/lib/CardDAV/Converter.php index f9ef0bb8cde9a0febae66324d9d14178df0ae5c7..340e3127f0a765054f7bce31b4ab3aa349f9ac84 100644 --- a/apps/dav/lib/CardDAV/Converter.php +++ b/apps/dav/lib/CardDAV/Converter.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Arthur Schiwon * @author Bjoern Schiessle * @author Christoph Wurst * @author Joas Schilling @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use Exception; diff --git a/apps/dav/lib/CardDAV/HasPhotoPlugin.php b/apps/dav/lib/CardDAV/HasPhotoPlugin.php index a77a75c6cc6593259123214eec39172e6dcd69e1..528fcb36bf5962a327c5dbb8c6edba1b33d6d34e 100644 --- a/apps/dav/lib/CardDAV/HasPhotoPlugin.php +++ b/apps/dav/lib/CardDAV/HasPhotoPlugin.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CardDAV; use Sabre\CardDAV\Card; diff --git a/apps/dav/lib/CardDAV/ImageExportPlugin.php b/apps/dav/lib/CardDAV/ImageExportPlugin.php index 17e544a85bc821bb1e1d643e83e37c71bc175125..4caf234e3465b97ec382040407ab73c65888fd70 100644 --- a/apps/dav/lib/CardDAV/ImageExportPlugin.php +++ b/apps/dav/lib/CardDAV/ImageExportPlugin.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCP\Files\NotFoundException; diff --git a/apps/dav/lib/CardDAV/Integration/ExternalAddressBook.php b/apps/dav/lib/CardDAV/Integration/ExternalAddressBook.php index 3f276dc7a14f23848773732845442a4ffadb30dd..b1deb638f3daffb4bfca009114e20ba2317003b6 100644 --- a/apps/dav/lib/CardDAV/Integration/ExternalAddressBook.php +++ b/apps/dav/lib/CardDAV/Integration/ExternalAddressBook.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Christoph Wurst * * @author Christoph Wurst * @author Georg Ehrke @@ -17,7 +17,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php b/apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php index 4fb3ccf533767db0da6c3c11499115045787c184..0560c13c05c409885045656e7baf916f753c8ca6 100644 --- a/apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php +++ b/apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Christoph Wurst * * @author Christoph Wurst * @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/CardDAV/MultiGetExportPlugin.php b/apps/dav/lib/CardDAV/MultiGetExportPlugin.php index 94a169602b86d255172b37e9548763f01cdd12e3..62c4f7e817878ac1179dd7bfd1f42cb99c6c5c27 100644 --- a/apps/dav/lib/CardDAV/MultiGetExportPlugin.php +++ b/apps/dav/lib/CardDAV/MultiGetExportPlugin.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2018 John Molakvoæ * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CardDAV; use Sabre\DAV; diff --git a/apps/dav/lib/CardDAV/PhotoCache.php b/apps/dav/lib/CardDAV/PhotoCache.php index 9b687658d5fffc603b5cb92ec733718f5372cad0..0761a69d60f82bfc0d61ae239631cbf19743c229 100644 --- a/apps/dav/lib/CardDAV/PhotoCache.php +++ b/apps/dav/lib/CardDAV/PhotoCache.php @@ -1,13 +1,13 @@ * * @author Arthur Schiwon * @author Christoph Wurst * @author Daniel Kesselberg * @author Jacob Neplokh * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @@ -20,14 +20,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CardDAV; use OCP\Files\IAppData; diff --git a/apps/dav/lib/CardDAV/Plugin.php b/apps/dav/lib/CardDAV/Plugin.php index 6079b1a42a87ed6bb2de6a95c7c4bdaff08566c5..df8f7e6a4369995349ab84435a80881b832653a1 100644 --- a/apps/dav/lib/CardDAV/Plugin.php +++ b/apps/dav/lib/CardDAV/Plugin.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Georg Ehrke - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCA\DAV\CardDAV\Xml\Groups; diff --git a/apps/dav/lib/CardDAV/SyncService.php b/apps/dav/lib/CardDAV/SyncService.php index 2cbdba2b119e8e462a64c43652bf90841302fae2..73bfaf01b604e253f53069d93a8630df9610ffa4 100644 --- a/apps/dav/lib/CardDAV/SyncService.php +++ b/apps/dav/lib/CardDAV/SyncService.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OC\Accounts\AccountManager; diff --git a/apps/dav/lib/CardDAV/SystemAddressbook.php b/apps/dav/lib/CardDAV/SystemAddressbook.php index 5b9521527111ee0fda01abc0307a31a0faf02306..502e353acb313696a561c895c7fe9900d37a282f 100644 --- a/apps/dav/lib/CardDAV/SystemAddressbook.php +++ b/apps/dav/lib/CardDAV/SystemAddressbook.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018, Roeland Jago Douma * - * @author Daniel Calviño Sánchez + * @author Joas Schilling * @author Julius Härtl * @author Roeland Jago Douma * @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\CardDAV; use OCP\IConfig; diff --git a/apps/dav/lib/CardDAV/UserAddressBooks.php b/apps/dav/lib/CardDAV/UserAddressBooks.php index ce03ce43548635f8cd0ab6e45d5c68478524a8ed..9895730112017576a61b612f0f9c807c947b2670 100644 --- a/apps/dav/lib/CardDAV/UserAddressBooks.php +++ b/apps/dav/lib/CardDAV/UserAddressBooks.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCA\DAV\AppInfo\PluginManager; diff --git a/apps/dav/lib/CardDAV/Xml/Groups.php b/apps/dav/lib/CardDAV/Xml/Groups.php index e23ff321c1e195eca319ba6e1df884bb996c0bd5..bde361293826cb57fc056e047b0f310199332b4a 100644 --- a/apps/dav/lib/CardDAV/Xml/Groups.php +++ b/apps/dav/lib/CardDAV/Xml/Groups.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV\Xml; use Sabre\Xml\Writer; diff --git a/apps/dav/lib/Command/CreateAddressBook.php b/apps/dav/lib/Command/CreateAddressBook.php index 21128745b2669994c5cb5ab2a25544cba316209e..3d56d95868dd1f89d3a601b1cf4833b601dabf72 100644 --- a/apps/dav/lib/Command/CreateAddressBook.php +++ b/apps/dav/lib/Command/CreateAddressBook.php @@ -5,7 +5,6 @@ * @author Björn Schießle * @author Christoph Wurst * @author Joas Schilling - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Command; use OCA\DAV\CardDAV\CardDavBackend; diff --git a/apps/dav/lib/Command/CreateCalendar.php b/apps/dav/lib/Command/CreateCalendar.php index 5d0eede54b6cfbc9c9276b2169c2365f6a8f772c..4d2012b0d398cc9922be86df6ceeb334b62c14a7 100644 --- a/apps/dav/lib/Command/CreateCalendar.php +++ b/apps/dav/lib/Command/CreateCalendar.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author Roeland Jago Douma * @author Thomas Citharel * @author Thomas Müller * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Command; use OC\KnownUser\KnownUserService; diff --git a/apps/dav/lib/Command/ListCalendars.php b/apps/dav/lib/Command/ListCalendars.php index 1f92b99b716bcd6cbc052c0062102962ff113f55..35581c2d4b21ee8802505801d09b49a9d207811e 100644 --- a/apps/dav/lib/Command/ListCalendars.php +++ b/apps/dav/lib/Command/ListCalendars.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author Roeland Jago Douma * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -17,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Command; use OCA\DAV\CalDAV\BirthdayService; diff --git a/apps/dav/lib/Command/MoveCalendar.php b/apps/dav/lib/Command/MoveCalendar.php index e0b0b63ff662cc284747f8210bea1c9f5f3c8441..e6cba3b3330cb47bbc6f20e266fadac5194f430b 100644 --- a/apps/dav/lib/Command/MoveCalendar.php +++ b/apps/dav/lib/Command/MoveCalendar.php @@ -1,12 +1,11 @@ * * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) - * @author Roeland Jago Douma + * @author John Molakvoæ * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -18,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Command; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/Command/RemoveInvalidShares.php b/apps/dav/lib/Command/RemoveInvalidShares.php index cb78c3545a8df610d0fb9926f8896f8743a9496f..4f9e4836a722faec5bdcabebba1959f9af1be9f5 100644 --- a/apps/dav/lib/Command/RemoveInvalidShares.php +++ b/apps/dav/lib/Command/RemoveInvalidShares.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\DAV\Command; use OCA\DAV\Connector\Sabre\Principal; diff --git a/apps/dav/lib/Command/RetentionCleanupCommand.php b/apps/dav/lib/Command/RetentionCleanupCommand.php index a1f1d201d83ef29c08d1262dab99f8a6042c6a1c..c9beabc974a1fe9a03fc41381b5f7c2f76182636 100644 --- a/apps/dav/lib/Command/RetentionCleanupCommand.php +++ b/apps/dav/lib/Command/RetentionCleanupCommand.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Command; use OCA\DAV\CalDAV\RetentionService; diff --git a/apps/dav/lib/Command/SendEventReminders.php b/apps/dav/lib/Command/SendEventReminders.php index 2c52da13cbe3caaeb44c8eb7fd938fad7e4e8419..697248d71a00a749c59a9a20dbc58ce5b43a2427 100644 --- a/apps/dav/lib/Command/SendEventReminders.php +++ b/apps/dav/lib/Command/SendEventReminders.php @@ -4,7 +4,6 @@ * * @author Georg Ehrke * @author Joas Schilling - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Command; use OCA\DAV\CalDAV\Reminder\ReminderService; diff --git a/apps/dav/lib/Command/SyncBirthdayCalendar.php b/apps/dav/lib/Command/SyncBirthdayCalendar.php index 6536f8439a4c18f966bb376e174214adfcd1ca01..6de5357bfde77b305d44b832282aebd631d4a780 100644 --- a/apps/dav/lib/Command/SyncBirthdayCalendar.php +++ b/apps/dav/lib/Command/SyncBirthdayCalendar.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Command; use OCA\DAV\CalDAV\BirthdayService; diff --git a/apps/dav/lib/Command/SyncSystemAddressBook.php b/apps/dav/lib/Command/SyncSystemAddressBook.php index ec17c113a2b230e49cc6f7550b13d53ebbdb7383..272cca5a08ed11c68a4be738e1ebf7c93f96129f 100644 --- a/apps/dav/lib/Command/SyncSystemAddressBook.php +++ b/apps/dav/lib/Command/SyncSystemAddressBook.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Command; use OCA\DAV\CardDAV\SyncService; diff --git a/apps/dav/lib/Comments/CommentNode.php b/apps/dav/lib/Comments/CommentNode.php index 0ea15d3b1d05951e971027aad70c369bf02922f0..af76027671e06a178745b27a6b3fe80f48750bc0 100644 --- a/apps/dav/lib/Comments/CommentNode.php +++ b/apps/dav/lib/Comments/CommentNode.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Comments; use OCP\Comments\IComment; diff --git a/apps/dav/lib/Comments/CommentsPlugin.php b/apps/dav/lib/Comments/CommentsPlugin.php index 5937a2b9afcbe3846b8d4d7b97c1bb1d8c6ce919..a49327518979c8aef9220160dc71b1d41d7cac37 100644 --- a/apps/dav/lib/Comments/CommentsPlugin.php +++ b/apps/dav/lib/Comments/CommentsPlugin.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Comments; use OCP\Comments\IComment; diff --git a/apps/dav/lib/Comments/EntityCollection.php b/apps/dav/lib/Comments/EntityCollection.php index b68e3b9cf469c1f76f784df93fb02c8dad4be2cf..d9b06e1240c7026c1409f616aa28f1cc156f5f9f 100644 --- a/apps/dav/lib/Comments/EntityCollection.php +++ b/apps/dav/lib/Comments/EntityCollection.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Comments; use OCP\Comments\ICommentsManager; diff --git a/apps/dav/lib/Comments/EntityTypeCollection.php b/apps/dav/lib/Comments/EntityTypeCollection.php index 3e4b3ff9a325ee4bb2146d25d542722c5f796414..c9df2a068d78abad72e7616cb6898bc5d653eadb 100644 --- a/apps/dav/lib/Comments/EntityTypeCollection.php +++ b/apps/dav/lib/Comments/EntityTypeCollection.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Comments; use OCP\Comments\ICommentsManager; diff --git a/apps/dav/lib/Comments/RootCollection.php b/apps/dav/lib/Comments/RootCollection.php index 65ec4fe8f1b03866e87fbb1b0a8b864a20948c70..e8e890696ebd3e95317b9c492bc53ec584418e1f 100644 --- a/apps/dav/lib/Comments/RootCollection.php +++ b/apps/dav/lib/Comments/RootCollection.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Comments; use OCP\Comments\CommentsEntityEvent; diff --git a/apps/dav/lib/Connector/LegacyDAVACL.php b/apps/dav/lib/Connector/LegacyDAVACL.php index fd74daaeca11e2be6e3185a6bbdaefb2ffd98fae..da570b235de9289e609ec9c1f605b0e18ac3ca0f 100644 --- a/apps/dav/lib/Connector/LegacyDAVACL.php +++ b/apps/dav/lib/Connector/LegacyDAVACL.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector; use OCA\DAV\Connector\Sabre\DavAclPlugin; diff --git a/apps/dav/lib/Connector/PublicAuth.php b/apps/dav/lib/Connector/PublicAuth.php index c7de392dbb1cb8be18cceeded89571d5185f153b..74d65c1669f0e53783268afd1d58d7a713eac724 100644 --- a/apps/dav/lib/Connector/PublicAuth.php +++ b/apps/dav/lib/Connector/PublicAuth.php @@ -7,7 +7,6 @@ * @author Joas Schilling * @author Lukas Reschke * @author Maxence Lange - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller @@ -28,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector; use OCP\IRequest; diff --git a/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php b/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php index e209f7f1af6bd04b563f1a5e65a2ddf3dbd4deed..a71725af121f08b5660f1739a14aef0e16ce3ac1 100644 --- a/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php +++ b/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\DAV\CorePlugin; diff --git a/apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php b/apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php index 28264b050574ebf71793b9461b4ba4f274b6fa6f..244e5de0683eab05129b4953650f96ed56055fa0 100644 --- a/apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php +++ b/apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Georg Ehrke - * @author Morris Jobke * @author Robin Appelman * @author Thomas Müller * @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCP\App\IAppManager; diff --git a/apps/dav/lib/Connector/Sabre/Auth.php b/apps/dav/lib/Connector/Sabre/Auth.php index fd741dbba36f523c4e6bb3041258f1949017dd45..30a27f672dd7c2d1d20b8fbc4233a7020b888814 100644 --- a/apps/dav/lib/Connector/Sabre/Auth.php +++ b/apps/dav/lib/Connector/Sabre/Auth.php @@ -13,7 +13,6 @@ * @author Michael Gapczynski * @author Morris Jobke * @author Robin Appelman - * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry * @@ -32,7 +31,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Exception; diff --git a/apps/dav/lib/Connector/Sabre/BearerAuth.php b/apps/dav/lib/Connector/Sabre/BearerAuth.php index 656d9ce7cdaa1ba95c8df62779e57c2306156fe9..d28a9cfdb84db3271f512262dd305900885e0005 100644 --- a/apps/dav/lib/Connector/Sabre/BearerAuth.php +++ b/apps/dav/lib/Connector/Sabre/BearerAuth.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Connector\Sabre; use OCP\IRequest; diff --git a/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php b/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php index 4d2cdd1477ca7ca8b27670766f1636e125e3a75f..8e2ea4d4e161b7c337aa051fb6d335cc5e3f1258 100644 --- a/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php +++ b/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCP\IConfig; diff --git a/apps/dav/lib/Connector/Sabre/CachingTree.php b/apps/dav/lib/Connector/Sabre/CachingTree.php index 811ce21b923b71d5852d2fadec687437d50c007a..eb1233d35408b255f280c062037f08accb886230 100644 --- a/apps/dav/lib/Connector/Sabre/CachingTree.php +++ b/apps/dav/lib/Connector/Sabre/CachingTree.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\DAV\Tree; diff --git a/apps/dav/lib/Connector/Sabre/ChecksumList.php b/apps/dav/lib/Connector/Sabre/ChecksumList.php index 2e547be698717a847e3735b5906e8e8c837033ca..74cdc98ef4f9112f44486db8b95375ce027e10f3 100644 --- a/apps/dav/lib/Connector/Sabre/ChecksumList.php +++ b/apps/dav/lib/Connector/Sabre/ChecksumList.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\Xml\Writer; diff --git a/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php b/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php index add69367fc8a3bf26e847bb45fdfa59676051176..82980553fa8f196af92ac1b6a85da97ab993f3a7 100644 --- a/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php +++ b/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCP\Comments\ICommentsManager; diff --git a/apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php b/apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php index 0da15c113eeb8569eb8dfde3e48865b6fe390f7b..029e631f4d90ee96ea9c52baa045e5ff4aeee4de 100644 --- a/apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php +++ b/apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\DAV\Exception\NotFound; diff --git a/apps/dav/lib/Connector/Sabre/DavAclPlugin.php b/apps/dav/lib/Connector/Sabre/DavAclPlugin.php index d1a8531265824dd74b4f52f71b092d46e11c41ff..6842975835dfd647f5f95449a1d4f0c5657bd053 100644 --- a/apps/dav/lib/Connector/Sabre/DavAclPlugin.php +++ b/apps/dav/lib/Connector/Sabre/DavAclPlugin.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCA\DAV\CardDAV\AddressBook; diff --git a/apps/dav/lib/Connector/Sabre/Directory.php b/apps/dav/lib/Connector/Sabre/Directory.php index 98705c577928ca0646c601b08e06af252a0ace00..3ae4416d3632f7bb5e0d1ee141e6149a6b11318e 100644 --- a/apps/dav/lib/Connector/Sabre/Directory.php +++ b/apps/dav/lib/Connector/Sabre/Directory.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OC\Files\Mount\MoveableMount; diff --git a/apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php b/apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php index 5158fb424105c7d7be714f178fd96923a8d14df9..3a8469e99b42374a4afeff9a21d0172cb069c716 100644 --- a/apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php +++ b/apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\HTTP\RequestInterface; diff --git a/apps/dav/lib/Connector/Sabre/Exception/EntityTooLarge.php b/apps/dav/lib/Connector/Sabre/Exception/EntityTooLarge.php index c2b51a93b3564dae789e9ccd1c565a09743ae64b..4fc3399ca810ef6422f26c6d19e1973d09d36770 100644 --- a/apps/dav/lib/Connector/Sabre/Exception/EntityTooLarge.php +++ b/apps/dav/lib/Connector/Sabre/Exception/EntityTooLarge.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Morris Jobke - * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry * @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre\Exception; /** diff --git a/apps/dav/lib/Connector/Sabre/Exception/FileLocked.php b/apps/dav/lib/Connector/Sabre/Exception/FileLocked.php index 02ad31d9f75984ab10a8033f6bfd0f25ca431e16..36063da8d65733fcc14fbb55dc701dd5982dc661 100644 --- a/apps/dav/lib/Connector/Sabre/Exception/FileLocked.php +++ b/apps/dav/lib/Connector/Sabre/Exception/FileLocked.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre\Exception; use Exception; diff --git a/apps/dav/lib/Connector/Sabre/Exception/Forbidden.php b/apps/dav/lib/Connector/Sabre/Exception/Forbidden.php index 12f14f4ffd7c264ee73f5cdcbfcbfc06008d32b2..aabd5fda2fb8909d64992862bb3b16f7f7b31797 100644 --- a/apps/dav/lib/Connector/Sabre/Exception/Forbidden.php +++ b/apps/dav/lib/Connector/Sabre/Exception/Forbidden.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre\Exception; class Forbidden extends \Sabre\DAV\Exception\Forbidden { diff --git a/apps/dav/lib/Connector/Sabre/Exception/InvalidPath.php b/apps/dav/lib/Connector/Sabre/Exception/InvalidPath.php index 3169e53859de2cf4162ad297c4d90417978863e1..c504483d45af9bfed011a24e0a769f5ea4371725 100644 --- a/apps/dav/lib/Connector/Sabre/Exception/InvalidPath.php +++ b/apps/dav/lib/Connector/Sabre/Exception/InvalidPath.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre\Exception; use Sabre\DAV\Exception; diff --git a/apps/dav/lib/Connector/Sabre/Exception/PasswordLoginForbidden.php b/apps/dav/lib/Connector/Sabre/Exception/PasswordLoginForbidden.php index 3af51da65df4349952bf954b61e4a627bdc3212e..7c00d15f6273e7a6de13a8ebf1ab7f3d30636c86 100644 --- a/apps/dav/lib/Connector/Sabre/Exception/PasswordLoginForbidden.php +++ b/apps/dav/lib/Connector/Sabre/Exception/PasswordLoginForbidden.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre\Exception; use DOMElement; diff --git a/apps/dav/lib/Connector/Sabre/Exception/UnsupportedMediaType.php b/apps/dav/lib/Connector/Sabre/Exception/UnsupportedMediaType.php index 8c8a6cc3a03789c76e2d1301d0456db3891a9818..a7e935d249703947c7fda0348079acb5da5c0cac 100644 --- a/apps/dav/lib/Connector/Sabre/Exception/UnsupportedMediaType.php +++ b/apps/dav/lib/Connector/Sabre/Exception/UnsupportedMediaType.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Morris Jobke - * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry * @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre\Exception; /** diff --git a/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php b/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php index 94ca86c316cc92c9bc04fa3bd36b9c1c7bbf0254..b4df1f582dbe78d05518d3221a3d2db6ff50929c 100644 --- a/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php +++ b/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCA\DAV\Connector\Sabre\Exception\FileLocked; diff --git a/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php b/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php index ee7e5722aeda69abbf232950c70d9922a9b879b8..d05cd6d2e6d3550db56798ffe060b0825c1369d1 100644 --- a/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php +++ b/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\DAV\INode; diff --git a/apps/dav/lib/Connector/Sabre/File.php b/apps/dav/lib/Connector/Sabre/File.php index 19bcb53d9cb0cae0cdd5a935b300da009258df60..5ff5f831eb50b9251f01d5fba1aa2f87bb549a26 100644 --- a/apps/dav/lib/Connector/Sabre/File.php +++ b/apps/dav/lib/Connector/Sabre/File.php @@ -36,7 +36,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Icewind\Streams\CallbackWrapper; diff --git a/apps/dav/lib/Connector/Sabre/FilesPlugin.php b/apps/dav/lib/Connector/Sabre/FilesPlugin.php index fa948f38624a26e671a6e20ed76969e1cf52fb0d..2a1412a8d97d36af23f62ab9ea95c72eb165f468 100644 --- a/apps/dav/lib/Connector/Sabre/FilesPlugin.php +++ b/apps/dav/lib/Connector/Sabre/FilesPlugin.php @@ -31,7 +31,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OC\AppFramework\Http\Request; diff --git a/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php b/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php index 35d1d1743ae560638f5fb9c038fbd5a7f10df09e..9524fe59746b32b91f8d9be206ed26cbe2840593 100644 --- a/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php +++ b/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OC\Files\View; diff --git a/apps/dav/lib/Connector/Sabre/LockPlugin.php b/apps/dav/lib/Connector/Sabre/LockPlugin.php index 89c1d0b8f1b32f3b05d44edeba563dc43317bfec..6305b0ec1380adc567038c9c485d53b2a1885041 100644 --- a/apps/dav/lib/Connector/Sabre/LockPlugin.php +++ b/apps/dav/lib/Connector/Sabre/LockPlugin.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCA\DAV\Connector\Sabre\Exception\FileLocked; diff --git a/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php b/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php index 5e6f8ec73b09b91384ad34c6ca679a2ab2ea8af3..e7e3b273b98b11ff48e98c02bb544135528d3238 100644 --- a/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php +++ b/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php @@ -7,6 +7,7 @@ * @author Joas Schilling * @author Morris Jobke * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * @author Vincent Petry * * @license AGPL-3.0 @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCP\IConfig; diff --git a/apps/dav/lib/Connector/Sabre/Node.php b/apps/dav/lib/Connector/Sabre/Node.php index b713d0d485b9eff826e25073cd923ab9992fe898..aa03f42dc35c0dbed9c24ec94a0a138080b23325 100644 --- a/apps/dav/lib/Connector/Sabre/Node.php +++ b/apps/dav/lib/Connector/Sabre/Node.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Arthur Schiwon * @author Bart Visscher * @author Björn Schießle * @author Christoph Wurst @@ -34,7 +33,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OC\Files\Mount\MoveableMount; diff --git a/apps/dav/lib/Connector/Sabre/ObjectTree.php b/apps/dav/lib/Connector/Sabre/ObjectTree.php index 5e4f757492d00987aa4b53713f68fdef5581191d..c129371e376320ab6956acd63ae640d2d2a8cb31 100644 --- a/apps/dav/lib/Connector/Sabre/ObjectTree.php +++ b/apps/dav/lib/Connector/Sabre/ObjectTree.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OC\Files\FileInfo; diff --git a/apps/dav/lib/Connector/Sabre/Principal.php b/apps/dav/lib/Connector/Sabre/Principal.php index 1ebe853e465116008c7f368b72503f494dfcce24..5e81e155d74f6bf1f847dd93fd78cecf3bbe654f 100644 --- a/apps/dav/lib/Connector/Sabre/Principal.php +++ b/apps/dav/lib/Connector/Sabre/Principal.php @@ -10,8 +10,10 @@ * @author Daniel Kesselberg * @author Georg Ehrke * @author Jakob Sack + * @author Joas Schilling * @author Julius Härtl * @author Lukas Reschke + * @author Maxence Lange * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller @@ -33,7 +35,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OC\KnownUser\KnownUserService; diff --git a/apps/dav/lib/Connector/Sabre/PropfindCompressionPlugin.php b/apps/dav/lib/Connector/Sabre/PropfindCompressionPlugin.php index 7d6679acf9977ef703364e7999ab31a2a632a769..d0251b2755fcd3dd81f8ec44b25e36f7d15e4e5c 100644 --- a/apps/dav/lib/Connector/Sabre/PropfindCompressionPlugin.php +++ b/apps/dav/lib/Connector/Sabre/PropfindCompressionPlugin.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\DAV\ServerPlugin; diff --git a/apps/dav/lib/Connector/Sabre/QuotaPlugin.php b/apps/dav/lib/Connector/Sabre/QuotaPlugin.php index b71dcd729182f1c262bf5920b31192c5345e2469..f2b652e33201ae0009898d04c321fcf61aa89707 100644 --- a/apps/dav/lib/Connector/Sabre/QuotaPlugin.php +++ b/apps/dav/lib/Connector/Sabre/QuotaPlugin.php @@ -1,6 +1,8 @@ * @author Felix Moeller @@ -26,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCA\DAV\Upload\FutureFile; diff --git a/apps/dav/lib/Connector/Sabre/Server.php b/apps/dav/lib/Connector/Sabre/Server.php index 5ae0fa74abf5a9f7d2048e8d8205c87092a76896..6cf6fa954c8db745c7d9655e965efbced677bb94 100644 --- a/apps/dav/lib/Connector/Sabre/Server.php +++ b/apps/dav/lib/Connector/Sabre/Server.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; /** diff --git a/apps/dav/lib/Connector/Sabre/ServerFactory.php b/apps/dav/lib/Connector/Sabre/ServerFactory.php index 8c0145973f221611ad94210a38d1be22bbf08fb6..5a8b109cd381ed6989a3664c12784006a65962b4 100644 --- a/apps/dav/lib/Connector/Sabre/ServerFactory.php +++ b/apps/dav/lib/Connector/Sabre/ServerFactory.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OC\Files\Node\Folder; diff --git a/apps/dav/lib/Connector/Sabre/ShareTypeList.php b/apps/dav/lib/Connector/Sabre/ShareTypeList.php index 75633d9d88d22a177dc04bb7785dec27d4524cca..6fbae0dee4aa2c45ab3078b3da6cbbaaca40fff8 100644 --- a/apps/dav/lib/Connector/Sabre/ShareTypeList.php +++ b/apps/dav/lib/Connector/Sabre/ShareTypeList.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\Xml\Element; diff --git a/apps/dav/lib/Connector/Sabre/ShareeList.php b/apps/dav/lib/Connector/Sabre/ShareeList.php index a8a5bffbcb6e18b11566c49e03d26c4f9928492e..db8c011cc4510514e313d29b072eda5ed4d0ad52 100644 --- a/apps/dav/lib/Connector/Sabre/ShareeList.php +++ b/apps/dav/lib/Connector/Sabre/ShareeList.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Connector\Sabre; use OCP\Share\IShare; diff --git a/apps/dav/lib/Connector/Sabre/SharesPlugin.php b/apps/dav/lib/Connector/Sabre/SharesPlugin.php index 677da9497d8aec1447b559618c39c2a3ea0d1168..503d10aece3e8bc5a3f75b530241ad8f3b702a5f 100644 --- a/apps/dav/lib/Connector/Sabre/SharesPlugin.php +++ b/apps/dav/lib/Connector/Sabre/SharesPlugin.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCA\DAV\Connector\Sabre\Node as DavNode; diff --git a/apps/dav/lib/Connector/Sabre/TagList.php b/apps/dav/lib/Connector/Sabre/TagList.php index f5e195568620bc5d1064d4ed378061bb86a4a209..bbb938fb27d2c7eb1ce0544661e28868f4b03c3b 100644 --- a/apps/dav/lib/Connector/Sabre/TagList.php +++ b/apps/dav/lib/Connector/Sabre/TagList.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Morris Jobke * @author Thomas Müller * @author Vincent Petry * @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\Xml\Element; diff --git a/apps/dav/lib/Connector/Sabre/TagsPlugin.php b/apps/dav/lib/Connector/Sabre/TagsPlugin.php index a2601f5768ac6213acdc5c72289182240895d313..da5dd8749052e5e8448557b99c0c9deff99330b3 100644 --- a/apps/dav/lib/Connector/Sabre/TagsPlugin.php +++ b/apps/dav/lib/Connector/Sabre/TagsPlugin.php @@ -1,6 +1,8 @@ + * @copyright 2014 Vincent Petry * * @author Christoph Wurst * @author Morris Jobke @@ -25,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; /** diff --git a/apps/dav/lib/Controller/BirthdayCalendarController.php b/apps/dav/lib/Controller/BirthdayCalendarController.php index f36ecd189ca85cbe3b04df18cc23ca094da01695..addcc4dd20af586c9ec8c9e066e464f816b0cedb 100644 --- a/apps/dav/lib/Controller/BirthdayCalendarController.php +++ b/apps/dav/lib/Controller/BirthdayCalendarController.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Controller; use OCA\DAV\BackgroundJob\GenerateBirthdayCalendarBackgroundJob; diff --git a/apps/dav/lib/Controller/DirectController.php b/apps/dav/lib/Controller/DirectController.php index 9733c376fa848d800aa82b13e5690f041498ec8f..bd77cef4872adce192332a27cb5afd7f22e62d5a 100644 --- a/apps/dav/lib/Controller/DirectController.php +++ b/apps/dav/lib/Controller/DirectController.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Controller; use OCA\DAV\Db\Direct; diff --git a/apps/dav/lib/Controller/InvitationResponseController.php b/apps/dav/lib/Controller/InvitationResponseController.php index 726ee1c498a3db791bfc1c050f97dbef2c330db2..f6923152dcea616891fc88ee00f25d906b55bf2c 100644 --- a/apps/dav/lib/Controller/InvitationResponseController.php +++ b/apps/dav/lib/Controller/InvitationResponseController.php @@ -8,7 +8,6 @@ declare(strict_types=1); * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -19,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Controller; use OCA\DAV\CalDAV\InvitationResponse\InvitationResponseServer; diff --git a/apps/dav/lib/DAV/CustomPropertiesBackend.php b/apps/dav/lib/DAV/CustomPropertiesBackend.php index b25c33add82f4b10aabfe0f5654455c55eeb362a..d60bfddabfb04741fdfa0beef0484b3a7b290af3 100644 --- a/apps/dav/lib/DAV/CustomPropertiesBackend.php +++ b/apps/dav/lib/DAV/CustomPropertiesBackend.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV; use OCA\DAV\Connector\Sabre\Node; diff --git a/apps/dav/lib/DAV/GroupPrincipalBackend.php b/apps/dav/lib/DAV/GroupPrincipalBackend.php index 1b96f2ee8ba52d24022ad6dd5afcab56d2f2a127..34ac26d7d9725a1aaf4931fb68a03a2aecd6f25f 100644 --- a/apps/dav/lib/DAV/GroupPrincipalBackend.php +++ b/apps/dav/lib/DAV/GroupPrincipalBackend.php @@ -6,8 +6,9 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Georg Ehrke - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma + * @author Thomas Citharel * @author Thomas Müller * * @license AGPL-3.0 @@ -25,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV; use OCP\Constants; diff --git a/apps/dav/lib/DAV/PublicAuth.php b/apps/dav/lib/DAV/PublicAuth.php index 66cfea8add1ad104d85eb9eadfc6ff4c320bb308..83874ab0d4d01a89ee1c791a04db8602b63a4192 100644 --- a/apps/dav/lib/DAV/PublicAuth.php +++ b/apps/dav/lib/DAV/PublicAuth.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV; use Sabre\DAV\Auth\Backend\BackendInterface; diff --git a/apps/dav/lib/DAV/Sharing/Backend.php b/apps/dav/lib/DAV/Sharing/Backend.php index 52fb21210f85ce3222eb39190bd6971b565bf8a8..0f675ea4c151270372ba12530eb8f3477e604593 100644 --- a/apps/dav/lib/DAV/Sharing/Backend.php +++ b/apps/dav/lib/DAV/Sharing/Backend.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV\Sharing; use OCA\DAV\Connector\Sabre\Principal; diff --git a/apps/dav/lib/DAV/Sharing/IShareable.php b/apps/dav/lib/DAV/Sharing/IShareable.php index 58da1c7d65847646d2f96549a049a0195082a699..3833e026696c7b2ba5b26bbbee9bff012a2b9571 100644 --- a/apps/dav/lib/DAV/Sharing/IShareable.php +++ b/apps/dav/lib/DAV/Sharing/IShareable.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV\Sharing; use Sabre\DAV\INode; diff --git a/apps/dav/lib/DAV/Sharing/Plugin.php b/apps/dav/lib/DAV/Sharing/Plugin.php index 88dd817e88b9d340492164783f4c2894d60a5260..a4b2cd3681cc73c2e60b18ac9b23bc01f801ac66 100644 --- a/apps/dav/lib/DAV/Sharing/Plugin.php +++ b/apps/dav/lib/DAV/Sharing/Plugin.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV\Sharing; use OCA\DAV\Connector\Sabre\Auth; diff --git a/apps/dav/lib/DAV/Sharing/Xml/Invite.php b/apps/dav/lib/DAV/Sharing/Xml/Invite.php index d931087c3b25780e1a90780ff065512c7284915e..161a8dd0ebfb5168243a90e414b410cbf342c795 100644 --- a/apps/dav/lib/DAV/Sharing/Xml/Invite.php +++ b/apps/dav/lib/DAV/Sharing/Xml/Invite.php @@ -1,11 +1,12 @@ * @author Lukas Reschke * @author Robin Appelman - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV\Sharing\Xml; use OCA\DAV\DAV\Sharing\Plugin; diff --git a/apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php b/apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php index c736824d85731a163a030b97911c7633eac4a563..eb5d7d4661d10f9c55633be38f4108623e2ac5ad 100644 --- a/apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php +++ b/apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV\Sharing\Xml; use OCA\DAV\DAV\Sharing\Plugin; diff --git a/apps/dav/lib/DAV/SystemPrincipalBackend.php b/apps/dav/lib/DAV/SystemPrincipalBackend.php index 48dec96c6f31e4f0e845ce31d1ba6ec10ad92f98..e5b9a20037f72ecf7e1493d12119809bfde607b3 100644 --- a/apps/dav/lib/DAV/SystemPrincipalBackend.php +++ b/apps/dav/lib/DAV/SystemPrincipalBackend.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Morris Jobke * @author Thomas Müller * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV; use Sabre\DAVACL\PrincipalBackend\AbstractBackend; diff --git a/apps/dav/lib/Db/Direct.php b/apps/dav/lib/Db/Direct.php index 5b96ffe265368e79c5c75d8ef7f9ee94e000c8eb..ca2586ab2e0944095006deeebdb8fd050ae6f400 100644 --- a/apps/dav/lib/Db/Direct.php +++ b/apps/dav/lib/Db/Direct.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Db; use OCP\AppFramework\Db\Entity; diff --git a/apps/dav/lib/Db/DirectMapper.php b/apps/dav/lib/Db/DirectMapper.php index 8192793bb022fc668bc1f2259afaf54becd69bfa..c0ed10b97c625db9d40ae484de07ac5cb32e0302 100644 --- a/apps/dav/lib/Db/DirectMapper.php +++ b/apps/dav/lib/Db/DirectMapper.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Db; use OCP\AppFramework\Db\DoesNotExistException; diff --git a/apps/dav/lib/Direct/DirectFile.php b/apps/dav/lib/Direct/DirectFile.php index b53f0f0bbe66908923b3f9fd7132e606e34b815f..a4a1999aca7155e64790a1221685a71b94c359b6 100644 --- a/apps/dav/lib/Direct/DirectFile.php +++ b/apps/dav/lib/Direct/DirectFile.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2018, Roeland Jago Douma * + * @author Robin Appelman * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Direct; use OCA\DAV\Db\Direct; diff --git a/apps/dav/lib/Direct/DirectHome.php b/apps/dav/lib/Direct/DirectHome.php index f5f9a2e24a884f4af49e18c666e2c6d0fe5c0e9d..a385cd8f39deaa7689962155be83d8e1ebdf4d71 100644 --- a/apps/dav/lib/Direct/DirectHome.php +++ b/apps/dav/lib/Direct/DirectHome.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2018, Roeland Jago Douma * + * @author Robin Appelman * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Direct; use OC\Security\Bruteforce\Throttler; diff --git a/apps/dav/lib/Direct/Server.php b/apps/dav/lib/Direct/Server.php index 82891bc7695dd5c3d3a4bc70deb339fbed317d1e..0ce5798571d2cc0c35cf842d1c39a8bce8d31a15 100644 --- a/apps/dav/lib/Direct/Server.php +++ b/apps/dav/lib/Direct/Server.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Direct; class Server extends \Sabre\DAV\Server { diff --git a/apps/dav/lib/Direct/ServerFactory.php b/apps/dav/lib/Direct/ServerFactory.php index d84bb208d3f388edbf25df048bc07fba94fe0439..05587ab4c2cda3a836c2edd56b4a565e053f8be2 100644 --- a/apps/dav/lib/Direct/ServerFactory.php +++ b/apps/dav/lib/Direct/ServerFactory.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright 2018, Roeland Jago Douma * * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Direct; use OC\Security\Bruteforce\Throttler; diff --git a/apps/dav/lib/Events/AddressBookCreatedEvent.php b/apps/dav/lib/Events/AddressBookCreatedEvent.php index c59675a3bb1de3fe85856927f509f2b4eb2f39d7..86c4cd23640a46261003ff29a523defcf591eafe 100644 --- a/apps/dav/lib/Events/AddressBookCreatedEvent.php +++ b/apps/dav/lib/Events/AddressBookCreatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/AddressBookDeletedEvent.php b/apps/dav/lib/Events/AddressBookDeletedEvent.php index 5e35f6401a36e9df40890e7696b2e5dfd908495e..3c8da6b7bf07e87cc2a3838e0d5ee6799062ced4 100644 --- a/apps/dav/lib/Events/AddressBookDeletedEvent.php +++ b/apps/dav/lib/Events/AddressBookDeletedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/AddressBookShareUpdatedEvent.php b/apps/dav/lib/Events/AddressBookShareUpdatedEvent.php index 100c18ebb597545309f649061b46bc0f4ed231b6..f9f8ff99d40b197586a11603714950305eb75d32 100644 --- a/apps/dav/lib/Events/AddressBookShareUpdatedEvent.php +++ b/apps/dav/lib/Events/AddressBookShareUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/AddressBookUpdatedEvent.php b/apps/dav/lib/Events/AddressBookUpdatedEvent.php index df5e3b29ddee8c073d2a2abec7d9c8dff3bde8f3..c632f1817a83e08642e10b4d7818e2603bb47ee2 100644 --- a/apps/dav/lib/Events/AddressBookUpdatedEvent.php +++ b/apps/dav/lib/Events/AddressBookUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/BeforeFileDirectDownloadedEvent.php b/apps/dav/lib/Events/BeforeFileDirectDownloadedEvent.php index d87aa6b8159b0184058243d160389644673af824..ddb79505ac649002540f8f492a9dba5fcd40bebf 100644 --- a/apps/dav/lib/Events/BeforeFileDirectDownloadedEvent.php +++ b/apps/dav/lib/Events/BeforeFileDirectDownloadedEvent.php @@ -1,9 +1,12 @@ * + * @author Robin Appelman + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\DAV\Events; use OCP\EventDispatcher\Event; diff --git a/apps/dav/lib/Events/CachedCalendarObjectCreatedEvent.php b/apps/dav/lib/Events/CachedCalendarObjectCreatedEvent.php index f070f8abbdc2ceb24238f845206c8ac2612b281c..29e11ddc1464f8b5215e9beac4bb18ba398981fc 100644 --- a/apps/dav/lib/Events/CachedCalendarObjectCreatedEvent.php +++ b/apps/dav/lib/Events/CachedCalendarObjectCreatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/CachedCalendarObjectDeletedEvent.php b/apps/dav/lib/Events/CachedCalendarObjectDeletedEvent.php index 26841cf84ee664d2249347847a56111135a00f65..eaf98df60bfde43429ff96df42c3663ee58a3c64 100644 --- a/apps/dav/lib/Events/CachedCalendarObjectDeletedEvent.php +++ b/apps/dav/lib/Events/CachedCalendarObjectDeletedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/CachedCalendarObjectUpdatedEvent.php b/apps/dav/lib/Events/CachedCalendarObjectUpdatedEvent.php index 178814540e6d99db5971373c317dc392f664740a..d47d75ec1d8fcb8f7c9c23388f8944312ba8026f 100644 --- a/apps/dav/lib/Events/CachedCalendarObjectUpdatedEvent.php +++ b/apps/dav/lib/Events/CachedCalendarObjectUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/CalendarCreatedEvent.php b/apps/dav/lib/Events/CalendarCreatedEvent.php index 2b26fca7648ca3c4a52d6517ffc25cf288c2da39..ba51002f829813a3bd62823f6274b4d31a1c1321 100644 --- a/apps/dav/lib/Events/CalendarCreatedEvent.php +++ b/apps/dav/lib/Events/CalendarCreatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/CalendarDeletedEvent.php b/apps/dav/lib/Events/CalendarDeletedEvent.php index 2f28c95f7a1f00cfff87b45a1edb80c90a583d9f..d6207ac6ee29a089d7a61f8fe23ef59b44085ccd 100644 --- a/apps/dav/lib/Events/CalendarDeletedEvent.php +++ b/apps/dav/lib/Events/CalendarDeletedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/CalendarMovedToTrashEvent.php b/apps/dav/lib/Events/CalendarMovedToTrashEvent.php index cc09ef0f07249bd6fcabdeef0903979724ea4006..c04b383d5bf5a79f181c0762621de5c17b3fb82f 100644 --- a/apps/dav/lib/Events/CalendarMovedToTrashEvent.php +++ b/apps/dav/lib/Events/CalendarMovedToTrashEvent.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Events; use OCP\EventDispatcher\Event; diff --git a/apps/dav/lib/Events/CalendarObjectCreatedEvent.php b/apps/dav/lib/Events/CalendarObjectCreatedEvent.php index a6afd1e063ebc03a016b5acb93f2b966b73d033b..294c778335e56ded036a9f2a5d6f4e7b5f5acaf7 100644 --- a/apps/dav/lib/Events/CalendarObjectCreatedEvent.php +++ b/apps/dav/lib/Events/CalendarObjectCreatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/CalendarObjectDeletedEvent.php b/apps/dav/lib/Events/CalendarObjectDeletedEvent.php index 4f21db4c42a73bea460e602bae10b0cc8391bb42..7a621994b80344f684d5a3b29edec9953c310312 100644 --- a/apps/dav/lib/Events/CalendarObjectDeletedEvent.php +++ b/apps/dav/lib/Events/CalendarObjectDeletedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/CalendarObjectMovedToTrashEvent.php b/apps/dav/lib/Events/CalendarObjectMovedToTrashEvent.php index 91a1fed40196a8d2697cc57eb5005973ea9198da..d7a3b99de825973abd5fa3d0959621421c74f050 100644 --- a/apps/dav/lib/Events/CalendarObjectMovedToTrashEvent.php +++ b/apps/dav/lib/Events/CalendarObjectMovedToTrashEvent.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Events; use OCP\EventDispatcher\Event; diff --git a/apps/dav/lib/Events/CalendarObjectRestoredEvent.php b/apps/dav/lib/Events/CalendarObjectRestoredEvent.php index d86c21e9ce89995469f369899fc5ada447c3b3b1..42f296e64cc9961f24ef87c8b5a0842e3af29490 100644 --- a/apps/dav/lib/Events/CalendarObjectRestoredEvent.php +++ b/apps/dav/lib/Events/CalendarObjectRestoredEvent.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Events; use OCP\EventDispatcher\Event; diff --git a/apps/dav/lib/Events/CalendarObjectUpdatedEvent.php b/apps/dav/lib/Events/CalendarObjectUpdatedEvent.php index 7c30854c55d90a2dea88ae7d604662eaf6a1a9f7..84157afd20a4b847af6f3ded74c9e7484607f31e 100644 --- a/apps/dav/lib/Events/CalendarObjectUpdatedEvent.php +++ b/apps/dav/lib/Events/CalendarObjectUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/CalendarPublishedEvent.php b/apps/dav/lib/Events/CalendarPublishedEvent.php index 563570f9d67e5370266a7e02267f80009158110b..7b3b95f2f777a387ffbfbac335eb15d004cd09f1 100644 --- a/apps/dav/lib/Events/CalendarPublishedEvent.php +++ b/apps/dav/lib/Events/CalendarPublishedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/CalendarRestoredEvent.php b/apps/dav/lib/Events/CalendarRestoredEvent.php index 3d4ac9cb863d4f9a2442c21600c7f96731532075..ef477ac1d4823401219fc73584490eac64c0ec50 100644 --- a/apps/dav/lib/Events/CalendarRestoredEvent.php +++ b/apps/dav/lib/Events/CalendarRestoredEvent.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Events; use OCP\EventDispatcher\Event; diff --git a/apps/dav/lib/Events/CalendarShareUpdatedEvent.php b/apps/dav/lib/Events/CalendarShareUpdatedEvent.php index 7b24fee01b9c77005d512461d6dd3d3640c715b6..a9011bc02735b9033c5fa33204e3355ab6d9ab37 100644 --- a/apps/dav/lib/Events/CalendarShareUpdatedEvent.php +++ b/apps/dav/lib/Events/CalendarShareUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/CalendarUnpublishedEvent.php b/apps/dav/lib/Events/CalendarUnpublishedEvent.php index ae1a8e8cd68d3b85e6c1233b14a28eeeb5bc6fcb..0cea53c6f0dc2c3a5f5bcefa471c1f2523239858 100644 --- a/apps/dav/lib/Events/CalendarUnpublishedEvent.php +++ b/apps/dav/lib/Events/CalendarUnpublishedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/CalendarUpdatedEvent.php b/apps/dav/lib/Events/CalendarUpdatedEvent.php index c109e07bd25c53221c31add9f053c507a8aa2640..ec33412b478c62ebd341ff7163d195aa5df545c2 100644 --- a/apps/dav/lib/Events/CalendarUpdatedEvent.php +++ b/apps/dav/lib/Events/CalendarUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/CardCreatedEvent.php b/apps/dav/lib/Events/CardCreatedEvent.php index 90ae187348b453eb97d287e75bacbd4b09e69fb9..4c6b1714721dd8226935b97f3ca75474563af309 100644 --- a/apps/dav/lib/Events/CardCreatedEvent.php +++ b/apps/dav/lib/Events/CardCreatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/CardDeletedEvent.php b/apps/dav/lib/Events/CardDeletedEvent.php index 97bd7140fb07b757451113e6648355707848cfb9..f4d7e21fab1310293a2ae352d3bf125e16c173e7 100644 --- a/apps/dav/lib/Events/CardDeletedEvent.php +++ b/apps/dav/lib/Events/CardDeletedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/CardUpdatedEvent.php b/apps/dav/lib/Events/CardUpdatedEvent.php index f6be7aed5f4e4f935cce41cd9c3d7cfdb757765a..213419d51a3a0425ef55bc33e9b49b0caf9c079e 100644 --- a/apps/dav/lib/Events/CardUpdatedEvent.php +++ b/apps/dav/lib/Events/CardUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/SabrePluginAuthInitEvent.php b/apps/dav/lib/Events/SabrePluginAuthInitEvent.php index ca3c7b655272014b9ef8c6796ee22e32510de88c..ea1bd95a0f72368b54a860b8c98342eb709cec3d 100644 --- a/apps/dav/lib/Events/SabrePluginAuthInitEvent.php +++ b/apps/dav/lib/Events/SabrePluginAuthInitEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Events; use OCP\EventDispatcher\Event; diff --git a/apps/dav/lib/Events/SubscriptionCreatedEvent.php b/apps/dav/lib/Events/SubscriptionCreatedEvent.php index 7aa54d338998c19df0f01dc342e32d0c5d5669d0..f7fc2101221043509993e6dc415b599fd534c714 100644 --- a/apps/dav/lib/Events/SubscriptionCreatedEvent.php +++ b/apps/dav/lib/Events/SubscriptionCreatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/SubscriptionDeletedEvent.php b/apps/dav/lib/Events/SubscriptionDeletedEvent.php index 228cb94ec01e01da36affb5760b040fdda592f0f..fc31005ac0f2fac347d54fcf84c915ec1d3e65cd 100644 --- a/apps/dav/lib/Events/SubscriptionDeletedEvent.php +++ b/apps/dav/lib/Events/SubscriptionDeletedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Events/SubscriptionUpdatedEvent.php b/apps/dav/lib/Events/SubscriptionUpdatedEvent.php index e725157d4c7b2efd9b79708e63a8671821fff1e5..29231d13a7f72b247d3ebcf588dad9677bc3ab63 100644 --- a/apps/dav/lib/Events/SubscriptionUpdatedEvent.php +++ b/apps/dav/lib/Events/SubscriptionUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Exception/UnsupportedLimitOnInitialSyncException.php b/apps/dav/lib/Exception/UnsupportedLimitOnInitialSyncException.php index 1754ac17c3977d3ccef0cdbac28cfb611034f231..255a06578ac97d394ef863d4b93b1247fc21a03b 100644 --- a/apps/dav/lib/Exception/UnsupportedLimitOnInitialSyncException.php +++ b/apps/dav/lib/Exception/UnsupportedLimitOnInitialSyncException.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2019 Georg Ehrke * * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -14,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Exception; use Sabre\DAV\Exception\InsufficientStorage; diff --git a/apps/dav/lib/Files/BrowserErrorPagePlugin.php b/apps/dav/lib/Files/BrowserErrorPagePlugin.php index 5f9c5916d892cdaa4f171e275302160ca32117f1..b3ce591bd4a8e3b686d1f58b5278b7f208355f20 100644 --- a/apps/dav/lib/Files/BrowserErrorPagePlugin.php +++ b/apps/dav/lib/Files/BrowserErrorPagePlugin.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Files; use OC\AppFramework\Http\Request; diff --git a/apps/dav/lib/Files/FileSearchBackend.php b/apps/dav/lib/Files/FileSearchBackend.php index 7fe049a7b2dc1bc79ff3339a4f931defe552e3a8..1732b0cc85a302aed070834e51bc752f8f91b78e 100644 --- a/apps/dav/lib/Files/FileSearchBackend.php +++ b/apps/dav/lib/Files/FileSearchBackend.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Files; use OC\Files\Search\SearchBinaryOperator; diff --git a/apps/dav/lib/Files/FilesHome.php b/apps/dav/lib/Files/FilesHome.php index 698431b6b14dc4538ce1a65b2187c0e0112919d8..0a781b5589d0d0e01f384a90c66d2606faec61e2 100644 --- a/apps/dav/lib/Files/FilesHome.php +++ b/apps/dav/lib/Files/FilesHome.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Morris Jobke * @author Robin Appelman - * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Files; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/dav/lib/Files/LazySearchBackend.php b/apps/dav/lib/Files/LazySearchBackend.php index 2ec41ccfd1264dd9af2f7500a445becb265ae05d..d84c11306e3604cf957a58d335723516bce15049 100644 --- a/apps/dav/lib/Files/LazySearchBackend.php +++ b/apps/dav/lib/Files/LazySearchBackend.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Files; use SearchDAV\Backend\ISearchBackend; diff --git a/apps/dav/lib/Files/RootCollection.php b/apps/dav/lib/Files/RootCollection.php index 7924299d207a28da1b6a7eacc7cccb3414266100..15498ec26ec372148dfec66bf6e006019bba39f3 100644 --- a/apps/dav/lib/Files/RootCollection.php +++ b/apps/dav/lib/Files/RootCollection.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Files; use OCP\Files\FileInfo; diff --git a/apps/dav/lib/Files/Sharing/FilesDropPlugin.php b/apps/dav/lib/Files/Sharing/FilesDropPlugin.php index 3291a6269dc0237916a0c3d8dd8bb08a53e93309..3ac541bbfd9e0a6645fb15f4f619de3114a781e0 100644 --- a/apps/dav/lib/Files/Sharing/FilesDropPlugin.php +++ b/apps/dav/lib/Files/Sharing/FilesDropPlugin.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Files\Sharing; use OC\Files\View; diff --git a/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php b/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php index 3530e6d9af1914795adcf181d5f82b177bfbfde1..94cd6d29c6c1e37c4af225d515262285a51a960d 100644 --- a/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php +++ b/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Files\Sharing; use OCP\Files\FileInfo; diff --git a/apps/dav/lib/HookManager.php b/apps/dav/lib/HookManager.php index 756d05bedbe5cd7370b31a2a64ce6b94eef73d40..3929fdabbd04cfbbe064fed00db18a8ffc3d7ae1 100644 --- a/apps/dav/lib/HookManager.php +++ b/apps/dav/lib/HookManager.php @@ -6,9 +6,8 @@ * @author Bjoern Schiessle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Robin Appelman - * @author Roeland Jago Douma * @author Thomas Citharel * @author Thomas Müller * @@ -27,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/Listener/ActivityUpdaterListener.php b/apps/dav/lib/Listener/ActivityUpdaterListener.php index 181a5717c9571dab4fb5fc6e9b81c8be1da23b2b..371912ff035b701177ce4919a6e4d8ea8e6c14ed 100644 --- a/apps/dav/lib/Listener/ActivityUpdaterListener.php +++ b/apps/dav/lib/Listener/ActivityUpdaterListener.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Listener; use OCA\DAV\CalDAV\Activity\Backend as ActivityBackend; diff --git a/apps/dav/lib/Listener/AddressbookListener.php b/apps/dav/lib/Listener/AddressbookListener.php index ff86fa55c62cf2ff8c464f522df7ac93bc17ad8b..3c17d399d4eb12c740719c8b4ef5beb5ae1c33a4 100644 --- a/apps/dav/lib/Listener/AddressbookListener.php +++ b/apps/dav/lib/Listener/AddressbookListener.php @@ -1,6 +1,7 @@ * @@ -15,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Listener; use OCA\DAV\CardDAV\Activity\Backend as ActivityBackend; diff --git a/apps/dav/lib/Listener/CalendarContactInteractionListener.php b/apps/dav/lib/Listener/CalendarContactInteractionListener.php index 1a04d44f6c6c829f60993a1bd05923b8e1c196b6..04c759d5c3c67e223c05439dda58de862ee871fd 100644 --- a/apps/dav/lib/Listener/CalendarContactInteractionListener.php +++ b/apps/dav/lib/Listener/CalendarContactInteractionListener.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Listener; use OCA\DAV\Connector\Sabre\Principal; diff --git a/apps/dav/lib/Listener/CalendarDeletionDefaultUpdaterListener.php b/apps/dav/lib/Listener/CalendarDeletionDefaultUpdaterListener.php index 8ffe112628dd424a1eebcaf2ed7a69adac52a5f8..7bb535383c05e3b3185a8122f6530729a2d14a2f 100644 --- a/apps/dav/lib/Listener/CalendarDeletionDefaultUpdaterListener.php +++ b/apps/dav/lib/Listener/CalendarDeletionDefaultUpdaterListener.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Listener; use OCA\DAV\Events\CalendarDeletedEvent; diff --git a/apps/dav/lib/Listener/CalendarObjectReminderUpdaterListener.php b/apps/dav/lib/Listener/CalendarObjectReminderUpdaterListener.php index 8ce6c0243672dfd7bc973d2fa2e282be1fbcb6cc..3c168f6105c23ecb14302bda17a1c05349d7ef24 100644 --- a/apps/dav/lib/Listener/CalendarObjectReminderUpdaterListener.php +++ b/apps/dav/lib/Listener/CalendarObjectReminderUpdaterListener.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Listener; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/Listener/CardListener.php b/apps/dav/lib/Listener/CardListener.php index a73ca8191f707ca7efb71baf4a8e528a284b175a..0281127c8588ede5a9423f756e41013d49a9f5ca 100644 --- a/apps/dav/lib/Listener/CardListener.php +++ b/apps/dav/lib/Listener/CardListener.php @@ -1,6 +1,7 @@ * @@ -15,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Listener; use OCA\DAV\CardDAV\Activity\Provider\Card; diff --git a/apps/dav/lib/Migration/BuildCalendarSearchIndex.php b/apps/dav/lib/Migration/BuildCalendarSearchIndex.php index f731fdf89637543c0fe0fcba499e6043828fa7c4..c8a649f3449c1b23f96b0acd5532035e18770117 100644 --- a/apps/dav/lib/Migration/BuildCalendarSearchIndex.php +++ b/apps/dav/lib/Migration/BuildCalendarSearchIndex.php @@ -2,6 +2,7 @@ /** * @copyright 2017 Georg Ehrke * + * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling * @author Morris Jobke @@ -16,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\BackgroundJob\IJobList; diff --git a/apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php b/apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php index a9002fcc0ceff7c904a9352df865026aea4b1f3e..6a315f2a1505c2e0e0364970e7138c831d5d4ac5 100644 --- a/apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php +++ b/apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php @@ -4,7 +4,6 @@ * * @author Georg Ehrke * @author Joas Schilling - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OC\BackgroundJob\QueuedJob; diff --git a/apps/dav/lib/Migration/BuildSocialSearchIndex.php b/apps/dav/lib/Migration/BuildSocialSearchIndex.php index b7888b423cbcea13ca488a56bf4400d40b2e55fb..ae2eb084e2b8c99356549831cd427bd9de55fab0 100644 --- a/apps/dav/lib/Migration/BuildSocialSearchIndex.php +++ b/apps/dav/lib/Migration/BuildSocialSearchIndex.php @@ -3,6 +3,7 @@ * @copyright 2017 Georg Ehrke * * @author call-me-matt + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -13,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\BackgroundJob\IJobList; diff --git a/apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php b/apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php index 1769ab3b6440f9c763863df6deaa0df10a9a6b29..98afecc3b7d45e76fde63e022f2b3de8a85fb8ac 100644 --- a/apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php +++ b/apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OC\BackgroundJob\QueuedJob; diff --git a/apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php b/apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php index 272a0895e99a54e8e188d3b7b12878f1314ad4f5..5e575347d95f7ddf6fa676120e3fc9a45adb08f7 100644 --- a/apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php +++ b/apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php @@ -2,6 +2,7 @@ /** * @copyright 2017 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * @author Julius Härtl * @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use Doctrine\DBAL\Platforms\OraclePlatform; diff --git a/apps/dav/lib/Migration/ChunkCleanup.php b/apps/dav/lib/Migration/ChunkCleanup.php index 90d3b569591f1a9fd8375ab41f1bd33585cbd757..918023552da019c134b5bf2ab1beb2f1fcbda769 100644 --- a/apps/dav/lib/Migration/ChunkCleanup.php +++ b/apps/dav/lib/Migration/ChunkCleanup.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCA\DAV\BackgroundJob\UploadCleanup; diff --git a/apps/dav/lib/Migration/FixBirthdayCalendarComponent.php b/apps/dav/lib/Migration/FixBirthdayCalendarComponent.php index d7506a14edb39dcd587fbaf77166b77b2a823c92..6aa499c8b1a77a98d1024c08c97f15289a50fed7 100644 --- a/apps/dav/lib/Migration/FixBirthdayCalendarComponent.php +++ b/apps/dav/lib/Migration/FixBirthdayCalendarComponent.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Migration; use OCA\DAV\CalDAV\BirthdayService; diff --git a/apps/dav/lib/Migration/RefreshWebcalJobRegistrar.php b/apps/dav/lib/Migration/RefreshWebcalJobRegistrar.php index 26dbd9895836e07f008ef86b6d97d82b15b727bf..ae93071285975b20ecaf990bf0129493bde30088 100644 --- a/apps/dav/lib/Migration/RefreshWebcalJobRegistrar.php +++ b/apps/dav/lib/Migration/RefreshWebcalJobRegistrar.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCA\DAV\BackgroundJob\RefreshWebcalJob; diff --git a/apps/dav/lib/Migration/RegenerateBirthdayCalendars.php b/apps/dav/lib/Migration/RegenerateBirthdayCalendars.php index 90a34d1130f5b838354fb1f697a59e524d88fab2..29547b09ff7312f815e9de9d2b06c93315abaf1f 100644 --- a/apps/dav/lib/Migration/RegenerateBirthdayCalendars.php +++ b/apps/dav/lib/Migration/RegenerateBirthdayCalendars.php @@ -4,7 +4,6 @@ * * @author Arthur Schiwon * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCA\DAV\BackgroundJob\RegisterRegenerateBirthdayCalendars; diff --git a/apps/dav/lib/Migration/RegisterBuildReminderIndexBackgroundJob.php b/apps/dav/lib/Migration/RegisterBuildReminderIndexBackgroundJob.php index 53087ff467f16bb39eb923cfb9c472a5fbd0f09c..f488d85bde2d138201c7e91668e6fb60d367ccc9 100644 --- a/apps/dav/lib/Migration/RegisterBuildReminderIndexBackgroundJob.php +++ b/apps/dav/lib/Migration/RegisterBuildReminderIndexBackgroundJob.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2019 Georg Ehrke * + * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling * @author Roeland Jago Douma @@ -18,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCA\DAV\BackgroundJob\BuildReminderIndexBackgroundJob; diff --git a/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php b/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php index ef92e4f203193c7d977e722228386ff70f36af4b..36108ddadfaac3cfa57fa707cce26a54c1b28da0 100644 --- a/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php +++ b/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/Migration/RemoveOrphanEventsAndContacts.php b/apps/dav/lib/Migration/RemoveOrphanEventsAndContacts.php index 3e18c4586ea6302131960c8d5df74a65fe490495..4789a74d98a39d1c76feba838ceed1cdc45d3d58 100644 --- a/apps/dav/lib/Migration/RemoveOrphanEventsAndContacts.php +++ b/apps/dav/lib/Migration/RemoveOrphanEventsAndContacts.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/Migration/Version1004Date20170825134824.php b/apps/dav/lib/Migration/Version1004Date20170825134824.php index 8119656159e803d5e39aabfb84b0733ad0334505..a7cbaa78ef23e52619ceb1e0059dd00149787d96 100644 --- a/apps/dav/lib/Migration/Version1004Date20170825134824.php +++ b/apps/dav/lib/Migration/Version1004Date20170825134824.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\DB\ISchemaWrapper; diff --git a/apps/dav/lib/Migration/Version1004Date20170919104507.php b/apps/dav/lib/Migration/Version1004Date20170919104507.php index a581978868c799077dffb87fdec3ee63beabc40b..54548f30acaa5433318836368b0f6ba9af3a4e81 100644 --- a/apps/dav/lib/Migration/Version1004Date20170919104507.php +++ b/apps/dav/lib/Migration/Version1004Date20170919104507.php @@ -1,6 +1,6 @@ * * @author Joas Schilling * @author Morris Jobke @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\DB\ISchemaWrapper; diff --git a/apps/dav/lib/Migration/Version1004Date20170924124212.php b/apps/dav/lib/Migration/Version1004Date20170924124212.php index 0f24f8c30afd180c519f6654fb8556ad04ad0e23..623a92a12ddf14b79b752ca515607a11d96a2197 100644 --- a/apps/dav/lib/Migration/Version1004Date20170924124212.php +++ b/apps/dav/lib/Migration/Version1004Date20170924124212.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\DB\ISchemaWrapper; diff --git a/apps/dav/lib/Migration/Version1004Date20170926103422.php b/apps/dav/lib/Migration/Version1004Date20170926103422.php index 3881e92293502186fe5bf3efdfcac14252e6e113..6d88effc240de97ccf8d72795f520abce7b217a7 100644 --- a/apps/dav/lib/Migration/Version1004Date20170926103422.php +++ b/apps/dav/lib/Migration/Version1004Date20170926103422.php @@ -1,10 +1,9 @@ * * @author Joas Schilling * @author Morris Jobke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\Migration\BigIntMigration; diff --git a/apps/dav/lib/Migration/Version1005Date20180413093149.php b/apps/dav/lib/Migration/Version1005Date20180413093149.php index e23f2c1b1ad3e5b21dd371cc1fe805849ad63fef..1ee767ce547a64019dfdaae681ca15853d53b705 100644 --- a/apps/dav/lib/Migration/Version1005Date20180413093149.php +++ b/apps/dav/lib/Migration/Version1005Date20180413093149.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2018, Roeland Jago Douma * + * @author Christoph Wurst * @author Daniel Kesselberg * @author Roeland Jago Douma * @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\DB\Types; diff --git a/apps/dav/lib/Migration/Version1005Date20180530124431.php b/apps/dav/lib/Migration/Version1005Date20180530124431.php index f75829f1b29f0cb5336c4c4a4c2ca1e137f48a6a..ae057f7459916beb6c969e050d0803007dc2dc16 100644 --- a/apps/dav/lib/Migration/Version1005Date20180530124431.php +++ b/apps/dav/lib/Migration/Version1005Date20180530124431.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\DB\Types; diff --git a/apps/dav/lib/Migration/Version1006Date20180619154313.php b/apps/dav/lib/Migration/Version1006Date20180619154313.php index 02e807a3d78c3f861d008d79b3b6879c873d875f..c607a14c2a998cc0ef34da6b18512b8959309193 100644 --- a/apps/dav/lib/Migration/Version1006Date20180619154313.php +++ b/apps/dav/lib/Migration/Version1006Date20180619154313.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Daniel Kesselberg @@ -17,7 +17,7 @@ * * 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 + * 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 diff --git a/apps/dav/lib/Migration/Version1006Date20180628111625.php b/apps/dav/lib/Migration/Version1006Date20180628111625.php index ab278982d1ad117952056c9862622e7bee158dfb..7ce2edccc28f16d522bd36a568a55d29ec76425a 100644 --- a/apps/dav/lib/Migration/Version1006Date20180628111625.php +++ b/apps/dav/lib/Migration/Version1006Date20180628111625.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2018 Georg Ehrke * + * @author Christoph Wurst * @author Daniel Kesselberg * @author Georg Ehrke * @author Joas Schilling @@ -19,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\DB\Types; diff --git a/apps/dav/lib/Migration/Version1008Date20181030113700.php b/apps/dav/lib/Migration/Version1008Date20181030113700.php index 71b1fc29c2e73a47b2847fe4f46384a1b3db8c60..694f096ff3e299b9761c37f18c1ccf326d4ff7c2 100644 --- a/apps/dav/lib/Migration/Version1008Date20181030113700.php +++ b/apps/dav/lib/Migration/Version1008Date20181030113700.php @@ -1,9 +1,13 @@ * @author Daniel Kesselberg - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -15,15 +19,13 @@ * * 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 + * 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 program. If not, see . * */ -declare(strict_types=1); - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1008Date20181105104826.php b/apps/dav/lib/Migration/Version1008Date20181105104826.php index d229b1f0c3cf321520f3b6d437ca6bf02249e4e6..86ce4c33ce5484cb31a9190d4b9e910f888dccb7 100644 --- a/apps/dav/lib/Migration/Version1008Date20181105104826.php +++ b/apps/dav/lib/Migration/Version1008Date20181105104826.php @@ -1,7 +1,11 @@ * @author Daniel Kesselberg * @author Georg Ehrke * @author Roeland Jago Douma @@ -15,16 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1008Date20181105104833.php b/apps/dav/lib/Migration/Version1008Date20181105104833.php index 6456cbe182c8eb37f930d4b89db5021b3f50d14c..4b4e9cc535e38b7d7610f09ac09f75270fd15bc9 100644 --- a/apps/dav/lib/Migration/Version1008Date20181105104833.php +++ b/apps/dav/lib/Migration/Version1008Date20181105104833.php @@ -1,4 +1,7 @@ . * */ - -declare(strict_types=1); - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1008Date20181105110300.php b/apps/dav/lib/Migration/Version1008Date20181105110300.php index dd3d5eb6b0002188d7e77c4e66e37a3cab431733..e275b2a8e1e04a576de29f916631e655eb5c0a4d 100644 --- a/apps/dav/lib/Migration/Version1008Date20181105110300.php +++ b/apps/dav/lib/Migration/Version1008Date20181105110300.php @@ -1,7 +1,11 @@ * @author Daniel Kesselberg * @author Georg Ehrke * @author Roeland Jago Douma @@ -15,16 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1008Date20181105112049.php b/apps/dav/lib/Migration/Version1008Date20181105112049.php index 67b5ae8c99c74a4ef5a0640ec883b077fcbf5b88..8dd7d695e68ffde078d6b9fea2f42e0d303aaffa 100644 --- a/apps/dav/lib/Migration/Version1008Date20181105112049.php +++ b/apps/dav/lib/Migration/Version1008Date20181105112049.php @@ -1,4 +1,7 @@ . * */ - -declare(strict_types=1); - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1008Date20181114084440.php b/apps/dav/lib/Migration/Version1008Date20181114084440.php index d8224a72383bd52c94bfb2f445c6e0cb0ca7a472..91f4211e3fa5b2e3845c0cd07454db754161515e 100644 --- a/apps/dav/lib/Migration/Version1008Date20181114084440.php +++ b/apps/dav/lib/Migration/Version1008Date20181114084440.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1011Date20190725113607.php b/apps/dav/lib/Migration/Version1011Date20190725113607.php index cf23b4f00fa27c562ab985d59e5006601d8e7f8c..1191f0e8878f0cce8fa96d6c57bb7d9fef6a5d74 100644 --- a/apps/dav/lib/Migration/Version1011Date20190725113607.php +++ b/apps/dav/lib/Migration/Version1011Date20190725113607.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Georg Ehrke * * @author Christoph Wurst * @author Daniel Kesselberg @@ -19,7 +19,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Migration/Version1011Date20190806104428.php b/apps/dav/lib/Migration/Version1011Date20190806104428.php index c5b6fc5b45f7309797bc01390ed81acabdda1037..a6f8772ec0858459fbbdcaae4bccc39462cf0abb 100644 --- a/apps/dav/lib/Migration/Version1011Date20190806104428.php +++ b/apps/dav/lib/Migration/Version1011Date20190806104428.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Roeland Jago Douma * * @author Christoph Wurst * @author Daniel Kesselberg @@ -19,7 +19,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Migration/Version1012Date20190808122342.php b/apps/dav/lib/Migration/Version1012Date20190808122342.php index d3b4304e571c8a447861c76ae385c2e490566163..7bb39db6bf11bdda4489b7eac39fb4aa9cf226ba 100644 --- a/apps/dav/lib/Migration/Version1012Date20190808122342.php +++ b/apps/dav/lib/Migration/Version1012Date20190808122342.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2019, Georg Ehrke * + * @author Christoph Wurst * @author Daniel Kesselberg * @author Georg Ehrke * @author Joas Schilling @@ -19,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\DB\Types; diff --git a/apps/dav/lib/Migration/Version1016Date20201109085907.php b/apps/dav/lib/Migration/Version1016Date20201109085907.php index fd8996d5e2241dfb9c332851a96f47215a23509a..6828c71301a7edeb062784b29f38451fe75e6cf3 100644 --- a/apps/dav/lib/Migration/Version1016Date20201109085907.php +++ b/apps/dav/lib/Migration/Version1016Date20201109085907.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1017Date20210216083742.php b/apps/dav/lib/Migration/Version1017Date20210216083742.php index 20e6ab3bfe8c297f457fa8e10b54bde3eff9b9df..c5347d773d11556d6241e63ded9faea933dc42ef 100644 --- a/apps/dav/lib/Migration/Version1017Date20210216083742.php +++ b/apps/dav/lib/Migration/Version1017Date20210216083742.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1018Date20210312100735.php b/apps/dav/lib/Migration/Version1018Date20210312100735.php index 0bf160fb5177e57d014cfa9a3ecd8e5210428a06..b0ea5146caa5c5273618737043c296dd45bdf376 100644 --- a/apps/dav/lib/Migration/Version1018Date20210312100735.php +++ b/apps/dav/lib/Migration/Version1018Date20210312100735.php @@ -2,6 +2,27 @@ declare(strict_types=1); +/** + * @copyright Copyright (c) 2016 Christoph Wurst + * + * @author Christoph Wurst + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Provisioning/Apple/AppleProvisioningNode.php b/apps/dav/lib/Provisioning/Apple/AppleProvisioningNode.php index e8f22bba358c9318c9ded7114f0d544d36a0e441..4d33367b3457c793e711100b68970be3e8805a2c 100644 --- a/apps/dav/lib/Provisioning/Apple/AppleProvisioningNode.php +++ b/apps/dav/lib/Provisioning/Apple/AppleProvisioningNode.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Provisioning\Apple; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php index e25f42c31e79247e74fe678630b100e0fa180208..f92bc4f3a0d4c57fad113b243431b307f7399862 100644 --- a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php +++ b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php @@ -6,6 +6,7 @@ * @author Georg Ehrke * @author Morris Jobke * @author Nils Wittenbrink + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Provisioning\Apple; use OCP\IL10N; diff --git a/apps/dav/lib/RootCollection.php b/apps/dav/lib/RootCollection.php index dcc2256680996b9421cd96cd4a8cef7f6af8d67e..aa81d2ff2222b06d1c0f7006bae0991c8f853fe8 100644 --- a/apps/dav/lib/RootCollection.php +++ b/apps/dav/lib/RootCollection.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV; use OC\KnownUser\KnownUserService; diff --git a/apps/dav/lib/Search/ACalendarSearchProvider.php b/apps/dav/lib/Search/ACalendarSearchProvider.php index f5b24e069bd70746806abe5bf11a958c13a64bbf..91904d5e8d6ae27f64bf345c56f2bf04b47fdb77 100644 --- a/apps/dav/lib/Search/ACalendarSearchProvider.php +++ b/apps/dav/lib/Search/ACalendarSearchProvider.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Search/ContactsSearchProvider.php b/apps/dav/lib/Search/ContactsSearchProvider.php index d92226aa1b1a29ccb6158403fd3d3cc92ba177dd..a7c2969016b472eec9881b0b2751cc319e6282ad 100644 --- a/apps/dav/lib/Search/ContactsSearchProvider.php +++ b/apps/dav/lib/Search/ContactsSearchProvider.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -18,7 +18,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Search/EventsSearchProvider.php b/apps/dav/lib/Search/EventsSearchProvider.php index fc9d2d05e8e77a8a2f7f052a196267f263b53ab9..5cfa7d30c5ae173acccab59c3910928823f9015f 100644 --- a/apps/dav/lib/Search/EventsSearchProvider.php +++ b/apps/dav/lib/Search/EventsSearchProvider.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -18,7 +18,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Search/TasksSearchProvider.php b/apps/dav/lib/Search/TasksSearchProvider.php index b9ec899712037bd37cedb3815b107d6b4f7c49c4..c8f1d0d288b62f6740cbd1aa828b16c9d37ac6de 100644 --- a/apps/dav/lib/Search/TasksSearchProvider.php +++ b/apps/dav/lib/Search/TasksSearchProvider.php @@ -8,7 +8,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -19,7 +19,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php index 50c643801845238438389d77881a377dfe4f9716..9193da49b48cc7b9f04746d5bb4e8a9de03cf696 100644 --- a/apps/dav/lib/Server.php +++ b/apps/dav/lib/Server.php @@ -8,7 +8,7 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman @@ -32,7 +32,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV; use OCA\DAV\AppInfo\PluginManager; diff --git a/apps/dav/lib/Settings/CalDAVSettings.php b/apps/dav/lib/Settings/CalDAVSettings.php index f7bad2e2e2cc05d2e086afae013fe180a38c49b0..d47698efd91bb17200025baf34f659b65cf4bf3c 100644 --- a/apps/dav/lib/Settings/CalDAVSettings.php +++ b/apps/dav/lib/Settings/CalDAVSettings.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Settings; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/dav/lib/Storage/PublicOwnerWrapper.php b/apps/dav/lib/Storage/PublicOwnerWrapper.php index b8da4c53eca529b863d421d72a0bcb517f9e4c44..10bcd20de055f0dc2da939634111d2baa2ce85ab 100644 --- a/apps/dav/lib/Storage/PublicOwnerWrapper.php +++ b/apps/dav/lib/Storage/PublicOwnerWrapper.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Storage; use OC\Files\Storage\Wrapper\Wrapper; diff --git a/apps/dav/lib/SystemTag/SystemTagMappingNode.php b/apps/dav/lib/SystemTag/SystemTagMappingNode.php index 414e062f3cb74277b8ef26c1ac708c502bf98448..344ff1dbc70a903c953778aca1198de83197e781 100644 --- a/apps/dav/lib/SystemTag/SystemTagMappingNode.php +++ b/apps/dav/lib/SystemTag/SystemTagMappingNode.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\SystemTag; use OCP\IUser; diff --git a/apps/dav/lib/SystemTag/SystemTagNode.php b/apps/dav/lib/SystemTag/SystemTagNode.php index c588f506c3cdedea165228b54ccc87dbc17c9d9d..a31deb59a93a8ebfea2ee5ff647fc2ffebc316a6 100644 --- a/apps/dav/lib/SystemTag/SystemTagNode.php +++ b/apps/dav/lib/SystemTag/SystemTagNode.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\SystemTag; use OCP\IUser; diff --git a/apps/dav/lib/SystemTag/SystemTagPlugin.php b/apps/dav/lib/SystemTag/SystemTagPlugin.php index 51d50873775c370c13e62b9c312a2d225171be7c..b6bd7d3b7cdb9c5325a992d44a838d6639eeb27a 100644 --- a/apps/dav/lib/SystemTag/SystemTagPlugin.php +++ b/apps/dav/lib/SystemTag/SystemTagPlugin.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\SystemTag; use OCP\IGroupManager; diff --git a/apps/dav/lib/SystemTag/SystemTagsByIdCollection.php b/apps/dav/lib/SystemTag/SystemTagsByIdCollection.php index 13b5f00948000f7e63d472ae883fddf65d63d7de..1256c58921e8f920c99cc3df580ddd7e7ead880d 100644 --- a/apps/dav/lib/SystemTag/SystemTagsByIdCollection.php +++ b/apps/dav/lib/SystemTag/SystemTagsByIdCollection.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\SystemTag; use OCP\IGroupManager; diff --git a/apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php b/apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php index 0216ddd1ae9eb2877789e3cd1cf63b47ef812e4a..8bb34182b0c2b39525ee403cf9593d99a4f94884 100644 --- a/apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php +++ b/apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\SystemTag; use OCP\IUser; diff --git a/apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php b/apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php index 8f663cbe8f8ef89113d04b6fa25135ac1bc4b90b..1ca45c32ce46b36ae664acd1b6c8d63995cf7531 100644 --- a/apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php +++ b/apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\SystemTag; use OCP\IGroupManager; diff --git a/apps/dav/lib/SystemTag/SystemTagsRelationsCollection.php b/apps/dav/lib/SystemTag/SystemTagsRelationsCollection.php index 353f5bcedfbf27d90ae67d49c23c02db3f148c1c..4c179d5f0f6618f3e2793c17162d9be394bc2709 100644 --- a/apps/dav/lib/SystemTag/SystemTagsRelationsCollection.php +++ b/apps/dav/lib/SystemTag/SystemTagsRelationsCollection.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\SystemTag; use OCP\IGroupManager; diff --git a/apps/dav/lib/Traits/PrincipalProxyTrait.php b/apps/dav/lib/Traits/PrincipalProxyTrait.php index 480e2abc209b2e129b86c884fb9348206022027e..6e764cac8c05cf6af92b42ac17cbbfede71e6751 100644 --- a/apps/dav/lib/Traits/PrincipalProxyTrait.php +++ b/apps/dav/lib/Traits/PrincipalProxyTrait.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Traits; use OCA\DAV\CalDAV\Proxy\Proxy; diff --git a/apps/dav/lib/Upload/AssemblyStream.php b/apps/dav/lib/Upload/AssemblyStream.php index 3c996ffab4c62308b6e79fb38410c050540933fa..aaea5fc88c203f5a9413b0e63e55e178c6b9093d 100644 --- a/apps/dav/lib/Upload/AssemblyStream.php +++ b/apps/dav/lib/Upload/AssemblyStream.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Upload; use Sabre\DAV\IFile; diff --git a/apps/dav/lib/Upload/ChunkingPlugin.php b/apps/dav/lib/Upload/ChunkingPlugin.php index 6ef207340e2f19f88888855b0b29ca0c293ee356..5a443ee77127a9b32f1a340a31e7aafd00565665 100644 --- a/apps/dav/lib/Upload/ChunkingPlugin.php +++ b/apps/dav/lib/Upload/ChunkingPlugin.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Upload; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/dav/lib/Upload/CleanupService.php b/apps/dav/lib/Upload/CleanupService.php index 0c62c53db02132e9233d07e1d885fe139e2e9716..2b6fc965c01b80d910eb0438567a037f2335ae04 100644 --- a/apps/dav/lib/Upload/CleanupService.php +++ b/apps/dav/lib/Upload/CleanupService.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Upload; use OCA\DAV\BackgroundJob\UploadCleanup; diff --git a/apps/dav/lib/Upload/FutureFile.php b/apps/dav/lib/Upload/FutureFile.php index ef7d7ac9fd3e88ed794a966af900f0004303f7d3..eba550a62daca12c148efa318f1a503e50e0dbd1 100644 --- a/apps/dav/lib/Upload/FutureFile.php +++ b/apps/dav/lib/Upload/FutureFile.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Lukas Reschke - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Upload; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/dav/lib/Upload/RootCollection.php b/apps/dav/lib/Upload/RootCollection.php index 3dfddf5c0a42c6c0f77acc717081768c34d35a13..e3ae22af5e9907ffb593a211ec0e6e2be01c2a59 100644 --- a/apps/dav/lib/Upload/RootCollection.php +++ b/apps/dav/lib/Upload/RootCollection.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\DAV\Upload; use Sabre\DAVACL\AbstractPrincipalCollection; diff --git a/apps/dav/lib/Upload/UploadFile.php b/apps/dav/lib/Upload/UploadFile.php index dabddeb1434369e4af926a0b22fb8bf8657df659..49a2fadecf6c8c35595f2967d624650682d23fdd 100644 --- a/apps/dav/lib/Upload/UploadFile.php +++ b/apps/dav/lib/Upload/UploadFile.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Upload; use OCA\DAV\Connector\Sabre\File; diff --git a/apps/dav/lib/Upload/UploadFolder.php b/apps/dav/lib/Upload/UploadFolder.php index b983458b95e887e30829f11632c81f597a8be4a3..bb7c494cee35600b240ce845c9fefa087103f72c 100644 --- a/apps/dav/lib/Upload/UploadFolder.php +++ b/apps/dav/lib/Upload/UploadFolder.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Upload; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/dav/lib/Upload/UploadHome.php b/apps/dav/lib/Upload/UploadHome.php index b25a2824d3fbacc82db907d7a9edda4649b8c942..35d47b6a82abad91616d9e8be243b405d0ab7267 100644 --- a/apps/dav/lib/Upload/UploadHome.php +++ b/apps/dav/lib/Upload/UploadHome.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Upload; use OC\Files\Filesystem; diff --git a/apps/dav/tests/unit/AppInfo/ApplicationTest.php b/apps/dav/tests/unit/AppInfo/ApplicationTest.php index fd02993b1ac9a64c93860b8a2307f3e5870ed0a0..2e728f8e8723fd8e17b62c51e6bfded321e267b6 100644 --- a/apps/dav/tests/unit/AppInfo/ApplicationTest.php +++ b/apps/dav/tests/unit/AppInfo/ApplicationTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\AppInfo; use OCA\DAV\AppInfo\Application; diff --git a/apps/dav/tests/unit/AppInfo/PluginManagerTest.php b/apps/dav/tests/unit/AppInfo/PluginManagerTest.php index 3b79207acbf87597ba53c3f00ac6a1d945fab312..53e63269067f58c8c8ecb5274b411e6dc34c0a0c 100644 --- a/apps/dav/tests/unit/AppInfo/PluginManagerTest.php +++ b/apps/dav/tests/unit/AppInfo/PluginManagerTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\AppInfo; use OC\App\AppManager; diff --git a/apps/dav/tests/unit/Avatars/AvatarHomeTest.php b/apps/dav/tests/unit/Avatars/AvatarHomeTest.php index 7415bba37cf9c3a66806a6e1563d06fc5e89c7b0..9b2d91954de38d3fb1ea903dba2498d32b4e21a9 100644 --- a/apps/dav/tests/unit/Avatars/AvatarHomeTest.php +++ b/apps/dav/tests/unit/Avatars/AvatarHomeTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\Unit\Avatars; use OCA\DAV\Avatars\AvatarHome; diff --git a/apps/dav/tests/unit/Avatars/AvatarNodeTest.php b/apps/dav/tests/unit/Avatars/AvatarNodeTest.php index 574939fbac46fa74390f95e4635d6a21c8189976..5a124d7f15b4dcf9ff3dd50c0688542adf39154a 100644 --- a/apps/dav/tests/unit/Avatars/AvatarNodeTest.php +++ b/apps/dav/tests/unit/Avatars/AvatarNodeTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\Unit\Avatars; use OCA\DAV\Avatars\AvatarNode; diff --git a/apps/dav/tests/unit/BackgroundJob/CleanupInvitationTokenJobTest.php b/apps/dav/tests/unit/BackgroundJob/CleanupInvitationTokenJobTest.php index 0c2cfb8b6c17b583b11d0f579338db69ac96978d..6233980edbbe74e56fd758c3863bcd5b4bc8a05e 100644 --- a/apps/dav/tests/unit/BackgroundJob/CleanupInvitationTokenJobTest.php +++ b/apps/dav/tests/unit/BackgroundJob/CleanupInvitationTokenJobTest.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\BackgroundJob; use OCA\DAV\BackgroundJob\CleanupInvitationTokenJob; diff --git a/apps/dav/tests/unit/BackgroundJob/EventReminderJobTest.php b/apps/dav/tests/unit/BackgroundJob/EventReminderJobTest.php index 4fb2353bbd3233d9e65bcc240b6d3383f2d5a12e..f9276b61956dfa2a2e7144d55759e93dc8288651 100644 --- a/apps/dav/tests/unit/BackgroundJob/EventReminderJobTest.php +++ b/apps/dav/tests/unit/BackgroundJob/EventReminderJobTest.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\BackgroundJob; use OCA\DAV\BackgroundJob\EventReminderJob; diff --git a/apps/dav/tests/unit/BackgroundJob/GenerateBirthdayCalendarBackgroundJobTest.php b/apps/dav/tests/unit/BackgroundJob/GenerateBirthdayCalendarBackgroundJobTest.php index fdd8c689d39d7da1f1da675f9418497fc4228bc6..6c6e02ce71734221551c79880d8fc06ce1114735 100644 --- a/apps/dav/tests/unit/BackgroundJob/GenerateBirthdayCalendarBackgroundJobTest.php +++ b/apps/dav/tests/unit/BackgroundJob/GenerateBirthdayCalendarBackgroundJobTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\BackgroundJob; use OCA\DAV\BackgroundJob\GenerateBirthdayCalendarBackgroundJob; diff --git a/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php b/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php index c4cb52370ae40686a47b7eb9083732b98b4c2957..eba2a21f76189a755e59ce20a669355fdf35aeff 100644 --- a/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php +++ b/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\BackgroundJob; use OCA\DAV\BackgroundJob\RefreshWebcalJob; diff --git a/apps/dav/tests/unit/BackgroundJob/RegisterRegenerateBirthdayCalendarsTest.php b/apps/dav/tests/unit/BackgroundJob/RegisterRegenerateBirthdayCalendarsTest.php index bd76548169fdfdcc24fff54bd152bca9a22504e6..f3b1878a8339241f86dd23dff9704443b043ae21 100644 --- a/apps/dav/tests/unit/BackgroundJob/RegisterRegenerateBirthdayCalendarsTest.php +++ b/apps/dav/tests/unit/BackgroundJob/RegisterRegenerateBirthdayCalendarsTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\BackgroundJob; use OCA\DAV\BackgroundJob\GenerateBirthdayCalendarBackgroundJob; diff --git a/apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php b/apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php index 887f48a1d04ee51ce1137ef43dd68df6d75ed145..5974d0dec999a7dd6356fcb24345e395ad592a2b 100644 --- a/apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php +++ b/apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\BackgroundJob; use OCA\DAV\BackgroundJob\UpdateCalendarResourcesRoomsBackgroundJob; diff --git a/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php b/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php index eb0530a8b3d4b02e487fde3da097524a146780ab..9414bebd0ddfb454d1955add0fea658fe5e722e0 100644 --- a/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php +++ b/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OC\KnownUser\KnownUserService; diff --git a/apps/dav/tests/unit/CalDAV/Activity/BackendTest.php b/apps/dav/tests/unit/CalDAV/Activity/BackendTest.php index 43d8416fce1b633db4e303e677f765f463550855..21cbbd169ff80f18b0b38ddebe0606f4fdc03c8e 100644 --- a/apps/dav/tests/unit/CalDAV/Activity/BackendTest.php +++ b/apps/dav/tests/unit/CalDAV/Activity/BackendTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Activity; use OCA\DAV\CalDAV\Activity\Backend; diff --git a/apps/dav/tests/unit/CalDAV/Activity/Filter/CalendarTest.php b/apps/dav/tests/unit/CalDAV/Activity/Filter/CalendarTest.php index 1a01f6301d0596ed3b3cc2691c7a046c1ef29909..de31c71aacb0abf6e7b83a00ff3740ccf52c8b8b 100644 --- a/apps/dav/tests/unit/CalDAV/Activity/Filter/CalendarTest.php +++ b/apps/dav/tests/unit/CalDAV/Activity/Filter/CalendarTest.php @@ -4,7 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Activity\Filter; use OCA\DAV\CalDAV\Activity\Filter\Calendar; diff --git a/apps/dav/tests/unit/CalDAV/Activity/Filter/GenericTest.php b/apps/dav/tests/unit/CalDAV/Activity/Filter/GenericTest.php index 7cc02ee008c03d1a8b334738546ca40070da2fd9..af4c87c354bbb69b4cc4f3500b53978445868238 100644 --- a/apps/dav/tests/unit/CalDAV/Activity/Filter/GenericTest.php +++ b/apps/dav/tests/unit/CalDAV/Activity/Filter/GenericTest.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Activity\Filter; use OCA\DAV\CalDAV\Activity\Filter\Calendar; diff --git a/apps/dav/tests/unit/CalDAV/Activity/Filter/TodoTest.php b/apps/dav/tests/unit/CalDAV/Activity/Filter/TodoTest.php index 36644588b93a4d929c66185603319344e00989cd..e119064046bd518cc9e4628a158eccde33d37033 100644 --- a/apps/dav/tests/unit/CalDAV/Activity/Filter/TodoTest.php +++ b/apps/dav/tests/unit/CalDAV/Activity/Filter/TodoTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Activity\Filter; use OCA\DAV\CalDAV\Activity\Filter\Todo; diff --git a/apps/dav/tests/unit/CalDAV/Activity/Provider/BaseTest.php b/apps/dav/tests/unit/CalDAV/Activity/Provider/BaseTest.php index 423c37da3e0dbde1ff072a80f727a0d95f8a79c7..21cafee4f889e3904431bf6e1174a09e1cb42caa 100644 --- a/apps/dav/tests/unit/CalDAV/Activity/Provider/BaseTest.php +++ b/apps/dav/tests/unit/CalDAV/Activity/Provider/BaseTest.php @@ -4,7 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * @author Thomas Citharel * @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Activity\Provider; use OCA\DAV\CalDAV\Activity\Provider\Base; diff --git a/apps/dav/tests/unit/CalDAV/Activity/Provider/EventTest.php b/apps/dav/tests/unit/CalDAV/Activity/Provider/EventTest.php index 2ae78444c11831d0157ceb481de9a23d108d7c86..cb86b80d3111e6f86d8a5e315604518787f06bac 100644 --- a/apps/dav/tests/unit/CalDAV/Activity/Provider/EventTest.php +++ b/apps/dav/tests/unit/CalDAV/Activity/Provider/EventTest.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Activity\Provider; use InvalidArgumentException; diff --git a/apps/dav/tests/unit/CalDAV/Activity/Setting/GenericTest.php b/apps/dav/tests/unit/CalDAV/Activity/Setting/GenericTest.php index 44c05e8b0a5d960970eb7fbc246693f5af327996..b4c3506565ab90d64d718169758e7bcde9763a13 100644 --- a/apps/dav/tests/unit/CalDAV/Activity/Setting/GenericTest.php +++ b/apps/dav/tests/unit/CalDAV/Activity/Setting/GenericTest.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Activity\Setting; use OCA\DAV\CalDAV\Activity\Setting\Calendar; diff --git a/apps/dav/tests/unit/CalDAV/BirthdayCalendar/EnablePluginTest.php b/apps/dav/tests/unit/CalDAV/BirthdayCalendar/EnablePluginTest.php index 2978863da880164b90359fe4b1b51c2efe9c59bd..99e5f2e8e542cdcf8c08114cb11c0080e7a750f5 100644 --- a/apps/dav/tests/unit/CalDAV/BirthdayCalendar/EnablePluginTest.php +++ b/apps/dav/tests/unit/CalDAV/BirthdayCalendar/EnablePluginTest.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2017 Georg Ehrke * * @author Christoph Wurst + * @author François Freitag * @author Georg Ehrke * @author Morris Jobke * @author Roeland Jago Douma @@ -16,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\BirthdayCalendar; use OCA\DAV\CalDAV\BirthdayCalendar\EnablePlugin; diff --git a/apps/dav/tests/unit/CalDAV/CachedSubscriptionObjectTest.php b/apps/dav/tests/unit/CalDAV/CachedSubscriptionObjectTest.php index 51acfae8204e24eacb37304b67ff7531d69110ed..74e3784aefa9b6a131714ba00e6f2c5c882e2e79 100644 --- a/apps/dav/tests/unit/CalDAV/CachedSubscriptionObjectTest.php +++ b/apps/dav/tests/unit/CalDAV/CachedSubscriptionObjectTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\CachedSubscriptionObject; diff --git a/apps/dav/tests/unit/CalDAV/CachedSubscriptionTest.php b/apps/dav/tests/unit/CalDAV/CachedSubscriptionTest.php index bc6942062b020448c4334265dbfc4fcb4845436c..dac5090dccca978543e8a39637f7e7ad96699eb4 100644 --- a/apps/dav/tests/unit/CalDAV/CachedSubscriptionTest.php +++ b/apps/dav/tests/unit/CalDAV/CachedSubscriptionTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\CachedSubscription; diff --git a/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php b/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php index 03abd554e2b4301b39663bbf3c08ab768087624b..168269bb16e592225d48e76591a80a01941574d6 100644 --- a/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php +++ b/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CalDAV; use DateTime; diff --git a/apps/dav/tests/unit/CalDAV/CalendarHomeTest.php b/apps/dav/tests/unit/CalDAV/CalendarHomeTest.php index c9ef312df03578cf731e97f9f65d70f4a3e36bbd..451be14bcaf428cfc2bba2069ccc5c859e2a467a 100644 --- a/apps/dav/tests/unit/CalDAV/CalendarHomeTest.php +++ b/apps/dav/tests/unit/CalDAV/CalendarHomeTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\AppInfo\PluginManager; diff --git a/apps/dav/tests/unit/CalDAV/CalendarImplTest.php b/apps/dav/tests/unit/CalDAV/CalendarImplTest.php index 964ec7dfec6de3c3ec9cd3d22261e2c71a7d5489..af8c056cac78d3d0bd42c95d301b97401fefb3df 100644 --- a/apps/dav/tests/unit/CalDAV/CalendarImplTest.php +++ b/apps/dav/tests/unit/CalDAV/CalendarImplTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/tests/unit/CalDAV/CalendarManagerTest.php b/apps/dav/tests/unit/CalDAV/CalendarManagerTest.php index a04bc1afdc7eb3ee5e1f9d36e94f4d7049d3a32d..c9bd526a505047dfa9b2294cf78fb13a68b7ca29 100644 --- a/apps/dav/tests/unit/CalDAV/CalendarManagerTest.php +++ b/apps/dav/tests/unit/CalDAV/CalendarManagerTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OC\Calendar\Manager; diff --git a/apps/dav/tests/unit/CalDAV/CalendarTest.php b/apps/dav/tests/unit/CalDAV/CalendarTest.php index cfbc08d79dcd374eeae9f1a7c064fdd1acc5a634..4b89e35e81ac401f5248b4d5b3d2657899b17d46 100644 --- a/apps/dav/tests/unit/CalDAV/CalendarTest.php +++ b/apps/dav/tests/unit/CalDAV/CalendarTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\BirthdayService; diff --git a/apps/dav/tests/unit/CalDAV/Integration/ExternalCalendarTest.php b/apps/dav/tests/unit/CalDAV/Integration/ExternalCalendarTest.php index 8d2fab953a7420beedc519fe0b1fa645185f303b..0131ab443a8617133707940e560909b17bb892a8 100644 --- a/apps/dav/tests/unit/CalDAV/Integration/ExternalCalendarTest.php +++ b/apps/dav/tests/unit/CalDAV/Integration/ExternalCalendarTest.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Integration; use OCA\DAV\CalDAV\Integration\ExternalCalendar; diff --git a/apps/dav/tests/unit/CalDAV/OutboxTest.php b/apps/dav/tests/unit/CalDAV/OutboxTest.php index 6e18b76841d2725b7d831b811efc1219cde19c44..8edc0f30ce416e7a85640330ce1b86efc57d3cd4 100644 --- a/apps/dav/tests/unit/CalDAV/OutboxTest.php +++ b/apps/dav/tests/unit/CalDAV/OutboxTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\Outbox; diff --git a/apps/dav/tests/unit/CalDAV/PluginTest.php b/apps/dav/tests/unit/CalDAV/PluginTest.php index 2263176f23c072bae1b88b8f60c4bddc284903c5..b5da2199e1c70275018ee06bcfb267a543ed0327 100644 --- a/apps/dav/tests/unit/CalDAV/PluginTest.php +++ b/apps/dav/tests/unit/CalDAV/PluginTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\Plugin; diff --git a/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php b/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php index 94e224e5952673bafff155cbfb1e5f3b643bc8fe..ba67a7f85a6afce8e9cbe2d378cf23de25b63eb6 100644 --- a/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php +++ b/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Georg Ehrke @@ -21,14 +21,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/tests/unit/CalDAV/PublicCalendarTest.php b/apps/dav/tests/unit/CalDAV/PublicCalendarTest.php index 39e5f1edfb1564d868c409a3fec1c597c0f67964..163b0ec45b8d661e74e18e41691a134a90ba25d7 100644 --- a/apps/dav/tests/unit/CalDAV/PublicCalendarTest.php +++ b/apps/dav/tests/unit/CalDAV/PublicCalendarTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/tests/unit/CalDAV/Publishing/PublisherTest.php b/apps/dav/tests/unit/CalDAV/Publishing/PublisherTest.php index c6c384744b5856026d0a00bbe9b05a4b98a78cd0..d6b97648436a9a6e899eebe8b80ec4dd7378d801 100644 --- a/apps/dav/tests/unit/CalDAV/Publishing/PublisherTest.php +++ b/apps/dav/tests/unit/CalDAV/Publishing/PublisherTest.php @@ -1,11 +1,10 @@ * * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke - * @author Roeland Jago Douma * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -17,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Publishing; use OCA\DAV\CalDAV\Publishing\Xml\Publisher; diff --git a/apps/dav/tests/unit/CalDAV/Publishing/PublishingTest.php b/apps/dav/tests/unit/CalDAV/Publishing/PublishingTest.php index 70731878a41bec695281902e1af19e9b1e1e691d..2490bdc3639751dce8cb0fce88ce501d99d7665d 100644 --- a/apps/dav/tests/unit/CalDAV/Publishing/PublishingTest.php +++ b/apps/dav/tests/unit/CalDAV/Publishing/PublishingTest.php @@ -1,6 +1,6 @@ * * @author Georg Ehrke * @author Morris Jobke @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Publishing; use OCA\DAV\CalDAV\Calendar; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/BackendTest.php b/apps/dav/tests/unit/CalDAV/Reminder/BackendTest.php index c8e29bb8740f3c29f42129997335e05a9dbbac19..15f949d9adb2e7073fa7b33179742b0317fdbf41 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/BackendTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/BackendTest.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder; use OCA\DAV\CalDAV\Reminder\Backend as ReminderBackend; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AbstractNotificationProviderTest.php b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AbstractNotificationProviderTest.php index 077819ece04c0485e76ec29fdfb646727604ca07..8335428c6d58ab0992ff2871e0579bc16c4975b2 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AbstractNotificationProviderTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AbstractNotificationProviderTest.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder\NotificationProvider; use OCA\DAV\CalDAV\Reminder\NotificationProvider\AbstractProvider; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AudioProviderTest.php b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AudioProviderTest.php index 9004a42f98d474dda030718b9cfb5891383648f8..50c780396b0bfb386fb29bd5c3ff5bdba470420f 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AudioProviderTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AudioProviderTest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder\NotificationProvider; use OCA\DAV\CalDAV\Reminder\NotificationProvider\AudioProvider; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/EmailProviderTest.php b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/EmailProviderTest.php index 1b3cbb31f58471938d948f7582101af55b7d2268..9e96a1f3becc8f196987fb65ed02a78f03093d03 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/EmailProviderTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/EmailProviderTest.php @@ -22,14 +22,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder\NotificationProvider; use OCA\DAV\CalDAV\Reminder\NotificationProvider\EmailProvider; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/PushProviderTest.php b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/PushProviderTest.php index 4f126b98a38894dc305f2ef19e8d6a7d2317fd0c..9e9759f5eb884e5b8c482a71eae66a23a14bc42e 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/PushProviderTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/PushProviderTest.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder\NotificationProvider; use OCA\DAV\CalDAV\Reminder\NotificationProvider\PushProvider; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProviderManagerTest.php b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProviderManagerTest.php index 24c7a252648a1d399f52af8212445b6d1bfdf2c9..be19f5de8a096b935793d684d7654b2b222b9ddd 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProviderManagerTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProviderManagerTest.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder; use OCA\DAV\CalDAV\Reminder\NotificationProvider\EmailProvider; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/NotifierTest.php b/apps/dav/tests/unit/CalDAV/Reminder/NotifierTest.php index 43741f24b38f614342a5ff9b8bf32a7e2656c164..1c823ac68303dcdf170c86ba5e6006ddb61942dc 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/NotifierTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/NotifierTest.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder; use OCA\DAV\AppInfo\Application; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/ReminderServiceTest.php b/apps/dav/tests/unit/CalDAV/Reminder/ReminderServiceTest.php index ce5b5acdd69f1b1d8e9e42a13ca5572fdd383bca..660b1a48fd9396c8e4fd0c56da5e4bb923e196d1 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/ReminderServiceTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/ReminderServiceTest.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/tests/unit/CalDAV/ResourceBooking/AbstractPrincipalBackendTest.php b/apps/dav/tests/unit/CalDAV/ResourceBooking/AbstractPrincipalBackendTest.php index 1464a1e6c44361a34cd4245b6493fc4c66e3647d..5f49028634757a42c79df91e7d185c68a15ac7bf 100644 --- a/apps/dav/tests/unit/CalDAV/ResourceBooking/AbstractPrincipalBackendTest.php +++ b/apps/dav/tests/unit/CalDAV/ResourceBooking/AbstractPrincipalBackendTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\ResourceBooking; use OCA\DAV\CalDAV\Proxy\Proxy; diff --git a/apps/dav/tests/unit/CalDAV/ResourceBooking/ResourcePrincipalBackendTest.php b/apps/dav/tests/unit/CalDAV/ResourceBooking/ResourcePrincipalBackendTest.php index 877de6f41a47a4717f2dc7817c8ae4bfb62f3fef..8b40088b0dccdf6758349d59e4dad56c7896522f 100644 --- a/apps/dav/tests/unit/CalDAV/ResourceBooking/ResourcePrincipalBackendTest.php +++ b/apps/dav/tests/unit/CalDAV/ResourceBooking/ResourcePrincipalBackendTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\ResourceBooking; use OCA\DAV\CalDAV\ResourceBooking\ResourcePrincipalBackend; diff --git a/apps/dav/tests/unit/CalDAV/ResourceBooking/RoomPrincipalBackendTest.php b/apps/dav/tests/unit/CalDAV/ResourceBooking/RoomPrincipalBackendTest.php index bad66405e8066fcfc447ddb01b18a46a1caf15c8..3d4e118b2e846eaaaedcd0ed1443341557d6c78e 100644 --- a/apps/dav/tests/unit/CalDAV/ResourceBooking/RoomPrincipalBackendTest.php +++ b/apps/dav/tests/unit/CalDAV/ResourceBooking/RoomPrincipalBackendTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\ResourceBooking; use OCA\DAV\CalDAV\ResourceBooking\RoomPrincipalBackend; diff --git a/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php b/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php index 3b2abd8575e5d093d397f0414b251909347ef79a..a81aac52fbb3674481c01c8c8ca79da58d77f67a 100644 --- a/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php +++ b/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CalDAV\Schedule; use OCA\DAV\CalDAV\Schedule\IMipPlugin; diff --git a/apps/dav/tests/unit/CalDAV/Schedule/PluginTest.php b/apps/dav/tests/unit/CalDAV/Schedule/PluginTest.php index 053ac6417935aab961a2d0b32e276022d1648698..2518cc3d91af43a3e858c0037ff2f674c0852816 100644 --- a/apps/dav/tests/unit/CalDAV/Schedule/PluginTest.php +++ b/apps/dav/tests/unit/CalDAV/Schedule/PluginTest.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Schedule; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/tests/unit/CalDAV/Search/Request/CalendarSearchReportTest.php b/apps/dav/tests/unit/CalDAV/Search/Request/CalendarSearchReportTest.php index 5211df8867a81957050748c781afb85f443ef14b..1d4c34ae84cf50bd8f78cbd4fe367feb393f9004 100644 --- a/apps/dav/tests/unit/CalDAV/Search/Request/CalendarSearchReportTest.php +++ b/apps/dav/tests/unit/CalDAV/Search/Request/CalendarSearchReportTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Search\Xml\Request; use OCA\DAV\CalDAV\Search\Xml\Request\CalendarSearchReport; diff --git a/apps/dav/tests/unit/CalDAV/Search/SearchPluginTest.php b/apps/dav/tests/unit/CalDAV/Search/SearchPluginTest.php index c6c468b9d62e2205f44f0652b1cec98c41a596f4..811550390156bb5a2888829759e1cbf87fa582dc 100644 --- a/apps/dav/tests/unit/CalDAV/Search/SearchPluginTest.php +++ b/apps/dav/tests/unit/CalDAV/Search/SearchPluginTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Search; use OCA\DAV\CalDAV\CalendarHome; diff --git a/apps/dav/tests/unit/CalDAV/WebcalCaching/PluginTest.php b/apps/dav/tests/unit/CalDAV/WebcalCaching/PluginTest.php index 2d57ad3b7d5fb669165aae82d7ced785fa46dfb3..b848a5d591aca7602952dc111f28d43400ed1062 100644 --- a/apps/dav/tests/unit/CalDAV/WebcalCaching/PluginTest.php +++ b/apps/dav/tests/unit/CalDAV/WebcalCaching/PluginTest.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\WebcalCaching; use OCA\DAV\CalDAV\WebcalCaching\Plugin; diff --git a/apps/dav/tests/unit/CalDAV/WebcalCaching/RefreshWebcalServiceTest.php b/apps/dav/tests/unit/CalDAV/WebcalCaching/RefreshWebcalServiceTest.php index 29a6170b1e7a9e39df95f59f037ad556f95b8147..12e913457097e50a365981f9ef4e2dd2671c438d 100644 --- a/apps/dav/tests/unit/CalDAV/WebcalCaching/RefreshWebcalServiceTest.php +++ b/apps/dav/tests/unit/CalDAV/WebcalCaching/RefreshWebcalServiceTest.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\BackgroundJob; use GuzzleHttp\HandlerStack; diff --git a/apps/dav/tests/unit/CapabilitiesTest.php b/apps/dav/tests/unit/CapabilitiesTest.php index f137a4923f7ed642178431b23a7c37260324ad10..719b62115d9983d17a8b7df1c435ba1ae6ef2cbc 100644 --- a/apps/dav/tests/unit/CapabilitiesTest.php +++ b/apps/dav/tests/unit/CapabilitiesTest.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit; use OCA\DAV\Capabilities; diff --git a/apps/dav/tests/unit/CardDAV/AddressBookImplTest.php b/apps/dav/tests/unit/CardDAV/AddressBookImplTest.php index 38d560b95397d7bb41492cd70bc94b4b6bd7d9b1..eb87901f3acf30acaba06ea7952de267f65d81c1 100644 --- a/apps/dav/tests/unit/CardDAV/AddressBookImplTest.php +++ b/apps/dav/tests/unit/CardDAV/AddressBookImplTest.php @@ -2,12 +2,13 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Arthur Schiwon * @author Björn Schießle * @author call-me-matt * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller @@ -27,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OCA\DAV\CardDAV\AddressBook; diff --git a/apps/dav/tests/unit/CardDAV/AddressBookTest.php b/apps/dav/tests/unit/CardDAV/AddressBookTest.php index cddbd5164dce1284ef6c13ea16853305e2bf2a67..23e3e4f3b2ae9ec85bea31f73eb5031689a1211b 100644 --- a/apps/dav/tests/unit/CardDAV/AddressBookTest.php +++ b/apps/dav/tests/unit/CardDAV/AddressBookTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OCA\DAV\CardDAV\AddressBook; diff --git a/apps/dav/tests/unit/CardDAV/BirthdayServiceTest.php b/apps/dav/tests/unit/CardDAV/BirthdayServiceTest.php index 5d1323ba8b9992c02b03d741538808fd4bfc6800..bb45c88b10d5506460ef967314146460277fa83d 100644 --- a/apps/dav/tests/unit/CardDAV/BirthdayServiceTest.php +++ b/apps/dav/tests/unit/CardDAV/BirthdayServiceTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OCA\DAV\CalDAV\BirthdayService; diff --git a/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php b/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php index 60f46ce8fac2a8f5af7adaf5690d9fefa5eef3cd..fb9522519a53a6cc7eb6876d0ffa5bc77db17444 100644 --- a/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php +++ b/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php @@ -9,7 +9,7 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OC\KnownUser\KnownUserService; diff --git a/apps/dav/tests/unit/CardDAV/ContactsManagerTest.php b/apps/dav/tests/unit/CardDAV/ContactsManagerTest.php index 63c1413eec0c8cf9851e6022a467e1690ac4d340..e9153c4d197477a77bd1d0b15586df95b56f98c7 100644 --- a/apps/dav/tests/unit/CardDAV/ContactsManagerTest.php +++ b/apps/dav/tests/unit/CardDAV/ContactsManagerTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OCA\DAV\CardDAV\CardDavBackend; diff --git a/apps/dav/tests/unit/CardDAV/ConverterTest.php b/apps/dav/tests/unit/CardDAV/ConverterTest.php index ef46845a5aeb9c12008d3515aa1ab3f3a05273bf..cc5f707bb3617741534ea081e643b8f9222ce06d 100644 --- a/apps/dav/tests/unit/CardDAV/ConverterTest.php +++ b/apps/dav/tests/unit/CardDAV/ConverterTest.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Arthur Schiwon * @author Bjoern Schiessle * @author Christoph Wurst * @author Joas Schilling @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OCA\DAV\CardDAV\Converter; diff --git a/apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php b/apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php index 47606a4524162d8f9f44211043243b48e60148ac..ed5ec544fb686d52af8495e3a5afc8961cfdad1c 100644 --- a/apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php +++ b/apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OCA\DAV\CardDAV\AddressBook; diff --git a/apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php b/apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php index 472826ac2f772c4301b7f6b5a15ae5bc0de61276..e9429e4e18f887e3ff45c5d0e84f7390e8faed8b 100644 --- a/apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php +++ b/apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV\Sharing; use OCA\DAV\Connector\Sabre\Auth; diff --git a/apps/dav/tests/unit/CardDAV/SyncServiceTest.php b/apps/dav/tests/unit/CardDAV/SyncServiceTest.php index 426870853f221f183c090618dc1b9996beb0f218..d22a246bbece0a75ffee4c40404ee1272d2c589f 100644 --- a/apps/dav/tests/unit/CardDAV/SyncServiceTest.php +++ b/apps/dav/tests/unit/CardDAV/SyncServiceTest.php @@ -2,8 +2,8 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Arthur Schiwon * @author Bjoern Schiessle - * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke * @author Roeland Jago Douma @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OCA\DAV\CardDAV\CardDavBackend; diff --git a/apps/dav/tests/unit/Command/ListCalendarsTest.php b/apps/dav/tests/unit/Command/ListCalendarsTest.php index c98365e25fb10043b73023d8e225a481a06f7057..6f200da01bf14873d03ed6d79aee46c6d2657e86 100644 --- a/apps/dav/tests/unit/Command/ListCalendarsTest.php +++ b/apps/dav/tests/unit/Command/ListCalendarsTest.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Georg Ehrke @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\Command; use OCA\DAV\CalDAV\BirthdayService; diff --git a/apps/dav/tests/unit/Command/MoveCalendarTest.php b/apps/dav/tests/unit/Command/MoveCalendarTest.php index 73443eacb7ca02843a18745a9ba7f918aeb39a0d..11a5d5a9daad494250e759d77a142bfc34009271 100644 --- a/apps/dav/tests/unit/Command/MoveCalendarTest.php +++ b/apps/dav/tests/unit/Command/MoveCalendarTest.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Georg Ehrke @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\Command; use InvalidArgumentException; diff --git a/apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php b/apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php index 0cf7d0d75d1ad55f2817eea237f1afcfb5855ebb..66ac40eff83ae65cf77a210f14c280edca23f028 100644 --- a/apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php +++ b/apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\Unit\Command; use OCA\DAV\Command\RemoveInvalidShares; diff --git a/apps/dav/tests/unit/Comments/CommentsNodeTest.php b/apps/dav/tests/unit/Comments/CommentsNodeTest.php index bb063f77f7feb50c0bfecf35ce8e57242bf557b8..1738e1b53f9586ae457503458c1defaeb8d5737a 100644 --- a/apps/dav/tests/unit/Comments/CommentsNodeTest.php +++ b/apps/dav/tests/unit/Comments/CommentsNodeTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Comments; use OCA\DAV\Comments\CommentNode; diff --git a/apps/dav/tests/unit/Comments/CommentsPluginTest.php b/apps/dav/tests/unit/Comments/CommentsPluginTest.php index ebd0c43181792c333d3e9181851c4581b7e4b47d..5d05b278e189539d56e03cc7f681a500fef8ee3f 100644 --- a/apps/dav/tests/unit/Comments/CommentsPluginTest.php +++ b/apps/dav/tests/unit/Comments/CommentsPluginTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Comments; use OC\Comments\Comment; diff --git a/apps/dav/tests/unit/Comments/EntityCollectionTest.php b/apps/dav/tests/unit/Comments/EntityCollectionTest.php index f8f3990fbac1f0ce9bcdd14bb34c2fbfc1b0e5bb..4466b0a63074b7bf5ab92024260adc39d37f5937 100644 --- a/apps/dav/tests/unit/Comments/EntityCollectionTest.php +++ b/apps/dav/tests/unit/Comments/EntityCollectionTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Comments; use OCA\DAV\Comments\EntityCollection; diff --git a/apps/dav/tests/unit/Comments/EntityTypeCollectionTest.php b/apps/dav/tests/unit/Comments/EntityTypeCollectionTest.php index dcdc8608c67505522865ea5765270359678e936d..f49b2c39857ce6b28d28a85d847735f027716d9b 100644 --- a/apps/dav/tests/unit/Comments/EntityTypeCollectionTest.php +++ b/apps/dav/tests/unit/Comments/EntityTypeCollectionTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Comments; use OCA\DAV\Comments\EntityCollection as EntityCollectionImplemantation; diff --git a/apps/dav/tests/unit/Comments/RootCollectionTest.php b/apps/dav/tests/unit/Comments/RootCollectionTest.php index e908daaf3dd0cf6ad5230e611e4e1abeb05bb222..6cc038bb7b846fd542627ff69dbaede38c5f23ca 100644 --- a/apps/dav/tests/unit/Comments/RootCollectionTest.php +++ b/apps/dav/tests/unit/Comments/RootCollectionTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Comments; use OC\EventDispatcher\EventDispatcher; diff --git a/apps/dav/tests/unit/Connector/PublicAuthTest.php b/apps/dav/tests/unit/Connector/PublicAuthTest.php index b8b59546eca9b882b66c9a3232e40c15b0da484b..cdf269deb33f291bec72b94373351604fb17e8e3 100644 --- a/apps/dav/tests/unit/Connector/PublicAuthTest.php +++ b/apps/dav/tests/unit/Connector/PublicAuthTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector; use OCP\IRequest; diff --git a/apps/dav/tests/unit/Connector/Sabre/AuthTest.php b/apps/dav/tests/unit/Connector/Sabre/AuthTest.php index 306da871f85fd528e32d6b04893375c33d58e1ea..9355b34d66a3799d1dc1a281210862188e1e7e46 100644 --- a/apps/dav/tests/unit/Connector/Sabre/AuthTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/AuthTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\Authentication\TwoFactorAuth\Manager; diff --git a/apps/dav/tests/unit/Connector/Sabre/BearerAuthTest.php b/apps/dav/tests/unit/Connector/Sabre/BearerAuthTest.php index d6f4d27be5d2a079df3bea36211482692f56115f..007b5c90295db8dfa910916007c5e31294669e6d 100644 --- a/apps/dav/tests/unit/Connector/Sabre/BearerAuthTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/BearerAuthTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\BearerAuth; diff --git a/apps/dav/tests/unit/Connector/Sabre/BlockLegacyClientPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/BlockLegacyClientPluginTest.php index 97eb3301d3bdc1ece52328d34a33126fb59e7b45..4d2771132ccb51ce97b40224c96b0d5ac967a82e 100644 --- a/apps/dav/tests/unit/Connector/Sabre/BlockLegacyClientPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/BlockLegacyClientPluginTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\BlockLegacyClientPlugin; diff --git a/apps/dav/tests/unit/Connector/Sabre/CommentsPropertiesPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/CommentsPropertiesPluginTest.php index 6ad053e9164f03e7b094b895b8e60709000579ab..ea49cef5d0f4214f73aa3f52aea55b09468cfd8b 100644 --- a/apps/dav/tests/unit/Connector/Sabre/CommentsPropertiesPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/CommentsPropertiesPluginTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\CommentPropertiesPlugin as CommentPropertiesPluginImplementation; diff --git a/apps/dav/tests/unit/Connector/Sabre/CopyEtagHeaderPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/CopyEtagHeaderPluginTest.php index 010d8af5a6629109db77a41955422b9cef59adae..858e5c8199bb37ff4520768bdaffc5e5c0ae1fad 100644 --- a/apps/dav/tests/unit/Connector/Sabre/CopyEtagHeaderPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/CopyEtagHeaderPluginTest.php @@ -1,7 +1,10 @@ + * Copyright (c) 2015 Vincent Petry * + * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling * @author Morris Jobke @@ -24,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\CopyEtagHeaderPlugin; diff --git a/apps/dav/tests/unit/Connector/Sabre/CustomPropertiesBackendTest.php b/apps/dav/tests/unit/Connector/Sabre/CustomPropertiesBackendTest.php index 68bc60e1703b8b7622ac2cbe3f27e0e02002354b..48658f3ffa36f8ec0062d306ac08d238bc373580 100644 --- a/apps/dav/tests/unit/Connector/Sabre/CustomPropertiesBackendTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/CustomPropertiesBackendTest.php @@ -1,6 +1,8 @@ + * Copyright (c) 2015 Vincent Petry * * @author Christoph Wurst * @author Joas Schilling @@ -25,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; /** diff --git a/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php b/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php index 3d98726cb4dc05fd6dd09442c1ca1f5fec1e51b6..024a6432d01320964748bdff893f7b8d095e51d0 100644 --- a/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\Unit\Connector\Sabre; use OC\Files\FileInfo; diff --git a/apps/dav/tests/unit/Connector/Sabre/DummyGetResponsePluginTest.php b/apps/dav/tests/unit/Connector/Sabre/DummyGetResponsePluginTest.php index 306c260ae5ec78c1dfcf6ecba578531ed8d9a539..c4b7ed15f2b4e6c6c53147887c221bb010dcc44d 100644 --- a/apps/dav/tests/unit/Connector/Sabre/DummyGetResponsePluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/DummyGetResponsePluginTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\DummyGetResponsePlugin; diff --git a/apps/dav/tests/unit/Connector/Sabre/Exception/ForbiddenTest.php b/apps/dav/tests/unit/Connector/Sabre/Exception/ForbiddenTest.php index 1f6a80f3882102fae693762bcba4497fdf230bfb..4d316bf870aa4b666d4e9e4c57041bb4fec0216a 100644 --- a/apps/dav/tests/unit/Connector/Sabre/Exception/ForbiddenTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/Exception/ForbiddenTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\Exception; use OCA\DAV\Connector\Sabre\Exception\Forbidden; diff --git a/apps/dav/tests/unit/Connector/Sabre/Exception/InvalidPathTest.php b/apps/dav/tests/unit/Connector/Sabre/Exception/InvalidPathTest.php index bb3b421f630205dbc4f8c2035e83ed38d8502737..3c68d780ff3db56764bfe10132a160f869556219 100644 --- a/apps/dav/tests/unit/Connector/Sabre/Exception/InvalidPathTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/Exception/InvalidPathTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\Exception; use OCA\DAV\Connector\Sabre\Exception\InvalidPath; diff --git a/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php index 239b6c72f76cd62cb9284b7da6df62ba0c0f07dc..83f8c4165778c499242b786b40d6209b5d7f4995 100644 --- a/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\Log; diff --git a/apps/dav/tests/unit/Connector/Sabre/FakeLockerPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/FakeLockerPluginTest.php index d47ff00d0b2a345b7f2a64c0057d8857c8a13716..578576e3f0709ad6a9432baacce73275bb2c8b85 100644 --- a/apps/dav/tests/unit/Connector/Sabre/FakeLockerPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/FakeLockerPluginTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\FakeLockerPlugin; diff --git a/apps/dav/tests/unit/Connector/Sabre/FileTest.php b/apps/dav/tests/unit/Connector/Sabre/FileTest.php index bf3890432ec435a3ff7cfe30779ddb2221aba29c..304e8abed071e3dce526bbebf400a1b7e6cc00d6 100644 --- a/apps/dav/tests/unit/Connector/Sabre/FileTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/FileTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\AppFramework\Http\Request; diff --git a/apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php index ea9bc371d51dc54bb2b1793afad9472ee628c8d1..9f254822f3257842b25b789318a5baa9c29f44c2 100644 --- a/apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php @@ -1,6 +1,8 @@ + * Copyright (c) 2015 Vincent Petry * * @author Christoph Wurst * @author Joas Schilling @@ -27,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\User\User; diff --git a/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php index 23ab9f05ae709f45a6fe4c601e83bc36f00c6348..8f59b5c791b09ce0af17d82426ce08c27e9d694b 100644 --- a/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\Files\View; diff --git a/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php b/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php index afef4e91414c07bb7fbf3e4fcd990628e577ac71..3f38008559ca55688a0f0d8e3a1481aa801d55c4 100644 --- a/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php @@ -7,6 +7,7 @@ * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license AGPL-3.0 * @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\MaintenancePlugin; diff --git a/apps/dav/tests/unit/Connector/Sabre/NodeTest.php b/apps/dav/tests/unit/Connector/Sabre/NodeTest.php index 4244792c46a32415e5c1046aee9a0484c6d7b846..18ccd0fe69073a09da6eee55b01243a1e489aaba 100644 --- a/apps/dav/tests/unit/Connector/Sabre/NodeTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/NodeTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\Files\FileInfo; diff --git a/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php b/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php index 3bf8c0b642ce5b9605d9ede1bdaa34b02132c91f..d77f65b33f5bbbb10f7059c4c893175b50fabdc9 100644 --- a/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\Files\FileInfo; diff --git a/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php b/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php index c9e3d44bf885520bf071a3deff4a0494b709c308..acaa82dca8b5af33256aa4396eb70a248838af9b 100644 --- a/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\KnownUser\KnownUserService; diff --git a/apps/dav/tests/unit/Connector/Sabre/PropfindCompressionPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/PropfindCompressionPluginTest.php index 2279a582845d38ccbb4bb91feae7c8be34373476..e048190e633841c418e210b30edfaa3155b3194d 100644 --- a/apps/dav/tests/unit/Connector/Sabre/PropfindCompressionPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/PropfindCompressionPluginTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\PropfindCompressionPlugin; diff --git a/apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php index 302961d6de694cdd642db3b650a2221c267be761..69b2140e64081498db6cf923a03e6228e1db1600 100644 --- a/apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php @@ -1,6 +1,8 @@ + * Copyright (c) 2013 Thomas Müller * * @author Christoph Wurst * @author Georg Ehrke @@ -26,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\Files\View; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/Auth.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/Auth.php index e8471f363194aba9a9d9dd44f20fd9b5cfbb2ad3..917c63038cb8877929d9180927c42dcbe92b45aa 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/Auth.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/Auth.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use Sabre\DAV\Auth\Backend\BackendInterface; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/DeleteTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/DeleteTest.php index e0ed00ada08bf6a951544b89308e062fb6dcc79c..b76564e59d4d57a9d1b36567d9bdee9e63488bdc 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/DeleteTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/DeleteTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OCP\AppFramework\Http; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/DownloadTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/DownloadTest.php index ad41ddb794717eebc16b3c9b6d2af72a07a50314..ceae6fadf28b50c15ab63de3a0eab3a496c00997 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/DownloadTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/DownloadTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OCP\AppFramework\Http; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionMasterKeyUploadTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionMasterKeyUploadTest.php index 48b854640caf603f32d62a2fed4e0db3012a4e86..f0fd9e5a8333bafdcfc7d1a1d6b24c48935902f3 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionMasterKeyUploadTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionMasterKeyUploadTest.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OC\Files\View; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionUploadTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionUploadTest.php index acdf1cf8d3b6d93581df836ea51f81568148d9fa..da7c35560cbd3ec4acfc2e18a1099530b89a3e55 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionUploadTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionUploadTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OC\Files\View; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php index 7eef0f74343b8af0a709a43b3a6757a4d911c953..eb459912bf4cf9bd38b96118f220d340b8a13d99 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; class ExceptionPlugin extends \OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin { diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php index 3297b7278c1ba98da25c86429c0b40ee36b50eaf..88ec848ad89551f5a1da839ce54735e0257c91cf 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OCP\IConfig; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php index 112f1280778e042cbd7f50e0b7a4b1841b0de728..5adfece42e86e01ab3f74921a1c6f7bec364f85f 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OC\Files\View; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/Sapi.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/Sapi.php index a32162f97c3ec73e36351ec0bd106e1e7cc6ef58..4a2e025f0186a01655b7f31bfcde05d14eda5719 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/Sapi.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/Sapi.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use Sabre\HTTP\Request; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/UploadTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/UploadTest.php index 07396f6f53559d7656ab79e26b7598f94212df09..9f7d381ad1499c8f37d5d38b908d1f0ed8e91fff 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/UploadTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/UploadTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OCP\AppFramework\Http; diff --git a/apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php index 900dee6df63adb4e56d6b6220ed411b2d9b83ea4..f528310e54c30182cbb64945997c1db4448bb37e 100644 --- a/apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/dav/tests/unit/Connector/Sabre/TagsPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/TagsPluginTest.php index a0ef78c75202d0c189d7b3ca6e0d456cea61d5eb..995342db003075e887a95fadad668288ef271d6c 100644 --- a/apps/dav/tests/unit/Connector/Sabre/TagsPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/TagsPluginTest.php @@ -1,6 +1,8 @@ + * Copyright (c) 2014 Vincent Petry * * @author Christoph Wurst * @author Daniel Kesselberg @@ -25,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/dav/tests/unit/Controller/BirthdayCalendarControllerTest.php b/apps/dav/tests/unit/Controller/BirthdayCalendarControllerTest.php index f017664238c160e8bdac0123e47f37f19cd2f6c0..37650e6f1ed90360c11f4e9938dd55c08f618a79 100644 --- a/apps/dav/tests/unit/Controller/BirthdayCalendarControllerTest.php +++ b/apps/dav/tests/unit/Controller/BirthdayCalendarControllerTest.php @@ -4,6 +4,7 @@ * * @author Arthur Schiwon * @author Christoph Wurst + * @author François Freitag * @author Georg Ehrke * @author Morris Jobke * @author Roeland Jago Douma @@ -17,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\Unit\DAV\Controller; use OCA\DAV\BackgroundJob\GenerateBirthdayCalendarBackgroundJob; diff --git a/apps/dav/tests/unit/Controller/DirectControllerTest.php b/apps/dav/tests/unit/Controller/DirectControllerTest.php index 2c8a708ba02ca218853d42555e0f3754e5737bed..b85610f94d89d1068bbb951af126af0165c6909b 100644 --- a/apps/dav/tests/unit/Controller/DirectControllerTest.php +++ b/apps/dav/tests/unit/Controller/DirectControllerTest.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\Unit\DAV\Controller; use OCA\DAV\Controller\DirectController; diff --git a/apps/dav/tests/unit/Controller/InvitationResponseControllerTest.php b/apps/dav/tests/unit/Controller/InvitationResponseControllerTest.php index 87db11ddd690c6f70e3cda1f62038dd27901f35a..e8b6af9fcea8d8f34c69605924aea5da40fc10e4 100644 --- a/apps/dav/tests/unit/Controller/InvitationResponseControllerTest.php +++ b/apps/dav/tests/unit/Controller/InvitationResponseControllerTest.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\Unit\DAV\Controller; use OCA\DAV\CalDAV\InvitationResponse\InvitationResponseServer; diff --git a/apps/dav/tests/unit/DAV/AnonymousOptionsTest.php b/apps/dav/tests/unit/DAV/AnonymousOptionsTest.php index a9e679e447091c87fcf0ffcc406cfa85082343b0..8c178ba8e4483c68b650d116a55e9de6611172e8 100644 --- a/apps/dav/tests/unit/DAV/AnonymousOptionsTest.php +++ b/apps/dav/tests/unit/DAV/AnonymousOptionsTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\tests\unit\DAV; use OCA\DAV\Connector\Sabre\AnonymousOptionsPlugin; diff --git a/apps/dav/tests/unit/DAV/BrowserErrorPagePluginTest.php b/apps/dav/tests/unit/DAV/BrowserErrorPagePluginTest.php index 370852abdadf7daaeba24947748bcfcb34542e6e..a0733a685503c0570854a7b8558e69416af5e27e 100644 --- a/apps/dav/tests/unit/DAV/BrowserErrorPagePluginTest.php +++ b/apps/dav/tests/unit/DAV/BrowserErrorPagePluginTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\DAV; use OCA\DAV\Files\BrowserErrorPagePlugin; diff --git a/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php b/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php index 855add1fc1dbe620de75cf85bcb9c837e4c2656b..2e7939aa6144f295778668d160ffa78b1df7977a 100644 --- a/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php +++ b/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\DAV; use OCA\DAV\DAV\CustomPropertiesBackend; diff --git a/apps/dav/tests/unit/DAV/GroupPrincipalTest.php b/apps/dav/tests/unit/DAV/GroupPrincipalTest.php index 7e80930bc765582989224c6de875a38c5e156989..8f86961a6af68cfd5d6e730465baf0d0bd432c47 100644 --- a/apps/dav/tests/unit/DAV/GroupPrincipalTest.php +++ b/apps/dav/tests/unit/DAV/GroupPrincipalTest.php @@ -7,9 +7,10 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma + * @author Thomas Citharel * @author Thomas Müller * * @license AGPL-3.0 @@ -27,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\DAV; use OC\Group\Group; diff --git a/apps/dav/tests/unit/DAV/HookManagerTest.php b/apps/dav/tests/unit/DAV/HookManagerTest.php index 8b8fad4d7cf0b6c9ff3ad70322277e413f41cf21..d36db8f90c860b746f6069c7b16a8fded3c34f0d 100644 --- a/apps/dav/tests/unit/DAV/HookManagerTest.php +++ b/apps/dav/tests/unit/DAV/HookManagerTest.php @@ -5,7 +5,7 @@ * @author Bjoern Schiessle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\DAV; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/tests/unit/DAV/Sharing/PluginTest.php b/apps/dav/tests/unit/DAV/Sharing/PluginTest.php index 0b01f46ffec2b764ff63ebb687433cddb94d55f3..1c4bb5e12e4100c60d7b0bea422d9fdc13f8f9ca 100644 --- a/apps/dav/tests/unit/DAV/Sharing/PluginTest.php +++ b/apps/dav/tests/unit/DAV/Sharing/PluginTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\DAV\Sharing; use OCA\DAV\Connector\Sabre\Auth; diff --git a/apps/dav/tests/unit/DAV/SystemPrincipalBackendTest.php b/apps/dav/tests/unit/DAV/SystemPrincipalBackendTest.php index 6ad6874e7edc50ae59dd399e98a06690e4767f3e..05e6699cc4c43e2210f8947e889915c19dbd2c16 100644 --- a/apps/dav/tests/unit/DAV/SystemPrincipalBackendTest.php +++ b/apps/dav/tests/unit/DAV/SystemPrincipalBackendTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\DAV; use OCA\DAV\DAV\SystemPrincipalBackend; diff --git a/apps/dav/tests/unit/Direct/DirectFileTest.php b/apps/dav/tests/unit/Direct/DirectFileTest.php index 73722bccb96214bad24b4d790b0524e0c7832a85..5899b23d0b9d054da19ac453f60d8429376ef625 100644 --- a/apps/dav/tests/unit/Direct/DirectFileTest.php +++ b/apps/dav/tests/unit/Direct/DirectFileTest.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright 2018, Roeland Jago Douma * * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\Unit\Direct; use OCA\DAV\Db\Direct; diff --git a/apps/dav/tests/unit/Direct/DirectHomeTest.php b/apps/dav/tests/unit/Direct/DirectHomeTest.php index 9ce7681945139bf52d03cca748ca56ff0be72ca3..073aa28f121201632b177f656228dc4dd4787ff7 100644 --- a/apps/dav/tests/unit/Direct/DirectHomeTest.php +++ b/apps/dav/tests/unit/Direct/DirectHomeTest.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright 2018, Roeland Jago Douma * * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\Unit\Direct; use OC\Security\Bruteforce\Throttler; diff --git a/apps/dav/tests/unit/Files/FileSearchBackendTest.php b/apps/dav/tests/unit/Files/FileSearchBackendTest.php index 7eff39535b6fa527250729e8399f18a4ad80d1b9..dec5db1b1b0cf00257d52008930552af806f7979 100644 --- a/apps/dav/tests/unit/Files/FileSearchBackendTest.php +++ b/apps/dav/tests/unit/Files/FileSearchBackendTest.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\Files; use OC\Files\Search\SearchComparison; diff --git a/apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php b/apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php index 2543dc9d0092c4c1706b16c552ed83ba0cbd7d84..a24125b68045fb3faece4fa8dd59915bd0ca06e4 100644 --- a/apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php +++ b/apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\Files\Sharing; use OC\Files\View; diff --git a/apps/dav/tests/unit/Listener/CalendarContactInteractionListenerTest.php b/apps/dav/tests/unit/Listener/CalendarContactInteractionListenerTest.php index 5a90f5440a0030daf35bf424b1b92982491d4809..29058653a479e1f46a0cbb479a11549bc84437ec 100644 --- a/apps/dav/tests/unit/Listener/CalendarContactInteractionListenerTest.php +++ b/apps/dav/tests/unit/Listener/CalendarContactInteractionListenerTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Tests\Unit\Listener; use OCA\DAV\Connector\Sabre\Principal; diff --git a/apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php b/apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php index 4276db3c83e020e94c4b7475651ddc60ecd91563..478be5b42946a9909085e7b8be44c39d67264fae 100644 --- a/apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php +++ b/apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\Unit\DAV\Migration; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/tests/unit/Migration/RefreshWebcalJobRegistrarTest.php b/apps/dav/tests/unit/Migration/RefreshWebcalJobRegistrarTest.php index 87f7c79a770a4d925600dd0bbb1d3529e53cf1ec..427bf6da14541aa30a1e5db2e4d3a8bd2474ddd6 100644 --- a/apps/dav/tests/unit/Migration/RefreshWebcalJobRegistrarTest.php +++ b/apps/dav/tests/unit/Migration/RefreshWebcalJobRegistrarTest.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Georg Ehrke + * @author Joas Schilling * @author Morris Jobke * @author Roeland Jago Douma * @@ -16,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\DAV\Migration; use OCA\DAV\BackgroundJob\RefreshWebcalJob; diff --git a/apps/dav/tests/unit/Migration/RegenerateBirthdayCalendarsTest.php b/apps/dav/tests/unit/Migration/RegenerateBirthdayCalendarsTest.php index 639708c57ff1c3df8296d93c5c2b124f48c4f8e4..bb5210f18fbe88e64097e9fc07401687b1c59947 100644 --- a/apps/dav/tests/unit/Migration/RegenerateBirthdayCalendarsTest.php +++ b/apps/dav/tests/unit/Migration/RegenerateBirthdayCalendarsTest.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2018, Georg Ehrke * * @author Arthur Schiwon + * @author François Freitag * @author Georg Ehrke * @author Morris Jobke * @author Roeland Jago Douma @@ -16,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\DAV\Migration; use OCA\DAV\BackgroundJob\RegisterRegenerateBirthdayCalendars; diff --git a/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningNodeTest.php b/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningNodeTest.php index 71401fa31d5fb346bec8852d3099ec83efb66283..2f4728f1966a1c740c636c93a97a1334592ccf76 100644 --- a/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningNodeTest.php +++ b/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningNodeTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\Provisioning\Apple; use OCA\DAV\Provisioning\Apple\AppleProvisioningNode; diff --git a/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php b/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php index a77d3d3c8597ceafe24908084ecb68dec052c8af..5bff59cbc7c8c577ae9f66556518799fef22f4cc 100644 --- a/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php +++ b/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\unit\Provisioning\Apple; use OCA\DAV\Provisioning\Apple\AppleProvisioningPlugin; diff --git a/apps/dav/tests/unit/Search/ContactsSearchProviderTest.php b/apps/dav/tests/unit/Search/ContactsSearchProviderTest.php index 7e9fc6d9a498ee910151dc1b60cc9f3293a8d214..b91612ae5beccca6723ab962f5e2c4a01207e515 100644 --- a/apps/dav/tests/unit/Search/ContactsSearchProviderTest.php +++ b/apps/dav/tests/unit/Search/ContactsSearchProviderTest.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,7 +17,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/tests/unit/Search/EventsSearchProviderTest.php b/apps/dav/tests/unit/Search/EventsSearchProviderTest.php index 1f8c7f23d37c9ac641a451a979bea6fac3b57da4..a2f4e66fbdb86a29c4c3599281fdd268b1759b9d 100644 --- a/apps/dav/tests/unit/Search/EventsSearchProviderTest.php +++ b/apps/dav/tests/unit/Search/EventsSearchProviderTest.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,7 +17,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/tests/unit/Search/TasksSearchProviderTest.php b/apps/dav/tests/unit/Search/TasksSearchProviderTest.php index 218f76744120001d920ac5666f9f495a0de62d4d..13dc02bb2783fa9dc97fcaf96487c2db501f72fc 100644 --- a/apps/dav/tests/unit/Search/TasksSearchProviderTest.php +++ b/apps/dav/tests/unit/Search/TasksSearchProviderTest.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,7 +17,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/dav/tests/unit/ServerTest.php b/apps/dav/tests/unit/ServerTest.php index e3377afc46c1fafbc910c15c00fca98cd2827010..8cdd52f574575ca8016ad9ae253d4388e2164523 100644 --- a/apps/dav/tests/unit/ServerTest.php +++ b/apps/dav/tests/unit/ServerTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit; use OCA\DAV\Server; diff --git a/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php b/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php index 5c8a89db547fe1c6d2e238a07c8ae9cca06b504a..dd9942677c07781bfc2146c5fd49fa01bd3583a6 100644 --- a/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php +++ b/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\DAV\Tests\Unit\DAV\Settings; use OCA\DAV\Settings\CalDAVSettings; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php b/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php index cf0373d5e33ff5a4d7192208a01ee5d1d2534d3d..e39cb0a04d3dd845c4780ce1dba22c52ddf8feea 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\SystemTag; use OC\SystemTag\SystemTag; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php b/apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php index a30ce43ba9478f6364701e2f10b61e8d0a2a2c37..409132919a55e5d75c787a8867db4139505060ec 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\SystemTag; use OC\SystemTag\SystemTag; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php b/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php index d950af3efdb2bc0223e67165a6058019eb549541..aa7026d38549d84e8a88f175acb0120a0b1442c1 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\SystemTag; use OC\SystemTag\SystemTag; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php b/apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php index 378545beabd1c2f00d29e233d996e5ab6518c99b..72da59dfcce8c8da6017b58d392f75afa28a9178 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\SystemTag; use OC\SystemTag\SystemTag; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php b/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php index 54fc82876c0f710c95a76f75c7e68d30d67dd062..bb71de8ea8e85c9ae005a988aa587b17f9d82d8e 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\SystemTag; use OC\SystemTag\SystemTag; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagsObjectTypeCollectionTest.php b/apps/dav/tests/unit/SystemTag/SystemTagsObjectTypeCollectionTest.php index e50c30df3b945def18f3765431635047658ba8db..11c9fc5977c8fa10d68d77cfc951bd2be02c9ccc 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagsObjectTypeCollectionTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagsObjectTypeCollectionTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\SystemTag; use OCP\Files\Folder; diff --git a/apps/dav/tests/unit/Upload/AssemblyStreamTest.php b/apps/dav/tests/unit/Upload/AssemblyStreamTest.php index 2660951efee6fae2e65db4e463b8e9ba7a78221d..c7d2fea28715a9a12ef4803b57e317fc7f92d809 100644 --- a/apps/dav/tests/unit/Upload/AssemblyStreamTest.php +++ b/apps/dav/tests/unit/Upload/AssemblyStreamTest.php @@ -8,7 +8,6 @@ * @author Markus Goetz * @author Morris Jobke * @author Robin Appelman - * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry * @@ -27,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Upload; use Sabre\DAV\File; diff --git a/apps/dav/tests/unit/Upload/ChunkingPluginTest.php b/apps/dav/tests/unit/Upload/ChunkingPluginTest.php index e6548e8784770f8eb51e940e2ddb951196535126..766b3e1f4572dffba1ff3c6da7b3bf9c73f2e270 100644 --- a/apps/dav/tests/unit/Upload/ChunkingPluginTest.php +++ b/apps/dav/tests/unit/Upload/ChunkingPluginTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Upload; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/dav/tests/unit/Upload/FutureFileTest.php b/apps/dav/tests/unit/Upload/FutureFileTest.php index 793241cda72a1b69ac58f98ffaab57367030493e..0c276167e1cc9d23a43e5a01400a7ff2e59f251b 100644 --- a/apps/dav/tests/unit/Upload/FutureFileTest.php +++ b/apps/dav/tests/unit/Upload/FutureFileTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Upload; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/encryption/appinfo/app.php b/apps/encryption/appinfo/app.php index 5fd5f628de0c3941f9c9f544a3529cb88caf4700..c42a0435a141fefb31f16b23329a3cb15ae7004d 100644 --- a/apps/encryption/appinfo/app.php +++ b/apps/encryption/appinfo/app.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\AppInfo; \OCP\Util::addscript('encryption', 'encryption'); diff --git a/apps/encryption/appinfo/routes.php b/apps/encryption/appinfo/routes.php index b6224f83e2e165b72ad27d4c9f9136c49534da49..5abe0ce6687f071630efc26a3452b91a21e40acc 100644 --- a/apps/encryption/appinfo/routes.php +++ b/apps/encryption/appinfo/routes.php @@ -23,7 +23,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - return [ 'routes' => [ [ diff --git a/apps/encryption/lib/AppInfo/Application.php b/apps/encryption/lib/AppInfo/Application.php index ac0f2ededd246623564968f1bcc515ee4fc3df6b..63239a1bf9bd330f4d9e314ab12c9befb6cf79d4 100644 --- a/apps/encryption/lib/AppInfo/Application.php +++ b/apps/encryption/lib/AppInfo/Application.php @@ -7,7 +7,6 @@ * @author Christoph Wurst * @author Clark Tomlinson * @author Morris Jobke - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\AppInfo; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/lib/Command/DisableMasterKey.php b/apps/encryption/lib/Command/DisableMasterKey.php index 291ed6bbb043c1b8b3ff67296b12173bc7cbb308..6000d6021c8bc80566e795317545350c0331ba9c 100644 --- a/apps/encryption/lib/Command/DisableMasterKey.php +++ b/apps/encryption/lib/Command/DisableMasterKey.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Encryption\Command; use OCA\Encryption\Util; diff --git a/apps/encryption/lib/Command/EnableMasterKey.php b/apps/encryption/lib/Command/EnableMasterKey.php index c73d1b4ad1e53aa390f62e4d063a8e1ce620b644..031f6e3fa4e8d87eaeb1f8a84b688088bbdd5d66 100644 --- a/apps/encryption/lib/Command/EnableMasterKey.php +++ b/apps/encryption/lib/Command/EnableMasterKey.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Command; use OCA\Encryption\Util; diff --git a/apps/encryption/lib/Command/RecoverUser.php b/apps/encryption/lib/Command/RecoverUser.php index 800ddf66a8a4e583fdbce97d473ff39936255734..d3dd4a3612d37d9ee748061477f2f9c1523143e8 100644 --- a/apps/encryption/lib/Command/RecoverUser.php +++ b/apps/encryption/lib/Command/RecoverUser.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Encryption\Command; use OCA\Encryption\Util; diff --git a/apps/encryption/lib/Command/ScanLegacyFormat.php b/apps/encryption/lib/Command/ScanLegacyFormat.php index 425d03480062263efee88dd5db9a10245312e8f2..dc6d43ee5b870007b3abca823ee55d3933dc0d0b 100644 --- a/apps/encryption/lib/Command/ScanLegacyFormat.php +++ b/apps/encryption/lib/Command/ScanLegacyFormat.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Encryption\Command; use OC\Files\View; diff --git a/apps/encryption/lib/Controller/RecoveryController.php b/apps/encryption/lib/Controller/RecoveryController.php index 6455700cd9b27c97d9cb2b3820e82496dc124929..c5f8a7e8d725de9e0704707fe4c5a5c10637a9ad 100644 --- a/apps/encryption/lib/Controller/RecoveryController.php +++ b/apps/encryption/lib/Controller/RecoveryController.php @@ -6,6 +6,7 @@ * @author Christoph Wurst * @author Clark Tomlinson * @author Lukas Reschke + * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Controller; use OCA\Encryption\Recovery; diff --git a/apps/encryption/lib/Controller/SettingsController.php b/apps/encryption/lib/Controller/SettingsController.php index 6ccfe51400ed3fef8760412643de7fe76d1e4fd4..eedbaea9d9d586a574e6f8e2a6658c99b4b13c08 100644 --- a/apps/encryption/lib/Controller/SettingsController.php +++ b/apps/encryption/lib/Controller/SettingsController.php @@ -4,6 +4,7 @@ * * @author Björn Schießle * @author Joas Schilling + * @author Morris Jobke * * @license AGPL-3.0 * @@ -20,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Controller; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/lib/Controller/StatusController.php b/apps/encryption/lib/Controller/StatusController.php index a17023fdcfdd49c7c607010b7ce4c4e6e3e43d77..d07b4da794a370a8f3b4a4a7f4cf2614975ee68c 100644 --- a/apps/encryption/lib/Controller/StatusController.php +++ b/apps/encryption/lib/Controller/StatusController.php @@ -6,6 +6,7 @@ * @author Björn Schießle * @author Christoph Wurst * @author Joas Schilling + * @author Morris Jobke * @author Thomas Müller * * @license AGPL-3.0 @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Controller; use OCA\Encryption\Session; diff --git a/apps/encryption/lib/Crypto/Crypt.php b/apps/encryption/lib/Crypto/Crypt.php index c956283e5f66b5fa388a187971407c169ff70d0e..41889d1226e048270f7bbbfe1e8d9a031d47e41a 100644 --- a/apps/encryption/lib/Crypto/Crypt.php +++ b/apps/encryption/lib/Crypto/Crypt.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Crypto; use OC\Encryption\Exceptions\DecryptionFailedException; diff --git a/apps/encryption/lib/Crypto/DecryptAll.php b/apps/encryption/lib/Crypto/DecryptAll.php index 926d4b38db1c48f2fc365e77aa2f6991b60b53cc..e982da72086ef4c5c0db525ca5d720ddf5852faf 100644 --- a/apps/encryption/lib/Crypto/DecryptAll.php +++ b/apps/encryption/lib/Crypto/DecryptAll.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Crypto; use OCA\Encryption\KeyManager; diff --git a/apps/encryption/lib/Crypto/EncryptAll.php b/apps/encryption/lib/Crypto/EncryptAll.php index 135a89c28bbbcb2242934ad30b41645e3613521e..c8c302f10c76fe6e3d6a9421425a6dab8e03c003 100644 --- a/apps/encryption/lib/Crypto/EncryptAll.php +++ b/apps/encryption/lib/Crypto/EncryptAll.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Crypto; use OC\Encryption\Exceptions\DecryptionFailedException; diff --git a/apps/encryption/lib/Crypto/Encryption.php b/apps/encryption/lib/Crypto/Encryption.php index 9f3cc964e40b6a8498a44bf9f9e4d411d8b32398..58cefcbe087916f1058e54009b6d7769a28b33d7 100644 --- a/apps/encryption/lib/Crypto/Encryption.php +++ b/apps/encryption/lib/Crypto/Encryption.php @@ -11,8 +11,10 @@ * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license AGPL-3.0 * @@ -29,7 +31,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Crypto; use OC\Encryption\Exceptions\DecryptionFailedException; diff --git a/apps/encryption/lib/Exceptions/MultiKeyDecryptException.php b/apps/encryption/lib/Exceptions/MultiKeyDecryptException.php index 79ec2c3c8229090d36ae6706ab45613eaaf185eb..562f6955ae47269307d866cef69b84c792aca539 100644 --- a/apps/encryption/lib/Exceptions/MultiKeyDecryptException.php +++ b/apps/encryption/lib/Exceptions/MultiKeyDecryptException.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -20,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/apps/encryption/lib/Exceptions/MultiKeyEncryptException.php b/apps/encryption/lib/Exceptions/MultiKeyEncryptException.php index 4916a4ceba5e955691dfd4996053d0a775d29bf8..3771e7e36ba992ebecfc806d2d90e9bfaa329130 100644 --- a/apps/encryption/lib/Exceptions/MultiKeyEncryptException.php +++ b/apps/encryption/lib/Exceptions/MultiKeyEncryptException.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -20,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/apps/encryption/lib/Exceptions/PrivateKeyMissingException.php b/apps/encryption/lib/Exceptions/PrivateKeyMissingException.php index 03d3aba82792deb0ac01a7b01cddedcb32ab74f2..b8fd4fb92343bb3409ba73cc44689e2b4b0d5531 100644 --- a/apps/encryption/lib/Exceptions/PrivateKeyMissingException.php +++ b/apps/encryption/lib/Exceptions/PrivateKeyMissingException.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/apps/encryption/lib/Exceptions/PublicKeyMissingException.php b/apps/encryption/lib/Exceptions/PublicKeyMissingException.php index e4c739b327213a1207ed522658be4bc4809a297f..73edc5c710d840968416c0e5e9356e973d1e732d 100644 --- a/apps/encryption/lib/Exceptions/PublicKeyMissingException.php +++ b/apps/encryption/lib/Exceptions/PublicKeyMissingException.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/apps/encryption/lib/HookManager.php b/apps/encryption/lib/HookManager.php index 5917a9f6e2aca10fbfb2fddc9a0293276a11425d..0e7ec5cfd561425325b4f3f30a3020a8955638f7 100644 --- a/apps/encryption/lib/HookManager.php +++ b/apps/encryption/lib/HookManager.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption; use OCA\Encryption\Hooks\Contracts\IHook; diff --git a/apps/encryption/lib/Hooks/Contracts/IHook.php b/apps/encryption/lib/Hooks/Contracts/IHook.php index 02d26c4dea22e6f1dc47bce0840c622f60e9ca50..54128d103272dba1e5cdb249d2f746c0b937fa85 100644 --- a/apps/encryption/lib/Hooks/Contracts/IHook.php +++ b/apps/encryption/lib/Hooks/Contracts/IHook.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Hooks\Contracts; interface IHook { diff --git a/apps/encryption/lib/Hooks/UserHooks.php b/apps/encryption/lib/Hooks/UserHooks.php index 399e2865d03983d1de85f930500e93035628c511..a719d7bc12e1faf95a096ebe5c3a0aa26b02fdd9 100644 --- a/apps/encryption/lib/Hooks/UserHooks.php +++ b/apps/encryption/lib/Hooks/UserHooks.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Hooks; use OC\Files\Filesystem; diff --git a/apps/encryption/lib/KeyManager.php b/apps/encryption/lib/KeyManager.php index 6dabca1729e297f8a6ad37e3362c85d99ca97951..4a2c6c16e2b0a337471d9ea6882b8f9ea29e93a6 100644 --- a/apps/encryption/lib/KeyManager.php +++ b/apps/encryption/lib/KeyManager.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption; use OC\Encryption\Exceptions\DecryptionFailedException; diff --git a/apps/encryption/lib/Migration/SetMasterKeyStatus.php b/apps/encryption/lib/Migration/SetMasterKeyStatus.php index 322b991ae9754e3cddd762bfe56abe7c8e9084a9..9e800ac7cd3520a8f8c50f6199df0a8a94a9f8ca 100644 --- a/apps/encryption/lib/Migration/SetMasterKeyStatus.php +++ b/apps/encryption/lib/Migration/SetMasterKeyStatus.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Encryption\Migration; use OCP\IConfig; diff --git a/apps/encryption/lib/Recovery.php b/apps/encryption/lib/Recovery.php index 7d7132999eaad4c07ba4335f68d130da94f00850..22a668cd5b0345edc29eb75e9008ab3d792502af 100644 --- a/apps/encryption/lib/Recovery.php +++ b/apps/encryption/lib/Recovery.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption; use OC\Files\View; diff --git a/apps/encryption/lib/Session.php b/apps/encryption/lib/Session.php index 262705e0be5ecace9a8c5cec3129a3907c3806e7..ad07008d4806fd6f5e9910119db267003c35d909 100644 --- a/apps/encryption/lib/Session.php +++ b/apps/encryption/lib/Session.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption; use OCA\Encryption\Exceptions\PrivateKeyMissingException; diff --git a/apps/encryption/lib/Settings/Admin.php b/apps/encryption/lib/Settings/Admin.php index cfb04166635e81491b2b84893e006e8ae0a7cf2d..e69379bb414cbaee506cbabff573d9854d4a0d9d 100644 --- a/apps/encryption/lib/Settings/Admin.php +++ b/apps/encryption/lib/Settings/Admin.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Encryption\Settings; use OC\Files\View; diff --git a/apps/encryption/lib/Settings/Personal.php b/apps/encryption/lib/Settings/Personal.php index 753543819932a314b91089f6df5028ae644140b5..70b85a667a9ba20b9e4c86d79d58da609d0e08b8 100644 --- a/apps/encryption/lib/Settings/Personal.php +++ b/apps/encryption/lib/Settings/Personal.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Encryption\Settings; use OCA\Encryption\Session; diff --git a/apps/encryption/lib/Users/Setup.php b/apps/encryption/lib/Users/Setup.php index 947ca27dd067b538f34544e65431800f5f24f3ac..c28a83d81152072443c33138b696dc8303c82161 100644 --- a/apps/encryption/lib/Users/Setup.php +++ b/apps/encryption/lib/Users/Setup.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Users; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/lib/Util.php b/apps/encryption/lib/Util.php index 139dd3f50fa8ec61a4eb01ddf752442b7e9201af..07bca9cbfdf3aa3464f3cf18aa370c424cd37453 100644 --- a/apps/encryption/lib/Util.php +++ b/apps/encryption/lib/Util.php @@ -7,6 +7,7 @@ * @author Clark Tomlinson * @author Morris Jobke * @author Phil Davis + * @author Robin Appelman * * @license AGPL-3.0 * @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption; use OC\Files\View; diff --git a/apps/encryption/tests/Command/TestEnableMasterKey.php b/apps/encryption/tests/Command/TestEnableMasterKey.php index ebaf477ddc56a7c40fff97be0e85f459489f9e27..269e99eae4b51ee7a6270866fdf3fd465f04b527 100644 --- a/apps/encryption/tests/Command/TestEnableMasterKey.php +++ b/apps/encryption/tests/Command/TestEnableMasterKey.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Command; use OCA\Encryption\Command\EnableMasterKey; diff --git a/apps/encryption/tests/Controller/RecoveryControllerTest.php b/apps/encryption/tests/Controller/RecoveryControllerTest.php index d92cfebf295417128ff4d08894c72c4fd038cfd5..7a33b4b1346d06aba3c96a2c5b6b4b081783416d 100644 --- a/apps/encryption/tests/Controller/RecoveryControllerTest.php +++ b/apps/encryption/tests/Controller/RecoveryControllerTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Controller; use OCA\Encryption\Controller\RecoveryController; diff --git a/apps/encryption/tests/Controller/SettingsControllerTest.php b/apps/encryption/tests/Controller/SettingsControllerTest.php index 0c50491857bba53cf685bf7570e7b94b0c9c0b1b..0576b442f02730a2cb938b8830689d266bd85b44 100644 --- a/apps/encryption/tests/Controller/SettingsControllerTest.php +++ b/apps/encryption/tests/Controller/SettingsControllerTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Controller; use OCA\Encryption\Controller\SettingsController; diff --git a/apps/encryption/tests/Controller/StatusControllerTest.php b/apps/encryption/tests/Controller/StatusControllerTest.php index 4c1c59bccf7cbddf5c9e22bae80ed45a1e758f36..dffc4a977188c0581c19d149155cae40f4e1a585 100644 --- a/apps/encryption/tests/Controller/StatusControllerTest.php +++ b/apps/encryption/tests/Controller/StatusControllerTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Controller; use OCA\Encryption\Controller\StatusController; diff --git a/apps/encryption/tests/Crypto/CryptTest.php b/apps/encryption/tests/Crypto/CryptTest.php index 7bfaed0b17ee4d7c75c5cd1b93d1f00ab0d309c8..60548a0f1dcd17a7da216a6a7a25bef1c798e945 100644 --- a/apps/encryption/tests/Crypto/CryptTest.php +++ b/apps/encryption/tests/Crypto/CryptTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Crypto; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/tests/Crypto/DecryptAllTest.php b/apps/encryption/tests/Crypto/DecryptAllTest.php index 2721a6e8b53b220c344b4ddc553465c4d68a351d..68b49307f311f02b9e25e27a7b34707edb789af6 100644 --- a/apps/encryption/tests/Crypto/DecryptAllTest.php +++ b/apps/encryption/tests/Crypto/DecryptAllTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Crypto; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/tests/Crypto/EncryptAllTest.php b/apps/encryption/tests/Crypto/EncryptAllTest.php index 8254cfc9b78fee42a233c046639dbecf67fcd8bd..4a00b67f0b1fcd01662f7ffac13d0120721a83b4 100644 --- a/apps/encryption/tests/Crypto/EncryptAllTest.php +++ b/apps/encryption/tests/Crypto/EncryptAllTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Crypto; use OC\Files\View; diff --git a/apps/encryption/tests/Crypto/EncryptionTest.php b/apps/encryption/tests/Crypto/EncryptionTest.php index b052dca2387aa6f7f8b12a18c848586a69663ae0..63698dcdc6353d73c420e99fc85e17b39ff1f9f1 100644 --- a/apps/encryption/tests/Crypto/EncryptionTest.php +++ b/apps/encryption/tests/Crypto/EncryptionTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Crypto; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/tests/HookManagerTest.php b/apps/encryption/tests/HookManagerTest.php index d1b6a4466af074b836061edff930ef322a3df790..13102c8716828a21744461387707ed98ab8fc492 100644 --- a/apps/encryption/tests/HookManagerTest.php +++ b/apps/encryption/tests/HookManagerTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests; use OCA\Encryption\HookManager; diff --git a/apps/encryption/tests/Hooks/UserHooksTest.php b/apps/encryption/tests/Hooks/UserHooksTest.php index 74e2e7716d613f87fb78f110bfef9ab16435f10b..e06feb1e37061f676fce5be16f1718a6848c856d 100644 --- a/apps/encryption/tests/Hooks/UserHooksTest.php +++ b/apps/encryption/tests/Hooks/UserHooksTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Hooks; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/tests/KeyManagerTest.php b/apps/encryption/tests/KeyManagerTest.php index d939a2681fef7bce9eb93a802cff3deef4cf7d84..882080c9eab7ba755c5b74f4745a988006cdee4b 100644 --- a/apps/encryption/tests/KeyManagerTest.php +++ b/apps/encryption/tests/KeyManagerTest.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests; use OC\Files\FileInfo; diff --git a/apps/encryption/tests/RecoveryTest.php b/apps/encryption/tests/RecoveryTest.php index a5b531e51f43c2f93ce8b8bacb623596645e997c..37b6671d5cb7eb42f071a1d3f3fabafd6f3b17fd 100644 --- a/apps/encryption/tests/RecoveryTest.php +++ b/apps/encryption/tests/RecoveryTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests; use OC\Files\View; diff --git a/apps/encryption/tests/SessionTest.php b/apps/encryption/tests/SessionTest.php index 9d13471ba5336efd91158176709add5b9daf7f90..91c83b80fa9b7e052ca93b5a078b2be9bba98f8c 100644 --- a/apps/encryption/tests/SessionTest.php +++ b/apps/encryption/tests/SessionTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests; use OCA\Encryption\Session; diff --git a/apps/encryption/tests/Settings/AdminTest.php b/apps/encryption/tests/Settings/AdminTest.php index 82eed2d78a9526ff8cabd69da331cd359820ac19..e4b2933dd3bdf5a4396dace9ebe6a35a28c2e412 100644 --- a/apps/encryption/tests/Settings/AdminTest.php +++ b/apps/encryption/tests/Settings/AdminTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Encryption\Tests\Settings; use OCA\Encryption\Settings\Admin; diff --git a/apps/encryption/tests/Users/SetupTest.php b/apps/encryption/tests/Users/SetupTest.php index a418ac41dfe40f8602f823e0e05fc187a3224d84..00888ba8c60f41f921d127de2fb5bbba6112d193 100644 --- a/apps/encryption/tests/Users/SetupTest.php +++ b/apps/encryption/tests/Users/SetupTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Users; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/tests/UtilTest.php b/apps/encryption/tests/UtilTest.php index 5a573f278e464244dc361b461e9bf65a1b172246..9d5d93809bcda1e7ca77333962e3bc5e42b36e9a 100644 --- a/apps/encryption/tests/UtilTest.php +++ b/apps/encryption/tests/UtilTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests; use OC\Files\View; diff --git a/apps/federatedfilesharing/appinfo/routes.php b/apps/federatedfilesharing/appinfo/routes.php index 61c99d5913337fcc69147109bb35cda1ccb5c5c6..488ff592fd9623076a8aeeb6d85e02396c80dc14 100644 --- a/apps/federatedfilesharing/appinfo/routes.php +++ b/apps/federatedfilesharing/appinfo/routes.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - return [ 'routes' => [ ['name' => 'MountPublicLink#createFederatedShare', 'url' => '/createFederatedShare', 'verb' => 'POST'], diff --git a/apps/federatedfilesharing/lib/AddressHandler.php b/apps/federatedfilesharing/lib/AddressHandler.php index 3a48e2adc867cb9511673f13cc681689e366531e..5b50be2a53a525f673a41909eec1dabd1f9ad646 100644 --- a/apps/federatedfilesharing/lib/AddressHandler.php +++ b/apps/federatedfilesharing/lib/AddressHandler.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing; use OC\HintException; diff --git a/apps/federatedfilesharing/lib/AppInfo/Application.php b/apps/federatedfilesharing/lib/AppInfo/Application.php index 30844750ca589a4cd2c03e7f7ce0a3bbc38fc498..fc9d1e5e15023c6c637577fff5532fe51d6a4693 100644 --- a/apps/federatedfilesharing/lib/AppInfo/Application.php +++ b/apps/federatedfilesharing/lib/AppInfo/Application.php @@ -5,7 +5,7 @@ * @author Bjoern Schiessle * @author Björn Schießle * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\AppInfo; use Closure; diff --git a/apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php b/apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php index 5349dec2ddce5d3f69818352308809035d282576..f631abaabe0292c0aca6ed15133d8eaf76e6829b 100644 --- a/apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php +++ b/apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\BackgroundJob; use OCA\FederatedFileSharing\Notifications; diff --git a/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php b/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php index 372113aead3079d6669f2c0be8dfaf8186329288..6e66e7f9b4a49ef174ac690cf5d9bf388690e6d7 100644 --- a/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php +++ b/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php @@ -12,6 +12,7 @@ * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman + * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -28,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Controller; use OC\HintException; diff --git a/apps/federatedfilesharing/lib/Controller/RequestHandlerController.php b/apps/federatedfilesharing/lib/Controller/RequestHandlerController.php index a7beca508a3195f10fa54c0ad3ebfb50b39e9b6b..99adefde000be77fcabd1fe9b3cce65793126868 100644 --- a/apps/federatedfilesharing/lib/Controller/RequestHandlerController.php +++ b/apps/federatedfilesharing/lib/Controller/RequestHandlerController.php @@ -4,6 +4,7 @@ * * @author Bjoern Schiessle * @author Björn Schießle + * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke * @author Robin Appelman @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Controller; use OCA\FederatedFileSharing\AddressHandler; diff --git a/apps/federatedfilesharing/lib/Events/FederatedShareAddedEvent.php b/apps/federatedfilesharing/lib/Events/FederatedShareAddedEvent.php index f1269b9f9385a5c3d7503969a641aaabf1db8d71..3d9424666def930d56a5c7db9d234348fa4c79d6 100644 --- a/apps/federatedfilesharing/lib/Events/FederatedShareAddedEvent.php +++ b/apps/federatedfilesharing/lib/Events/FederatedShareAddedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\FederatedFileSharing\Events; use OCP\EventDispatcher\Event; diff --git a/apps/federatedfilesharing/lib/FederatedShareProvider.php b/apps/federatedfilesharing/lib/FederatedShareProvider.php index 733ce27b5960b10474e0374f117e843372c6c7ef..d5fa99ef2319f7a693f91c6636706816380d3f8a 100644 --- a/apps/federatedfilesharing/lib/FederatedShareProvider.php +++ b/apps/federatedfilesharing/lib/FederatedShareProvider.php @@ -17,6 +17,8 @@ * @author Sergej Pupykin * @author Stefan Weil * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> + * @author Vincent Petry * * @license AGPL-3.0 * @@ -33,7 +35,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing; use OC\Share20\Exception\InvalidShare; diff --git a/apps/federatedfilesharing/lib/Listeners/LoadAdditionalScriptsListener.php b/apps/federatedfilesharing/lib/Listeners/LoadAdditionalScriptsListener.php index b62615c256b33113b81995930c69c6617a76a5dc..bfbd29b525b922fd24456e4b7e32aa84ca9afc96 100644 --- a/apps/federatedfilesharing/lib/Listeners/LoadAdditionalScriptsListener.php +++ b/apps/federatedfilesharing/lib/Listeners/LoadAdditionalScriptsListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\FederatedFileSharing\Listeners; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/federatedfilesharing/lib/Migration/Version1010Date20200630191755.php b/apps/federatedfilesharing/lib/Migration/Version1010Date20200630191755.php index 4bf254fcbd0780fd05cec3aed656bf3bb8e97d27..9e491f0c533a3aa80f2edf070cbdcc06f8584724 100644 --- a/apps/federatedfilesharing/lib/Migration/Version1010Date20200630191755.php +++ b/apps/federatedfilesharing/lib/Migration/Version1010Date20200630191755.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * @author Julius Härtl * @@ -17,7 +18,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/federatedfilesharing/lib/Migration/Version1011Date20201120125158.php b/apps/federatedfilesharing/lib/Migration/Version1011Date20201120125158.php index f59822b8091384103bff353b1ebb798698d7361a..c1ff209b9c6e7dfb05c095fa6e02f2e3f091896b 100644 --- a/apps/federatedfilesharing/lib/Migration/Version1011Date20201120125158.php +++ b/apps/federatedfilesharing/lib/Migration/Version1011Date20201120125158.php @@ -1,7 +1,11 @@ * + * @author Christoph Wurst * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -13,16 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OCA\FederatedFileSharing\Migration; use Closure; diff --git a/apps/federatedfilesharing/lib/Notifications.php b/apps/federatedfilesharing/lib/Notifications.php index 68acfc98f8ba6bbd0ca3ef1792785e4d8b6bd4c1..b3d41cde851153a8d896d3af58af03752e86dd8f 100644 --- a/apps/federatedfilesharing/lib/Notifications.php +++ b/apps/federatedfilesharing/lib/Notifications.php @@ -8,6 +8,7 @@ * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke + * @author Samuel * * @license AGPL-3.0 * @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing; use OCA\FederatedFileSharing\Events\FederatedShareAddedEvent; diff --git a/apps/federatedfilesharing/lib/Notifier.php b/apps/federatedfilesharing/lib/Notifier.php index f365a14a13ca3fff8268d5b9ba4450d4babadf9c..a551a3cca0c89cb2e24d5d3f878c65591a9892e8 100644 --- a/apps/federatedfilesharing/lib/Notifier.php +++ b/apps/federatedfilesharing/lib/Notifier.php @@ -6,6 +6,7 @@ * @author Björn Schießle * @author Christoph Wurst * @author Joas Schilling + * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing; use OC\HintException; diff --git a/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php b/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php index b5499ec6ec619b5756b4f5905bd9e4c5392728e9..26b0288c35443e5f290a265e98613f07f8ae430c 100644 --- a/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php +++ b/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php @@ -19,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\FederatedFileSharing\OCM; use OC\AppFramework\Http; diff --git a/apps/federatedfilesharing/lib/Settings/Admin.php b/apps/federatedfilesharing/lib/Settings/Admin.php index eb7423a4964d74ecbd89f3287616f3971f22a680..7dae83c05a9df9a13927f5fb7eb94cb66c2b6855 100644 --- a/apps/federatedfilesharing/lib/Settings/Admin.php +++ b/apps/federatedfilesharing/lib/Settings/Admin.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\FederatedFileSharing\Settings; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/federatedfilesharing/lib/Settings/Personal.php b/apps/federatedfilesharing/lib/Settings/Personal.php index 5416dbf8b174cba44119a1edf813537437df86da..3bc1c3d89ad31a8417b202b84ff941edda4062ed 100644 --- a/apps/federatedfilesharing/lib/Settings/Personal.php +++ b/apps/federatedfilesharing/lib/Settings/Personal.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\FederatedFileSharing\Settings; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/federatedfilesharing/lib/Settings/PersonalSection.php b/apps/federatedfilesharing/lib/Settings/PersonalSection.php index 102d4eb889f33734458ccfc35bd8006c895b04ab..43ec8f21c22c91d2db0196db80940f11ce034813 100644 --- a/apps/federatedfilesharing/lib/Settings/PersonalSection.php +++ b/apps/federatedfilesharing/lib/Settings/PersonalSection.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\FederatedFileSharing\Settings; use OCP\IL10N; diff --git a/apps/federatedfilesharing/lib/TokenHandler.php b/apps/federatedfilesharing/lib/TokenHandler.php index 62a906391242b2ba8df30fb484a87155cfa15ee5..084d0b0e2a48ee0651c687b70022400cef7e57bf 100644 --- a/apps/federatedfilesharing/lib/TokenHandler.php +++ b/apps/federatedfilesharing/lib/TokenHandler.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing; use OCP\Security\ISecureRandom; diff --git a/apps/federatedfilesharing/tests/AddressHandlerTest.php b/apps/federatedfilesharing/tests/AddressHandlerTest.php index e2e61783ee7fbce09902052251583fad34774d8e..d1d4f9cd70e8eb933822d3b8b63fa5ff4223317d 100644 --- a/apps/federatedfilesharing/tests/AddressHandlerTest.php +++ b/apps/federatedfilesharing/tests/AddressHandlerTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Tests; use OC\Federation\CloudIdManager; diff --git a/apps/federatedfilesharing/tests/Controller/MountPublicLinkControllerTest.php b/apps/federatedfilesharing/tests/Controller/MountPublicLinkControllerTest.php index 82980ee41f4db4d3f81563a1f4cbc30628368fac..385f644f6b4a88566e0ee54b0877098afbc5c9b4 100644 --- a/apps/federatedfilesharing/tests/Controller/MountPublicLinkControllerTest.php +++ b/apps/federatedfilesharing/tests/Controller/MountPublicLinkControllerTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Tests\Controller; use OC\Federation\CloudIdManager; diff --git a/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php b/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php index ff51a13b89edcd80bd943ccbfd2767885b2c920f..0cb91fac1ae4255e0159cce52e6b90f01c7ea4f2 100644 --- a/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php +++ b/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Tests; use OCA\FederatedFileSharing\Controller\RequestHandlerController; diff --git a/apps/federatedfilesharing/tests/FederatedShareProviderTest.php b/apps/federatedfilesharing/tests/FederatedShareProviderTest.php index fe54246acf22f2cb263b86630af8cca900e6a9a5..a3253323769de5a40d5ee3fcb708bc255109c92d 100644 --- a/apps/federatedfilesharing/tests/FederatedShareProviderTest.php +++ b/apps/federatedfilesharing/tests/FederatedShareProviderTest.php @@ -12,6 +12,8 @@ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> + * @author Vincent Petry * * @license AGPL-3.0 * @@ -28,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Tests; use OC\Federation\CloudIdManager; diff --git a/apps/federatedfilesharing/tests/NotificationsTest.php b/apps/federatedfilesharing/tests/NotificationsTest.php index a1c06f097698e8ef258b874a83773bc6c8c7eca9..c77d9affb17a5650ff3c8b149cec2a4e4809e95d 100644 --- a/apps/federatedfilesharing/tests/NotificationsTest.php +++ b/apps/federatedfilesharing/tests/NotificationsTest.php @@ -6,6 +6,7 @@ * @author Björn Schießle * @author Morris Jobke * @author Roeland Jago Douma + * @author Samuel * * @license AGPL-3.0 * @@ -22,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Tests; use OCA\FederatedFileSharing\AddressHandler; diff --git a/apps/federatedfilesharing/tests/Settings/AdminTest.php b/apps/federatedfilesharing/tests/Settings/AdminTest.php index 74a0a9bb205f83c4ca518ffd97ab3db87da6c7ce..282bc84e86faab50c39710a2db8698cba296f0be 100644 --- a/apps/federatedfilesharing/tests/Settings/AdminTest.php +++ b/apps/federatedfilesharing/tests/Settings/AdminTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\FederatedFileSharing\Tests\Settings; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/federatedfilesharing/tests/TestCase.php b/apps/federatedfilesharing/tests/TestCase.php index d7f5bdd028633ab83d63772b5da16b84f27d9df8..dbd1df38c74d26ae94a187cfbd00b72418c9fb40 100644 --- a/apps/federatedfilesharing/tests/TestCase.php +++ b/apps/federatedfilesharing/tests/TestCase.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Tests; use OC\Files\Filesystem; diff --git a/apps/federatedfilesharing/tests/TokenHandlerTest.php b/apps/federatedfilesharing/tests/TokenHandlerTest.php index 9d8dd676e795e7a2c8540a218f81156a5aa4664d..229cb017e335b8a7b5b24bba8b1da87a217d9c22 100644 --- a/apps/federatedfilesharing/tests/TokenHandlerTest.php +++ b/apps/federatedfilesharing/tests/TokenHandlerTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Tests; use OCA\FederatedFileSharing\TokenHandler; diff --git a/apps/federation/appinfo/routes.php b/apps/federation/appinfo/routes.php index 15ade1536b36770f862c657eca29cff47a41422e..dd1e24ab2fbb48aae2b8fa99db467f66a536ae30 100644 --- a/apps/federation/appinfo/routes.php +++ b/apps/federation/appinfo/routes.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - return [ 'routes' => [ [ diff --git a/apps/federation/lib/AppInfo/Application.php b/apps/federation/lib/AppInfo/Application.php index 72e96d85292bdd09da59103998d28939e7cf0a70..d564fb4a20b7cba759e8c5d56ac60145d096af5b 100644 --- a/apps/federation/lib/AppInfo/Application.php +++ b/apps/federation/lib/AppInfo/Application.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\AppInfo; use OCA\DAV\Events\SabrePluginAuthInitEvent; diff --git a/apps/federation/lib/BackgroundJob/GetSharedSecret.php b/apps/federation/lib/BackgroundJob/GetSharedSecret.php index fd381cadd568a396f807df06fbb36ba9db4f3dec..5379a8371516260fba079b516a66ddcddd4132c2 100644 --- a/apps/federation/lib/BackgroundJob/GetSharedSecret.php +++ b/apps/federation/lib/BackgroundJob/GetSharedSecret.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\BackgroundJob; use GuzzleHttp\Exception\ClientException; diff --git a/apps/federation/lib/BackgroundJob/RequestSharedSecret.php b/apps/federation/lib/BackgroundJob/RequestSharedSecret.php index e3c89f21ed3a219c87cec6611dc9ee2f94adc10b..2080418af614e8c8987a5d6340ff204dfd172781 100644 --- a/apps/federation/lib/BackgroundJob/RequestSharedSecret.php +++ b/apps/federation/lib/BackgroundJob/RequestSharedSecret.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\BackgroundJob; use GuzzleHttp\Exception\ClientException; diff --git a/apps/federation/lib/Command/SyncFederationAddressBooks.php b/apps/federation/lib/Command/SyncFederationAddressBooks.php index 05c24bdcb81ad8ce98dad5cfa6187d68e7cf6e28..045c3c72009fa0448eda81650b5336c3858dde5e 100644 --- a/apps/federation/lib/Command/SyncFederationAddressBooks.php +++ b/apps/federation/lib/Command/SyncFederationAddressBooks.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Lukas Reschke - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Command; use Symfony\Component\Console\Command\Command; diff --git a/apps/federation/lib/Controller/OCSAuthAPIController.php b/apps/federation/lib/Controller/OCSAuthAPIController.php index 7a2f947421ed9c20905f20ae8ac8dd884ba5b8fd..dd9b94d00279e9572e0cdcd4a1ae51948161d7a6 100644 --- a/apps/federation/lib/Controller/OCSAuthAPIController.php +++ b/apps/federation/lib/Controller/OCSAuthAPIController.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Controller; use OCA\Federation\DbHandler; diff --git a/apps/federation/lib/Controller/SettingsController.php b/apps/federation/lib/Controller/SettingsController.php index dedfd70731f7601c294eaa1c4ced1397ded4f976..86c1df89caf1794abd9578570e03609ce5293acb 100644 --- a/apps/federation/lib/Controller/SettingsController.php +++ b/apps/federation/lib/Controller/SettingsController.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Controller; use OC\HintException; diff --git a/apps/federation/lib/DAV/FedAuth.php b/apps/federation/lib/DAV/FedAuth.php index 13b4cbbc1edc601f943cb85eb9eed3aaf6fdaf70..003bd6d248552c761e648064292b419bde659082 100644 --- a/apps/federation/lib/DAV/FedAuth.php +++ b/apps/federation/lib/DAV/FedAuth.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Joas Schilling - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\DAV; use OCA\Federation\DbHandler; diff --git a/apps/federation/lib/DbHandler.php b/apps/federation/lib/DbHandler.php index ebff671c21a25e70c92c85abaf97e5a1f9dd1a30..ce4d1d7e44a0146c64b04a885f518d778835e45e 100644 --- a/apps/federation/lib/DbHandler.php +++ b/apps/federation/lib/DbHandler.php @@ -7,6 +7,7 @@ * @author Joas Schilling * @author Morris Jobke * @author Robin Appelman + * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation; use OC\Files\Filesystem; diff --git a/apps/federation/lib/Listener/SabrePluginAuthInitListener.php b/apps/federation/lib/Listener/SabrePluginAuthInitListener.php index 2e5b25c929b3275af1889b4e1cafe171ea02c023..f176f21506ae1549e553eb8d838cc964a03eee3b 100644 --- a/apps/federation/lib/Listener/SabrePluginAuthInitListener.php +++ b/apps/federation/lib/Listener/SabrePluginAuthInitListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Federation\Listener; use OCA\DAV\Events\SabrePluginAuthInitEvent; diff --git a/apps/federation/lib/Middleware/AddServerMiddleware.php b/apps/federation/lib/Middleware/AddServerMiddleware.php index ffce771022370cfe31f012499030a334a8f1e0a8..2cfdad133ca064e1b5fad73019a6990812835d24 100644 --- a/apps/federation/lib/Middleware/AddServerMiddleware.php +++ b/apps/federation/lib/Middleware/AddServerMiddleware.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Middleware; use OC\HintException; diff --git a/apps/federation/lib/Migration/Version1010Date20200630191302.php b/apps/federation/lib/Migration/Version1010Date20200630191302.php index a27e78f76f71de0ec719c72f37e7d9c49b254f66..c98d7da137aedaf56033aa54a512bbaf2d8b3344 100644 --- a/apps/federation/lib/Migration/Version1010Date20200630191302.php +++ b/apps/federation/lib/Migration/Version1010Date20200630191302.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Federation\Migration; use Closure; diff --git a/apps/federation/lib/Settings/Admin.php b/apps/federation/lib/Settings/Admin.php index af4addecc41cf85803a4d36f66defef06e28214c..c4efe9837834efb465b9d7b46f3de10831c88007 100644 --- a/apps/federation/lib/Settings/Admin.php +++ b/apps/federation/lib/Settings/Admin.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Federation\Settings; use OCA\Federation\TrustedServers; diff --git a/apps/federation/lib/SyncFederationAddressBooks.php b/apps/federation/lib/SyncFederationAddressBooks.php index 67d9ed15cc68c6115de02ae53d0d739e506122f0..ace5c07065a57a4df1bc0e83fe3a7ec3b5c5f011 100644 --- a/apps/federation/lib/SyncFederationAddressBooks.php +++ b/apps/federation/lib/SyncFederationAddressBooks.php @@ -6,7 +6,6 @@ * @author Björn Schießle * @author Christoph Wurst * @author Lukas Reschke - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation; use OC\OCS\DiscoveryService; diff --git a/apps/federation/lib/SyncJob.php b/apps/federation/lib/SyncJob.php index 610ea0d480337734fafdee6117fe00a6ffb053a2..f16d08a80d81c1432e5fe3f9598c66ba1d53ec18 100644 --- a/apps/federation/lib/SyncJob.php +++ b/apps/federation/lib/SyncJob.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation; use OC\BackgroundJob\TimedJob; diff --git a/apps/federation/lib/TrustedServers.php b/apps/federation/lib/TrustedServers.php index 29b58555238a93f0d33fc0a202961b6be95bde95..c1dced62102ed9f3b14c742040d5b422525a1959 100644 --- a/apps/federation/lib/TrustedServers.php +++ b/apps/federation/lib/TrustedServers.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation; use OC\HintException; diff --git a/apps/federation/tests/BackgroundJob/GetSharedSecretTest.php b/apps/federation/tests/BackgroundJob/GetSharedSecretTest.php index 6da3ba6894073274f8942fa9302d883d8170f115..baefa86aeda2d2ec2ac9bea842d31502e4579fa1 100644 --- a/apps/federation/tests/BackgroundJob/GetSharedSecretTest.php +++ b/apps/federation/tests/BackgroundJob/GetSharedSecretTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests\BackgroundJob; use GuzzleHttp\Exception\ConnectException; diff --git a/apps/federation/tests/BackgroundJob/RequestSharedSecretTest.php b/apps/federation/tests/BackgroundJob/RequestSharedSecretTest.php index f03c5aa2a2b894a5c1700a85b7accd40e196357b..d013ad221bcac332b1c824fb2011875f58396af9 100644 --- a/apps/federation/tests/BackgroundJob/RequestSharedSecretTest.php +++ b/apps/federation/tests/BackgroundJob/RequestSharedSecretTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests\BackgroundJob; use GuzzleHttp\Exception\ConnectException; diff --git a/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php b/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php index b7bad3aaf356dc1a4f32fc3d298e34029626f1f1..f48c8352ae1f49f8d9da26dacdcdc3f56d7987d1 100644 --- a/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php +++ b/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests\Controller; use OC\BackgroundJob\JobList; diff --git a/apps/federation/tests/Controller/SettingsControllerTest.php b/apps/federation/tests/Controller/SettingsControllerTest.php index fd072d841b540debef22e6ca215da45aae1f07c9..1f3617de389c3df79ea76c116ebf487830ffc395 100644 --- a/apps/federation/tests/Controller/SettingsControllerTest.php +++ b/apps/federation/tests/Controller/SettingsControllerTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests\Controller; use OCA\Federation\Controller\SettingsController; diff --git a/apps/federation/tests/DAV/FedAuthTest.php b/apps/federation/tests/DAV/FedAuthTest.php index 426bfc5d6d5a0a11c5d53cb1b0b62329b9a5320d..3a801766d85854993c54e8fdffaa12c504299a3e 100644 --- a/apps/federation/tests/DAV/FedAuthTest.php +++ b/apps/federation/tests/DAV/FedAuthTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests\DAV; use OCA\Federation\DAV\FedAuth; diff --git a/apps/federation/tests/DbHandlerTest.php b/apps/federation/tests/DbHandlerTest.php index ee972458747b1756ce5f5638abefc7b51f5d8db3..56645b307d1a1e33db97a645c94786d4a427e8a1 100644 --- a/apps/federation/tests/DbHandlerTest.php +++ b/apps/federation/tests/DbHandlerTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests; use OCA\Federation\DbHandler; diff --git a/apps/federation/tests/Middleware/AddServerMiddlewareTest.php b/apps/federation/tests/Middleware/AddServerMiddlewareTest.php index 35fecf2f0e4f90eb2994c9bc7e182f65754c5f74..fdd9d1682d4c9c80a6ca6f6eaf31917013c9d699 100644 --- a/apps/federation/tests/Middleware/AddServerMiddlewareTest.php +++ b/apps/federation/tests/Middleware/AddServerMiddlewareTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests\Middleware; use OC\HintException; diff --git a/apps/federation/tests/Settings/AdminTest.php b/apps/federation/tests/Settings/AdminTest.php index 9c60f732f965fc1f624ec65a21b2bdcac0cb5c39..e15fb5f8d2badc1c6be87da7fed33d55d421ea75 100644 --- a/apps/federation/tests/Settings/AdminTest.php +++ b/apps/federation/tests/Settings/AdminTest.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Federation\Tests\Settings; use OCA\Federation\Settings\Admin; diff --git a/apps/federation/tests/SyncFederationAddressbooksTest.php b/apps/federation/tests/SyncFederationAddressbooksTest.php index cda30c3ceb4ddf4bbaea4d8a09de1fb7bdc865f7..36dd43e7cd208bebdc8da612d6ca936ac13017de 100644 --- a/apps/federation/tests/SyncFederationAddressbooksTest.php +++ b/apps/federation/tests/SyncFederationAddressbooksTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests; use OC\OCS\DiscoveryService; diff --git a/apps/federation/tests/TrustedServersTest.php b/apps/federation/tests/TrustedServersTest.php index bc16f14eedd618d1aa5a897ad589aa36ac373ea8..3dd237ffcd31bdaf0ba7985f598aeaa58d0ac9aa 100644 --- a/apps/federation/tests/TrustedServersTest.php +++ b/apps/federation/tests/TrustedServersTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests; use OCA\Federation\DbHandler; diff --git a/apps/files/ajax/download.php b/apps/files/ajax/download.php index f87e05f45e0adc1b71cc129d6ed82edaf0d0d80c..d71d844273369f50cda2aae0698dd5f33da22ddb 100644 --- a/apps/files/ajax/download.php +++ b/apps/files/ajax/download.php @@ -5,12 +5,12 @@ * @author Andreas Fischer * @author Björn Schießle * @author Christoph Wurst - * @author Frank Karlitschek * @author Jörn Friedrich Dreyer * @author Lukas Reschke * @author Morris Jobke * @author Piotr Filiciak * @author Robin Appelman + * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - // Check if we are a user OC_Util::checkLoggedIn(); \OC::$server->getSession()->close(); diff --git a/apps/files/ajax/list.php b/apps/files/ajax/list.php index dfe2e0c94161b9881bf7d97a783e1b23b4841cfe..e43e5dd08e8ed747c2a3a507a8a0cca652f7f002 100644 --- a/apps/files/ajax/list.php +++ b/apps/files/ajax/list.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - use OCP\Files\StorageNotAvailableException; use OCP\Files\StorageInvalidException; diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php index 03a025cadf5e33f9c71571099f27ec3b4a020704..a98170363e9265c22049c9d7ca2ad4e664c5e07d 100644 --- a/apps/files/appinfo/routes.php +++ b/apps/files/appinfo/routes.php @@ -11,9 +11,10 @@ declare(strict_types=1); * @author fnuesse * @author fnuesse * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke + * @author Nina Pypchenko <22447785+nina-py@users.noreply.github.com> * @author Robin Appelman * @author Roeland Jago Douma * @author Tobias Kaminsky diff --git a/apps/files/lib/Activity/FavoriteProvider.php b/apps/files/lib/Activity/FavoriteProvider.php index d292a2b29dc44c74b26618daad93849a7a3267c0..a1c08370e4e5e830ac7b20fd86f4580f8c61f642 100644 --- a/apps/files/lib/Activity/FavoriteProvider.php +++ b/apps/files/lib/Activity/FavoriteProvider.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Activity; use OCP\Activity\IEvent; diff --git a/apps/files/lib/Activity/Filter/Favorites.php b/apps/files/lib/Activity/Filter/Favorites.php index e33c404b6de8686476d82c78575e04484cd926c8..04f906b2f977da3778a466377bbf2a4d948acff8 100644 --- a/apps/files/lib/Activity/Filter/Favorites.php +++ b/apps/files/lib/Activity/Filter/Favorites.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Activity\Filter; use OCA\Files\Activity\Helper; diff --git a/apps/files/lib/Activity/Filter/FileChanges.php b/apps/files/lib/Activity/Filter/FileChanges.php index 14c98094a2c2cb72ca0338ff8326fcef652dfef8..2950e7c46dfa606af6b558bf8cabc784a79e262c 100644 --- a/apps/files/lib/Activity/Filter/FileChanges.php +++ b/apps/files/lib/Activity/Filter/FileChanges.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2016 Joas Schilling * * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Activity\Filter; use OCP\Activity\IFilter; diff --git a/apps/files/lib/Activity/Helper.php b/apps/files/lib/Activity/Helper.php index dc7f5cb96461942fcf06bb11913543172be2dafb..b9a5ae887ecd20944dbc317035503cefabc1bf43 100644 --- a/apps/files/lib/Activity/Helper.php +++ b/apps/files/lib/Activity/Helper.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Activity; use OCP\Files\Folder; diff --git a/apps/files/lib/Activity/Provider.php b/apps/files/lib/Activity/Provider.php index 53ee48ab550a94a21243163b8e0b50514db68e6f..8f3a5a4f417c4c0578543f4aa77747155c3bedcd 100644 --- a/apps/files/lib/Activity/Provider.php +++ b/apps/files/lib/Activity/Provider.php @@ -5,6 +5,7 @@ * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Activity; use OCP\Activity\IEvent; diff --git a/apps/files/lib/Activity/Settings/FavoriteAction.php b/apps/files/lib/Activity/Settings/FavoriteAction.php index 8201a09d4db0ccc9b6a58f569ae7c83428229053..8c43b68ef8835eb0677a87bfa87e8fdeed433cde 100644 --- a/apps/files/lib/Activity/Settings/FavoriteAction.php +++ b/apps/files/lib/Activity/Settings/FavoriteAction.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Activity\Settings; class FavoriteAction extends FileActivitySettings { diff --git a/apps/files/lib/Activity/Settings/FileActivitySettings.php b/apps/files/lib/Activity/Settings/FileActivitySettings.php index 3ae32f034125e2982067872afa6ec71600f550f9..8bb97a81cc84e25e95c47ed691ec501b0c95e288 100644 --- a/apps/files/lib/Activity/Settings/FileActivitySettings.php +++ b/apps/files/lib/Activity/Settings/FileActivitySettings.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Activity\Settings; use OCP\Activity\ActivitySettings; diff --git a/apps/files/lib/Activity/Settings/FileChanged.php b/apps/files/lib/Activity/Settings/FileChanged.php index 457d945df7f0a6deee69b9640921f0ddd968c7af..2d826c30b5bb294eb1449f212e1c99eeb8963d0c 100644 --- a/apps/files/lib/Activity/Settings/FileChanged.php +++ b/apps/files/lib/Activity/Settings/FileChanged.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Activity\Settings; class FileChanged extends FileActivitySettings { diff --git a/apps/files/lib/Activity/Settings/FileFavoriteChanged.php b/apps/files/lib/Activity/Settings/FileFavoriteChanged.php index d0bba21cf9b30cc11ff21612821540f9b18aba2d..a69ecd7bb64e7eafbd44b91c7d03133727d494b7 100644 --- a/apps/files/lib/Activity/Settings/FileFavoriteChanged.php +++ b/apps/files/lib/Activity/Settings/FileFavoriteChanged.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Activity\Settings; class FileFavoriteChanged extends FileActivitySettings { diff --git a/apps/files/lib/App.php b/apps/files/lib/App.php index 9bb50d6f9ab66c4c0c74e3201088760c9a54a310..386e5a3243a1bae7ec61ab6a43da04bd2d600c55 100644 --- a/apps/files/lib/App.php +++ b/apps/files/lib/App.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files; class App { diff --git a/apps/files/lib/AppInfo/Application.php b/apps/files/lib/AppInfo/Application.php index 025e6c42f2805a8b3ccf6ca8d77eb12253b8f638..26d541f57e832e133ff573d8ca0f790b64da94bc 100644 --- a/apps/files/lib/AppInfo/Application.php +++ b/apps/files/lib/AppInfo/Application.php @@ -8,7 +8,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Morris Jobke * @author Robin Appelman @@ -31,7 +31,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Files\AppInfo; use Closure; diff --git a/apps/files/lib/BackgroundJob/CleanupDirectEditingTokens.php b/apps/files/lib/BackgroundJob/CleanupDirectEditingTokens.php index 4b4f36663ab21378420aa016b7b800cd819eee98..16f76a76dd83dbe13fb13a82090c4ae9781d13db 100644 --- a/apps/files/lib/BackgroundJob/CleanupDirectEditingTokens.php +++ b/apps/files/lib/BackgroundJob/CleanupDirectEditingTokens.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Julius Härtl @@ -14,7 +14,7 @@ * * 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 + * 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 diff --git a/apps/files/lib/BackgroundJob/CleanupFileLocks.php b/apps/files/lib/BackgroundJob/CleanupFileLocks.php index c349ccaae1a04af809d712b4cf3a442f0711139c..f22b8edcd9bde1dabd09c3e30d25e6dce7aeeef0 100644 --- a/apps/files/lib/BackgroundJob/CleanupFileLocks.php +++ b/apps/files/lib/BackgroundJob/CleanupFileLocks.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\BackgroundJob; use OC\BackgroundJob\TimedJob; diff --git a/apps/files/lib/BackgroundJob/DeleteOrphanedItems.php b/apps/files/lib/BackgroundJob/DeleteOrphanedItems.php index bea5fc7d349c5c5c5fe83af48e5d94a43d7cc8e6..720785f5727be158c5b14de58db8758e26d4f38e 100644 --- a/apps/files/lib/BackgroundJob/DeleteOrphanedItems.php +++ b/apps/files/lib/BackgroundJob/DeleteOrphanedItems.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\BackgroundJob; use OC\BackgroundJob\TimedJob; diff --git a/apps/files/lib/BackgroundJob/ScanFiles.php b/apps/files/lib/BackgroundJob/ScanFiles.php index 127ca758a1dffa1b91a3ce133b4a84cfb91415ed..f0c318882dde73c39c5e060bcc10eadd0883b122 100644 --- a/apps/files/lib/BackgroundJob/ScanFiles.php +++ b/apps/files/lib/BackgroundJob/ScanFiles.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\BackgroundJob; use OC\Files\Utils\Scanner; diff --git a/apps/files/lib/BackgroundJob/TransferOwnership.php b/apps/files/lib/BackgroundJob/TransferOwnership.php index 2498cc865ff740eddcdec3509a4d5a08820a5119..8c96fcf8385227f1ca8a7fa3d6c1bb3b4d319dfd 100644 --- a/apps/files/lib/BackgroundJob/TransferOwnership.php +++ b/apps/files/lib/BackgroundJob/TransferOwnership.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\BackgroundJob; use OCA\Files\AppInfo\Application; diff --git a/apps/files/lib/Capabilities.php b/apps/files/lib/Capabilities.php index c46ad01af71d9f87615225aaaad01781fa859d05..29abfb5b25315b3bec4cc045ad61674fefb2ef13 100644 --- a/apps/files/lib/Capabilities.php +++ b/apps/files/lib/Capabilities.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files; use OCA\Files\Service\DirectEditingService; diff --git a/apps/files/lib/Collaboration/Resources/Listener.php b/apps/files/lib/Collaboration/Resources/Listener.php index 6133504bf5d7197002b1cea42f795baae891653b..5cf843165783a2f0be3b4014602d694dcbbfe27c 100644 --- a/apps/files/lib/Collaboration/Resources/Listener.php +++ b/apps/files/lib/Collaboration/Resources/Listener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Collaboration\Resources; use OCP\Collaboration\Resources\IManager; diff --git a/apps/files/lib/Collaboration/Resources/ResourceProvider.php b/apps/files/lib/Collaboration/Resources/ResourceProvider.php index b4a97afbb567baa18e93afc9280075f9f7a932e0..841a2bdd4f731d71568e43b0fd44baee33d91e3e 100644 --- a/apps/files/lib/Collaboration/Resources/ResourceProvider.php +++ b/apps/files/lib/Collaboration/Resources/ResourceProvider.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Collaboration\Resources; use OCP\Collaboration\Resources\IProvider; diff --git a/apps/files/lib/Command/DeleteOrphanedFiles.php b/apps/files/lib/Command/DeleteOrphanedFiles.php index 0e7fe378467be5b83b4e33b7b194b20305b44871..e3305fe3b9b2e10c6e688da23db3cb939f51c73a 100644 --- a/apps/files/lib/Command/DeleteOrphanedFiles.php +++ b/apps/files/lib/Command/DeleteOrphanedFiles.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Command; use OCP\IDBConnection; diff --git a/apps/files/lib/Command/RepairTree.php b/apps/files/lib/Command/RepairTree.php index 144ce5654ebfaf281d05bb43b879f6ae61b243d4..96f114735d6c4dea28639995c81353d6b5aab238 100644 --- a/apps/files/lib/Command/RepairTree.php +++ b/apps/files/lib/Command/RepairTree.php @@ -1,9 +1,12 @@ * + * @author Robin Appelman + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\Files\Command; use OCP\IDBConnection; diff --git a/apps/files/lib/Command/Scan.php b/apps/files/lib/Command/Scan.php index 48d55807be4c5efb7287df461eba160721a404db..6a8697a5eaf2e45e6470aeff844042c44a7439af 100644 --- a/apps/files/lib/Command/Scan.php +++ b/apps/files/lib/Command/Scan.php @@ -11,7 +11,6 @@ * @author Joel S * @author Jörn Friedrich Dreyer * @author martin.mattel@diemattels.at - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller @@ -32,7 +31,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Command; use OC\Core\Command\Base; diff --git a/apps/files/lib/Command/ScanAppData.php b/apps/files/lib/Command/ScanAppData.php index 854445c82dcd235d8af22b357ce9ecd22e537036..0915364372740cdbcad5ef758d3b17448fc0ce7f 100644 --- a/apps/files/lib/Command/ScanAppData.php +++ b/apps/files/lib/Command/ScanAppData.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Daniel Kesselberg @@ -19,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Command; use OC\Core\Command\Base; diff --git a/apps/files/lib/Command/TransferOwnership.php b/apps/files/lib/Command/TransferOwnership.php index 07d6ab6029b85286e76e3c25ec2c7a86d8a1479b..71853d632e7adb162cfe643a0608d810ad6b0c99 100644 --- a/apps/files/lib/Command/TransferOwnership.php +++ b/apps/files/lib/Command/TransferOwnership.php @@ -31,7 +31,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Files\Command; use OCA\Files\Exception\TransferOwnershipException; diff --git a/apps/files/lib/Controller/AjaxController.php b/apps/files/lib/Controller/AjaxController.php index 51a4a5b2a373de3c45ee3f6968c22639aaf9d508..000d950595d0415901ad524dd23f4afa8c19c95e 100644 --- a/apps/files/lib/Controller/AjaxController.php +++ b/apps/files/lib/Controller/AjaxController.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Controller; use OCA\Files\Helper; diff --git a/apps/files/lib/Controller/ApiController.php b/apps/files/lib/Controller/ApiController.php index fba62107cd7e9294752d4af5553dbe7afdda7480..45c7466e0c201b15be2229ff08b69de74a82181d 100644 --- a/apps/files/lib/Controller/ApiController.php +++ b/apps/files/lib/Controller/ApiController.php @@ -8,11 +8,12 @@ * @author fnuesse * @author fnuesse * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Max Kovalenko * @author Morris Jobke + * @author Nina Pypchenko <22447785+nina-py@users.noreply.github.com> * @author Richard Steinmetz * @author Robin Appelman * @author Roeland Jago Douma @@ -34,7 +35,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Controller; use OC\Files\Node\Node; diff --git a/apps/files/lib/Controller/DirectEditingController.php b/apps/files/lib/Controller/DirectEditingController.php index a2e765072f2d4951756102a4e8241c13ab38daee..c67150be8d4a0f6340a84cec44d7a127674ae00b 100644 --- a/apps/files/lib/Controller/DirectEditingController.php +++ b/apps/files/lib/Controller/DirectEditingController.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Controller; use Exception; diff --git a/apps/files/lib/Controller/DirectEditingViewController.php b/apps/files/lib/Controller/DirectEditingViewController.php index 75b6dfe739533fd366201e2aee42e8a701ac168e..06bde8d63d79964fa7b474da4745c5e1a3011249 100644 --- a/apps/files/lib/Controller/DirectEditingViewController.php +++ b/apps/files/lib/Controller/DirectEditingViewController.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Controller; use Exception; diff --git a/apps/files/lib/Controller/TemplateController.php b/apps/files/lib/Controller/TemplateController.php index b17d9336a948d0acdbc3fe43669b5ff3c4daf129..d04d86760e6297891d3dccb40b7fea670c31b875 100644 --- a/apps/files/lib/Controller/TemplateController.php +++ b/apps/files/lib/Controller/TemplateController.php @@ -1,7 +1,11 @@ * + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -20,9 +24,6 @@ * along with this program. If not, see . * */ - -declare(strict_types=1); - namespace OCA\Files\Controller; use OCP\AppFramework\Http\DataResponse; diff --git a/apps/files/lib/Controller/TransferOwnershipController.php b/apps/files/lib/Controller/TransferOwnershipController.php index fb3f3dffd6c58132a798420736f946d317c03dc4..fb1a8b33dc128db9ac14e0207d3f8d543b2fd964 100644 --- a/apps/files/lib/Controller/TransferOwnershipController.php +++ b/apps/files/lib/Controller/TransferOwnershipController.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Controller; use OCA\Files\BackgroundJob\TransferOwnership; diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index b055f9a38b5cbf1c3e4e1917e044019d89409781..f649453f16ed49f0acf1118a940803339da88880 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -7,11 +7,13 @@ * @author fnuesse * @author fnuesse * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Max Kovalenko * @author Morris Jobke + * @author Nina Pypchenko <22447785+nina-py@users.noreply.github.com> + * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry @@ -31,7 +33,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Controller; use OCA\Files\Activity\Helper; diff --git a/apps/files/lib/Db/TransferOwnership.php b/apps/files/lib/Db/TransferOwnership.php index acde06a977c192dae86fe18f3fd0e66ba68bfcbe..1ab94361ac95344f5095bb4ccca61b09ae45f1c9 100644 --- a/apps/files/lib/Db/TransferOwnership.php +++ b/apps/files/lib/Db/TransferOwnership.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Db; use OCP\AppFramework\Db\Entity; diff --git a/apps/files/lib/Db/TransferOwnershipMapper.php b/apps/files/lib/Db/TransferOwnershipMapper.php index e1e373eaab9db658ecbd67b2bfb2c1f63e2474d3..f55f9e733f9385bc39d928b2092a32895a0beda6 100644 --- a/apps/files/lib/Db/TransferOwnershipMapper.php +++ b/apps/files/lib/Db/TransferOwnershipMapper.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Db; use OCP\AppFramework\Db\QBMapper; diff --git a/apps/files/lib/Event/LoadAdditionalScriptsEvent.php b/apps/files/lib/Event/LoadAdditionalScriptsEvent.php index e5943c6f895f2e03317208173f0dc9b667707f1b..5291a776e81bdf56e9226b7fbb290d14edbe1886 100644 --- a/apps/files/lib/Event/LoadAdditionalScriptsEvent.php +++ b/apps/files/lib/Event/LoadAdditionalScriptsEvent.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019, Roeland Jago Douma * + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Event; use OCP\EventDispatcher\Event; diff --git a/apps/files/lib/Event/LoadSidebar.php b/apps/files/lib/Event/LoadSidebar.php index 8f3892c60c20f0e73794d3cc18e14b83fe64040a..8dc30e33632c3e1dc2d5cd83f5f263d16719d9ed 100644 --- a/apps/files/lib/Event/LoadSidebar.php +++ b/apps/files/lib/Event/LoadSidebar.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019, Roeland Jago Douma * - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Event; use OCP\EventDispatcher\Event; diff --git a/apps/files/lib/Exception/TransferOwnershipException.php b/apps/files/lib/Exception/TransferOwnershipException.php index 2fe7287f88ffbb5ce90d0c0a2aa4f6b240cd936f..1849976b6db8409899c7f05de35e6c967c0af1c5 100644 --- a/apps/files/lib/Exception/TransferOwnershipException.php +++ b/apps/files/lib/Exception/TransferOwnershipException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Exception; use Exception; diff --git a/apps/files/lib/Helper.php b/apps/files/lib/Helper.php index 699caec59eb72b89d48a80e1783e413a630129e5..67e2fbe8321dca6c886bcacc1cde835cd6f09056 100644 --- a/apps/files/lib/Helper.php +++ b/apps/files/lib/Helper.php @@ -5,7 +5,7 @@ * @author Björn Schießle * @author brumsel * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Lukas Reschke * @author Michael Jobst @@ -31,7 +31,6 @@ * along with this program. If not, see * */ - namespace OCA\Files; use OCP\Files\FileInfo; diff --git a/apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php b/apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php index 298d7194cdedda3be8523d5c089bf2a88ec008bc..f60f9d73d78ebe0f14e0a51ecf65859e0676a02f 100644 --- a/apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php +++ b/apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Listener; use OC\EventDispatcher\SymfonyAdapter; diff --git a/apps/files/lib/Listener/LoadSidebarListener.php b/apps/files/lib/Listener/LoadSidebarListener.php index 902b6bd387a3805d0f499209d277f5fbf9f57ab9..aa24538c2eec7e613c9872a96ab44853a4018780 100644 --- a/apps/files/lib/Listener/LoadSidebarListener.php +++ b/apps/files/lib/Listener/LoadSidebarListener.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019, John Molakvoæ * - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Listener; use OCA\Files\AppInfo\Application; diff --git a/apps/files/lib/Migration/Version11301Date20191205150729.php b/apps/files/lib/Migration/Version11301Date20191205150729.php index 80d1268fdc5dbeae1e736754cb94c4a79f4c2aa2..e7bda7ef38a1d52b036bda5e4acd5decb0ba94a5 100644 --- a/apps/files/lib/Migration/Version11301Date20191205150729.php +++ b/apps/files/lib/Migration/Version11301Date20191205150729.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Migration; use Closure; diff --git a/apps/files/lib/Notification/Notifier.php b/apps/files/lib/Notification/Notifier.php index 0ce5287b11030f42d58e25ecee7297137f7f1a0f..8f885a995f9dc92faedc9e9090b0bbc9b58588c8 100644 --- a/apps/files/lib/Notification/Notifier.php +++ b/apps/files/lib/Notification/Notifier.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Notification; use OCA\Files\Db\TransferOwnershipMapper; diff --git a/apps/files/lib/Search/FilesSearchProvider.php b/apps/files/lib/Search/FilesSearchProvider.php index 5571d41bda533f67e295fd06fd796ca1e449963e..97052ef697367de1d0cbbe9a8d9f448dddde4c8f 100644 --- a/apps/files/lib/Search/FilesSearchProvider.php +++ b/apps/files/lib/Search/FilesSearchProvider.php @@ -7,7 +7,8 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ + * @author Robin Appelman * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -19,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Search; use OC\Files\Search\SearchComparison; diff --git a/apps/files/lib/Service/DirectEditingService.php b/apps/files/lib/Service/DirectEditingService.php index cc9ee54d45e0761eaa07931646f08c1ece5af015..1ee3a53d85a7ae9ce4557e633fd8d24e33539b43 100644 --- a/apps/files/lib/Service/DirectEditingService.php +++ b/apps/files/lib/Service/DirectEditingService.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Service; use OCP\DirectEditing\ACreateEmpty; diff --git a/apps/files/lib/Service/OwnershipTransferService.php b/apps/files/lib/Service/OwnershipTransferService.php index 3ab1a0c29d55d43d1c7d4f9884a841315d4b0654..8c4c078758e43f6d98a729018bccc8d0971da50d 100644 --- a/apps/files/lib/Service/OwnershipTransferService.php +++ b/apps/files/lib/Service/OwnershipTransferService.php @@ -22,14 +22,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Service; use Closure; diff --git a/apps/files/lib/Service/TagService.php b/apps/files/lib/Service/TagService.php index 72814f47538e278803031f50481ec191ee9348e4..29b6fbc2840c0041acef96b927cef541e2bf949e 100644 --- a/apps/files/lib/Service/TagService.php +++ b/apps/files/lib/Service/TagService.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author Morris Jobke * @author Vincent Petry * * @license AGPL-3.0 @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Service; use OCA\Files\Activity\FavoriteProvider; diff --git a/apps/files/lib/Settings/PersonalSettings.php b/apps/files/lib/Settings/PersonalSettings.php index ff5bf164dea8167e00ea9afae16247621c672515..c62a1b9d62dcc06c7affd09f9338798f7a824ff2 100644 --- a/apps/files/lib/Settings/PersonalSettings.php +++ b/apps/files/lib/Settings/PersonalSettings.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Settings; use OCA\Files\AppInfo\Application; diff --git a/apps/files/list.php b/apps/files/list.php index 308d149c87355303fbdddb72208dcca6b5ac78b3..259713ae68ec9156065bebc6f5ea3d4c040c121d 100644 --- a/apps/files/list.php +++ b/apps/files/list.php @@ -2,8 +2,9 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author John Molakvoæ (skjnldsv) - * @author Morris Jobke + * @author Christoph Wurst + * @author John Molakvoæ + * @author Robin Appelman * @author Vincent Petry * * @license AGPL-3.0 @@ -21,7 +22,6 @@ * along with this program. If not, see * */ - use OCP\Share\IManager; $config = \OC::$server->getConfig(); diff --git a/apps/files/recentlist.php b/apps/files/recentlist.php index 74727235766f6aca2c13fc8193c0026e7f597901..899591013e2e5bf4237e8e3624d2ffde50bc640c 100644 --- a/apps/files/recentlist.php +++ b/apps/files/recentlist.php @@ -1,8 +1,9 @@ * - * - * @author John Molakvoæ (skjnldsv) + * @author Christoph Wurst + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @@ -15,7 +16,7 @@ * * 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 + * 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 diff --git a/apps/files/simplelist.php b/apps/files/simplelist.php index 25bef1968c1882aa59f2d3cb1045fc419bcde44a..7d571e697c0c962f9d6869756adaa748730662af 100644 --- a/apps/files/simplelist.php +++ b/apps/files/simplelist.php @@ -2,8 +2,8 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author John Molakvoæ (skjnldsv) - * @author Morris Jobke + * @author Christoph Wurst + * @author John Molakvoæ * @author Vincent Petry * * @license AGPL-3.0 @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - // TODO: move to handlebars $config = \OC::$server->getConfig(); $userSession = \OC::$server->getUserSession(); diff --git a/apps/files/tests/Activity/Filter/GenericTest.php b/apps/files/tests/Activity/Filter/GenericTest.php index eb55ab2699f9d46270b7c8e80eb95351995f9503..f7c7cafaec4770692a496a59d72a0e5f1f5b7f51 100644 --- a/apps/files/tests/Activity/Filter/GenericTest.php +++ b/apps/files/tests/Activity/Filter/GenericTest.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Tests\Activity\Filter; use OCA\Files\Activity\Filter\Favorites; diff --git a/apps/files/tests/Activity/ProviderTest.php b/apps/files/tests/Activity/ProviderTest.php index 4521dea33ce82d52cc2bac6c4360182afffb2fc5..7c5bdf27ba1abd24387dab485205927f47baf8a0 100644 --- a/apps/files/tests/Activity/ProviderTest.php +++ b/apps/files/tests/Activity/ProviderTest.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Tests\Activity; use OCA\Files\Activity\Provider; diff --git a/apps/files/tests/Activity/Setting/GenericTest.php b/apps/files/tests/Activity/Setting/GenericTest.php index e4d90accb7206732c0c2b7e437146d9d4e090c66..b0d42aa27ac5bceed87a1a7ced813c1c699573ae 100644 --- a/apps/files/tests/Activity/Setting/GenericTest.php +++ b/apps/files/tests/Activity/Setting/GenericTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files\Tests\Activity\Setting; use OCA\Files\Activity\Settings\FavoriteAction; diff --git a/apps/files/tests/BackgroundJob/DeleteOrphanedItemsJobTest.php b/apps/files/tests/BackgroundJob/DeleteOrphanedItemsJobTest.php index 57864ba02b78d0f3e1636ccd88662d8f3597d81a..75318b1802f0caad66a8d6ff0e0274f6a07ab2f8 100644 --- a/apps/files/tests/BackgroundJob/DeleteOrphanedItemsJobTest.php +++ b/apps/files/tests/BackgroundJob/DeleteOrphanedItemsJobTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Tests\BackgroundJob; use OCA\Files\BackgroundJob\DeleteOrphanedItems; diff --git a/apps/files/tests/BackgroundJob/ScanFilesTest.php b/apps/files/tests/BackgroundJob/ScanFilesTest.php index 2b70b3bd49cf6f99f60b6cecb7ca600f8072258c..f1fb505fe53d983e32d170e32a1b9bc2f7dbf3dd 100644 --- a/apps/files/tests/BackgroundJob/ScanFilesTest.php +++ b/apps/files/tests/BackgroundJob/ScanFilesTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Tests\BackgroundJob; use OC\Files\Mount\MountPoint; diff --git a/apps/files/tests/Command/DeleteOrphanedFilesTest.php b/apps/files/tests/Command/DeleteOrphanedFilesTest.php index b9f03d057dc8d9980298e3d0f87c65ee75d140e7..bf266bc82295277454491ce15f6b75886dcede6a 100644 --- a/apps/files/tests/Command/DeleteOrphanedFilesTest.php +++ b/apps/files/tests/Command/DeleteOrphanedFilesTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Tests\Command; use OC\Files\View; diff --git a/apps/files/tests/Controller/ApiControllerTest.php b/apps/files/tests/Controller/ApiControllerTest.php index dd64bfb8330e61ae75cbe2878957d32274b10d0c..0bce2763be9dd8a33e875df62df40fced60b6d58 100644 --- a/apps/files/tests/Controller/ApiControllerTest.php +++ b/apps/files/tests/Controller/ApiControllerTest.php @@ -5,6 +5,7 @@ * @author Christoph Wurst * @author Lukas Reschke * @author Morris Jobke + * @author Nina Pypchenko <22447785+nina-py@users.noreply.github.com> * @author Robin Appelman * @author Roeland Jago Douma * @author Vincent Petry @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Controller; use OCA\Files\Service\TagService; diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php index 3453914b27ab2919bbff692f6b92d33b3c3b743f..a0c62d28e2a96014e2a4411543a48d645a478d2e 100644 --- a/apps/files/tests/Controller/ViewControllerTest.php +++ b/apps/files/tests/Controller/ViewControllerTest.php @@ -5,11 +5,12 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Michael Weimann * @author Morris Jobke + * @author Nina Pypchenko <22447785+nina-py@users.noreply.github.com> * @author Robin Appelman * @author Roeland Jago Douma * @author Vincent Petry @@ -29,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Tests\Controller; use OCA\Files\Activity\Helper; diff --git a/apps/files/tests/HelperTest.php b/apps/files/tests/HelperTest.php index ec301e99b4637391bfc64752fa7ec858b26078a4..230e2c6cea2c4fce70412f70909f0d811e6f8b44 100644 --- a/apps/files/tests/HelperTest.php +++ b/apps/files/tests/HelperTest.php @@ -5,7 +5,6 @@ * @author brumsel * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Vincent Petry @@ -25,11 +24,6 @@ * along with this program. If not, see * */ - - -/** - * Class Helper - */ class HelperTest extends \Test\TestCase { private function makeFileInfo($name, $size, $mtime, $isDir = false) { return new \OC\Files\FileInfo( diff --git a/apps/files/tests/Service/TagServiceTest.php b/apps/files/tests/Service/TagServiceTest.php index 202fdb6c82339cc0f93ef97e7d2bee93e0f91b46..dce01e7170f1a8d33c10d7fb08a65f52e0de41fc 100644 --- a/apps/files/tests/Service/TagServiceTest.php +++ b/apps/files/tests/Service/TagServiceTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Tests\Service; use OCA\Files\Service\TagService; diff --git a/apps/files_external/appinfo/app.php b/apps/files_external/appinfo/app.php index 15254b290027ef64076bec86f951094857d7f1cc..432a2af502d0a1fddc2bed5b45ae04ca10db690f 100644 --- a/apps/files_external/appinfo/app.php +++ b/apps/files_external/appinfo/app.php @@ -8,6 +8,7 @@ * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell + * @author szaimen * @author Vincent Petry * * @license AGPL-3.0 @@ -25,7 +26,6 @@ * along with this program. If not, see * */ - use OCA\Files_External\Config\ConfigAdapter; require_once __DIR__ . '/../3rdparty/autoload.php'; diff --git a/apps/files_external/appinfo/routes.php b/apps/files_external/appinfo/routes.php index 23b692703a7562b2873192dfc8c46b1a6213994e..bce4b0acdfb3e0beccfa595c5a4e333823fe75d0 100644 --- a/apps/files_external/appinfo/routes.php +++ b/apps/files_external/appinfo/routes.php @@ -26,10 +26,6 @@ * along with this program. If not, see * */ - -/** - * @var $this \OCP\Route\IRouter - **/ \OCA\Files_External\MountConfig::$app->registerRoutes( $this, [ diff --git a/apps/files_external/lib/AppInfo/Application.php b/apps/files_external/lib/AppInfo/Application.php index f0c66533777af160016b21433cccf556039158ae..151b14fdfa9d02c46ed93470437754b994f01c1d 100644 --- a/apps/files_external/lib/AppInfo/Application.php +++ b/apps/files_external/lib/AppInfo/Application.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\AppInfo; use OCA\Files_External\Config\UserPlaceholderHandler; diff --git a/apps/files_external/lib/BackgroundJob/CredentialsCleanup.php b/apps/files_external/lib/BackgroundJob/CredentialsCleanup.php index ca44bea39a4b73b977c649b58941b772ba0166eb..07b66e2ecb646c5b8d5f3903981753cf874c11b7 100644 --- a/apps/files_external/lib/BackgroundJob/CredentialsCleanup.php +++ b/apps/files_external/lib/BackgroundJob/CredentialsCleanup.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\BackgroundJob; use OCA\Files_External\Lib\Auth\Password\LoginCredentials; diff --git a/apps/files_external/lib/Command/Applicable.php b/apps/files_external/lib/Command/Applicable.php index bec312bdcb2c182118c0d23a0fc402e7411370dc..29d5459200e30423c035560c5e2febdf0cafbb1d 100644 --- a/apps/files_external/lib/Command/Applicable.php +++ b/apps/files_external/lib/Command/Applicable.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Command/Backends.php b/apps/files_external/lib/Command/Backends.php index 0046ad72a4cf42d135fd7c441907722ac24ea713..60d035f997f9dda378d895ffd8c7958d64731bec 100644 --- a/apps/files_external/lib/Command/Backends.php +++ b/apps/files_external/lib/Command/Backends.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Command/Config.php b/apps/files_external/lib/Command/Config.php index 467f421e7307bd514c764939001de2b5a8f02b3d..5d0675b04bc9d9b0ad810806db97b264eeba1dbc 100644 --- a/apps/files_external/lib/Command/Config.php +++ b/apps/files_external/lib/Command/Config.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Command/Create.php b/apps/files_external/lib/Command/Create.php index 2eb0865b3f77f3ca12d2e4a4b22f8fbc4848dd83..3fe9e71b17a1eab58c53912f584f2ee892f51491 100644 --- a/apps/files_external/lib/Command/Create.php +++ b/apps/files_external/lib/Command/Create.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Command/Delete.php b/apps/files_external/lib/Command/Delete.php index 3a05fed8d082e0d86cb118a82f16dc0fa0e38a1a..a41161792b53cd850c4bbfbc0d9205003cb35aab 100644 --- a/apps/files_external/lib/Command/Delete.php +++ b/apps/files_external/lib/Command/Delete.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Command/Export.php b/apps/files_external/lib/Command/Export.php index 1f5dc3f4afc0e1e89ec09d87352d69e3c078a83b..622c4b460785f03d40b6704d444521fe72f68934 100644 --- a/apps/files_external/lib/Command/Export.php +++ b/apps/files_external/lib/Command/Export.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use Symfony\Component\Console\Input\ArrayInput; diff --git a/apps/files_external/lib/Command/Import.php b/apps/files_external/lib/Command/Import.php index bbaeea91c3e340979a125da8a8bba2750bd5a748..5d9a6893353b7a07517dc5552dc6bcb71fb2fd4a 100644 --- a/apps/files_external/lib/Command/Import.php +++ b/apps/files_external/lib/Command/Import.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Command/ListCommand.php b/apps/files_external/lib/Command/ListCommand.php index d415d7718d47839eeb528ecb0209ac9a6a6d4091..fadf5d8de2749d6a9913384515628b4723a78572 100644 --- a/apps/files_external/lib/Command/ListCommand.php +++ b/apps/files_external/lib/Command/ListCommand.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Command/Notify.php b/apps/files_external/lib/Command/Notify.php index de74900331af7d5eb09533c5dde60c4176f629c3..340dd2fdca15a33c51fd3018724fd3782c714f8a 100644 --- a/apps/files_external/lib/Command/Notify.php +++ b/apps/files_external/lib/Command/Notify.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Command; use Doctrine\DBAL\Exception\DriverException; diff --git a/apps/files_external/lib/Command/Option.php b/apps/files_external/lib/Command/Option.php index bc4600b2b6e1598ace2b77561995f44bf53b75df..9f7d4a30bcd437561f0b2852dfffbc765f3c37af 100644 --- a/apps/files_external/lib/Command/Option.php +++ b/apps/files_external/lib/Command/Option.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OCA\Files_External\Lib\StorageConfig; diff --git a/apps/files_external/lib/Command/Verify.php b/apps/files_external/lib/Command/Verify.php index 40969409812ea5e9805b2f87374f6fd743277ac9..0febfa15825a9ac49ece09807ffe3e8f4628ae81 100644 --- a/apps/files_external/lib/Command/Verify.php +++ b/apps/files_external/lib/Command/Verify.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Config/ConfigAdapter.php b/apps/files_external/lib/Config/ConfigAdapter.php index 2528c090d66bda4e24ea845badf6e2e092909d92..fe9beceeb3666312963be43be82fdbe167f9afc5 100644 --- a/apps/files_external/lib/Config/ConfigAdapter.php +++ b/apps/files_external/lib/Config/ConfigAdapter.php @@ -5,6 +5,7 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling + * @author Julius Härtl * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell @@ -26,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Config; use OC\Files\Storage\FailedStorage; diff --git a/apps/files_external/lib/Config/ExternalMountPoint.php b/apps/files_external/lib/Config/ExternalMountPoint.php index 1eac000a97ffcbc5e2e54511275d1dd0d6198fce..985e70bee030f3bd067e5a55bcc38a36a1ca8d2d 100644 --- a/apps/files_external/lib/Config/ExternalMountPoint.php +++ b/apps/files_external/lib/Config/ExternalMountPoint.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2017 Robin Appelman * + * @author Julius Härtl * @author Robin Appelman * * @license GNU AGPL version 3 or any later version @@ -13,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Config; use OC\Files\Mount\MountPoint; diff --git a/apps/files_external/lib/Config/IConfigHandler.php b/apps/files_external/lib/Config/IConfigHandler.php index 3ec6f391da75038121d35799c33c182dd1900821..cd7ca4d105034f653292c7d4487062cbf67b8880 100644 --- a/apps/files_external/lib/Config/IConfigHandler.php +++ b/apps/files_external/lib/Config/IConfigHandler.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Config; /** diff --git a/apps/files_external/lib/Config/SimpleSubstitutionTrait.php b/apps/files_external/lib/Config/SimpleSubstitutionTrait.php index 9e4a908cd0d48de651b9fc3b0c402c27822453d5..4f15d2850327b78e194b9cb75a84eb0382e95505 100644 --- a/apps/files_external/lib/Config/SimpleSubstitutionTrait.php +++ b/apps/files_external/lib/Config/SimpleSubstitutionTrait.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Config; /** diff --git a/apps/files_external/lib/Config/UserContext.php b/apps/files_external/lib/Config/UserContext.php index fe2cd24aa82b9692f7526b3a891899d1464ab248..a4ff27e42b559a261c861a1d1a68178311753448 100644 --- a/apps/files_external/lib/Config/UserContext.php +++ b/apps/files_external/lib/Config/UserContext.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Config; use OCP\IRequest; diff --git a/apps/files_external/lib/Config/UserPlaceholderHandler.php b/apps/files_external/lib/Config/UserPlaceholderHandler.php index 4e1fdb674a4d796876808bcfcb230afe69f6dcc0..b2ced2ecf6a5751a77ae11bcee7333fe84e525bd 100644 --- a/apps/files_external/lib/Config/UserPlaceholderHandler.php +++ b/apps/files_external/lib/Config/UserPlaceholderHandler.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Config; class UserPlaceholderHandler extends UserContext implements IConfigHandler { diff --git a/apps/files_external/lib/Controller/AjaxController.php b/apps/files_external/lib/Controller/AjaxController.php index a200b581c396f1ae2fa6a4d60ff62ed171864b76..db23ecd709d632c95985db2c720f39c28208a504 100644 --- a/apps/files_external/lib/Controller/AjaxController.php +++ b/apps/files_external/lib/Controller/AjaxController.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Controller; use OCA\Files_External\Lib\Auth\Password\GlobalAuth; diff --git a/apps/files_external/lib/Controller/ApiController.php b/apps/files_external/lib/Controller/ApiController.php index afa869b5270a00bc0f00bb527bb5e91572832527..d7f24b44cffd820182a6308abdfdfac264d8cf15 100644 --- a/apps/files_external/lib/Controller/ApiController.php +++ b/apps/files_external/lib/Controller/ApiController.php @@ -27,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Files_External\Controller; use OCP\AppFramework\Http\DataResponse; diff --git a/apps/files_external/lib/Controller/GlobalStoragesController.php b/apps/files_external/lib/Controller/GlobalStoragesController.php index f6032ae902b9edbe458f1859115b3342ebe4c612..53173f88ee579fccbeabcb6038cd94af1f97a78b 100644 --- a/apps/files_external/lib/Controller/GlobalStoragesController.php +++ b/apps/files_external/lib/Controller/GlobalStoragesController.php @@ -2,9 +2,9 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Christoph Wurst * @author Joas Schilling * @author Juan Pablo Villafáñez + * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Controller; use OCA\Files_External\NotFoundException; diff --git a/apps/files_external/lib/Controller/StoragesController.php b/apps/files_external/lib/Controller/StoragesController.php index 80adeb47f7d00468a70034bcdae53d1f2d24d9f7..47021bd7d11937cc75f9df979e1914f896723ccd 100644 --- a/apps/files_external/lib/Controller/StoragesController.php +++ b/apps/files_external/lib/Controller/StoragesController.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Controller; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Controller/UserGlobalStoragesController.php b/apps/files_external/lib/Controller/UserGlobalStoragesController.php index 7bab5e47caa96de13650ad68b1a18d542aaf5e79..02fd563df0fd8142955d67fb8d09b0f040d00773 100644 --- a/apps/files_external/lib/Controller/UserGlobalStoragesController.php +++ b/apps/files_external/lib/Controller/UserGlobalStoragesController.php @@ -2,9 +2,9 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Christoph Wurst * @author Joas Schilling * @author Juan Pablo Villafáñez + * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Controller; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Controller/UserStoragesController.php b/apps/files_external/lib/Controller/UserStoragesController.php index 5b981b7c643c4ea45d5694bba67c8a0ef325d530..4032ba1d96c89d02cc8efa75c01950a5587c0269 100644 --- a/apps/files_external/lib/Controller/UserStoragesController.php +++ b/apps/files_external/lib/Controller/UserStoragesController.php @@ -5,6 +5,7 @@ * @author Christoph Wurst * @author Joas Schilling * @author Juan Pablo Villafáñez + * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma @@ -25,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Controller; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/AmazonS3/AccessKey.php b/apps/files_external/lib/Lib/Auth/AmazonS3/AccessKey.php index f318ba71a2086ea8fd235110953c1e9ea49fc465..7185fb511f59b87879ebc4e67d5cd3123707e6c6 100644 --- a/apps/files_external/lib/Lib/Auth/AmazonS3/AccessKey.php +++ b/apps/files_external/lib/Lib/Auth/AmazonS3/AccessKey.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\AmazonS3; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/AuthMechanism.php b/apps/files_external/lib/Lib/Auth/AuthMechanism.php index 512a0405fc0bd06f1096ec57e99661545144dd45..f676957794d816ab5842235b9081082e4bbce220 100644 --- a/apps/files_external/lib/Lib/Auth/AuthMechanism.php +++ b/apps/files_external/lib/Lib/Auth/AuthMechanism.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth; use OCA\Files_External\Lib\FrontendDefinitionTrait; diff --git a/apps/files_external/lib/Lib/Auth/Builtin.php b/apps/files_external/lib/Lib/Auth/Builtin.php index 0f3d5342c6eb0b9bab607bf40ad894b4d38745dc..91428156c754992dbd8d240bd27b22baad69c9bb 100644 --- a/apps/files_external/lib/Lib/Auth/Builtin.php +++ b/apps/files_external/lib/Lib/Auth/Builtin.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth; use OCP\IL10N; diff --git a/apps/files_external/lib/Lib/Auth/IUserProvided.php b/apps/files_external/lib/Lib/Auth/IUserProvided.php index 9ed2b76a05725fccd95d2bdd343502579e822a0f..f913e8e3ab5739460b08d9ff75d373b73ca78c13 100644 --- a/apps/files_external/lib/Lib/Auth/IUserProvided.php +++ b/apps/files_external/lib/Lib/Auth/IUserProvided.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth; use OCP\IUser; diff --git a/apps/files_external/lib/Lib/Auth/InvalidAuth.php b/apps/files_external/lib/Lib/Auth/InvalidAuth.php index 7c3ba64302e08f11fa6f5e3fdd4378b6b7e8939e..1d2953b11cd60e4f722ea0b98a1d9a05f9eda996 100644 --- a/apps/files_external/lib/Lib/Auth/InvalidAuth.php +++ b/apps/files_external/lib/Lib/Auth/InvalidAuth.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth; /** diff --git a/apps/files_external/lib/Lib/Auth/NullMechanism.php b/apps/files_external/lib/Lib/Auth/NullMechanism.php index e7a30ea613e369acda0d57ee4ad66dfb9488674f..05b73b92fc1aeec04abacffe29c5f932e1717347 100644 --- a/apps/files_external/lib/Lib/Auth/NullMechanism.php +++ b/apps/files_external/lib/Lib/Auth/NullMechanism.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth; use OCP\IL10N; diff --git a/apps/files_external/lib/Lib/Auth/OAuth1/OAuth1.php b/apps/files_external/lib/Lib/Auth/OAuth1/OAuth1.php index d93a09292ad512040e7cc0446f95605f2aed6b63..44cdcf795238dd914183ebe59f4591802ef2ad9e 100644 --- a/apps/files_external/lib/Lib/Auth/OAuth1/OAuth1.php +++ b/apps/files_external/lib/Lib/Auth/OAuth1/OAuth1.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\OAuth1; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/OAuth2/OAuth2.php b/apps/files_external/lib/Lib/Auth/OAuth2/OAuth2.php index 17add48977659ce04111f732633f66e54eb98888..4dc2b23035a69ac99213f4d4f88de65973aef236 100644 --- a/apps/files_external/lib/Lib/Auth/OAuth2/OAuth2.php +++ b/apps/files_external/lib/Lib/Auth/OAuth2/OAuth2.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\OAuth2; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV2.php b/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV2.php index 723ecc5068bf61225362692a296455f2029b843c..ddc734ff1ec8b43d85aa04ab5cd68564267d579a 100644 --- a/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV2.php +++ b/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV2.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\OpenStack; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV3.php b/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV3.php index 8ef66cc5f116aae4335793d5c856e015ec2faa46..44ea1c611552f61c3e67e8cf26401c40b920b363 100644 --- a/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV3.php +++ b/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV3.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Lib\Auth\OpenStack; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/OpenStack/Rackspace.php b/apps/files_external/lib/Lib/Auth/OpenStack/Rackspace.php index 4fa2a07440cb8099ef742b1dd5d8ddd8923a3429..8bf3eba668dab0f0419531fb8db63fe9a58def0e 100644 --- a/apps/files_external/lib/Lib/Auth/OpenStack/Rackspace.php +++ b/apps/files_external/lib/Lib/Auth/OpenStack/Rackspace.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\OpenStack; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/Password/GlobalAuth.php b/apps/files_external/lib/Lib/Auth/Password/GlobalAuth.php index 1094f7785579470e4fe5eb1e633fc1bcd952088e..dff5bf8662533f937993ecefb6e3f0d0c154f395 100644 --- a/apps/files_external/lib/Lib/Auth/Password/GlobalAuth.php +++ b/apps/files_external/lib/Lib/Auth/Password/GlobalAuth.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\Password; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/Password/LoginCredentials.php b/apps/files_external/lib/Lib/Auth/Password/LoginCredentials.php index b8279f5ca612dd5f272cbd159bd8c18774f99019..5fa6b36ad63924f405b339fe78ef1706cf41153c 100644 --- a/apps/files_external/lib/Lib/Auth/Password/LoginCredentials.php +++ b/apps/files_external/lib/Lib/Auth/Password/LoginCredentials.php @@ -2,7 +2,9 @@ /** * @copyright Copyright (c) 2015, ownCloud, Inc. * + * @author blizzz * @author Christoph Wurst + * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman @@ -23,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\Password; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/Password/Password.php b/apps/files_external/lib/Lib/Auth/Password/Password.php index 79be428201443e57d92bd723492f3bec7c167196..5165a61d028796d698e68e9934c8208ff2556927 100644 --- a/apps/files_external/lib/Lib/Auth/Password/Password.php +++ b/apps/files_external/lib/Lib/Auth/Password/Password.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\Password; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/Password/SessionCredentials.php b/apps/files_external/lib/Lib/Auth/Password/SessionCredentials.php index d6f2d3f844fa20a61fecfcd826d167683e8bafde..dbe5a2fdc20165d1c842686bbe40b1d095978c5c 100644 --- a/apps/files_external/lib/Lib/Auth/Password/SessionCredentials.php +++ b/apps/files_external/lib/Lib/Auth/Password/SessionCredentials.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\Password; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/Password/UserGlobalAuth.php b/apps/files_external/lib/Lib/Auth/Password/UserGlobalAuth.php index ff95e225e674232e20dfff0cc994b59e7e46f51d..6312a3d136e78b727ec835d0cb5643e922a99c80 100644 --- a/apps/files_external/lib/Lib/Auth/Password/UserGlobalAuth.php +++ b/apps/files_external/lib/Lib/Auth/Password/UserGlobalAuth.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Lib\Auth\Password; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/Password/UserProvided.php b/apps/files_external/lib/Lib/Auth/Password/UserProvided.php index d13c2090258643fbf2a20b6c4b3b8d850c54c2ad..0c8140e3c141c4ecc08442ef673c512c544ce7f1 100644 --- a/apps/files_external/lib/Lib/Auth/Password/UserProvided.php +++ b/apps/files_external/lib/Lib/Auth/Password/UserProvided.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\Password; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php b/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php index f3e6c891e73cb20105bd07b5311af04502c78cd8..2d17b4e9698fcc194767b2f0329b3d2d157abec0 100644 --- a/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php +++ b/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\PublicKey; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/PublicKey/RSAPrivateKey.php b/apps/files_external/lib/Lib/Auth/PublicKey/RSAPrivateKey.php index e7c523f391148b722bc55aaa2f49e9c30671e794..886d16965f4d9d45e3474b40df4e4d4701bdb0cc 100644 --- a/apps/files_external/lib/Lib/Auth/PublicKey/RSAPrivateKey.php +++ b/apps/files_external/lib/Lib/Auth/PublicKey/RSAPrivateKey.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Lib\Auth\PublicKey; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/SMB/KerberosAuth.php b/apps/files_external/lib/Lib/Auth/SMB/KerberosAuth.php index 2051a192dadd4b693ff69f07aa6cccdd1bd60140..44956c57ada983657f827f9382f094c161ee77ef 100644 --- a/apps/files_external/lib/Lib/Auth/SMB/KerberosAuth.php +++ b/apps/files_external/lib/Lib/Auth/SMB/KerberosAuth.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Lib\Auth\SMB; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/AmazonS3.php b/apps/files_external/lib/Lib/Backend/AmazonS3.php index 5473975f3723a5fb2a4a97d703cd36fe09b3a177..d85ac3639dacfea5691030e26e470a13f6ade4e3 100644 --- a/apps/files_external/lib/Lib/Backend/AmazonS3.php +++ b/apps/files_external/lib/Lib/Backend/AmazonS3.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AmazonS3\AccessKey; diff --git a/apps/files_external/lib/Lib/Backend/Backend.php b/apps/files_external/lib/Lib/Backend/Backend.php index 69d41f85ecf28ac4530be25298fedd48462056c4..a6e63eb30d190099811727580204cdd31939ad14 100644 --- a/apps/files_external/lib/Lib/Backend/Backend.php +++ b/apps/files_external/lib/Lib/Backend/Backend.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/DAV.php b/apps/files_external/lib/Lib/Backend/DAV.php index 0991c5ac1df8b9ded0b1a303d7af8dbdf0a76283..cf16677334d5981e49d753adff825969fc3c4fd9 100644 --- a/apps/files_external/lib/Lib/Backend/DAV.php +++ b/apps/files_external/lib/Lib/Backend/DAV.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/FTP.php b/apps/files_external/lib/Lib/Backend/FTP.php index bc35a5d386a9ea3396407e727ca883cd1002c0b2..587f3e68535e7ff78d99c557dc9d14cf87aac061 100644 --- a/apps/files_external/lib/Lib/Backend/FTP.php +++ b/apps/files_external/lib/Lib/Backend/FTP.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/InvalidBackend.php b/apps/files_external/lib/Lib/Backend/InvalidBackend.php index 148074a23914e130ff3daa7ff8290e6c709b0c80..3a5355774472f2d56fbbb3422b5b68d1ed364910 100644 --- a/apps/files_external/lib/Lib/Backend/InvalidBackend.php +++ b/apps/files_external/lib/Lib/Backend/InvalidBackend.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\StorageConfig; diff --git a/apps/files_external/lib/Lib/Backend/LegacyBackend.php b/apps/files_external/lib/Lib/Backend/LegacyBackend.php index d618c756fbf7e2d8dfc28b0da15f22145169ac30..d00c5b0e944cdf17ff43ea866e21742531763cda 100644 --- a/apps/files_external/lib/Lib/Backend/LegacyBackend.php +++ b/apps/files_external/lib/Lib/Backend/LegacyBackend.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\Builtin; diff --git a/apps/files_external/lib/Lib/Backend/Local.php b/apps/files_external/lib/Lib/Backend/Local.php index 67b50e127e909b1bfa9dbdcab041e539de82ffee..88b251360d678585132abb365a87f6d2dfb421ff 100644 --- a/apps/files_external/lib/Lib/Backend/Local.php +++ b/apps/files_external/lib/Lib/Backend/Local.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/OwnCloud.php b/apps/files_external/lib/Lib/Backend/OwnCloud.php index 876f8709cc30af0e406f38b861993e169fb14fd5..8b33b98b5c49ddb0e9fa966e095c2f8f27e10f95 100644 --- a/apps/files_external/lib/Lib/Backend/OwnCloud.php +++ b/apps/files_external/lib/Lib/Backend/OwnCloud.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/SFTP.php b/apps/files_external/lib/Lib/Backend/SFTP.php index a7f97c6b79a23fccff1f674c35e37615a974736e..c65720ea1aed91898abe7438f26cc96aed6bdb01 100644 --- a/apps/files_external/lib/Lib/Backend/SFTP.php +++ b/apps/files_external/lib/Lib/Backend/SFTP.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/SFTP_Key.php b/apps/files_external/lib/Lib/Backend/SFTP_Key.php index 924d6a62ffe8ea12103de9c66aed06b93e6bd3e3..e9a64407ce2559f832e248933272c45e2494ac4b 100644 --- a/apps/files_external/lib/Lib/Backend/SFTP_Key.php +++ b/apps/files_external/lib/Lib/Backend/SFTP_Key.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/SMB.php b/apps/files_external/lib/Lib/Backend/SMB.php index a21beb6e012c49fa3401e52b9db0d98600b99e24..73e6b67614bc5bd438ebea816565a2b0003a57ac 100644 --- a/apps/files_external/lib/Lib/Backend/SMB.php +++ b/apps/files_external/lib/Lib/Backend/SMB.php @@ -7,6 +7,7 @@ * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license AGPL-3.0 * @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use Icewind\SMB\BasicAuth; diff --git a/apps/files_external/lib/Lib/Backend/SMB_OC.php b/apps/files_external/lib/Lib/Backend/SMB_OC.php index dfec19d11d1632c76a11259d3150b1d1ba5d0645..78c266e36d143fa9136f3dc21a91f3f572420469 100644 --- a/apps/files_external/lib/Lib/Backend/SMB_OC.php +++ b/apps/files_external/lib/Lib/Backend/SMB_OC.php @@ -5,6 +5,7 @@ * @author Morris Jobke * @author Robin McCorkell * @author Roeland Jago Douma + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license AGPL-3.0 * @@ -21,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/Swift.php b/apps/files_external/lib/Lib/Backend/Swift.php index b9d3c9c75ce79c248c81f78d982926efd4eb6b3a..8450af5f19c7ff31c10b45dde7cbbc54d80eb14b 100644 --- a/apps/files_external/lib/Lib/Backend/Swift.php +++ b/apps/files_external/lib/Lib/Backend/Swift.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php b/apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php index e8f142c01daef2a4f7c5e268063598d7e992d91e..4358b7abc4f4806a28cf3ffe670b2fa46243c539 100644 --- a/apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php +++ b/apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Config; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Config/IBackendProvider.php b/apps/files_external/lib/Lib/Config/IBackendProvider.php index 7757f204c8c4e93c2d27376ef9c0b38b29116da2..e2b04e78c107a299b6fa2c6dae52dd6c7674204d 100644 --- a/apps/files_external/lib/Lib/Config/IBackendProvider.php +++ b/apps/files_external/lib/Lib/Config/IBackendProvider.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Config; use OCA\Files_External\Lib\Backend\Backend; diff --git a/apps/files_external/lib/Lib/DefinitionParameter.php b/apps/files_external/lib/Lib/DefinitionParameter.php index 8415c3214f5bc667e92889f9f1b6df4638ee6471..fbfbbfd4686a6b690bbfcf4efb3c83972735c864 100644 --- a/apps/files_external/lib/Lib/DefinitionParameter.php +++ b/apps/files_external/lib/Lib/DefinitionParameter.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; /** diff --git a/apps/files_external/lib/Lib/DependencyTrait.php b/apps/files_external/lib/Lib/DependencyTrait.php index b88a111392a75b69dbb206bff0377fa167acc042..135f5ade296aca25f3c6cdf6098ab4acfddb569c 100644 --- a/apps/files_external/lib/Lib/DependencyTrait.php +++ b/apps/files_external/lib/Lib/DependencyTrait.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; /** diff --git a/apps/files_external/lib/Lib/FrontendDefinitionTrait.php b/apps/files_external/lib/Lib/FrontendDefinitionTrait.php index 300abd15db3e63fa55f58b8638f76d6be683449b..b10d3a0b2769f5fdc2bfeb5e95c65e7226c695e4 100644 --- a/apps/files_external/lib/Lib/FrontendDefinitionTrait.php +++ b/apps/files_external/lib/Lib/FrontendDefinitionTrait.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; /** diff --git a/apps/files_external/lib/Lib/IdentifierTrait.php b/apps/files_external/lib/Lib/IdentifierTrait.php index 6bdde976753254742cff0aa80a6280fe411fccff..37813795490ca16040f6ca601a2ad4c977a24ace 100644 --- a/apps/files_external/lib/Lib/IdentifierTrait.php +++ b/apps/files_external/lib/Lib/IdentifierTrait.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; /** diff --git a/apps/files_external/lib/Lib/InsufficientDataForMeaningfulAnswerException.php b/apps/files_external/lib/Lib/InsufficientDataForMeaningfulAnswerException.php index 8205dcfd9f16f0ec573365c244c422a83eefb683..b2301543d8ea12579e8f6220d564a8958deddd2e 100644 --- a/apps/files_external/lib/Lib/InsufficientDataForMeaningfulAnswerException.php +++ b/apps/files_external/lib/Lib/InsufficientDataForMeaningfulAnswerException.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; use OCP\Files\StorageNotAvailableException; diff --git a/apps/files_external/lib/Lib/LegacyDependencyCheckPolyfill.php b/apps/files_external/lib/Lib/LegacyDependencyCheckPolyfill.php index 787872511f9778ae123256100f91b034c3466619..732413c78cd4f5109c9a19edcf7ebf21f3fa6124 100644 --- a/apps/files_external/lib/Lib/LegacyDependencyCheckPolyfill.php +++ b/apps/files_external/lib/Lib/LegacyDependencyCheckPolyfill.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; /** diff --git a/apps/files_external/lib/Lib/MissingDependency.php b/apps/files_external/lib/Lib/MissingDependency.php index f91154baec9038a53f84027ea9e2b90f6bc2d32d..b740f4596b24569a71eb320d2d087c71bf37b9ba 100644 --- a/apps/files_external/lib/Lib/MissingDependency.php +++ b/apps/files_external/lib/Lib/MissingDependency.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; /** diff --git a/apps/files_external/lib/Lib/Notify/SMBNotifyHandler.php b/apps/files_external/lib/Lib/Notify/SMBNotifyHandler.php index e8c89979e892adcbda200c55755e3dda6d476a06..66567b397f23b564f060a9d327fbd49f23d501b2 100644 --- a/apps/files_external/lib/Lib/Notify/SMBNotifyHandler.php +++ b/apps/files_external/lib/Lib/Notify/SMBNotifyHandler.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2017 Robin Appelman * * @author Christoph Wurst + * @author Julius Härtl * @author Robin Appelman * * @license GNU AGPL version 3 or any later version @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Lib\Notify; use OC\Files\Notify\Change; diff --git a/apps/files_external/lib/Lib/PersonalMount.php b/apps/files_external/lib/Lib/PersonalMount.php index d8f2aeea56eb599e1de1beb8a264c7557d6c8798..b22266fce1808759c863576363fae1617aa1581e 100644 --- a/apps/files_external/lib/Lib/PersonalMount.php +++ b/apps/files_external/lib/Lib/PersonalMount.php @@ -2,7 +2,7 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Morris Jobke + * @author Julius Härtl * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; use OC\Files\Mount\MoveableMount; diff --git a/apps/files_external/lib/Lib/PriorityTrait.php b/apps/files_external/lib/Lib/PriorityTrait.php index 12e30de231f7b3516e9009124b7ce3cccb8185a1..355f75a833a837ae5f5a738f96e406024c0f9967 100644 --- a/apps/files_external/lib/Lib/PriorityTrait.php +++ b/apps/files_external/lib/Lib/PriorityTrait.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; use OCA\Files_External\Service\BackendService; diff --git a/apps/files_external/lib/Lib/SessionStorageWrapper.php b/apps/files_external/lib/Lib/SessionStorageWrapper.php index 2b8f2b8613b8534eb1962bfdd4c220d319d3d74e..386ab4a73afb463eb1c732bdcb6b5358ef05af5e 100644 --- a/apps/files_external/lib/Lib/SessionStorageWrapper.php +++ b/apps/files_external/lib/Lib/SessionStorageWrapper.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; use OC\Files\Storage\Wrapper\PermissionsMask; diff --git a/apps/files_external/lib/Lib/Storage/AmazonS3.php b/apps/files_external/lib/Lib/Storage/AmazonS3.php index 50bea958b6e5243d696668b1917244b55e66988d..32e74250a91d2e374870838c3b75d5332c76ca1a 100644 --- a/apps/files_external/lib/Lib/Storage/AmazonS3.php +++ b/apps/files_external/lib/Lib/Storage/AmazonS3.php @@ -37,7 +37,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Storage; use Aws\Result; diff --git a/apps/files_external/lib/Lib/Storage/FTP.php b/apps/files_external/lib/Lib/Storage/FTP.php index 48e312ecd7f0c24e1c02a4df35065cded910a780..5beed27ed7625d1c5fed502c4acc42eecce1b416 100644 --- a/apps/files_external/lib/Lib/Storage/FTP.php +++ b/apps/files_external/lib/Lib/Storage/FTP.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Storage; use Icewind\Streams\CallbackWrapper; diff --git a/apps/files_external/lib/Lib/Storage/OwnCloud.php b/apps/files_external/lib/Lib/Storage/OwnCloud.php index 501d7e68e1c5914f04c25b007ea246446745c0ff..d5926008f627b6c021b7c8c568e31b3481290706 100644 --- a/apps/files_external/lib/Lib/Storage/OwnCloud.php +++ b/apps/files_external/lib/Lib/Storage/OwnCloud.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Storage; use OCP\Files\Storage\IDisableEncryptionStorage; diff --git a/apps/files_external/lib/Lib/Storage/SFTP.php b/apps/files_external/lib/Lib/Storage/SFTP.php index 5f3d02dfd0aee4dd2f880ce9fb31c59ebefbe02b..ae049007cdc67bd4c1c9f578121646dae979617a 100644 --- a/apps/files_external/lib/Lib/Storage/SFTP.php +++ b/apps/files_external/lib/Lib/Storage/SFTP.php @@ -34,7 +34,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Storage; use Icewind\Streams\IteratorDirectory; diff --git a/apps/files_external/lib/Lib/Storage/SFTPReadStream.php b/apps/files_external/lib/Lib/Storage/SFTPReadStream.php index 1a721a0e2d86ff30504216aef4d02ca1255acc15..06ede120f5ac0d641c2184655732be7462bb5e98 100644 --- a/apps/files_external/lib/Lib/Storage/SFTPReadStream.php +++ b/apps/files_external/lib/Lib/Storage/SFTPReadStream.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Lib\Storage; use Icewind\Streams\File; diff --git a/apps/files_external/lib/Lib/Storage/SFTPWriteStream.php b/apps/files_external/lib/Lib/Storage/SFTPWriteStream.php index b71dcbb1be5f972f0b546fc484140c7ab38f4870..b1518809f0979b11941c240ea0fa22e82ed9986a 100644 --- a/apps/files_external/lib/Lib/Storage/SFTPWriteStream.php +++ b/apps/files_external/lib/Lib/Storage/SFTPWriteStream.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Lib\Storage; use Icewind\Streams\File; diff --git a/apps/files_external/lib/Lib/Storage/SMB.php b/apps/files_external/lib/Lib/Storage/SMB.php index e795e7cfd9212201eab09e7d4748ba3907cc6379..2081824b2f8cee3e3f13965bb80215d0d88331b8 100644 --- a/apps/files_external/lib/Lib/Storage/SMB.php +++ b/apps/files_external/lib/Lib/Storage/SMB.php @@ -8,6 +8,7 @@ * @author Jörn Friedrich Dreyer * @author Juan Pablo Villafañez * @author Juan Pablo Villafáñez + * @author Julius Härtl * @author Michael Gapczynski * @author Morris Jobke * @author Philipp Kapfer @@ -33,7 +34,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Storage; use Icewind\SMB\ACL; diff --git a/apps/files_external/lib/Lib/Storage/StreamWrapper.php b/apps/files_external/lib/Lib/Storage/StreamWrapper.php index ba98bceda384492528e61492cef8bcffde41343a..dc203399646fabf5b70f5de9674cc0c1c0b18489 100644 --- a/apps/files_external/lib/Lib/Storage/StreamWrapper.php +++ b/apps/files_external/lib/Lib/Storage/StreamWrapper.php @@ -4,7 +4,6 @@ * * @author Bart Visscher * @author Jörn Friedrich Dreyer - * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell * @author Thomas Müller @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Storage; abstract class StreamWrapper extends \OC\Files\Storage\Common { diff --git a/apps/files_external/lib/Lib/Storage/Swift.php b/apps/files_external/lib/Lib/Storage/Swift.php index 5082816b2c21be18701ad90fb4fbe73aeb09b5e0..17859259fe386c6ac9f639aeccdf3012bf993112 100644 --- a/apps/files_external/lib/Lib/Storage/Swift.php +++ b/apps/files_external/lib/Lib/Storage/Swift.php @@ -40,7 +40,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Storage; use GuzzleHttp\Psr7\Uri; diff --git a/apps/files_external/lib/Lib/StorageConfig.php b/apps/files_external/lib/Lib/StorageConfig.php index 4e61d89e9a554d466886d43d8f470d435ccca5f3..ca8622ab32d46100dba621a9f039dd42fd64f66b 100644 --- a/apps/files_external/lib/Lib/StorageConfig.php +++ b/apps/files_external/lib/Lib/StorageConfig.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/StorageModifierTrait.php b/apps/files_external/lib/Lib/StorageModifierTrait.php index 304eadb225435d800daf6b40cfbe9277af0e6e7b..48e91531cc1f5ff006cef818c08ed54e28180c3a 100644 --- a/apps/files_external/lib/Lib/StorageModifierTrait.php +++ b/apps/files_external/lib/Lib/StorageModifierTrait.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; use OCP\Files\Storage; diff --git a/apps/files_external/lib/Lib/VisibilityTrait.php b/apps/files_external/lib/Lib/VisibilityTrait.php index dc4ba7b366f523e6f91f91398c3ae3021cdb26ae..db616900b8e80d27b5ff0bfdfe8c5d752d01b0a4 100644 --- a/apps/files_external/lib/Lib/VisibilityTrait.php +++ b/apps/files_external/lib/Lib/VisibilityTrait.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; use OCA\Files_External\Service\BackendService; diff --git a/apps/files_external/lib/Listener/StorePasswordListener.php b/apps/files_external/lib/Listener/StorePasswordListener.php index 27de4ada4654fe2c8f47c8e3ba0764bb1a7d6a90..bd0c4dc1ffd7f544c3798815f7630983c20ef08c 100644 --- a/apps/files_external/lib/Listener/StorePasswordListener.php +++ b/apps/files_external/lib/Listener/StorePasswordListener.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020, Morris Jobke * + * @author Joas Schilling * @author Morris Jobke * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Listener; use OCA\Files_External\Lib\Auth\Password\LoginCredentials; diff --git a/apps/files_external/lib/Migration/DummyUserSession.php b/apps/files_external/lib/Migration/DummyUserSession.php index 73de23be6812fe21cf6b6be5e1d033e06a33d4c6..e1b2b500188c59802737d1b4982e02d71061569b 100644 --- a/apps/files_external/lib/Migration/DummyUserSession.php +++ b/apps/files_external/lib/Migration/DummyUserSession.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Migration; use OCP\IUser; diff --git a/apps/files_external/lib/Migration/StorageMigrator.php b/apps/files_external/lib/Migration/StorageMigrator.php index 4d20a9538a083aa4995fb7e89b20e557e7e8e169..05a39865797e6926218da60514fd9f4b83e4d1fd 100644 --- a/apps/files_external/lib/Migration/StorageMigrator.php +++ b/apps/files_external/lib/Migration/StorageMigrator.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Migration; use OCA\Files_External\Service\BackendService; diff --git a/apps/files_external/lib/Migration/Version1011Date20200630192246.php b/apps/files_external/lib/Migration/Version1011Date20200630192246.php index f1f9ac4b6a5e5ba7ad3448d19549de622f59b517..5ec289428fbc37208b32044fadfc7e59c9cc918d 100644 --- a/apps/files_external/lib/Migration/Version1011Date20200630192246.php +++ b/apps/files_external/lib/Migration/Version1011Date20200630192246.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * @author Vincent Petry * @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Migration; use Closure; diff --git a/apps/files_external/lib/Migration/Version22000Date20210216084416.php b/apps/files_external/lib/Migration/Version22000Date20210216084416.php index babfb42748e41f77db11086b32fbb0609705cdb8..1f56b7f8abba591eec4d776308b50cba5f6462cd 100644 --- a/apps/files_external/lib/Migration/Version22000Date20210216084416.php +++ b/apps/files_external/lib/Migration/Version22000Date20210216084416.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Migration; use Closure; diff --git a/apps/files_external/lib/MountConfig.php b/apps/files_external/lib/MountConfig.php index 8b63f1b1f4bcbbb646975a994c2c653dbb1507b0..0a9168bbfd740b30b5b631b553723f88fa61c22c 100644 --- a/apps/files_external/lib/MountConfig.php +++ b/apps/files_external/lib/MountConfig.php @@ -37,7 +37,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External; use OCA\Files_External\AppInfo\Application; diff --git a/apps/files_external/lib/NotFoundException.php b/apps/files_external/lib/NotFoundException.php index d21de079f605093c8c3cddd9c640ed701c3d3a3e..8f7063cc989b54fefa8467e4e6ed5ccf009b015f 100644 --- a/apps/files_external/lib/NotFoundException.php +++ b/apps/files_external/lib/NotFoundException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External; /** diff --git a/apps/files_external/lib/Service/BackendService.php b/apps/files_external/lib/Service/BackendService.php index 0239bc17e1e2277c4c80e912e1481a293cccb8eb..2cfc1d48b2e7938fd664ed67e9587dc29f0018ee 100644 --- a/apps/files_external/lib/Service/BackendService.php +++ b/apps/files_external/lib/Service/BackendService.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OCA\Files_External\Config\IConfigHandler; diff --git a/apps/files_external/lib/Service/DBConfigService.php b/apps/files_external/lib/Service/DBConfigService.php index 3530b0fa4fc8e7ef0460d2551ed24e0ce881d245..f6446eea363e50649f94574e9eb900ae379a493d 100644 --- a/apps/files_external/lib/Service/DBConfigService.php +++ b/apps/files_external/lib/Service/DBConfigService.php @@ -8,6 +8,7 @@ * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell + * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use Doctrine\DBAL\Exception\UniqueConstraintViolationException; diff --git a/apps/files_external/lib/Service/GlobalStoragesService.php b/apps/files_external/lib/Service/GlobalStoragesService.php index 2c195bd8694bfb6914b69589159c76bd0fea6af6..509d4fde8d9ad32174818985b578bb883463cbf2 100644 --- a/apps/files_external/lib/Service/GlobalStoragesService.php +++ b/apps/files_external/lib/Service/GlobalStoragesService.php @@ -9,6 +9,7 @@ * @author Robin McCorkell * @author Roeland Jago Douma * @author Stefan Weil + * @author szaimen * @author Vincent Petry * * @license AGPL-3.0 @@ -26,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OC\Files\Filesystem; diff --git a/apps/files_external/lib/Service/ImportLegacyStoragesService.php b/apps/files_external/lib/Service/ImportLegacyStoragesService.php index 2b7a3b0277ccf190cc80858701794c77d55916e7..c17b6fe8fa09d42e78d6429a114be53efc167a38 100644 --- a/apps/files_external/lib/Service/ImportLegacyStoragesService.php +++ b/apps/files_external/lib/Service/ImportLegacyStoragesService.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; class ImportLegacyStoragesService extends LegacyStoragesService { diff --git a/apps/files_external/lib/Service/LegacyStoragesService.php b/apps/files_external/lib/Service/LegacyStoragesService.php index 60f6118284a97421d7d248eb47d64572e20c9395..325e62556911836b0478d429b887806eb2a0a6ed 100644 --- a/apps/files_external/lib/Service/LegacyStoragesService.php +++ b/apps/files_external/lib/Service/LegacyStoragesService.php @@ -7,6 +7,7 @@ * @author Morris Jobke * @author Robin Appelman * @author Stefan Weil + * @author szaimen * * @license AGPL-3.0 * @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OCA\Files_External\Lib\StorageConfig; diff --git a/apps/files_external/lib/Service/StoragesService.php b/apps/files_external/lib/Service/StoragesService.php index aed05e2725a79fe828dca35a1c2666cf4aee1b67..b8eabd65e1ec157cbc93c25f3cf480f0275b2292 100644 --- a/apps/files_external/lib/Service/StoragesService.php +++ b/apps/files_external/lib/Service/StoragesService.php @@ -12,6 +12,7 @@ * @author Robin McCorkell * @author Roeland Jago Douma * @author Stefan Weil + * @author szaimen * @author Vincent Petry * * @license AGPL-3.0 @@ -29,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OC\Files\Filesystem; diff --git a/apps/files_external/lib/Service/UserGlobalStoragesService.php b/apps/files_external/lib/Service/UserGlobalStoragesService.php index fc284f951bd0088f92f2d59b9439efe539b79337..ba894d8f2106e072c42009433e4513e46dd1d89f 100644 --- a/apps/files_external/lib/Service/UserGlobalStoragesService.php +++ b/apps/files_external/lib/Service/UserGlobalStoragesService.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OCA\Files_External\Lib\StorageConfig; diff --git a/apps/files_external/lib/Service/UserLegacyStoragesService.php b/apps/files_external/lib/Service/UserLegacyStoragesService.php index eb059b662077ab922cb43beeaed68dba7d0be6ac..ce86ce30bad3fc8e39c153a2fe6938f936594215 100644 --- a/apps/files_external/lib/Service/UserLegacyStoragesService.php +++ b/apps/files_external/lib/Service/UserLegacyStoragesService.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OCP\IUserSession; diff --git a/apps/files_external/lib/Service/UserStoragesService.php b/apps/files_external/lib/Service/UserStoragesService.php index 770a4f25e03a1c73053205de4a0b6f821221a837..8af6bdb3a7773fa64537033550781170ae548722 100644 --- a/apps/files_external/lib/Service/UserStoragesService.php +++ b/apps/files_external/lib/Service/UserStoragesService.php @@ -8,6 +8,7 @@ * @author Robin McCorkell * @author Roeland Jago Douma * @author Stefan Weil + * @author szaimen * @author Vincent Petry * * @license AGPL-3.0 @@ -25,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OC\Files\Filesystem; diff --git a/apps/files_external/lib/Service/UserTrait.php b/apps/files_external/lib/Service/UserTrait.php index 72f9ed571218287921579cfd37ac74df9be7294a..260f20cd03bb2acc621ba291991a5ea8c2195ddd 100644 --- a/apps/files_external/lib/Service/UserTrait.php +++ b/apps/files_external/lib/Service/UserTrait.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OCP\IUser; diff --git a/apps/files_external/lib/Settings/Admin.php b/apps/files_external/lib/Settings/Admin.php index 12808528393001918bc1181d8a5802bca0fa6aaf..116738b3f42b4671c5fdf82dca47a837d9cbcddc 100644 --- a/apps/files_external/lib/Settings/Admin.php +++ b/apps/files_external/lib/Settings/Admin.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Settings; use OCA\Files_External\Lib\Auth\Password\GlobalAuth; diff --git a/apps/files_external/lib/Settings/Personal.php b/apps/files_external/lib/Settings/Personal.php index e10b671ea888e72ba8553e44183ac5c218860283..c27cb0fce264d94404de02aa317b9d98f44af9e9 100644 --- a/apps/files_external/lib/Settings/Personal.php +++ b/apps/files_external/lib/Settings/Personal.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Settings; use OCA\Files_External\Lib\Auth\Password\GlobalAuth; diff --git a/apps/files_external/lib/Settings/PersonalSection.php b/apps/files_external/lib/Settings/PersonalSection.php index da66b61eee955a44802e21e1d970b728f45f1e91..b1ca6bb16dc4da807974f37fe0c7fe9784c6f7d3 100644 --- a/apps/files_external/lib/Settings/PersonalSection.php +++ b/apps/files_external/lib/Settings/PersonalSection.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Settings; use OCA\Files_External\Service\BackendService; diff --git a/apps/files_external/lib/Settings/Section.php b/apps/files_external/lib/Settings/Section.php index 02cb12c5b39e085e1ce785d2a0bb1eec1ca927f7..9123cbe26c930c6250392b5333bb3be7ab0bb07c 100644 --- a/apps/files_external/lib/Settings/Section.php +++ b/apps/files_external/lib/Settings/Section.php @@ -4,6 +4,7 @@ * * @author Arthur Schiwon * @author Joas Schilling + * @author szaimen * * @license GNU AGPL version 3 or any later version * @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Settings; use OCP\IL10N; diff --git a/apps/files_external/list.php b/apps/files_external/list.php index dd54c02b75a0928a4b42e898c54120bbfc938f6d..0107bf92e6fbff09b784bb0f787cc1fd81256866 100644 --- a/apps/files_external/list.php +++ b/apps/files_external/list.php @@ -2,8 +2,9 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Christoph Wurst * @author Jesús Macias - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Vincent Petry * diff --git a/apps/files_external/tests/Auth/AuthMechanismTest.php b/apps/files_external/tests/Auth/AuthMechanismTest.php index 8a4321466c860b22fbbb50cdb1d2a8119dad475b..7e1d2a84ae4e4783afd830d309e1b71ce1a47ce4 100644 --- a/apps/files_external/tests/Auth/AuthMechanismTest.php +++ b/apps/files_external/tests/Auth/AuthMechanismTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Auth; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/tests/Auth/Password/GlobalAuth.php b/apps/files_external/tests/Auth/Password/GlobalAuth.php index caaaa7f25184ac7ac9b75cd2f252cccd7506baea..611efd3a8eb5925357f2cd9ab5a1830ba431700c 100644 --- a/apps/files_external/tests/Auth/Password/GlobalAuth.php +++ b/apps/files_external/tests/Auth/Password/GlobalAuth.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Auth\Password; use OCA\Files_External\Lib\Auth\Password\GlobalAuth; diff --git a/apps/files_external/tests/Backend/BackendTest.php b/apps/files_external/tests/Backend/BackendTest.php index b1b786e879b078d81a9539c5629d7e474938d6c8..011b8711c4a669abbf255fe97cbecb2ea0df70cd 100644 --- a/apps/files_external/tests/Backend/BackendTest.php +++ b/apps/files_external/tests/Backend/BackendTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Backend; use OCA\Files_External\Lib\Backend\Backend; diff --git a/apps/files_external/tests/Backend/LegacyBackendTest.php b/apps/files_external/tests/Backend/LegacyBackendTest.php index c929058c2b50716c120899792d256fe5f2923a66..2a69ab9e3556ab8eb42912658622d70bf1123632 100644 --- a/apps/files_external/tests/Backend/LegacyBackendTest.php +++ b/apps/files_external/tests/Backend/LegacyBackendTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Backend; use OCA\Files_External\Lib\Backend\LegacyBackend; diff --git a/apps/files_external/tests/Command/ApplicableTest.php b/apps/files_external/tests/Command/ApplicableTest.php index c0eb3fc0db3c882fbfa1cfdeffbe9d35faee2a0a..fb4326354fa7a1c62b164ba8407bd28dc5db9bda 100644 --- a/apps/files_external/tests/Command/ApplicableTest.php +++ b/apps/files_external/tests/Command/ApplicableTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Command; use OCA\Files_External\Command\Applicable; diff --git a/apps/files_external/tests/Command/CommandTest.php b/apps/files_external/tests/Command/CommandTest.php index 811177130eb2993e734f49daca82304c123dc64c..952ca2a03074fa96f14186649618bef518a07ea5 100644 --- a/apps/files_external/tests/Command/CommandTest.php +++ b/apps/files_external/tests/Command/CommandTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Command; use OCA\Files_External\Lib\StorageConfig; diff --git a/apps/files_external/tests/Command/ListCommandTest.php b/apps/files_external/tests/Command/ListCommandTest.php index 4b808b662bc6c897ed5aa9ed992c1cd31a39a7f7..e9cd3496d71dbc0584187cdb47f7215c21257e7b 100644 --- a/apps/files_external/tests/Command/ListCommandTest.php +++ b/apps/files_external/tests/Command/ListCommandTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Command; use OCA\Files_External\Command\ListCommand; diff --git a/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php b/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php index 8546eb06dd5a8688825d25abb0a9ac17a491173f..48474a8233160433a8911a246889f53deb4dff9d 100644 --- a/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php +++ b/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\files_external\tests\Config; use OCA\Files_External\Config\UserPlaceholderHandler; diff --git a/apps/files_external/tests/Controller/AjaxControllerTest.php b/apps/files_external/tests/Controller/AjaxControllerTest.php index 90c66470f27fada2ed45901d5723b1b646d7be14..2ddd64f0e073ae1ca5174c87e0cb36f161b3fd53 100644 --- a/apps/files_external/tests/Controller/AjaxControllerTest.php +++ b/apps/files_external/tests/Controller/AjaxControllerTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Tests\Controller; use OCA\Files_External\Controller\AjaxController; diff --git a/apps/files_external/tests/Controller/GlobalStoragesControllerTest.php b/apps/files_external/tests/Controller/GlobalStoragesControllerTest.php index 9314488aa08d17751fa10e40a420d147a526bfde..f385b1f379e2569de2794c4f95039659122807c6 100644 --- a/apps/files_external/tests/Controller/GlobalStoragesControllerTest.php +++ b/apps/files_external/tests/Controller/GlobalStoragesControllerTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Controller; use OC\User\User; diff --git a/apps/files_external/tests/Controller/StoragesControllerTest.php b/apps/files_external/tests/Controller/StoragesControllerTest.php index 80dd01d36842ed95f7d2d52d756bdf353d42b47c..7dc2d287b439a8b2b9b56417c404d45d26177cad 100644 --- a/apps/files_external/tests/Controller/StoragesControllerTest.php +++ b/apps/files_external/tests/Controller/StoragesControllerTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Controller; use OCA\Files_External\Controller\GlobalStoragesController; diff --git a/apps/files_external/tests/Controller/UserStoragesControllerTest.php b/apps/files_external/tests/Controller/UserStoragesControllerTest.php index 7ceb18b633b1fa56e038ad86f00464fef7ba3da9..c9e4ec5f985c8652e3809f59100c424624f7423e 100644 --- a/apps/files_external/tests/Controller/UserStoragesControllerTest.php +++ b/apps/files_external/tests/Controller/UserStoragesControllerTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Controller; use OC\User\User; diff --git a/apps/files_external/tests/DefinitionParameterTest.php b/apps/files_external/tests/DefinitionParameterTest.php index b0a48509d65498e74615b181cecaffa929b1ba66..00df3e0aee1438edb10c1db6bb1a1b57c9c2f4bd 100644 --- a/apps/files_external/tests/DefinitionParameterTest.php +++ b/apps/files_external/tests/DefinitionParameterTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests; use OCA\Files_External\Lib\DefinitionParameter as Param; diff --git a/apps/files_external/tests/FrontendDefinitionTraitTest.php b/apps/files_external/tests/FrontendDefinitionTraitTest.php index c4eab6f0122526835b8e2ea5baa62993e1816895..22593a81afaa3724ca90f78fae196de5997b32bd 100644 --- a/apps/files_external/tests/FrontendDefinitionTraitTest.php +++ b/apps/files_external/tests/FrontendDefinitionTraitTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests; use OCA\Files_External\Lib\DefinitionParameter; diff --git a/apps/files_external/tests/LegacyDependencyCheckPolyfillTest.php b/apps/files_external/tests/LegacyDependencyCheckPolyfillTest.php index b873a18694dd9e497c78883107f812ca808eff69..b905f24fb1ab843a0075b8247ec848d487b4c464 100644 --- a/apps/files_external/tests/LegacyDependencyCheckPolyfillTest.php +++ b/apps/files_external/tests/LegacyDependencyCheckPolyfillTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests; use OCA\Files_External\Lib\MissingDependency; diff --git a/apps/files_external/tests/OwnCloudFunctionsTest.php b/apps/files_external/tests/OwnCloudFunctionsTest.php index a1db042d48ea57241145a3b4c94338cbc3c89f7e..0564fa6a727ce1ffd77bf27837511cd53ff0ac23 100644 --- a/apps/files_external/tests/OwnCloudFunctionsTest.php +++ b/apps/files_external/tests/OwnCloudFunctionsTest.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Robin McCorkell * @author Thomas Müller * @author Vincent Petry @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests; /** diff --git a/apps/files_external/tests/PersonalMountTest.php b/apps/files_external/tests/PersonalMountTest.php index 7d5179104bb8f43fb6702e75e396887831463316..b8a57657f9dee7946dc4618fe0584045f64fc323 100644 --- a/apps/files_external/tests/PersonalMountTest.php +++ b/apps/files_external/tests/PersonalMountTest.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling + * @author Julius Härtl * @author Robin Appelman * * @license AGPL-3.0 @@ -21,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests; use OC\Files\Mount\Manager; diff --git a/apps/files_external/tests/Service/BackendServiceTest.php b/apps/files_external/tests/Service/BackendServiceTest.php index 6d120cc9e164a5daff1431878d4d1231c9fe201c..9190b63b5d8771337eb189d4ada1232fcaa4cb51 100644 --- a/apps/files_external/tests/Service/BackendServiceTest.php +++ b/apps/files_external/tests/Service/BackendServiceTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Service; use OCA\Files_External\Config\IConfigHandler; diff --git a/apps/files_external/tests/Service/DBConfigServiceTest.php b/apps/files_external/tests/Service/DBConfigServiceTest.php index e3615f2edcd5682f27c9019ce50bc4186cb48b2a..f5a93435a1dd7408f6bf82c2b38a70c04ea46806 100644 --- a/apps/files_external/tests/Service/DBConfigServiceTest.php +++ b/apps/files_external/tests/Service/DBConfigServiceTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Service; use OCA\Files_External\Service\DBConfigService; diff --git a/apps/files_external/tests/Service/GlobalStoragesServiceTest.php b/apps/files_external/tests/Service/GlobalStoragesServiceTest.php index 25f2f39b5052e08b3cff0ed405d0a46dfa9dfdd8..b23c4b8f2bf9ab47dc072ddd24a3b169e47830f5 100644 --- a/apps/files_external/tests/Service/GlobalStoragesServiceTest.php +++ b/apps/files_external/tests/Service/GlobalStoragesServiceTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Service; use OC\Files\Filesystem; diff --git a/apps/files_external/tests/Service/StoragesServiceTest.php b/apps/files_external/tests/Service/StoragesServiceTest.php index 1e4707e05b5a9106f047e3073258c84196441628..78510c3e3832f59635345658a172fb889f83971a 100644 --- a/apps/files_external/tests/Service/StoragesServiceTest.php +++ b/apps/files_external/tests/Service/StoragesServiceTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Service; use OC\Files\Filesystem; diff --git a/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php b/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php index 2ad75c88940eb3c4db64b8700aa2e410b7ac0b0f..ea77148c8f219d70a9cb794f26ec066f40726525 100644 --- a/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php +++ b/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Service; use OCA\Files_External\Lib\StorageConfig; diff --git a/apps/files_external/tests/Service/UserStoragesServiceTest.php b/apps/files_external/tests/Service/UserStoragesServiceTest.php index e54fc6d515ff4d28ac0d22aa8326c9849137255e..ff39ea9ddbca7505aab3cb151cc22bed7b650b00 100644 --- a/apps/files_external/tests/Service/UserStoragesServiceTest.php +++ b/apps/files_external/tests/Service/UserStoragesServiceTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Service; use OC\Files\Filesystem; diff --git a/apps/files_external/tests/Settings/AdminTest.php b/apps/files_external/tests/Settings/AdminTest.php index 413956d21c47cc4bb8eba67c93c36805d066b7eb..bad5da8516d0712c1b4b9aad4caa95ddc2953283 100644 --- a/apps/files_external/tests/Settings/AdminTest.php +++ b/apps/files_external/tests/Settings/AdminTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Tests\Settings; use OCA\Files_External\Lib\Auth\Password\GlobalAuth; diff --git a/apps/files_external/tests/Settings/SectionTest.php b/apps/files_external/tests/Settings/SectionTest.php index 96bf1cd1eb967b04026afa9caae4de934bf6223a..cfe9789635800b74fff6ea7f5d85df73188a8081 100644 --- a/apps/files_external/tests/Settings/SectionTest.php +++ b/apps/files_external/tests/Settings/SectionTest.php @@ -5,6 +5,7 @@ * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma + * @author szaimen * * @license GNU AGPL version 3 or any later version * @@ -15,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_External\Tests\Settings; use OCA\Files_External\Settings\Section; diff --git a/apps/files_external/tests/Storage/Amazons3Test.php b/apps/files_external/tests/Storage/Amazons3Test.php index 728db46e16dfc34824f67aa7d859c9d951c94222..c013d304cceb0a4df06712ddc9972536aa08a599 100644 --- a/apps/files_external/tests/Storage/Amazons3Test.php +++ b/apps/files_external/tests/Storage/Amazons3Test.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Michael Gapczynski - * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma @@ -26,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use OCA\Files_External\Lib\Storage\AmazonS3; diff --git a/apps/files_external/tests/Storage/FtpTest.php b/apps/files_external/tests/Storage/FtpTest.php index b471b2ebdf4fc7709d776033d4e556a1c4baf20e..507490204e395b27a391d9d9145cad4247c833e2 100644 --- a/apps/files_external/tests/Storage/FtpTest.php +++ b/apps/files_external/tests/Storage/FtpTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use OCA\Files_External\Lib\Storage\FTP; diff --git a/apps/files_external/tests/Storage/OwncloudTest.php b/apps/files_external/tests/Storage/OwncloudTest.php index 1fcac551330449d4d9ba31fc390dfd6c6e2fb069..88f6277c06a2629b734a1e2bd9ebcd48461e7b38 100644 --- a/apps/files_external/tests/Storage/OwncloudTest.php +++ b/apps/files_external/tests/Storage/OwncloudTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use OCA\Files_External\Lib\Storage\OwnCloud; diff --git a/apps/files_external/tests/Storage/SFTP_KeyTest.php b/apps/files_external/tests/Storage/SFTP_KeyTest.php index 0d336212a666af95187ab00fdaa8324f1293d9c9..558b24f091427d8235f024aac6faeab99136d2e2 100644 --- a/apps/files_external/tests/Storage/SFTP_KeyTest.php +++ b/apps/files_external/tests/Storage/SFTP_KeyTest.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Morris Jobke * @author Robin McCorkell * @author Roeland Jago Douma * @author Ross Nicoll @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use OCA\Files_External\Lib\Storage\SFTP_Key; diff --git a/apps/files_external/tests/Storage/SftpTest.php b/apps/files_external/tests/Storage/SftpTest.php index 44b1c80108f7b65a6892267b9a61409654ce9a54..70e93ada2f2632beffcc0b53c43d4e7be8aa63c5 100644 --- a/apps/files_external/tests/Storage/SftpTest.php +++ b/apps/files_external/tests/Storage/SftpTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use OCA\Files_External\Lib\Storage\SFTP; diff --git a/apps/files_external/tests/Storage/SmbTest.php b/apps/files_external/tests/Storage/SmbTest.php index bd966eef16f6b58e5743cbdcf07c2f86fd85b90a..17948c5275a6ba341b6a7013dd6c21d9a8c301e3 100644 --- a/apps/files_external/tests/Storage/SmbTest.php +++ b/apps/files_external/tests/Storage/SmbTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use OC\Files\Notify\Change; diff --git a/apps/files_external/tests/Storage/SwiftTest.php b/apps/files_external/tests/Storage/SwiftTest.php index d90608a2886e66b61133d7051cb187aced9dd374..98a184f37b5a5d4fdb6b81b1c4cb4be3c5f9d390 100644 --- a/apps/files_external/tests/Storage/SwiftTest.php +++ b/apps/files_external/tests/Storage/SwiftTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use GuzzleHttp\Exception\ClientException; diff --git a/apps/files_external/tests/Storage/WebdavTest.php b/apps/files_external/tests/Storage/WebdavTest.php index 87caaa5a353b712561ae331c65b7bdafd12f130b..bf3eb64a63c79b4607e1b83441e5292f04624980 100644 --- a/apps/files_external/tests/Storage/WebdavTest.php +++ b/apps/files_external/tests/Storage/WebdavTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use OC\Files\Storage\DAV; diff --git a/apps/files_external/tests/StorageConfigTest.php b/apps/files_external/tests/StorageConfigTest.php index c6a7e86eeddf048751579f34a251e1658d4050ea..6f5d8066f92fc8117114b6f64883f9e561755090 100644 --- a/apps/files_external/tests/StorageConfigTest.php +++ b/apps/files_external/tests/StorageConfigTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php index 84fb68dbe2e61e2a538cc5e47cb7d95638b42e82..79be3732773d9edaabb15b37008ec0a115808180 100644 --- a/apps/files_sharing/appinfo/app.php +++ b/apps/files_sharing/appinfo/app.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Björn Schießle - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - use OCA\Files_Sharing\ShareBackend\File; use OCA\Files_Sharing\ShareBackend\Folder; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php index 12cdf66707fd9733bfb6bcd3716ec5ec7387d7ea..7a6eec40d7ee02f9e58b953f1e825b6095bec710 100644 --- a/apps/files_sharing/appinfo/routes.php +++ b/apps/files_sharing/appinfo/routes.php @@ -5,7 +5,7 @@ * @author Björn Schießle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Maxence Lange * @author Roeland Jago Douma @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - return [ 'resources' => [ 'ExternalShares' => ['url' => '/api/externalShares'], diff --git a/apps/files_sharing/lib/Activity/Filter.php b/apps/files_sharing/lib/Activity/Filter.php index da4539384cf1f2fbd40392f32310897a3d22546f..0ac64301ec8e00aaf70725c0cdf7d8909ca24820 100644 --- a/apps/files_sharing/lib/Activity/Filter.php +++ b/apps/files_sharing/lib/Activity/Filter.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Activity; use OCP\Activity\IFilter; diff --git a/apps/files_sharing/lib/Activity/Providers/Base.php b/apps/files_sharing/lib/Activity/Providers/Base.php index 843a0c447f16102af1d02d54f04e2c75958a4bf3..948d629c8fc99dda6f41a0eb2a854af7a3c1ffc2 100644 --- a/apps/files_sharing/lib/Activity/Providers/Base.php +++ b/apps/files_sharing/lib/Activity/Providers/Base.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Providers; use OCP\Activity\IEvent; diff --git a/apps/files_sharing/lib/Activity/Providers/Downloads.php b/apps/files_sharing/lib/Activity/Providers/Downloads.php index be019bdcd65aeded8a766cfa8138d2db3961d802..a6bbe9a411886f4e3255d1a00c202d518e53738e 100644 --- a/apps/files_sharing/lib/Activity/Providers/Downloads.php +++ b/apps/files_sharing/lib/Activity/Providers/Downloads.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Providers; use OCP\Activity\IEvent; diff --git a/apps/files_sharing/lib/Activity/Providers/Groups.php b/apps/files_sharing/lib/Activity/Providers/Groups.php index 53336057e371c596eb87b06f7ce800713c3b07db..71b1dc65f561b24a008f0ad061d2e99325b01476 100644 --- a/apps/files_sharing/lib/Activity/Providers/Groups.php +++ b/apps/files_sharing/lib/Activity/Providers/Groups.php @@ -4,7 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Providers; use OCP\Activity\IEvent; diff --git a/apps/files_sharing/lib/Activity/Providers/PublicLinks.php b/apps/files_sharing/lib/Activity/Providers/PublicLinks.php index 2742ded40074f1b793f32d5f531b5239fa49e72f..5782166704f7c955ae551dc4a3ee4a0a521f2db3 100644 --- a/apps/files_sharing/lib/Activity/Providers/PublicLinks.php +++ b/apps/files_sharing/lib/Activity/Providers/PublicLinks.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Providers; use OCP\Activity\IEvent; diff --git a/apps/files_sharing/lib/Activity/Providers/RemoteShares.php b/apps/files_sharing/lib/Activity/Providers/RemoteShares.php index f2217f423ef54900fb9289c1ec786ac7e3fd5f05..29f7c0a298e22e172880e82ab44b8325da770353 100644 --- a/apps/files_sharing/lib/Activity/Providers/RemoteShares.php +++ b/apps/files_sharing/lib/Activity/Providers/RemoteShares.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Providers; use OCP\Activity\IEvent; diff --git a/apps/files_sharing/lib/Activity/Providers/Users.php b/apps/files_sharing/lib/Activity/Providers/Users.php index 828befc471b2107e750ab9f1bbba4d8fcaf4f105..8b90ac8ee9d0b8d2998f279cc0b31257343a0fa4 100644 --- a/apps/files_sharing/lib/Activity/Providers/Users.php +++ b/apps/files_sharing/lib/Activity/Providers/Users.php @@ -4,7 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Kevin Ndung'u * * @license GNU AGPL version 3 or any later version @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Providers; use OCP\Activity\IEvent; diff --git a/apps/files_sharing/lib/Activity/Settings/PublicLinks.php b/apps/files_sharing/lib/Activity/Settings/PublicLinks.php index 455ae88d5c6eebd9d2b902b5ce74101dab43d694..6d91bf16ce228a40f8d68e16775b07815c0dfcbd 100644 --- a/apps/files_sharing/lib/Activity/Settings/PublicLinks.php +++ b/apps/files_sharing/lib/Activity/Settings/PublicLinks.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Settings; class PublicLinks extends ShareActivitySettings { diff --git a/apps/files_sharing/lib/Activity/Settings/RemoteShare.php b/apps/files_sharing/lib/Activity/Settings/RemoteShare.php index 24fa753437b7248685895b4e8260bce5ff1d35c6..4a7961326126655edf220aaf7cc0923957d9630f 100644 --- a/apps/files_sharing/lib/Activity/Settings/RemoteShare.php +++ b/apps/files_sharing/lib/Activity/Settings/RemoteShare.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Settings; class RemoteShare extends ShareActivitySettings { diff --git a/apps/files_sharing/lib/Activity/Settings/ShareActivitySettings.php b/apps/files_sharing/lib/Activity/Settings/ShareActivitySettings.php index 26b307c34e4d4efc145805cc26dd815615191bee..e7de3dff8ee71eeb03c7a48779a2c53406934734 100644 --- a/apps/files_sharing/lib/Activity/Settings/ShareActivitySettings.php +++ b/apps/files_sharing/lib/Activity/Settings/ShareActivitySettings.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Settings; use OCP\Activity\ActivitySettings; diff --git a/apps/files_sharing/lib/Activity/Settings/Shared.php b/apps/files_sharing/lib/Activity/Settings/Shared.php index 43b26252287e97a3fc0757c5822396a858278918..eaef23c1c92819588477b9933230ee1835ae571b 100644 --- a/apps/files_sharing/lib/Activity/Settings/Shared.php +++ b/apps/files_sharing/lib/Activity/Settings/Shared.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Settings; class Shared extends ShareActivitySettings { diff --git a/apps/files_sharing/lib/AppInfo/Application.php b/apps/files_sharing/lib/AppInfo/Application.php index 213e441cdb83e552abf91a83fdd3fcb5ff3805c0..7f234e63660dc1d67adade60d6702839811d751e 100644 --- a/apps/files_sharing/lib/AppInfo/Application.php +++ b/apps/files_sharing/lib/AppInfo/Application.php @@ -5,7 +5,7 @@ * @author Bjoern Schiessle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Morris Jobke * @author Robin Appelman @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\AppInfo; use OC\AppFramework\Utility\SimpleContainer; diff --git a/apps/files_sharing/lib/BackgroundJob/FederatedSharesDiscoverJob.php b/apps/files_sharing/lib/BackgroundJob/FederatedSharesDiscoverJob.php index 913dbf6428437d0b564efbc02d00705452a83fca..d35f35d20f269b6fd06aa15818997be23d8ae438 100644 --- a/apps/files_sharing/lib/BackgroundJob/FederatedSharesDiscoverJob.php +++ b/apps/files_sharing/lib/BackgroundJob/FederatedSharesDiscoverJob.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\BackgroundJob; use OC\BackgroundJob\TimedJob; diff --git a/apps/files_sharing/lib/Cache.php b/apps/files_sharing/lib/Cache.php index 3a6ade5a2ac3653b02564f7e9d049c7e153a2efb..29224c5fb6bf41b9131d7280e88d5acf02026447 100644 --- a/apps/files_sharing/lib/Cache.php +++ b/apps/files_sharing/lib/Cache.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\Files\Cache\FailedCache; diff --git a/apps/files_sharing/lib/Capabilities.php b/apps/files_sharing/lib/Capabilities.php index dca32d123f459693d9caf630dee99496ae45d581..c5421fe779a9a4cff953d50f0f9b792cb388c5fc 100644 --- a/apps/files_sharing/lib/Capabilities.php +++ b/apps/files_sharing/lib/Capabilities.php @@ -3,9 +3,11 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Bjoern Schiessle - * @author Christoph Wurst + * @author Julius Härtl + * @author Robin Appelman * @author Roeland Jago Douma * @author Tobias Kaminsky + * @author Vincent Petry * * @license AGPL-3.0 * @@ -22,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OCP\Capabilities\ICapability; diff --git a/apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php b/apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php index 5fbeba7dd018259ddb7b179e570648ab74c3892d..28d0d26c5beeca2d1d8bd36491df9c8523746e87 100644 --- a/apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php +++ b/apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Collaboration; use OCP\Collaboration\AutoComplete\ISorter; diff --git a/apps/files_sharing/lib/Command/CleanupRemoteStorages.php b/apps/files_sharing/lib/Command/CleanupRemoteStorages.php index cf0550aef7f0721d508fc8abdde36a28ad41ec59..3816a2a512471939727bb21e4e62683aee5eac47 100644 --- a/apps/files_sharing/lib/Command/CleanupRemoteStorages.php +++ b/apps/files_sharing/lib/Command/CleanupRemoteStorages.php @@ -2,6 +2,8 @@ /** * @copyright Copyright (c) 2016, ownCloud GmbH. * + * @author Christoph Wurst + * @author Daniel Calviño Sánchez * @author Joas Schilling * @author Jörn Friedrich Dreyer * @author Roeland Jago Douma @@ -21,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Command; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/apps/files_sharing/lib/Command/ExiprationNotification.php b/apps/files_sharing/lib/Command/ExiprationNotification.php index 748a640a962e1847d6bdaeac8d062b7008568fea..e77b41b183531758aa90ca77adfb9985fe99bff2 100644 --- a/apps/files_sharing/lib/Command/ExiprationNotification.php +++ b/apps/files_sharing/lib/Command/ExiprationNotification.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Command; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/files_sharing/lib/Controller/AcceptController.php b/apps/files_sharing/lib/Controller/AcceptController.php index b25382b45f55c0ca4d8cc7948f4e6458f41f8dfb..c97780d6f0ce4d6e5ed46416b643a36f4daba836 100644 --- a/apps/files_sharing/lib/Controller/AcceptController.php +++ b/apps/files_sharing/lib/Controller/AcceptController.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Controller; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/lib/Controller/DeletedShareAPIController.php b/apps/files_sharing/lib/Controller/DeletedShareAPIController.php index 75936907fed19fc20397aeb82d4c83276d23532f..1d625b35322a1bf661eb79deda3337983cb75414 100644 --- a/apps/files_sharing/lib/Controller/DeletedShareAPIController.php +++ b/apps/files_sharing/lib/Controller/DeletedShareAPIController.php @@ -3,12 +3,12 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Roeland Jago Douma * * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Roeland Jago Douma * @@ -21,14 +21,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Controller; use OCP\App\IAppManager; diff --git a/apps/files_sharing/lib/Controller/ExternalSharesController.php b/apps/files_sharing/lib/Controller/ExternalSharesController.php index 96b9ebffac86d2c02813e64ef5ba013acf4c677c..9fab8d4e1a0517f6c12e8fb6dcd79db5f03efc1e 100644 --- a/apps/files_sharing/lib/Controller/ExternalSharesController.php +++ b/apps/files_sharing/lib/Controller/ExternalSharesController.php @@ -5,7 +5,6 @@ * @author Björn Schießle * @author Joas Schilling * @author Lukas Reschke - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Controller; use OCP\AppFramework\Controller; diff --git a/apps/files_sharing/lib/Controller/PublicPreviewController.php b/apps/files_sharing/lib/Controller/PublicPreviewController.php index 0e58057351f02429b6873d095a9f3267d8f0f781..4a16afa7ac0803601b75cc8993a02e56a1348cf1 100644 --- a/apps/files_sharing/lib/Controller/PublicPreviewController.php +++ b/apps/files_sharing/lib/Controller/PublicPreviewController.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Controller; use OCP\AppFramework\Http; diff --git a/apps/files_sharing/lib/Controller/RemoteController.php b/apps/files_sharing/lib/Controller/RemoteController.php index 72eb8667b965e4c999404bf59bf238b00dbfcf6a..75684220c5200ceb9c2ebd33e9f7e14fe69749e6 100644 --- a/apps/files_sharing/lib/Controller/RemoteController.php +++ b/apps/files_sharing/lib/Controller/RemoteController.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Controller; use OCA\Files_Sharing\External\Manager; diff --git a/apps/files_sharing/lib/Controller/SettingsController.php b/apps/files_sharing/lib/Controller/SettingsController.php index 343bec31926597fffce83eeea2178cf2d0977957..8f542ecb0712e915e1e8898a88b7c9ab0e4d2e2a 100644 --- a/apps/files_sharing/lib/Controller/SettingsController.php +++ b/apps/files_sharing/lib/Controller/SettingsController.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Controller; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php index 9a2bca486c122af1af4ec1b4369636991f888dfe..b323e5514a5c6379caaf502495aec3745a905410 100644 --- a/apps/files_sharing/lib/Controller/ShareAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareAPIController.php @@ -6,13 +6,14 @@ declare(strict_types=1); * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Bjoern Schiessle + * @author castillo92 <37965565+castillo92@users.noreply.github.com> * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Daniel Kesselberg * @author Gary Kim * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Maxence Lange @@ -22,6 +23,7 @@ declare(strict_types=1); * @author Richard Steinmetz * @author Robin Appelman * @author Roeland Jago Douma + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * @author Vincent Petry * @author waleczny * @@ -40,7 +42,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Controller; use OCA\Files_Sharing\Exceptions\SharingRightsException; diff --git a/apps/files_sharing/lib/Controller/ShareController.php b/apps/files_sharing/lib/Controller/ShareController.php index 7e83ffaa7dc97ba66bdc516dbd40531359209cd9..4893a693df3c264913cc706a3d0a533a76325f92 100644 --- a/apps/files_sharing/lib/Controller/ShareController.php +++ b/apps/files_sharing/lib/Controller/ShareController.php @@ -10,7 +10,7 @@ * @author Georg Ehrke * @author j3l11234 <297259024@qq.com> * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jonas Sulzer * @author Julius Härtl * @author Lukas Reschke @@ -40,7 +40,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Controller; use OC_Files; diff --git a/apps/files_sharing/lib/Controller/ShareInfoController.php b/apps/files_sharing/lib/Controller/ShareInfoController.php index 0fe98a32c7d929d4b10e8f1e3cca5cffb99c10a0..429eb91bc92249e8c36b4f0c42d235ac45e4aa30 100644 --- a/apps/files_sharing/lib/Controller/ShareInfoController.php +++ b/apps/files_sharing/lib/Controller/ShareInfoController.php @@ -1,6 +1,6 @@ * * @author Morris Jobke * @author Roeland Jago Douma @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Controller; use OCA\Files_External\NotFoundException; diff --git a/apps/files_sharing/lib/Controller/ShareesAPIController.php b/apps/files_sharing/lib/Controller/ShareesAPIController.php index 571ea707e696ef7cf8af61969b03a3c381721b01..399cd4e00be2ccc46d9bd38a66def4d7b33e90cc 100644 --- a/apps/files_sharing/lib/Controller/ShareesAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareesAPIController.php @@ -11,8 +11,9 @@ declare(strict_types=1); * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Daniel Kesselberg + * @author J0WI * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Maxence Lange * @author Morris Jobke @@ -34,7 +35,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Controller; use OCP\Constants; diff --git a/apps/files_sharing/lib/DeleteOrphanedSharesJob.php b/apps/files_sharing/lib/DeleteOrphanedSharesJob.php index eef44cd34003addcaad993455f8dd3b522890298..6a641734680829dafe4b1c2b4d9ad8d48b208c47 100644 --- a/apps/files_sharing/lib/DeleteOrphanedSharesJob.php +++ b/apps/files_sharing/lib/DeleteOrphanedSharesJob.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\BackgroundJob\TimedJob; diff --git a/apps/files_sharing/lib/Event/BeforeTemplateRenderedEvent.php b/apps/files_sharing/lib/Event/BeforeTemplateRenderedEvent.php index 6076d50b1f28fffd21bda25617d0eed2efcf6fa7..1a889cfebe7d34f1dfd603021790b8679f921372 100644 --- a/apps/files_sharing/lib/Event/BeforeTemplateRenderedEvent.php +++ b/apps/files_sharing/lib/Event/BeforeTemplateRenderedEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Event; use OCP\EventDispatcher\Event; diff --git a/apps/files_sharing/lib/Exceptions/BrokenPath.php b/apps/files_sharing/lib/Exceptions/BrokenPath.php index c0679c83314767d646f0ab186abe6e6e986c596b..e9908ac293ab885e78687a45a5fbd8719cbc0ae1 100644 --- a/apps/files_sharing/lib/Exceptions/BrokenPath.php +++ b/apps/files_sharing/lib/Exceptions/BrokenPath.php @@ -4,7 +4,6 @@ * * @author Björn Schießle * @author Christoph Wurst - * @author Morris Jobke * * @license AGPL-3.0 * @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Exceptions; /** diff --git a/apps/files_sharing/lib/Exceptions/S2SException.php b/apps/files_sharing/lib/Exceptions/S2SException.php index e775257034b9c98183ed838786aa7e2dc910b5d4..c6becc057dd2eddeefcab11d26e18aa3dbd5ad55 100644 --- a/apps/files_sharing/lib/Exceptions/S2SException.php +++ b/apps/files_sharing/lib/Exceptions/S2SException.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Björn Schießle - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Exceptions; /** diff --git a/apps/files_sharing/lib/Exceptions/SharingRightsException.php b/apps/files_sharing/lib/Exceptions/SharingRightsException.php index db346774bdb21eadc0013738ed424a4d7e80b58a..f235e56cbe475343d6cd67b17683faeb87e80d35 100644 --- a/apps/files_sharing/lib/Exceptions/SharingRightsException.php +++ b/apps/files_sharing/lib/Exceptions/SharingRightsException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Exceptions; use Exception; diff --git a/apps/files_sharing/lib/ExpireSharesJob.php b/apps/files_sharing/lib/ExpireSharesJob.php index 85a57e855b807c9762471bc8859e43edf6401862..1e56602a0bf7abd2cf2ad9909c8f877950c19bad 100644 --- a/apps/files_sharing/lib/ExpireSharesJob.php +++ b/apps/files_sharing/lib/ExpireSharesJob.php @@ -4,7 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/files_sharing/lib/External/Cache.php b/apps/files_sharing/lib/External/Cache.php index 6a816b166ae158152312890cf4e1e03f7658e715..f8d9a2548a80996a4420b86ef15333b29fd79568 100644 --- a/apps/files_sharing/lib/External/Cache.php +++ b/apps/files_sharing/lib/External/Cache.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Morris Jobke * @author Robin Appelman * @author Vincent Petry * @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\External; use OCP\Federation\ICloudId; diff --git a/apps/files_sharing/lib/External/Manager.php b/apps/files_sharing/lib/External/Manager.php index 534dd0d2c5187a83fab824a17c41c6b8dcfa5c27..720df28d107eabb61ed896c9dc30674c5941f383 100644 --- a/apps/files_sharing/lib/External/Manager.php +++ b/apps/files_sharing/lib/External/Manager.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\External; use Doctrine\DBAL\Driver\Exception; diff --git a/apps/files_sharing/lib/External/Mount.php b/apps/files_sharing/lib/External/Mount.php index 8ed04182143e71ec56f999254c0d788ef9434f5f..c8b74202ac741f3bb510e45299b4cc0cb9fecec9 100644 --- a/apps/files_sharing/lib/External/Mount.php +++ b/apps/files_sharing/lib/External/Mount.php @@ -4,8 +4,8 @@ * * @author Bjoern Schiessle * @author Björn Schießle - * @author Morris Jobke * @author Robin Appelman + * @author szaimen * * @license AGPL-3.0 * @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\External; use OC\Files\Mount\MountPoint; diff --git a/apps/files_sharing/lib/External/MountProvider.php b/apps/files_sharing/lib/External/MountProvider.php index 7eb2491619fb64967dbe27e0286db58544aea73c..36015162530b755fbacb2414af407d116d090cc1 100644 --- a/apps/files_sharing/lib/External/MountProvider.php +++ b/apps/files_sharing/lib/External/MountProvider.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\External; use OCP\Federation\ICloudIdManager; diff --git a/apps/files_sharing/lib/External/Scanner.php b/apps/files_sharing/lib/External/Scanner.php index 71187707ad7bbf0cb6ff85fe36ce9a73b0872e4f..8115159d181ddc091a04de31ae873019414f9417 100644 --- a/apps/files_sharing/lib/External/Scanner.php +++ b/apps/files_sharing/lib/External/Scanner.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Lukas Reschke - * @author Morris Jobke * @author Olivier Paroz * @author Robin Appelman * @author Vincent Petry @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\External; use OC\ForbiddenException; diff --git a/apps/files_sharing/lib/External/Storage.php b/apps/files_sharing/lib/External/Storage.php index f612aadfb3226e2d4f961418d61199de5a6b2b1d..7d9e8f31c98c326de91af9cc55dbfb9fa8572565 100644 --- a/apps/files_sharing/lib/External/Storage.php +++ b/apps/files_sharing/lib/External/Storage.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\External; use GuzzleHttp\Exception\ClientException; diff --git a/apps/files_sharing/lib/External/Watcher.php b/apps/files_sharing/lib/External/Watcher.php index fb15944a5333a429ff7be75b60f07a3387e05faf..6afd1c6d538cbc6d3d4b2b36b0d14ddc49ca3b50 100644 --- a/apps/files_sharing/lib/External/Watcher.php +++ b/apps/files_sharing/lib/External/Watcher.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\External; class Watcher extends \OC\Files\Cache\Watcher { diff --git a/apps/files_sharing/lib/Helper.php b/apps/files_sharing/lib/Helper.php index 270eb452419fa0635b3db7caf47740342aefebfc..d8e58e84b7d70b0e0841219ffa2ab80fa6727dfe 100644 --- a/apps/files_sharing/lib/Helper.php +++ b/apps/files_sharing/lib/Helper.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\Files\Filesystem; diff --git a/apps/files_sharing/lib/Hooks.php b/apps/files_sharing/lib/Hooks.php index b3fe09bf9cfc9f9d8715a2c89da381cac490810c..ff4ca59339a94ee416faa6d619a1f2df47fdcd58 100644 --- a/apps/files_sharing/lib/Hooks.php +++ b/apps/files_sharing/lib/Hooks.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\Files\Filesystem; diff --git a/apps/files_sharing/lib/ISharedStorage.php b/apps/files_sharing/lib/ISharedStorage.php index 07c012fd6ff9483076a11568c5b3002f9baf8ef2..9f57984803a341e9ed179ded13b7c1fb7404a802 100644 --- a/apps/files_sharing/lib/ISharedStorage.php +++ b/apps/files_sharing/lib/ISharedStorage.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Morris Jobke * @author Robin Appelman * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; interface ISharedStorage { diff --git a/apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php b/apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php index bd0a668b429eea6eea4f5db685704fe292b193b0..e7e81c3a17ae0979cb345a0fc8d709983e40c9a2 100644 --- a/apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php +++ b/apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Listener; use OC\EventDispatcher\SymfonyAdapter; diff --git a/apps/files_sharing/lib/Listener/LoadAdditionalListener.php b/apps/files_sharing/lib/Listener/LoadAdditionalListener.php index 316461e792d8cc5b343237ebf528c918188dd34b..44412023bf8a87e10151e2b57ebe543d3d9bba28 100644 --- a/apps/files_sharing/lib/Listener/LoadAdditionalListener.php +++ b/apps/files_sharing/lib/Listener/LoadAdditionalListener.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019, Roeland Jago Douma * - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Listener; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/lib/Listener/LoadSidebarListener.php b/apps/files_sharing/lib/Listener/LoadSidebarListener.php index 636a8c7757ea2de742f5abedebb6057b6a25251c..145ab25f686e15be46f85f37e98cc1ed24a48af8 100644 --- a/apps/files_sharing/lib/Listener/LoadSidebarListener.php +++ b/apps/files_sharing/lib/Listener/LoadSidebarListener.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019, Roeland Jago Douma * - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Listener; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/lib/Listener/ShareInteractionListener.php b/apps/files_sharing/lib/Listener/ShareInteractionListener.php index 90fc6e996b3f04f1333f534eb41530f18c932b38..65ad555f5bd4c558126ae670075cf14e44dc2570 100644 --- a/apps/files_sharing/lib/Listener/ShareInteractionListener.php +++ b/apps/files_sharing/lib/Listener/ShareInteractionListener.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright 2020 Christoph Wurst * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Listener; use OCP\Contacts\Events\ContactInteractedWithEvent; diff --git a/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php b/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php index 623591da310d4ae3fedac81ffe5c1270cf6c9513..9b2975f583325efa170c06f668d93930927c4ab7 100644 --- a/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php +++ b/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Listener; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/lib/Listener/UserShareAcceptanceListener.php b/apps/files_sharing/lib/Listener/UserShareAcceptanceListener.php index 91c0aa494bb8305b12462ca363c65c3c3df91a15..160a806f8ac0f92cca4eafaa01312f4f1d5c7074 100644 --- a/apps/files_sharing/lib/Listener/UserShareAcceptanceListener.php +++ b/apps/files_sharing/lib/Listener/UserShareAcceptanceListener.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Listener; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/lib/Middleware/OCSShareAPIMiddleware.php b/apps/files_sharing/lib/Middleware/OCSShareAPIMiddleware.php index 398682b7833faa058ea2202d687b2fb71f6c497c..1c961ffed3498c0452797ec641713ccfa228a58d 100644 --- a/apps/files_sharing/lib/Middleware/OCSShareAPIMiddleware.php +++ b/apps/files_sharing/lib/Middleware/OCSShareAPIMiddleware.php @@ -1,6 +1,6 @@ * * @author Lukas Reschke * @author Morris Jobke @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Middleware; use OCA\Files_Sharing\Controller\ShareAPIController; diff --git a/apps/files_sharing/lib/Middleware/ShareInfoMiddleware.php b/apps/files_sharing/lib/Middleware/ShareInfoMiddleware.php index 52d83cdc8368ec85eb08e892a5bf5d246a2a1526..adc6116af45085ac41e722061071042514ea3f1d 100644 --- a/apps/files_sharing/lib/Middleware/ShareInfoMiddleware.php +++ b/apps/files_sharing/lib/Middleware/ShareInfoMiddleware.php @@ -1,6 +1,6 @@ * * @author Morris Jobke * @author Roeland Jago Douma @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Middleware; use OCA\Files_Sharing\Controller\ShareInfoController; diff --git a/apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php b/apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php index 335b0908a98aec7e005d31ceba382d4999b176fd..b9bab169d1d478969e20906d2ee00d240b7abdff 100644 --- a/apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php +++ b/apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php @@ -1,6 +1,7 @@ * */ - namespace OCA\Files_Sharing\Middleware; use OCA\Files_Sharing\Controller\ExternalSharesController; diff --git a/apps/files_sharing/lib/Migration/OwncloudGuestShareType.php b/apps/files_sharing/lib/Migration/OwncloudGuestShareType.php index a4eaa5b398938ad065fbac1be5f279fe4b7912ab..d1ba645f93d4051f1133bb455c94ef5fd5e60200 100644 --- a/apps/files_sharing/lib/Migration/OwncloudGuestShareType.php +++ b/apps/files_sharing/lib/Migration/OwncloudGuestShareType.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Migration; use OCP\IConfig; diff --git a/apps/files_sharing/lib/Migration/SetAcceptedStatus.php b/apps/files_sharing/lib/Migration/SetAcceptedStatus.php index 386f7299d40b426f9d77ce0cc8096a42ac7abf1f..a27f12e87e1aca4c535dcc2263b97bc83b6fa624 100644 --- a/apps/files_sharing/lib/Migration/SetAcceptedStatus.php +++ b/apps/files_sharing/lib/Migration/SetAcceptedStatus.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Migration; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/apps/files_sharing/lib/Migration/SetPasswordColumn.php b/apps/files_sharing/lib/Migration/SetPasswordColumn.php index 859c49f299176b861ceb7c43655734e7d0afd7ea..b4de4f574dd9703a1552850df3869b47c946e464 100644 --- a/apps/files_sharing/lib/Migration/SetPasswordColumn.php +++ b/apps/files_sharing/lib/Migration/SetPasswordColumn.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Migration; use OCP\IConfig; diff --git a/apps/files_sharing/lib/Migration/Version11300Date20201120141438.php b/apps/files_sharing/lib/Migration/Version11300Date20201120141438.php index 9d485952ac455c080d52608d04b94307952494c2..50d0cd9e0666a3153cd5bc6d4b008fc72a6ed8c7 100644 --- a/apps/files_sharing/lib/Migration/Version11300Date20201120141438.php +++ b/apps/files_sharing/lib/Migration/Version11300Date20201120141438.php @@ -5,7 +5,9 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Julius Härtl * + * @author Christoph Wurst * @author Julius Härtl + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -16,15 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - - namespace OCA\Files_Sharing\Migration; use Closure; diff --git a/apps/files_sharing/lib/Migration/Version21000Date20201223143245.php b/apps/files_sharing/lib/Migration/Version21000Date20201223143245.php index 0138d3298e5dced78f4b0342199b30f1fe631c4e..ff7722eaa585e60582fe73f9996c02d912cffe55 100644 --- a/apps/files_sharing/lib/Migration/Version21000Date20201223143245.php +++ b/apps/files_sharing/lib/Migration/Version21000Date20201223143245.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Vincent Petry * + * @author Christoph Wurst * @author Vincent Petry * * @license GNU AGPL version 3 or any later version @@ -16,15 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - - namespace OCA\Files_Sharing\Migration; use Closure; diff --git a/apps/files_sharing/lib/Migration/Version22000Date20210216084241.php b/apps/files_sharing/lib/Migration/Version22000Date20210216084241.php index e3e8dc8bc556d0c48318aafbd3bcc2ce2f89542e..443f255d031962e1e8e630e1a0d4c3aa8b91aa36 100644 --- a/apps/files_sharing/lib/Migration/Version22000Date20210216084241.php +++ b/apps/files_sharing/lib/Migration/Version22000Date20210216084241.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Migration; use Closure; diff --git a/apps/files_sharing/lib/MountProvider.php b/apps/files_sharing/lib/MountProvider.php index 05328872c15b133508f0baa25b71219f03b5132d..42541b77f2d460068d9d876761bb48887e428aab 100644 --- a/apps/files_sharing/lib/MountProvider.php +++ b/apps/files_sharing/lib/MountProvider.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\Cache\CappedMemoryCache; diff --git a/apps/files_sharing/lib/Notification/Listener.php b/apps/files_sharing/lib/Notification/Listener.php index 385612959a94cf53f76a3fc4b422ca3eef778ca3..db7939767d62e8eb8479b80d7708000cd32aedb0 100644 --- a/apps/files_sharing/lib/Notification/Listener.php +++ b/apps/files_sharing/lib/Notification/Listener.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Notification; use OCP\IGroup; diff --git a/apps/files_sharing/lib/Notification/Notifier.php b/apps/files_sharing/lib/Notification/Notifier.php index 2499896653b0de16e7e92765e66e8f63a17862ab..7d79165dd26dcf1363f90d5caec08694750c8114 100644 --- a/apps/files_sharing/lib/Notification/Notifier.php +++ b/apps/files_sharing/lib/Notification/Notifier.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Notification; use OCP\Files\IRootFolder; diff --git a/apps/files_sharing/lib/Scanner.php b/apps/files_sharing/lib/Scanner.php index 21d2565a4cd1781500369d40a2eff1717ce05e80..a240d3ffb8f6b3a0fe9334d97322a29be2925458 100644 --- a/apps/files_sharing/lib/Scanner.php +++ b/apps/files_sharing/lib/Scanner.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Joas Schilling - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Vincent Petry @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\Files\ObjectStore\NoopScanner; diff --git a/apps/files_sharing/lib/Settings/Personal.php b/apps/files_sharing/lib/Settings/Personal.php index c265a279393d2ca029392ce4e1f2afb299ea69cc..3917001e882949377c7f3648262bfb5a5dc4d6f0 100644 --- a/apps/files_sharing/lib/Settings/Personal.php +++ b/apps/files_sharing/lib/Settings/Personal.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Settings; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/lib/ShareBackend/File.php b/apps/files_sharing/lib/ShareBackend/File.php index fdaeb0c5814ed7a51dcd950ecec74b112d392843..c84cbd66c67ceb36a89bd88580b3cf94f587147e 100644 --- a/apps/files_sharing/lib/ShareBackend/File.php +++ b/apps/files_sharing/lib/ShareBackend/File.php @@ -31,7 +31,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\ShareBackend; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/files_sharing/lib/ShareBackend/Folder.php b/apps/files_sharing/lib/ShareBackend/Folder.php index c51740cd6d0eb64fc952017451ffbc4d3e7caee0..51d0c709d988ed272429ce246e4d0f2079aa1d20 100644 --- a/apps/files_sharing/lib/ShareBackend/Folder.php +++ b/apps/files_sharing/lib/ShareBackend/Folder.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\ShareBackend; class Folder extends File implements \OCP\Share_Backend_Collection { diff --git a/apps/files_sharing/lib/SharedMount.php b/apps/files_sharing/lib/SharedMount.php index be600caef4c4ebbbadbedb6090dd68b19ab421dc..8443ccb8439d47ca3f7e3626e3cfc6e8129f2945 100644 --- a/apps/files_sharing/lib/SharedMount.php +++ b/apps/files_sharing/lib/SharedMount.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\Cache\CappedMemoryCache; diff --git a/apps/files_sharing/lib/SharedStorage.php b/apps/files_sharing/lib/SharedStorage.php index eb0af419983361c282a02dd52ab38496a1c68a1d..662c5ad3651523eb7c989f844b8e9fa21b6ed709 100644 --- a/apps/files_sharing/lib/SharedStorage.php +++ b/apps/files_sharing/lib/SharedStorage.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\Files\Cache\FailedCache; diff --git a/apps/files_sharing/lib/Updater.php b/apps/files_sharing/lib/Updater.php index 976143ab1b0b64dc954541205c83532cf5cb9c66..e035ed51ec886c6e1567433eb47089d2df8f72ed 100644 --- a/apps/files_sharing/lib/Updater.php +++ b/apps/files_sharing/lib/Updater.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OCP\Share\IShare; diff --git a/apps/files_sharing/list.php b/apps/files_sharing/list.php index d3627266c707b842478b60ef818ac10361735621..759f87179a1e556d4df7479c0b4d96ae037b2d13 100644 --- a/apps/files_sharing/list.php +++ b/apps/files_sharing/list.php @@ -2,7 +2,8 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author John Molakvoæ (skjnldsv) + * @author Christoph Wurst + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @author Vincent Petry diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index 6e3530d26b6a566c08624035fb8dde8eb4405965..8734042d877975eb541a71d101deb7719288ab50 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - // This file is just used to redirect the legacy sharing URLs (< ownCloud 8) to the new ones $urlGenerator = \OC::$server->getURLGenerator(); diff --git a/apps/files_sharing/tests/ApiTest.php b/apps/files_sharing/tests/ApiTest.php index 523faec1615958c45e692a7e6ecb87a7ccc495a2..f3a315785113743e6c5953e82049004af52cb893 100644 --- a/apps/files_sharing/tests/ApiTest.php +++ b/apps/files_sharing/tests/ApiTest.php @@ -7,7 +7,6 @@ * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Georg Ehrke - * @author Jan-Christoph Borchardt * @author Joas Schilling * @author Julius Härtl * @author Morris Jobke @@ -16,6 +15,7 @@ * @author Robin McCorkell * @author Roeland Jago Douma * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * @author Vincent Petry * * @license AGPL-3.0 @@ -33,7 +33,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\Cache\Scanner; diff --git a/apps/files_sharing/tests/CacheTest.php b/apps/files_sharing/tests/CacheTest.php index ae8be7731fe9ff28138076db5c637f3eb5b46d4f..2623b4c34b5945e4a58da9cbfa2771b76557ea47 100644 --- a/apps/files_sharing/tests/CacheTest.php +++ b/apps/files_sharing/tests/CacheTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\Storage\Temporary; diff --git a/apps/files_sharing/tests/CapabilitiesTest.php b/apps/files_sharing/tests/CapabilitiesTest.php index 7f019603e32afe1906cb808ba22ad0f7c2fa77b0..eb10c9271406a6fb1fead10c6013127ef8711091 100644 --- a/apps/files_sharing/tests/CapabilitiesTest.php +++ b/apps/files_sharing/tests/CapabilitiesTest.php @@ -6,8 +6,10 @@ * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller + * @author Vincent Petry * * @license AGPL-3.0 * @@ -24,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Share20\Manager; diff --git a/apps/files_sharing/tests/Collaboration/ShareRecipientSorterTest.php b/apps/files_sharing/tests/Collaboration/ShareRecipientSorterTest.php index 6d83535a8c2619dd43cd51ab1df43a5e4fdd4f73..ed35c81fb7d8aca3772eeabff7ba32fc52607133 100644 --- a/apps/files_sharing/tests/Collaboration/ShareRecipientSorterTest.php +++ b/apps/files_sharing/tests/Collaboration/ShareRecipientSorterTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Tests\Collaboration; use OCA\Files_Sharing\Collaboration\ShareRecipientSorter; diff --git a/apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php b/apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php index ba4b1d054999d0efa0caaf6b642bf7a299aa2451..55f719b8f889d7156d743f5f6d993482dba89bf3 100644 --- a/apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php +++ b/apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2016, ownCloud GmbH. * + * @author Daniel Calviño Sánchez * @author Joas Schilling * @author Jörn Friedrich Dreyer * @author Morris Jobke @@ -22,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\Command; use OCA\Files_Sharing\Command\CleanupRemoteStorages; diff --git a/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php b/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php index d6a4ee8d4f31097f23ea6083674e5a65b180e49d..8a7209e52dc3f426fc26f71c5febef200279d077 100644 --- a/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php +++ b/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\Controllers; use OCA\Files_Sharing\Controller\ExternalSharesController; diff --git a/apps/files_sharing/tests/Controller/PublicPreviewControllerTest.php b/apps/files_sharing/tests/Controller/PublicPreviewControllerTest.php index 6a91ed5da9ffa9cddabe805188c7f23930374250..e089cd9e34b2f72cfc98c56108a79c8b157c1f1d 100644 --- a/apps/files_sharing/tests/Controller/PublicPreviewControllerTest.php +++ b/apps/files_sharing/tests/Controller/PublicPreviewControllerTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Tests\Controller; use OCA\Files_Sharing\Controller\PublicPreviewController; diff --git a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php index 11eefc18f64587dc36c3223d0ebd6335bd79205c..eff2d529a05f2a15fdef46f747190e7aea776968 100644 --- a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php @@ -7,7 +7,7 @@ * @author Daniel Calviño Sánchez * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Maxence Lange * @author Maxence Lange @@ -15,6 +15,7 @@ * @author Richard Steinmetz * @author Roeland Jago Douma * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * @author Vincent Petry * * @license AGPL-3.0 @@ -32,7 +33,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\Controller; use OCA\Files_Sharing\Controller\ShareAPIController; diff --git a/apps/files_sharing/tests/Controller/ShareControllerTest.php b/apps/files_sharing/tests/Controller/ShareControllerTest.php index e00d6bc8c662e59f0a060464c2c4a4d606d47af9..8a9520e2515ec252fb47bf0bbbea160626c589f2 100644 --- a/apps/files_sharing/tests/Controller/ShareControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareControllerTest.php @@ -8,7 +8,7 @@ * @author Daniel Calviño Sánchez * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Michael Weimann @@ -16,6 +16,7 @@ * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller + * @author Vincent Petry * * @license AGPL-3.0 * @@ -32,7 +33,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\Controllers; use OC\Files\Filesystem; diff --git a/apps/files_sharing/tests/Controller/ShareInfoControllerTest.php b/apps/files_sharing/tests/Controller/ShareInfoControllerTest.php index 5de04d8444b101c1ba9d377f2a632b8cfd0e7cc2..18bda2f488d1cabbc6331ca9cffe41a010647d90 100644 --- a/apps/files_sharing/tests/Controller/ShareInfoControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareInfoControllerTest.php @@ -1,6 +1,6 @@ * * @author Morris Jobke * @author Roeland Jago Douma @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Tests\Controller; use OCA\Files_Sharing\Controller\ShareInfoController; diff --git a/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php index f057bc1b8928752718a0076e9e0337c402eabacd..860d5796e56dc4a69d5347e00c62eb906bd19343 100644 --- a/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php @@ -8,9 +8,9 @@ * @author Joas Schilling * @author Julius Härtl * @author Lukas Reschke - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma + * @author Thomas Citharel * @author Thomas Müller * * @license AGPL-3.0 @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\Controller; use OCA\Files_Sharing\Controller\ShareesAPIController; diff --git a/apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php b/apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php index ceec8eee67eee7ceca80e3114b9ec9c7e85f6057..d2f05002a6894e51cfb71671d3aff73796f36679 100644 --- a/apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php +++ b/apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling + * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCA\Files_Sharing\DeleteOrphanedSharesJob; diff --git a/apps/files_sharing/tests/EncryptedSizePropagationTest.php b/apps/files_sharing/tests/EncryptedSizePropagationTest.php index 9a8ff29d70a0334a512d26856e8cea5383ca15fb..37eec01b9d702faf1cf09da3b26542fd4149e70e 100644 --- a/apps/files_sharing/tests/EncryptedSizePropagationTest.php +++ b/apps/files_sharing/tests/EncryptedSizePropagationTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\View; diff --git a/apps/files_sharing/tests/EtagPropagationTest.php b/apps/files_sharing/tests/EtagPropagationTest.php index bbb8edd3b8a9e40048c096202e714a505f597bf6..77149ae388e9b9da7bf13ddff68e6dc81924371e 100644 --- a/apps/files_sharing/tests/EtagPropagationTest.php +++ b/apps/files_sharing/tests/EtagPropagationTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\Filesystem; diff --git a/apps/files_sharing/tests/ExpireSharesJobTest.php b/apps/files_sharing/tests/ExpireSharesJobTest.php index 781f58a2c31a4a6b80b7841643b4a5f62325418b..e12eac5ba068a3df150eab12a86d206d35fde268 100644 --- a/apps/files_sharing/tests/ExpireSharesJobTest.php +++ b/apps/files_sharing/tests/ExpireSharesJobTest.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling + * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @@ -22,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCA\Files_Sharing\ExpireSharesJob; diff --git a/apps/files_sharing/tests/External/CacheTest.php b/apps/files_sharing/tests/External/CacheTest.php index b86cf55af80ec0fea17c0e64fb17e6d5c450dbfd..cbac5907d07f061ebe40ccb033055049dd9915bb 100644 --- a/apps/files_sharing/tests/External/CacheTest.php +++ b/apps/files_sharing/tests/External/CacheTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\External; use OC\Federation\CloudIdManager; diff --git a/apps/files_sharing/tests/External/ManagerTest.php b/apps/files_sharing/tests/External/ManagerTest.php index e35d734f04ec8d11e3a45c2f2160bc49826fd114..0098f67b2fb3191a472c631cfd2fdba387c7ee65 100644 --- a/apps/files_sharing/tests/External/ManagerTest.php +++ b/apps/files_sharing/tests/External/ManagerTest.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\External; use OC\Federation\CloudIdManager; diff --git a/apps/files_sharing/tests/External/ScannerTest.php b/apps/files_sharing/tests/External/ScannerTest.php index 843f106af8102d4437ad8c8a847eaa39bd02e478..57696a697eb8e45a6318b5c9ef6f6411be42f193 100644 --- a/apps/files_sharing/tests/External/ScannerTest.php +++ b/apps/files_sharing/tests/External/ScannerTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\External; use OCA\Files_Sharing\External\Scanner; diff --git a/apps/files_sharing/tests/ExternalStorageTest.php b/apps/files_sharing/tests/ExternalStorageTest.php index eb10c73b1a75d24001203cdba33e9e16499b595e..7709abbf6eb53697d9f61a83e326183224f02e35 100644 --- a/apps/files_sharing/tests/ExternalStorageTest.php +++ b/apps/files_sharing/tests/ExternalStorageTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Federation\CloudId; diff --git a/apps/files_sharing/tests/GroupEtagPropagationTest.php b/apps/files_sharing/tests/GroupEtagPropagationTest.php index 35ebeaeb7bfa96cb067291ee942ef8d1cf2493b7..1a7c075ddf82edc9b72822fe206dfc33f41da138 100644 --- a/apps/files_sharing/tests/GroupEtagPropagationTest.php +++ b/apps/files_sharing/tests/GroupEtagPropagationTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\Filesystem; diff --git a/apps/files_sharing/tests/HelperTest.php b/apps/files_sharing/tests/HelperTest.php index a4311f908b39d1f4f0fcc00c3dfa552879316b6a..5b8fb2cded1a23dcb0e9c8f302fb8abf3f836ec9 100644 --- a/apps/files_sharing/tests/HelperTest.php +++ b/apps/files_sharing/tests/HelperTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; /** diff --git a/apps/files_sharing/tests/LockingTest.php b/apps/files_sharing/tests/LockingTest.php index 680220e5fa58a36aea9487f36c3aa397426c040c..5d6d7b30ec037486e26b1dbbfc0e886c8c67f524 100644 --- a/apps/files_sharing/tests/LockingTest.php +++ b/apps/files_sharing/tests/LockingTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\Filesystem; diff --git a/apps/files_sharing/tests/Middleware/OCSShareAPIMiddlewareTest.php b/apps/files_sharing/tests/Middleware/OCSShareAPIMiddlewareTest.php index 32be9e3212f2aa2a01b1a7affdf4e443d1864027..7a579c9cddb9a742217d938a81fe1932496de9f2 100644 --- a/apps/files_sharing/tests/Middleware/OCSShareAPIMiddlewareTest.php +++ b/apps/files_sharing/tests/Middleware/OCSShareAPIMiddlewareTest.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Joas Schilling @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Tests\Middleware; use OCA\Files_Sharing\Controller\ShareAPIController; diff --git a/apps/files_sharing/tests/Middleware/ShareInfoMiddlewareTest.php b/apps/files_sharing/tests/Middleware/ShareInfoMiddlewareTest.php index deab3f07e2f27fcc35fdacde6f1c02a211e5b040..41f104fe20bda0e22c9871dda0c1f994ed0be483 100644 --- a/apps/files_sharing/tests/Middleware/ShareInfoMiddlewareTest.php +++ b/apps/files_sharing/tests/Middleware/ShareInfoMiddlewareTest.php @@ -1,6 +1,6 @@ * * @author Morris Jobke * @author Roeland Jago Douma @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Sharing\Tests\Middleware; use OCA\Files_Sharing\Controller\ShareInfoController; diff --git a/apps/files_sharing/tests/Middleware/SharingCheckMiddlewareTest.php b/apps/files_sharing/tests/Middleware/SharingCheckMiddlewareTest.php index 9b5f61e81ad215fe3bf61bcf0073e68e98211cf1..379cb88567e65e666f0208fe2372f195a8a9eb13 100644 --- a/apps/files_sharing/tests/Middleware/SharingCheckMiddlewareTest.php +++ b/apps/files_sharing/tests/Middleware/SharingCheckMiddlewareTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Middleware; use OCA\Files_Sharing\Controller\ExternalSharesController; diff --git a/apps/files_sharing/tests/Migration/SetPasswordColumnTest.php b/apps/files_sharing/tests/Migration/SetPasswordColumnTest.php index a0e8720d17cbf308f508834d3333d380cad788ce..20eb6e96171ca083c65c91366f114ffaf9775281 100644 --- a/apps/files_sharing/tests/Migration/SetPasswordColumnTest.php +++ b/apps/files_sharing/tests/Migration/SetPasswordColumnTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\Migration; use OCA\Files_Sharing\Migration\SetPasswordColumn; diff --git a/apps/files_sharing/tests/MountProviderTest.php b/apps/files_sharing/tests/MountProviderTest.php index 2033f61a97843948b51555fa078c53ba115f641e..8025cdddff9a5fa660fd665ebb7d9c8b49e1b8c7 100644 --- a/apps/files_sharing/tests/MountProviderTest.php +++ b/apps/files_sharing/tests/MountProviderTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCA\Files_Sharing\MountProvider; diff --git a/apps/files_sharing/tests/PropagationTestCase.php b/apps/files_sharing/tests/PropagationTestCase.php index 58fb99324c6c1b6481fd23c88532bf0b3479c377..dbe711c9583bb0bf67f05945a2c102cd217fee32 100644 --- a/apps/files_sharing/tests/PropagationTestCase.php +++ b/apps/files_sharing/tests/PropagationTestCase.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; abstract class PropagationTestCase extends TestCase { diff --git a/apps/files_sharing/tests/ShareTest.php b/apps/files_sharing/tests/ShareTest.php index 35ca0a60de32557ef185d65fbfe3eff71a68c1e3..45c7ceb61ef0845f84d65a9e2dc7196cb433adff 100644 --- a/apps/files_sharing/tests/ShareTest.php +++ b/apps/files_sharing/tests/ShareTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCP\Share\IShare; diff --git a/apps/files_sharing/tests/SharedMountTest.php b/apps/files_sharing/tests/SharedMountTest.php index 2764dc1032d19cc77d5c5b4afbbbcc2a620904e6..7252d2908baf747f4e10461dddaba151f3d440aa 100644 --- a/apps/files_sharing/tests/SharedMountTest.php +++ b/apps/files_sharing/tests/SharedMountTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCP\IGroupManager; diff --git a/apps/files_sharing/tests/SharedStorageTest.php b/apps/files_sharing/tests/SharedStorageTest.php index 6b51c471586c5ef5f1b0be629343b58b5dcb7a0f..8e69c5a0f659ec82190fd98534ab9533eefe0f33 100644 --- a/apps/files_sharing/tests/SharedStorageTest.php +++ b/apps/files_sharing/tests/SharedStorageTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\View; diff --git a/apps/files_sharing/tests/SizePropagationTest.php b/apps/files_sharing/tests/SizePropagationTest.php index 21f7265069ba6f46632f7eb7548bc2a491af2020..ddb7745907369794a7ff9579590ba97117c329a4 100644 --- a/apps/files_sharing/tests/SizePropagationTest.php +++ b/apps/files_sharing/tests/SizePropagationTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\View; diff --git a/apps/files_sharing/tests/TestCase.php b/apps/files_sharing/tests/TestCase.php index d772e6359ec0a106a42cbec7dfcef0e5ef51c9a9..54c8704df81e8aa2fb3abd4bc783d4f052611ab8 100644 --- a/apps/files_sharing/tests/TestCase.php +++ b/apps/files_sharing/tests/TestCase.php @@ -5,7 +5,7 @@ * @author Björn Schießle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Lukas Reschke * @author Morris Jobke @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\Filesystem; diff --git a/apps/files_sharing/tests/UnshareChildrenTest.php b/apps/files_sharing/tests/UnshareChildrenTest.php index b9d06bb7fa478296a608c254c9e3752ba6af11f3..db6f091241935c1e0306e86b74ba1037b19634a3 100644 --- a/apps/files_sharing/tests/UnshareChildrenTest.php +++ b/apps/files_sharing/tests/UnshareChildrenTest.php @@ -5,7 +5,6 @@ * @author Björn Schießle * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCP\Share\IShare; diff --git a/apps/files_sharing/tests/UpdaterTest.php b/apps/files_sharing/tests/UpdaterTest.php index a7a7ab3269ca30d8069143c39b26080e5b86b9ed..464dff412a8f6fdd2cc39197f94b2fbbe01bc79b 100644 --- a/apps/files_sharing/tests/UpdaterTest.php +++ b/apps/files_sharing/tests/UpdaterTest.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCA\Files_Trashbin\AppInfo\Application; diff --git a/apps/files_sharing/tests/WatcherTest.php b/apps/files_sharing/tests/WatcherTest.php index 2a7367a230b841f58786257e151683206c839f66..49f91ca302785bd579de11e77f5f9e29d8bef0d1 100644 --- a/apps/files_sharing/tests/WatcherTest.php +++ b/apps/files_sharing/tests/WatcherTest.php @@ -6,7 +6,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Jörn Friedrich Dreyer - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller @@ -27,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCP\Share\IShare; diff --git a/apps/files_trashbin/appinfo/routes.php b/apps/files_trashbin/appinfo/routes.php index 878e4af3c40e2ce5c26fbc0101b63f731ef979ad..a85f8a124f7cf9fe9c2cffac81fc6d948db0710e 100644 --- a/apps/files_trashbin/appinfo/routes.php +++ b/apps/files_trashbin/appinfo/routes.php @@ -23,7 +23,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - return [ 'routes' => [ [ diff --git a/apps/files_trashbin/lib/AppInfo/Application.php b/apps/files_trashbin/lib/AppInfo/Application.php index a14b49ba77b02242402a11c27bc0d490ecddc165..5f56b9ba1ea18b061b30c90c23764f3ded2fb3d3 100644 --- a/apps/files_trashbin/lib/AppInfo/Application.php +++ b/apps/files_trashbin/lib/AppInfo/Application.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\AppInfo; use OCA\DAV\Connector\Sabre\Principal; diff --git a/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php b/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php index 3de365bd849c2552fb2c7f812344201c27c3b1bb..d319edd91dc4cf13f42e080541b59e6d0565ce5b 100644 --- a/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php +++ b/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\BackgroundJob; use OCA\Files_Trashbin\AppInfo\Application; diff --git a/apps/files_trashbin/lib/Capabilities.php b/apps/files_trashbin/lib/Capabilities.php index 988c4ec815f08f87cbb7764a98a590d893ec1a1f..28acf0c8d27dbe828b64b35af45d323a2b6aa398 100644 --- a/apps/files_trashbin/lib/Capabilities.php +++ b/apps/files_trashbin/lib/Capabilities.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin; use OCP\Capabilities\ICapability; diff --git a/apps/files_trashbin/lib/Command/CleanUp.php b/apps/files_trashbin/lib/Command/CleanUp.php index 1b61c1ae74d7ab76df9a28d17568e3c9c8d561e7..e3ed527e535cf5fd6f2da4468cf9dd929f9f8694 100644 --- a/apps/files_trashbin/lib/Command/CleanUp.php +++ b/apps/files_trashbin/lib/Command/CleanUp.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Command; use OCP\Files\IRootFolder; diff --git a/apps/files_trashbin/lib/Command/Expire.php b/apps/files_trashbin/lib/Command/Expire.php index 0806781f2de418efd2a8223db3fa58e11f7a0c0f..568506737ebc322223fd6b7cab0597ef8387a732 100644 --- a/apps/files_trashbin/lib/Command/Expire.php +++ b/apps/files_trashbin/lib/Command/Expire.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Command; use OC\Command\FileAccess; diff --git a/apps/files_trashbin/lib/Command/ExpireTrash.php b/apps/files_trashbin/lib/Command/ExpireTrash.php index a4e9ea57e1c60310689e437c7df1f20382b732eb..b863f3a1fba800118778e0f82c956d63af7517b5 100644 --- a/apps/files_trashbin/lib/Command/ExpireTrash.php +++ b/apps/files_trashbin/lib/Command/ExpireTrash.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Command; use OCA\Files_Trashbin\Expiration; diff --git a/apps/files_trashbin/lib/Command/Size.php b/apps/files_trashbin/lib/Command/Size.php index cecd2f9bf50cf354be792058b2049c096d98a088..30ac474199ed57fa4a31f007c2ba8d2b4dee51b7 100644 --- a/apps/files_trashbin/lib/Command/Size.php +++ b/apps/files_trashbin/lib/Command/Size.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Command; use OC\Core\Command\Base; diff --git a/apps/files_trashbin/lib/Controller/PreviewController.php b/apps/files_trashbin/lib/Controller/PreviewController.php index 4195d584c8e16294c1e19d8aac7a1e0148857294..22ca56d8f363bb32a783800324a511ae8e353c91 100644 --- a/apps/files_trashbin/lib/Controller/PreviewController.php +++ b/apps/files_trashbin/lib/Controller/PreviewController.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Controller; use OCA\Files_Trashbin\Trash\ITrashManager; diff --git a/apps/files_trashbin/lib/Events/MoveToTrashEvent.php b/apps/files_trashbin/lib/Events/MoveToTrashEvent.php index 7d0b18fb0d8f00cb1fcec737a0df0d8dd9521b7f..3dce70f96bdd819ef0c3d1698890b8f4db2ffe61 100644 --- a/apps/files_trashbin/lib/Events/MoveToTrashEvent.php +++ b/apps/files_trashbin/lib/Events/MoveToTrashEvent.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Events; use OCP\EventDispatcher\Event; diff --git a/apps/files_trashbin/lib/Exceptions/CopyRecursiveException.php b/apps/files_trashbin/lib/Exceptions/CopyRecursiveException.php index cd5715109cc9ed5ed08806dbd32e7acba0bcf949..ea715dff30215de36dab92c693401c215ffe4486 100644 --- a/apps/files_trashbin/lib/Exceptions/CopyRecursiveException.php +++ b/apps/files_trashbin/lib/Exceptions/CopyRecursiveException.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Björn Schießle - * @author Morris Jobke * * @license AGPL-3.0 * @@ -20,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Exceptions; class CopyRecursiveException extends \Exception { diff --git a/apps/files_trashbin/lib/Expiration.php b/apps/files_trashbin/lib/Expiration.php index 554f083e8534645a1bb513fd2c4bdfe4ec3cdfbb..5705fc23b8a1e5aaf3c2adf84ec1c01119a2a7fe 100644 --- a/apps/files_trashbin/lib/Expiration.php +++ b/apps/files_trashbin/lib/Expiration.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/files_trashbin/lib/Helper.php b/apps/files_trashbin/lib/Helper.php index 92fa0bcb43b46fef7598156adf1167f8e07d5f1d..61d8eb9c715a443ca5b940bf9b3e9345fe9d9be7 100644 --- a/apps/files_trashbin/lib/Helper.php +++ b/apps/files_trashbin/lib/Helper.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin; use OC\Files\FileInfo; diff --git a/apps/files_trashbin/lib/Hooks.php b/apps/files_trashbin/lib/Hooks.php index 8bf8fa8dc94f8c21b753b29bc9964e1dec6f31c8..4f4cf8bb7055d7922cb9d9e28b334a616ab834b3 100644 --- a/apps/files_trashbin/lib/Hooks.php +++ b/apps/files_trashbin/lib/Hooks.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Björn Schießle + * @author Christoph Wurst * @author Morris Jobke * @author Robin McCorkell * @author Vincent Petry @@ -22,11 +23,6 @@ * along with this program. If not, see * */ - -/** - * This class contains all hooks. - */ - namespace OCA\Files_Trashbin; class Hooks { diff --git a/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php b/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php index 0ede446fba82c0769f4682fdb813a2df1dafacb0..778bd76c218351b16be052896dc9d668f43fac54 100644 --- a/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php +++ b/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * @author Vincent Petry * @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Migration; use Closure; diff --git a/apps/files_trashbin/lib/Sabre/AbstractTrash.php b/apps/files_trashbin/lib/Sabre/AbstractTrash.php index b1088f132216f7ab33f85ab3a7e37107f5f3d61f..412e432a19eaf3cc199b1ffdf70828b856c59474 100644 --- a/apps/files_trashbin/lib/Sabre/AbstractTrash.php +++ b/apps/files_trashbin/lib/Sabre/AbstractTrash.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use OCA\Files_Trashbin\Trash\ITrashItem; diff --git a/apps/files_trashbin/lib/Sabre/AbstractTrashFile.php b/apps/files_trashbin/lib/Sabre/AbstractTrashFile.php index d2748898b046ef3a3346d893f6c9ff9b14464451..520a2a6b6ec6459434c68709cfab6b2d05abe1f5 100644 --- a/apps/files_trashbin/lib/Sabre/AbstractTrashFile.php +++ b/apps/files_trashbin/lib/Sabre/AbstractTrashFile.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use Sabre\DAV\Exception\Forbidden; diff --git a/apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php b/apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php index f59d05ca3d3b46ff88bb0667ae8d419fe925a233..8a61823cf10292d3609eeac1dd6ba2aa49e65148 100644 --- a/apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php +++ b/apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use OCA\Files_Trashbin\Trash\ITrashItem; diff --git a/apps/files_trashbin/lib/Sabre/ITrash.php b/apps/files_trashbin/lib/Sabre/ITrash.php index aa44d04abd97d84c445fa3626c4c8220110e0888..dcda1abe2592a0d2302754be7c6eb1f64f20c6ef 100644 --- a/apps/files_trashbin/lib/Sabre/ITrash.php +++ b/apps/files_trashbin/lib/Sabre/ITrash.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use OCP\Files\FileInfo; diff --git a/apps/files_trashbin/lib/Sabre/PropfindPlugin.php b/apps/files_trashbin/lib/Sabre/PropfindPlugin.php index 65f8f138f49c5417a973d8c7707341640aa2f7f0..219f236f93c51712dceba0e615df2477450f766e 100644 --- a/apps/files_trashbin/lib/Sabre/PropfindPlugin.php +++ b/apps/files_trashbin/lib/Sabre/PropfindPlugin.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use OCA\DAV\Connector\Sabre\FilesPlugin; diff --git a/apps/files_trashbin/lib/Sabre/RestoreFolder.php b/apps/files_trashbin/lib/Sabre/RestoreFolder.php index c31e7dfb492b04124ef1aefd0949a206acaece6d..9076b3dc2842442232f62161065651422a43c88a 100644 --- a/apps/files_trashbin/lib/Sabre/RestoreFolder.php +++ b/apps/files_trashbin/lib/Sabre/RestoreFolder.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use Sabre\DAV\Exception\Forbidden; diff --git a/apps/files_trashbin/lib/Sabre/RootCollection.php b/apps/files_trashbin/lib/Sabre/RootCollection.php index 0f3c5ef810cf07aec4345e3c71b93a514f72dc7b..f1b705f3e13f367de17241ae9f33948ecc21e6d1 100644 --- a/apps/files_trashbin/lib/Sabre/RootCollection.php +++ b/apps/files_trashbin/lib/Sabre/RootCollection.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use OCA\Files_Trashbin\Trash\ITrashManager; diff --git a/apps/files_trashbin/lib/Sabre/TrashFile.php b/apps/files_trashbin/lib/Sabre/TrashFile.php index fb5d8bf1fc37214750139ad500576ea6413e62a9..13df15ff08448ede78b3fcc064da247ebdd79d8a 100644 --- a/apps/files_trashbin/lib/Sabre/TrashFile.php +++ b/apps/files_trashbin/lib/Sabre/TrashFile.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; class TrashFile extends AbstractTrashFile { diff --git a/apps/files_trashbin/lib/Sabre/TrashFolder.php b/apps/files_trashbin/lib/Sabre/TrashFolder.php index ae654b7daedb717fbaee130c77b6beffa4392750..094f80dad98be1b4352928934f2e5a608d7fa238 100644 --- a/apps/files_trashbin/lib/Sabre/TrashFolder.php +++ b/apps/files_trashbin/lib/Sabre/TrashFolder.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; class TrashFolder extends AbstractTrashFolder { diff --git a/apps/files_trashbin/lib/Sabre/TrashFolderFile.php b/apps/files_trashbin/lib/Sabre/TrashFolderFile.php index 63a032c86827de7d8bcd31655b7c949f2d90161a..5067d88cb48d1b395d997102d8d25ab863110a66 100644 --- a/apps/files_trashbin/lib/Sabre/TrashFolderFile.php +++ b/apps/files_trashbin/lib/Sabre/TrashFolderFile.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; class TrashFolderFile extends AbstractTrashFile { diff --git a/apps/files_trashbin/lib/Sabre/TrashFolderFolder.php b/apps/files_trashbin/lib/Sabre/TrashFolderFolder.php index 0f866f7c697c3550b98fd25161a429d34485c823..b276a6f29f965ec6be513407f699872e0af3d289 100644 --- a/apps/files_trashbin/lib/Sabre/TrashFolderFolder.php +++ b/apps/files_trashbin/lib/Sabre/TrashFolderFolder.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; class TrashFolderFolder extends AbstractTrashFolder { diff --git a/apps/files_trashbin/lib/Sabre/TrashHome.php b/apps/files_trashbin/lib/Sabre/TrashHome.php index b1d5a114934c870075f0c8b541f5e42fd67a6e12..dda347f4c996e1830da845a4b38ca0337462fa51 100644 --- a/apps/files_trashbin/lib/Sabre/TrashHome.php +++ b/apps/files_trashbin/lib/Sabre/TrashHome.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use OCA\Files_Trashbin\Trash\ITrashManager; diff --git a/apps/files_trashbin/lib/Sabre/TrashRoot.php b/apps/files_trashbin/lib/Sabre/TrashRoot.php index 5d41a81e6706b4c544517bc1a1f7929d5d34a06f..b61daacdf432f42bfdcf96eccda093bc22ce5927 100644 --- a/apps/files_trashbin/lib/Sabre/TrashRoot.php +++ b/apps/files_trashbin/lib/Sabre/TrashRoot.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2018, Roeland Jago Douma * + * @author Julius Härtl * @author Robin Appelman * @author Roeland Jago Douma * @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use OCA\Files_Trashbin\Trash\ITrashItem; diff --git a/apps/files_trashbin/lib/Storage.php b/apps/files_trashbin/lib/Storage.php index 415f8a183b26c7714b1e9f00e7c5becfbd6cb515..f08d8d25a55a97afdcda61f3701e073e28671f6e 100644 --- a/apps/files_trashbin/lib/Storage.php +++ b/apps/files_trashbin/lib/Storage.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin; use OC\Files\Filesystem; diff --git a/apps/files_trashbin/lib/Trash/BackendNotFoundException.php b/apps/files_trashbin/lib/Trash/BackendNotFoundException.php index 2554faade4dff1060ffac2b5bf7868ea07db15c3..e52d5f667c90b4e7ced47dd6853244112e03d928 100644 --- a/apps/files_trashbin/lib/Trash/BackendNotFoundException.php +++ b/apps/files_trashbin/lib/Trash/BackendNotFoundException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Trash; class BackendNotFoundException extends \Exception { diff --git a/apps/files_trashbin/lib/Trash/ITrashBackend.php b/apps/files_trashbin/lib/Trash/ITrashBackend.php index e0d7ea50ac80d0cf4fe4758b23a424a33db4c8b5..52eaad7737e268c96f5f850a41671cff90197625 100644 --- a/apps/files_trashbin/lib/Trash/ITrashBackend.php +++ b/apps/files_trashbin/lib/Trash/ITrashBackend.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Trash; use OCP\Files\Node; diff --git a/apps/files_trashbin/lib/Trash/ITrashItem.php b/apps/files_trashbin/lib/Trash/ITrashItem.php index c0bef7ec44b357e8306dced93c2dcc96571b1429..0f9c8144a599dceb78770fe7e2c5524f9bab4cf6 100644 --- a/apps/files_trashbin/lib/Trash/ITrashItem.php +++ b/apps/files_trashbin/lib/Trash/ITrashItem.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Trash; use OCP\Files\FileInfo; diff --git a/apps/files_trashbin/lib/Trash/ITrashManager.php b/apps/files_trashbin/lib/Trash/ITrashManager.php index 184e739d1c51e523d4276a7f4facfd48d99f8896..24617c0287d967d0a1fd01650433951d1a3b7feb 100644 --- a/apps/files_trashbin/lib/Trash/ITrashManager.php +++ b/apps/files_trashbin/lib/Trash/ITrashManager.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Trash; use OCP\IUser; diff --git a/apps/files_trashbin/lib/Trash/LegacyTrashBackend.php b/apps/files_trashbin/lib/Trash/LegacyTrashBackend.php index 68ee8c1c517b92cd012b18171ac0de7c2c67679c..22f12c9a062d68b37988bd9294f3ec2e9f50e7ea 100644 --- a/apps/files_trashbin/lib/Trash/LegacyTrashBackend.php +++ b/apps/files_trashbin/lib/Trash/LegacyTrashBackend.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Trash; use OC\Files\Filesystem; diff --git a/apps/files_trashbin/lib/Trash/TrashItem.php b/apps/files_trashbin/lib/Trash/TrashItem.php index 82d168016adc4d797622ef6d6db2b396194aadc5..29de0a2ed5a81b75568f6efba0038eacd744aed8 100644 --- a/apps/files_trashbin/lib/Trash/TrashItem.php +++ b/apps/files_trashbin/lib/Trash/TrashItem.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Trash; use OCP\Files\FileInfo; diff --git a/apps/files_trashbin/lib/Trash/TrashManager.php b/apps/files_trashbin/lib/Trash/TrashManager.php index 8d75ac21658dead9b7a95865d6521b2bf8677cbf..7f4be89efdcca83c3e503654128c79a1d2cd3078 100644 --- a/apps/files_trashbin/lib/Trash/TrashManager.php +++ b/apps/files_trashbin/lib/Trash/TrashManager.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Trash; use OCP\Files\Storage\IStorage; diff --git a/apps/files_trashbin/lib/Trashbin.php b/apps/files_trashbin/lib/Trashbin.php index 8b2b8b2d9534c8aa0928f3eaf52a157a6a1e553d..1cef0a6ed0a8aed3a59d2f76dfa954d1a402f6e4 100644 --- a/apps/files_trashbin/lib/Trashbin.php +++ b/apps/files_trashbin/lib/Trashbin.php @@ -42,7 +42,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin; use OC_User; diff --git a/apps/files_trashbin/list.php b/apps/files_trashbin/list.php index 29d9cfd5ef08f190be6815e4cae26cb398a3e084..9ee833319fce439855e48aa37512d6576dfb3ba9 100644 --- a/apps/files_trashbin/list.php +++ b/apps/files_trashbin/list.php @@ -4,7 +4,8 @@ * * @author Bart Visscher * @author Björn Schießle - * @author John Molakvoæ (skjnldsv) + * @author Christoph Wurst + * @author John Molakvoæ * @author Roeland Jago Douma * @author Vincent Petry * diff --git a/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php b/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php index 7d97042209f104b4840b20c53d3e9f66bc9b782b..07e60ba8fbfe529dd810377f97eff25e933476dc 100644 --- a/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php +++ b/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Tests\BackgroundJob; use OCA\Files_Trashbin\BackgroundJob\ExpireTrash; diff --git a/apps/files_trashbin/tests/CapabilitiesTest.php b/apps/files_trashbin/tests/CapabilitiesTest.php index 0f0778d5727a6a06b86e25f927c8cb1b60cabbe8..b017b48da8c9746502dadee3aff17bd71ab21ce1 100644 --- a/apps/files_trashbin/tests/CapabilitiesTest.php +++ b/apps/files_trashbin/tests/CapabilitiesTest.php @@ -1,6 +1,6 @@ * * @author Roeland Jago Douma * @author Unknown @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Tests; use OCA\Files_Trashbin\Capabilities; diff --git a/apps/files_trashbin/tests/Command/CleanUpTest.php b/apps/files_trashbin/tests/Command/CleanUpTest.php index dad73aaadfc6b6782574d1d8ed36d35d0fd2151e..949d0529fd65e9d3655338037da220102b086040 100644 --- a/apps/files_trashbin/tests/Command/CleanUpTest.php +++ b/apps/files_trashbin/tests/Command/CleanUpTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Tests\Command; use OC\User\Manager; diff --git a/apps/files_trashbin/tests/Command/ExpireTest.php b/apps/files_trashbin/tests/Command/ExpireTest.php index 0afbe315fef73bdee0efb747d51fb0583b4b1619..dd9e2c2b25412cc6eb5a6502a909026c9925f3ad 100644 --- a/apps/files_trashbin/tests/Command/ExpireTest.php +++ b/apps/files_trashbin/tests/Command/ExpireTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Tests\Command; use OCA\Files_Trashbin\Command\Expire; diff --git a/apps/files_trashbin/tests/Controller/PreviewControllerTest.php b/apps/files_trashbin/tests/Controller/PreviewControllerTest.php index 349250a93f39e8b1d5532b477c9e8a4aa04acc09..1a36473ecf1fc188eac4ba17aff3feb67cc0a3db 100644 --- a/apps/files_trashbin/tests/Controller/PreviewControllerTest.php +++ b/apps/files_trashbin/tests/Controller/PreviewControllerTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Trashbin\Tests\Controller; use OCA\Files_Trashbin\Controller\PreviewController; diff --git a/apps/files_trashbin/tests/ExpirationTest.php b/apps/files_trashbin/tests/ExpirationTest.php index d33c502f4196833bcba33cbe3e2426160b09d67e..2f304b17881945fe0877f48fbf60e5e08e9ec70d 100644 --- a/apps/files_trashbin/tests/ExpirationTest.php +++ b/apps/files_trashbin/tests/ExpirationTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Tests; use OCA\Files_Trashbin\Expiration; diff --git a/apps/files_trashbin/tests/StorageTest.php b/apps/files_trashbin/tests/StorageTest.php index 53c1a09cc392890afc927d688485e24ab37e8776..448c3a6adb1d6ee73bffb0d48f12717207cabb71 100644 --- a/apps/files_trashbin/tests/StorageTest.php +++ b/apps/files_trashbin/tests/StorageTest.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Tests; use OC\Files\Filesystem; diff --git a/apps/files_trashbin/tests/TrashbinTest.php b/apps/files_trashbin/tests/TrashbinTest.php index e38a147f32948904e3895a4d62286c5aa37c567d..1df93bccb4a10d9a97d679192098511ea9cce3b4 100644 --- a/apps/files_trashbin/tests/TrashbinTest.php +++ b/apps/files_trashbin/tests/TrashbinTest.php @@ -6,7 +6,7 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - use OC\AppFramework\Bootstrap\BootContext; use OC\AppFramework\DependencyInjection\DIContainer; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_versions/appinfo/routes.php b/apps/files_versions/appinfo/routes.php index e5e8ccc8ac65afe48e04309b454f187b4a2a4a48..b9706554c40de07e4be0c72f37e068acaf401f6d 100644 --- a/apps/files_versions/appinfo/routes.php +++ b/apps/files_versions/appinfo/routes.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\AppInfo; /** @var Application $application */ diff --git a/apps/files_versions/lib/AppInfo/Application.php b/apps/files_versions/lib/AppInfo/Application.php index e09ad7e90ae561a94a9e2d7f8e260dc82f95d1ec..ad38c0174988ed73b3c94bdacfa998eb8cea862f 100644 --- a/apps/files_versions/lib/AppInfo/Application.php +++ b/apps/files_versions/lib/AppInfo/Application.php @@ -3,7 +3,8 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author Joas Schilling + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\AppInfo; use OC\KnownUser\KnownUserService; diff --git a/apps/files_versions/lib/BackgroundJob/ExpireVersions.php b/apps/files_versions/lib/BackgroundJob/ExpireVersions.php index 13418ba64c4deab9c40fd7cf0b35ec3f3c74331e..73459949db3978e96fe8aaa69fbdd08bd70d8345 100644 --- a/apps/files_versions/lib/BackgroundJob/ExpireVersions.php +++ b/apps/files_versions/lib/BackgroundJob/ExpireVersions.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\BackgroundJob; use OCA\Files_Versions\Expiration; diff --git a/apps/files_versions/lib/Capabilities.php b/apps/files_versions/lib/Capabilities.php index 4da267be86e7595716e85d9b5bba80e8332d5ecf..b8602540ec8410861eff4a14a8bbc7229fd485f4 100644 --- a/apps/files_versions/lib/Capabilities.php +++ b/apps/files_versions/lib/Capabilities.php @@ -4,7 +4,6 @@ * * @author Christopher Schäpers * @author Christoph Wurst - * @author Morris Jobke * @author Roeland Jago Douma * @author Tom Needham * @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions; use OCP\Capabilities\ICapability; diff --git a/apps/files_versions/lib/Command/CleanUp.php b/apps/files_versions/lib/Command/CleanUp.php index 64c14e21308ea167d953b7c9c7f33e6123f98154..b51959e95325459f3418aeb05454e58e47f8f9d1 100644 --- a/apps/files_versions/lib/Command/CleanUp.php +++ b/apps/files_versions/lib/Command/CleanUp.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\Command; use OCP\Files\IRootFolder; diff --git a/apps/files_versions/lib/Command/Expire.php b/apps/files_versions/lib/Command/Expire.php index 76d26321d1ee8890ed5abcc1540f3dabdfd36d77..395ed603813ec4418ce338ba7007c80232af9689 100644 --- a/apps/files_versions/lib/Command/Expire.php +++ b/apps/files_versions/lib/Command/Expire.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\Command; use OC\Command\FileAccess; diff --git a/apps/files_versions/lib/Command/ExpireVersions.php b/apps/files_versions/lib/Command/ExpireVersions.php index e59fea7db9a31b29e9c781e77e2c3a2200b84e16..bc080d93184136c6bfff5bf16a3925db0ef74882 100644 --- a/apps/files_versions/lib/Command/ExpireVersions.php +++ b/apps/files_versions/lib/Command/ExpireVersions.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\Command; use OCA\Files_Versions\Expiration; diff --git a/apps/files_versions/lib/Controller/PreviewController.php b/apps/files_versions/lib/Controller/PreviewController.php index fa9d6a4aa0a899b76858eba5fc44715190a5f9fa..75093165af974ab6c0814af4b759653fe0592db1 100644 --- a/apps/files_versions/lib/Controller/PreviewController.php +++ b/apps/files_versions/lib/Controller/PreviewController.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Controller; use OCA\Files_Versions\Versions\IVersionManager; diff --git a/apps/files_versions/lib/Events/CreateVersionEvent.php b/apps/files_versions/lib/Events/CreateVersionEvent.php index 90281bd8ca7be44fcc3e4a419d7542defb00296f..c62b0db5ed597c92eeadb2d5c44cebf939446ab5 100644 --- a/apps/files_versions/lib/Events/CreateVersionEvent.php +++ b/apps/files_versions/lib/Events/CreateVersionEvent.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Events; use OCP\EventDispatcher\Event; diff --git a/apps/files_versions/lib/Expiration.php b/apps/files_versions/lib/Expiration.php index 12f34b0730456372b0f14393603fae63ea6b95af..e9dd91e2428585f99eaa626efd023494bb63d7ec 100644 --- a/apps/files_versions/lib/Expiration.php +++ b/apps/files_versions/lib/Expiration.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/files_versions/lib/Hooks.php b/apps/files_versions/lib/Hooks.php index 78a892024572ddeea2aa0d78f7c9629bb5db7abc..9de2e2c3ac9f808f3be7d488baeca25fea63a583 100644 --- a/apps/files_versions/lib/Hooks.php +++ b/apps/files_versions/lib/Hooks.php @@ -5,7 +5,7 @@ * @author Bart Visscher * @author Björn Schießle * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Morris Jobke * @author Robin Appelman @@ -27,11 +27,6 @@ * along with this program. If not, see * */ - -/** - * This class contains all hooks. - */ - namespace OCA\Files_Versions; use OC\Files\Filesystem; diff --git a/apps/files_versions/lib/Listener/LoadAdditionalListener.php b/apps/files_versions/lib/Listener/LoadAdditionalListener.php index 7448224048a778fbcf7321e5e189435771f40a10..aeea8756515eb4398c6d3a6e8f22399fd6ce031f 100644 --- a/apps/files_versions/lib/Listener/LoadAdditionalListener.php +++ b/apps/files_versions/lib/Listener/LoadAdditionalListener.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Roeland Jago Douma * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Listener; use OCA\Files\Event\LoadAdditionalScriptsEvent; diff --git a/apps/files_versions/lib/Listener/LoadSidebarListener.php b/apps/files_versions/lib/Listener/LoadSidebarListener.php index 7a1b13d9c325138b6f255936fee27836998d27a4..27261fbc3d2d3feac962600cb24825581ce89a96 100644 --- a/apps/files_versions/lib/Listener/LoadSidebarListener.php +++ b/apps/files_versions/lib/Listener/LoadSidebarListener.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Roeland Jago Douma * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Listener; use OCA\Files\Event\LoadSidebar; diff --git a/apps/files_versions/lib/Sabre/Plugin.php b/apps/files_versions/lib/Sabre/Plugin.php index 56a2f0a58e048825684e9afec888891d9e3d446e..8095198a51dc83e8861e5b78cc25d9bb5b256715 100644 --- a/apps/files_versions/lib/Sabre/Plugin.php +++ b/apps/files_versions/lib/Sabre/Plugin.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Sabre; use OC\AppFramework\Http\Request; diff --git a/apps/files_versions/lib/Sabre/RestoreFolder.php b/apps/files_versions/lib/Sabre/RestoreFolder.php index 5b52a5777aee4356fa9a98be293b3b2300469780..31d87cc7112226ee3249ff051fffde5f2f5a217e 100644 --- a/apps/files_versions/lib/Sabre/RestoreFolder.php +++ b/apps/files_versions/lib/Sabre/RestoreFolder.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Sabre; use Sabre\DAV\Exception\Forbidden; diff --git a/apps/files_versions/lib/Sabre/RootCollection.php b/apps/files_versions/lib/Sabre/RootCollection.php index 13a555126025e6f97cc7410ed79c8ed8e5c19ccb..ed4df7fed631525db6611cdf3b070e0f0aa7afa3 100644 --- a/apps/files_versions/lib/Sabre/RootCollection.php +++ b/apps/files_versions/lib/Sabre/RootCollection.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Sabre; use OCA\Files_Versions\Versions\IVersionManager; diff --git a/apps/files_versions/lib/Sabre/VersionCollection.php b/apps/files_versions/lib/Sabre/VersionCollection.php index e2ad562e8bcb724c13f6aef0c5080599cbb071c2..d33e036d7c0a0ec40e3c930c38bb1b4c6871333f 100644 --- a/apps/files_versions/lib/Sabre/VersionCollection.php +++ b/apps/files_versions/lib/Sabre/VersionCollection.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Sabre; use OCA\Files_Versions\Versions\IVersion; diff --git a/apps/files_versions/lib/Sabre/VersionFile.php b/apps/files_versions/lib/Sabre/VersionFile.php index 9e16022d7543311bf63818af05fc1072a5a43eda..b7c7e6db1a6fb86e2e9bf80e11b55add0165e8a2 100644 --- a/apps/files_versions/lib/Sabre/VersionFile.php +++ b/apps/files_versions/lib/Sabre/VersionFile.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Sabre; use OCA\Files_Versions\Versions\IVersion; diff --git a/apps/files_versions/lib/Sabre/VersionHome.php b/apps/files_versions/lib/Sabre/VersionHome.php index d425ea413693150c11d4b09107f955910ace3fa3..13505d9a96c4942fc0bed59c83a40707bb3a469c 100644 --- a/apps/files_versions/lib/Sabre/VersionHome.php +++ b/apps/files_versions/lib/Sabre/VersionHome.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Sabre; use OC\User\NoUserException; diff --git a/apps/files_versions/lib/Sabre/VersionRoot.php b/apps/files_versions/lib/Sabre/VersionRoot.php index 9b11159ee117c3cef9fea73a775a04fd8a477aa2..cc9b1a2abb381fd5f7a755c0ac306759d1ab9c01 100644 --- a/apps/files_versions/lib/Sabre/VersionRoot.php +++ b/apps/files_versions/lib/Sabre/VersionRoot.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Sabre; use OCA\Files_Versions\Versions\IVersionManager; diff --git a/apps/files_versions/lib/Storage.php b/apps/files_versions/lib/Storage.php index 79683e41b4ed2f1747a80297277811527f5a0e64..861a014f5f3450c51c99ad18d87d465bcbedd8d4 100644 --- a/apps/files_versions/lib/Storage.php +++ b/apps/files_versions/lib/Storage.php @@ -37,13 +37,6 @@ * along with this program. If not, see * */ - -/** - * Versions - * - * A class to handle the versioning of files. - */ - namespace OCA\Files_Versions; use OC_User; diff --git a/apps/files_versions/lib/Versions/BackendNotFoundException.php b/apps/files_versions/lib/Versions/BackendNotFoundException.php index 5338d5eea37ee1841f2d5b7b92f5466e4c7ab4d5..151957c116ad986695183a480a8b48a4416dc3ca 100644 --- a/apps/files_versions/lib/Versions/BackendNotFoundException.php +++ b/apps/files_versions/lib/Versions/BackendNotFoundException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Versions; class BackendNotFoundException extends \Exception { diff --git a/apps/files_versions/lib/Versions/IVersion.php b/apps/files_versions/lib/Versions/IVersion.php index b65bb236be67aaf9dd4886eb15b7f31bd41c1571..8ab3357b1e21658f30dfcaaa9b3baa1488f342ab 100644 --- a/apps/files_versions/lib/Versions/IVersion.php +++ b/apps/files_versions/lib/Versions/IVersion.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Versions; use OCP\Files\FileInfo; diff --git a/apps/files_versions/lib/Versions/IVersionBackend.php b/apps/files_versions/lib/Versions/IVersionBackend.php index 3173233e2d1a686757a1808181c6f26fa4e03acf..c06e395e4c12dec6683c48d91a7ff57cf17d38c2 100644 --- a/apps/files_versions/lib/Versions/IVersionBackend.php +++ b/apps/files_versions/lib/Versions/IVersionBackend.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Versions; use OCP\Files\File; diff --git a/apps/files_versions/lib/Versions/IVersionManager.php b/apps/files_versions/lib/Versions/IVersionManager.php index 1bb5bcd2842c0263d63ebf9b7b57f39a19b84f39..afc3046fa483a09b7f97731437563a51df847a4a 100644 --- a/apps/files_versions/lib/Versions/IVersionManager.php +++ b/apps/files_versions/lib/Versions/IVersionManager.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Versions; /** diff --git a/apps/files_versions/lib/Versions/LegacyVersionsBackend.php b/apps/files_versions/lib/Versions/LegacyVersionsBackend.php index db8530d13036623fed6885c761f67d854dd0e9b0..4ea0985e11346efbc772eee0f5642b3a91780f7f 100644 --- a/apps/files_versions/lib/Versions/LegacyVersionsBackend.php +++ b/apps/files_versions/lib/Versions/LegacyVersionsBackend.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Versions; use OC\Files\View; diff --git a/apps/files_versions/lib/Versions/Version.php b/apps/files_versions/lib/Versions/Version.php index 64be4276827640533b4226298a8021b3a6793a61..9979933ebc55d77d492aa17363114c7cd5c10346 100644 --- a/apps/files_versions/lib/Versions/Version.php +++ b/apps/files_versions/lib/Versions/Version.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Versions; use OCP\Files\FileInfo; diff --git a/apps/files_versions/lib/Versions/VersionManager.php b/apps/files_versions/lib/Versions/VersionManager.php index fbdbfca07d6d7cc8696a80ad4349f612009712fa..4700f1b208b755246977bb8b8c7ef8bd9d018bd4 100644 --- a/apps/files_versions/lib/Versions/VersionManager.php +++ b/apps/files_versions/lib/Versions/VersionManager.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Versions; use OCP\Files\File; diff --git a/apps/files_versions/tests/Command/CleanupTest.php b/apps/files_versions/tests/Command/CleanupTest.php index b48bbaf1246aa05ad5aadb60f229e103e411dd14..b5463aa61db1422ae6b3f909c8e0b31adcacea86 100644 --- a/apps/files_versions/tests/Command/CleanupTest.php +++ b/apps/files_versions/tests/Command/CleanupTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\Tests\Command; use OC\User\Manager; diff --git a/apps/files_versions/tests/Command/ExpireTest.php b/apps/files_versions/tests/Command/ExpireTest.php index 24871dd2b9629769b0c4a5ec95c75fd70afeceda..9b0b68e71ea3b796f02e897d17a50fa46e1dce93 100644 --- a/apps/files_versions/tests/Command/ExpireTest.php +++ b/apps/files_versions/tests/Command/ExpireTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\Tests\Command; use OCA\Files_Versions\Command\Expire; diff --git a/apps/files_versions/tests/Controller/PreviewControllerTest.php b/apps/files_versions/tests/Controller/PreviewControllerTest.php index 7b550f60866d3db82aaee10599889924d7a274a3..51ef45af8810626df6cf11f05a8d1628ba5e36f9 100644 --- a/apps/files_versions/tests/Controller/PreviewControllerTest.php +++ b/apps/files_versions/tests/Controller/PreviewControllerTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Files_Versions\Tests\Controller; use OCA\Files_Versions\Controller\PreviewController; diff --git a/apps/files_versions/tests/ExpirationTest.php b/apps/files_versions/tests/ExpirationTest.php index d6d057e29a5a6910075c37b6b84cd8a1ff7c40be..fdfba49c2e235a56ee30d37ef2ba5314d38fd132 100644 --- a/apps/files_versions/tests/ExpirationTest.php +++ b/apps/files_versions/tests/ExpirationTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\Tests; use OCA\Files_Versions\Expiration; diff --git a/apps/files_versions/tests/VersioningTest.php b/apps/files_versions/tests/VersioningTest.php index 7a6802a1d0d70ea45c53ec2006bde011fadb557e..952298b3ef9d90463b5de520d0a5f7189fadef7f 100644 --- a/apps/files_versions/tests/VersioningTest.php +++ b/apps/files_versions/tests/VersioningTest.php @@ -32,7 +32,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\Tests; use OC\Files\Storage\Temporary; diff --git a/apps/files_versions/tests/Versions/VersionManagerTest.php b/apps/files_versions/tests/Versions/VersionManagerTest.php index 950b719ca5de73ace9efd39454f972611a0e3581..f3eb1ee3e4d87e1d14b8b1f40b764b9b6b8887f3 100644 --- a/apps/files_versions/tests/Versions/VersionManagerTest.php +++ b/apps/files_versions/tests/Versions/VersionManagerTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\files_versions\tests\Versions; use OC\Files\Storage\Local; diff --git a/apps/lookup_server_connector/lib/AppInfo/Application.php b/apps/lookup_server_connector/lib/AppInfo/Application.php index 707a06af6fbe607e088ee4d03d88405b2f23a7d8..806f3e327aa7c3a2171f4cc433156873845d89a5 100644 --- a/apps/lookup_server_connector/lib/AppInfo/Application.php +++ b/apps/lookup_server_connector/lib/AppInfo/Application.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\LookupServerConnector\AppInfo; use Closure; diff --git a/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php b/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php index da0721dc01761124e2311ddaa9a36ad848aa42ae..f905f9173b6585211731700defe9ad55608bfd77 100644 --- a/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php +++ b/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php @@ -12,6 +12,7 @@ declare(strict_types=1); * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -22,14 +23,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\LookupServerConnector\BackgroundJobs; use OC\Security\IdentityProof\Signer; diff --git a/apps/lookup_server_connector/lib/UpdateLookupServer.php b/apps/lookup_server_connector/lib/UpdateLookupServer.php index 5b0295329043755d361bcc27bab41557375a0754..ec528e6effa7f2936b093e072e4036acfbcab32b 100644 --- a/apps/lookup_server_connector/lib/UpdateLookupServer.php +++ b/apps/lookup_server_connector/lib/UpdateLookupServer.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\LookupServerConnector; use OCA\LookupServerConnector\BackgroundJobs\RetryJob; diff --git a/apps/oauth2/appinfo/routes.php b/apps/oauth2/appinfo/routes.php index 55b3c5bc7ff1e259b045f094f25e14d6a5106b0f..4ba398e13431fda715d9fdb772a50144894f196c 100644 --- a/apps/oauth2/appinfo/routes.php +++ b/apps/oauth2/appinfo/routes.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - return [ 'routes' => [ [ diff --git a/apps/oauth2/lib/Controller/LoginRedirectorController.php b/apps/oauth2/lib/Controller/LoginRedirectorController.php index 4254c9880bc8c0b5fc45eb003c328eafdab51728..57f18a97f85c56b3920dbd9e905b0e0c799ed17d 100644 --- a/apps/oauth2/lib/Controller/LoginRedirectorController.php +++ b/apps/oauth2/lib/Controller/LoginRedirectorController.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Controller; use OCA\OAuth2\Db\ClientMapper; diff --git a/apps/oauth2/lib/Controller/OauthApiController.php b/apps/oauth2/lib/Controller/OauthApiController.php index 2fbaf4562638f4b064c20361ae2735b43a70954e..d6e090565cab5ed2a4602916d424ff3df4a57b89 100644 --- a/apps/oauth2/lib/Controller/OauthApiController.php +++ b/apps/oauth2/lib/Controller/OauthApiController.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Controller; use OC\Authentication\Exceptions\ExpiredTokenException; diff --git a/apps/oauth2/lib/Controller/SettingsController.php b/apps/oauth2/lib/Controller/SettingsController.php index 00d16ce4976a435684a332d55b5bf4b2a69f47fa..2850012862988faad7be69c56dd112835c3f4471 100644 --- a/apps/oauth2/lib/Controller/SettingsController.php +++ b/apps/oauth2/lib/Controller/SettingsController.php @@ -21,14 +21,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Controller; use OC\Authentication\Token\DefaultTokenMapper; diff --git a/apps/oauth2/lib/Db/AccessToken.php b/apps/oauth2/lib/Db/AccessToken.php index f033cf616bb779e733a19b099bcb91451070856d..26c830c64adf1a324949c8f9bd05a253ad5626c5 100644 --- a/apps/oauth2/lib/Db/AccessToken.php +++ b/apps/oauth2/lib/Db/AccessToken.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Db; use OCP\AppFramework\Db\Entity; diff --git a/apps/oauth2/lib/Db/AccessTokenMapper.php b/apps/oauth2/lib/Db/AccessTokenMapper.php index a15b1d2a3b3989216bdaa5366246f4631ec8dc11..da351d5d4966f110e39b696270824d64cfd3459c 100644 --- a/apps/oauth2/lib/Db/AccessTokenMapper.php +++ b/apps/oauth2/lib/Db/AccessTokenMapper.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2017 Lukas Reschke * * @author Bjoern Schiessle + * @author Christoph Wurst * @author Lukas Reschke * @author Roeland Jago Douma * @@ -18,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Db; use OCA\OAuth2\Exceptions\AccessTokenNotFoundException; diff --git a/apps/oauth2/lib/Db/Client.php b/apps/oauth2/lib/Db/Client.php index 87559f89cee1e7d3227d455d9088f2ff138ba4c9..f0cac4bed333dba37355b50e4ce5db064bec0cfc 100644 --- a/apps/oauth2/lib/Db/Client.php +++ b/apps/oauth2/lib/Db/Client.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Db; use OCP\AppFramework\Db\Entity; diff --git a/apps/oauth2/lib/Db/ClientMapper.php b/apps/oauth2/lib/Db/ClientMapper.php index 787d926d0a97c5ebd0b5c5ce13659b81a583fb6f..a3d5df3548245db97b935c9883dea74180dd5a71 100644 --- a/apps/oauth2/lib/Db/ClientMapper.php +++ b/apps/oauth2/lib/Db/ClientMapper.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Db; use OCA\OAuth2\Exceptions\ClientNotFoundException; diff --git a/apps/oauth2/lib/Exceptions/AccessTokenNotFoundException.php b/apps/oauth2/lib/Exceptions/AccessTokenNotFoundException.php index 079f7a9beeee6c87b8937424fa24ab4b5f6f3f53..8ccc32d67e1480ccda24ef8d12dc9ce28008a4d8 100644 --- a/apps/oauth2/lib/Exceptions/AccessTokenNotFoundException.php +++ b/apps/oauth2/lib/Exceptions/AccessTokenNotFoundException.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Exceptions; class AccessTokenNotFoundException extends \Exception { diff --git a/apps/oauth2/lib/Exceptions/ClientNotFoundException.php b/apps/oauth2/lib/Exceptions/ClientNotFoundException.php index 77c7c6687ca6cd155ded4067d4e40741a7c0d67a..d2f819449ce776ee787690c0a1db7b788d7ff0e1 100644 --- a/apps/oauth2/lib/Exceptions/ClientNotFoundException.php +++ b/apps/oauth2/lib/Exceptions/ClientNotFoundException.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Exceptions; class ClientNotFoundException extends \Exception { diff --git a/apps/oauth2/lib/Migration/SetTokenExpiration.php b/apps/oauth2/lib/Migration/SetTokenExpiration.php index 93f879d8e87cc3183839b81fbbc0912234cc4608..7188985f3f5996b1da5105bfc615711c0d2bc8eb 100644 --- a/apps/oauth2/lib/Migration/SetTokenExpiration.php +++ b/apps/oauth2/lib/Migration/SetTokenExpiration.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Migration; use OC\Authentication\Exceptions\InvalidTokenException; diff --git a/apps/oauth2/lib/Migration/Version010401Date20181207190718.php b/apps/oauth2/lib/Migration/Version010401Date20181207190718.php index 311c07d84c28e6fbc3d2a5cdba8685edc01b9ea8..51fd77c5528c3c82d39e28708bd4c2081639410e 100644 --- a/apps/oauth2/lib/Migration/Version010401Date20181207190718.php +++ b/apps/oauth2/lib/Migration/Version010401Date20181207190718.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Migration; use Closure; diff --git a/apps/oauth2/lib/Migration/Version010402Date20190107124745.php b/apps/oauth2/lib/Migration/Version010402Date20190107124745.php index 837d9c1937d767bf902f45a7f6d6f52b8da08425..ff9a628712a862dcd2855fc3952af0e99a9dacb5 100644 --- a/apps/oauth2/lib/Migration/Version010402Date20190107124745.php +++ b/apps/oauth2/lib/Migration/Version010402Date20190107124745.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Migration; use Closure; diff --git a/apps/oauth2/lib/Settings/Admin.php b/apps/oauth2/lib/Settings/Admin.php index 154643255f403b31439b8fd36e1d99e02228a119..ddf5302a1aa46e2df594f84a029ef6643e129bf8 100644 --- a/apps/oauth2/lib/Settings/Admin.php +++ b/apps/oauth2/lib/Settings/Admin.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Settings; use OCA\OAuth2\Db\ClientMapper; diff --git a/apps/oauth2/tests/Controller/LoginRedirectorControllerTest.php b/apps/oauth2/tests/Controller/LoginRedirectorControllerTest.php index c3dfa4114b312eb3937d265d3122515b930a1501..7f45f9c5b4bc0733f53b0bb4ae7703a80e6e6dfd 100644 --- a/apps/oauth2/tests/Controller/LoginRedirectorControllerTest.php +++ b/apps/oauth2/tests/Controller/LoginRedirectorControllerTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Tests\Controller; use OCA\OAuth2\Controller\LoginRedirectorController; diff --git a/apps/oauth2/tests/Controller/OauthApiControllerTest.php b/apps/oauth2/tests/Controller/OauthApiControllerTest.php index 414bcd3e4327e73c62e19a5eac4c96c1f2b74633..e723877a7b4d0c16e5b3a7f633778b6bad06a9bb 100644 --- a/apps/oauth2/tests/Controller/OauthApiControllerTest.php +++ b/apps/oauth2/tests/Controller/OauthApiControllerTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Tests\Controller; use OC\Authentication\Exceptions\ExpiredTokenException; diff --git a/apps/oauth2/tests/Controller/SettingsControllerTest.php b/apps/oauth2/tests/Controller/SettingsControllerTest.php index f539e3f1c1bba67f09eb1be9af403f43acc205a3..40785e280a0d3c04fb3e802b4d3d52766b8327e2 100644 --- a/apps/oauth2/tests/Controller/SettingsControllerTest.php +++ b/apps/oauth2/tests/Controller/SettingsControllerTest.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Tests\Controller; use OC\Authentication\Token\DefaultTokenMapper; diff --git a/apps/oauth2/tests/Db/AccessTokenMapperTest.php b/apps/oauth2/tests/Db/AccessTokenMapperTest.php index cdbd563a677cae293fb65700943cb710c1cbeeeb..013eb72919a288a4ce436414ddf77a40c2bc459a 100644 --- a/apps/oauth2/tests/Db/AccessTokenMapperTest.php +++ b/apps/oauth2/tests/Db/AccessTokenMapperTest.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Tests\Db; use OCA\OAuth2\Db\AccessToken; diff --git a/apps/oauth2/tests/Db/ClientMapperTest.php b/apps/oauth2/tests/Db/ClientMapperTest.php index 219f3cddf25d7692f8266b114d9deac5ba1cbd0f..fdc458fa3019f079ba95b3c87a261e8006855703 100644 --- a/apps/oauth2/tests/Db/ClientMapperTest.php +++ b/apps/oauth2/tests/Db/ClientMapperTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Tests\Db; use OCA\OAuth2\Db\Client; diff --git a/apps/oauth2/tests/Settings/AdminTest.php b/apps/oauth2/tests/Settings/AdminTest.php index fa1a5a2cda860fdcd14811d529a3855d7951eb8c..93a9c52842006762ba9d2809bfa5d75d0decf07b 100644 --- a/apps/oauth2/tests/Settings/AdminTest.php +++ b/apps/oauth2/tests/Settings/AdminTest.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\OAuth2\Tests\Settings; use OCA\OAuth2\Db\ClientMapper; diff --git a/apps/provisioning_api/appinfo/routes.php b/apps/provisioning_api/appinfo/routes.php index 2375e70a57ef105e999e23e9fb11993abae01822..8cf57487d3aba9104937c80c7b08730f956abc93 100644 --- a/apps/provisioning_api/appinfo/routes.php +++ b/apps/provisioning_api/appinfo/routes.php @@ -5,7 +5,7 @@ * @author Bjoern Schiessle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @author Tom Needham @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - return [ 'ocs' => [ // Apps diff --git a/apps/provisioning_api/lib/AppInfo/Application.php b/apps/provisioning_api/lib/AppInfo/Application.php index af6b2b3371186818db1076c4f19c405eaf2ab58a..c63720becef940f914103e3f97cfc0305c651293 100644 --- a/apps/provisioning_api/lib/AppInfo/Application.php +++ b/apps/provisioning_api/lib/AppInfo/Application.php @@ -1,13 +1,14 @@ * * @author Christoph Wurst * @author Daniel Kesselberg + * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma - * @author zulan + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -18,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Provisioning_API\AppInfo; use OC\Group\Manager as GroupManager; diff --git a/apps/provisioning_api/lib/Capabilities.php b/apps/provisioning_api/lib/Capabilities.php index d355e4db4c2cb0e23d67aacac4ce82fcb2ad8732..59c462c5d90c1f86b02a2a50742cff9ac2deda85 100644 --- a/apps/provisioning_api/lib/Capabilities.php +++ b/apps/provisioning_api/lib/Capabilities.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Provisioning_API; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/provisioning_api/lib/Controller/AUserData.php b/apps/provisioning_api/lib/Controller/AUserData.php index 6f682b41f2830434f30bce036e574205dd9bed68..c4fa537c2dff7034db5d3e91478aaf970b17e211 100644 --- a/apps/provisioning_api/lib/Controller/AUserData.php +++ b/apps/provisioning_api/lib/Controller/AUserData.php @@ -9,8 +9,9 @@ declare(strict_types=1); * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -21,14 +22,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Provisioning_API\Controller; use OC\Group\Manager; diff --git a/apps/provisioning_api/lib/Controller/AppConfigController.php b/apps/provisioning_api/lib/Controller/AppConfigController.php index b8a8cb4109f4af48a8f7247ab061dd829182679c..b6e43cac1df583052449152e070fe756640b9c9a 100644 --- a/apps/provisioning_api/lib/Controller/AppConfigController.php +++ b/apps/provisioning_api/lib/Controller/AppConfigController.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Provisioning_API\Controller; use OCP\AppFramework\Http; diff --git a/apps/provisioning_api/lib/Controller/AppsController.php b/apps/provisioning_api/lib/Controller/AppsController.php index 6a6db017f9993344485cc5ddbb15a94fd1cbcb3e..fa0f2597e7fde4f5c4d24b776717c1a61011e68d 100644 --- a/apps/provisioning_api/lib/Controller/AppsController.php +++ b/apps/provisioning_api/lib/Controller/AppsController.php @@ -8,7 +8,6 @@ declare(strict_types=1); * @author Christoph Wurst * @author Joas Schilling * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * @author Tom Needham * @@ -27,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Provisioning_API\Controller; use OC_App; diff --git a/apps/provisioning_api/lib/Controller/GroupsController.php b/apps/provisioning_api/lib/Controller/GroupsController.php index 05c738bdbd5cc2d92de208d2d9362024368e85f4..543fc3b40ac6cafb59eecc076c3afe7af957e877 100644 --- a/apps/provisioning_api/lib/Controller/GroupsController.php +++ b/apps/provisioning_api/lib/Controller/GroupsController.php @@ -8,10 +8,9 @@ declare(strict_types=1); * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Tom Needham @@ -31,7 +30,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Provisioning_API\Controller; use OCP\Accounts\IAccountManager; diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index 6237ca04a9ba3ff35b252ead60b9330f4d67c972..256077e9ae99bdeb928ea9a846ad47c9ff81b916 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -11,7 +11,7 @@ declare(strict_types=1); * @author Daniel Calviño Sánchez * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author michag86 @@ -23,6 +23,7 @@ declare(strict_types=1); * @author Thomas Citharel * @author Thomas Müller * @author Tom Needham + * @author Vincent Petry * * @license AGPL-3.0 * @@ -39,7 +40,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Provisioning_API\Controller; use libphonenumber\NumberParseException; diff --git a/apps/provisioning_api/lib/FederatedShareProviderFactory.php b/apps/provisioning_api/lib/FederatedShareProviderFactory.php index 0b0cfc5bd2213ebab29806bfb74325e7620f6dbb..063f5261f2fae057e6cb8a044a450b2abe62f5cd 100644 --- a/apps/provisioning_api/lib/FederatedShareProviderFactory.php +++ b/apps/provisioning_api/lib/FederatedShareProviderFactory.php @@ -1,4 +1,7 @@ * @@ -15,15 +18,13 @@ * * 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 + * 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 program. If not, see . * */ -declare(strict_types=1); - namespace OCA\Provisioning_API; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/provisioning_api/lib/Listener/UserDeletedListener.php b/apps/provisioning_api/lib/Listener/UserDeletedListener.php index 1e021177bb40323b84ae876b100b70f39ad666e9..d1fa8f6ad9fda6503cc5c031eda97215c4434448 100644 --- a/apps/provisioning_api/lib/Listener/UserDeletedListener.php +++ b/apps/provisioning_api/lib/Listener/UserDeletedListener.php @@ -1,9 +1,12 @@ * + * @author Joas Schilling + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\Provisioning_API\Listener; use OC\KnownUser\KnownUserService; diff --git a/apps/provisioning_api/lib/Middleware/Exceptions/NotSubAdminException.php b/apps/provisioning_api/lib/Middleware/Exceptions/NotSubAdminException.php index 04e9fa3357859e5b3b8894cda91d57c70b793667..6f5b15628f99390f5abe57b879186e4a547d5425 100644 --- a/apps/provisioning_api/lib/Middleware/Exceptions/NotSubAdminException.php +++ b/apps/provisioning_api/lib/Middleware/Exceptions/NotSubAdminException.php @@ -1,6 +1,6 @@ * * @author Morris Jobke * @author Roeland Jago Douma @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Provisioning_API\Middleware\Exceptions; use OCP\AppFramework\Http; diff --git a/apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php b/apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php index cf51a148bba12f46b75815652d97fda495df8145..8dbee85360bd2f8a29b4a632179b65bbcff00ba5 100644 --- a/apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php +++ b/apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php @@ -3,8 +3,9 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Roeland Jago Douma * - * + * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma @@ -18,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Provisioning_API\Middleware; use OCA\Provisioning_API\Middleware\Exceptions\NotSubAdminException; diff --git a/apps/provisioning_api/tests/CapabilitiesTest.php b/apps/provisioning_api/tests/CapabilitiesTest.php index 89a4215d273504e453c80400302f982bcc47a21c..97f9ba562bcf3398e8ef6fab0cc7aa0823b41bc5 100644 --- a/apps/provisioning_api/tests/CapabilitiesTest.php +++ b/apps/provisioning_api/tests/CapabilitiesTest.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Provisioning_API\Tests\unit; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/provisioning_api/tests/Controller/AppConfigControllerTest.php b/apps/provisioning_api/tests/Controller/AppConfigControllerTest.php index cc4b6aa7555ecefd36fc49928e116d478bf66957..3abc46dc5fcbac1f92ecb469c7102088b0caf3a5 100644 --- a/apps/provisioning_api/tests/Controller/AppConfigControllerTest.php +++ b/apps/provisioning_api/tests/Controller/AppConfigControllerTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Provisioning_API\Tests\Controller; use OCA\Provisioning_API\Controller\AppConfigController; diff --git a/apps/provisioning_api/tests/Controller/AppsControllerTest.php b/apps/provisioning_api/tests/Controller/AppsControllerTest.php index 88125a934889bf9169b675a7c17eaf7eec298d0b..d4237508a315d022dbdef9b8407e845fd1d6a0e3 100644 --- a/apps/provisioning_api/tests/Controller/AppsControllerTest.php +++ b/apps/provisioning_api/tests/Controller/AppsControllerTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Provisioning_API\Tests\Controller; use OCA\Provisioning_API\Controller\AppsController; diff --git a/apps/provisioning_api/tests/Controller/GroupsControllerTest.php b/apps/provisioning_api/tests/Controller/GroupsControllerTest.php index b32b6e4d89b853a0095d72e5d2130373e4ba202a..66e7665de633cd84d15658b822ac54871ea1c2bd 100644 --- a/apps/provisioning_api/tests/Controller/GroupsControllerTest.php +++ b/apps/provisioning_api/tests/Controller/GroupsControllerTest.php @@ -5,7 +5,7 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Provisioning_API\Tests\Controller; use OC\Group\Manager; diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php index c1a4245787148e29e3ac0bf4ad811c319526c1a6..742335a919ae857bcb7574b5aef0610746eaac0b 100644 --- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php +++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php @@ -10,7 +10,7 @@ * @author Georg Ehrke * @author GretaD * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author michag86 @@ -20,6 +20,7 @@ * @author Thomas Citharel * @author Thomas Müller * @author Tom Needham + * @author Vincent Petry * @author zulan * * @license AGPL-3.0 @@ -37,7 +38,6 @@ * along with this program. If not, see * */ - namespace OCA\Provisioning_API\Tests\Controller; use Exception; diff --git a/apps/provisioning_api/tests/Middleware/ProvisioningApiMiddlewareTest.php b/apps/provisioning_api/tests/Middleware/ProvisioningApiMiddlewareTest.php index 1977a4aa0f9f5da2e9416f198e6a179bb42ecbf6..ea3d44cc90766aeab800fd47d67338c6c8c8fd51 100644 --- a/apps/provisioning_api/tests/Middleware/ProvisioningApiMiddlewareTest.php +++ b/apps/provisioning_api/tests/Middleware/ProvisioningApiMiddlewareTest.php @@ -2,6 +2,7 @@ /** * @copyright 2016, Roeland Jago Douma * + * @author Joas Schilling * @author Morris Jobke * @author Roeland Jago Douma * @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Provisioning_API\Tests\Middleware; use OCA\Provisioning_API\Middleware\Exceptions\NotSubAdminException; diff --git a/apps/provisioning_api/tests/TestCase.php b/apps/provisioning_api/tests/TestCase.php index 7ddebfcf322cf4159ef8b9ea95bdeb669fdb6487..5cbab2ab20079a59c6e0ba312ee07e7cdd4db5ef 100644 --- a/apps/provisioning_api/tests/TestCase.php +++ b/apps/provisioning_api/tests/TestCase.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Provisioning_API\Tests; use OCP\IGroupManager; diff --git a/apps/settings/appinfo/routes.php b/apps/settings/appinfo/routes.php index c1d3938a739a5951cf788a890aa9c808b9b4bbb5..c73ef08f63c510baeb859385ad3bf79916d2b08c 100644 --- a/apps/settings/appinfo/routes.php +++ b/apps/settings/appinfo/routes.php @@ -9,7 +9,6 @@ declare(strict_types=1); * @author Jan C. Borchardt * @author Julius Härtl * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -27,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - return [ 'resources' => [ 'AuthSettings' => ['url' => '/settings/personal/authtokens' , 'root' => ''], diff --git a/apps/settings/lib/Activity/GroupProvider.php b/apps/settings/lib/Activity/GroupProvider.php index ab34e907ca3ffe3b27584e7b869a14e30639c0c5..a1709de5c3f0be494879b812db8b1e87e38de7de 100644 --- a/apps/settings/lib/Activity/GroupProvider.php +++ b/apps/settings/lib/Activity/GroupProvider.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Activity; use InvalidArgumentException; diff --git a/apps/settings/lib/Activity/GroupSetting.php b/apps/settings/lib/Activity/GroupSetting.php index 212efd5c468bd0cfe858c8862807c53974bc5434..9538a4e4ebde92e342567b7ecee3307b05de3ca3 100644 --- a/apps/settings/lib/Activity/GroupSetting.php +++ b/apps/settings/lib/Activity/GroupSetting.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Activity; use OCP\Activity\ISetting; diff --git a/apps/settings/lib/Activity/Provider.php b/apps/settings/lib/Activity/Provider.php index 6697f85a101e2a14be4f891087661d619275027b..2d5c858f5e83ba890aa0570dc7e0206aa9438b58 100644 --- a/apps/settings/lib/Activity/Provider.php +++ b/apps/settings/lib/Activity/Provider.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Activity; use OCP\Activity\IEvent; diff --git a/apps/settings/lib/Activity/SecurityFilter.php b/apps/settings/lib/Activity/SecurityFilter.php index d814571897c9beb1620346ba0b2deabd3580f287..48cf6e74f29d285f5ae13298771e3117fdacea25 100644 --- a/apps/settings/lib/Activity/SecurityFilter.php +++ b/apps/settings/lib/Activity/SecurityFilter.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Activity; use OCP\Activity\IFilter; diff --git a/apps/settings/lib/Activity/SecurityProvider.php b/apps/settings/lib/Activity/SecurityProvider.php index 20156bbc4074a5ad8d8982a7430e951fa84a75c7..cdf7b80298d5e24b7a1de9ff3d0a9c3ef267e762 100644 --- a/apps/settings/lib/Activity/SecurityProvider.php +++ b/apps/settings/lib/Activity/SecurityProvider.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Activity; use InvalidArgumentException; diff --git a/apps/settings/lib/Activity/SecuritySetting.php b/apps/settings/lib/Activity/SecuritySetting.php index c9ed42b2e2a35aa028a479de4c227d334198c93a..3dc6df4ef2a7882707e60fbc027e894d5c1dea9c 100644 --- a/apps/settings/lib/Activity/SecuritySetting.php +++ b/apps/settings/lib/Activity/SecuritySetting.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Activity; use OCP\Activity\ISetting; diff --git a/apps/settings/lib/Activity/Setting.php b/apps/settings/lib/Activity/Setting.php index d0b48445932254634fe9c13a77ad6bbecb65df74..dc92cea4d8a9eb950889bb57b14f8672def8f492 100644 --- a/apps/settings/lib/Activity/Setting.php +++ b/apps/settings/lib/Activity/Setting.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Activity; use OCP\Activity\ISetting; diff --git a/apps/settings/lib/AppInfo/Application.php b/apps/settings/lib/AppInfo/Application.php index f089260a7c7acb35ce2afae7cabeea6983cb2a78..8f0434b9ab9259529c70412a2a1ca8c7f27db83a 100644 --- a/apps/settings/lib/AppInfo/Application.php +++ b/apps/settings/lib/AppInfo/Application.php @@ -8,7 +8,6 @@ declare(strict_types=1); * @author Arthur Schiwon * @author Björn Schießle * @author Christoph Wurst - * @author Daniel Calviño Sánchez * @author Daniel Kesselberg * @author Joas Schilling * @author Lukas Reschke @@ -32,7 +31,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Settings\AppInfo; use OC\AppFramework\Utility\TimeFactory; diff --git a/apps/settings/lib/BackgroundJobs/VerifyUserData.php b/apps/settings/lib/BackgroundJobs/VerifyUserData.php index ee1cc43c53b262deafac01b88b617a7bbd6b3447..a05574526288f4ccd9c31f18408ca612a06567a5 100644 --- a/apps/settings/lib/BackgroundJobs/VerifyUserData.php +++ b/apps/settings/lib/BackgroundJobs/VerifyUserData.php @@ -20,14 +20,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\BackgroundJobs; use OCP\Accounts\IAccountManager; diff --git a/apps/settings/lib/Controller/AdminSettingsController.php b/apps/settings/lib/Controller/AdminSettingsController.php index c50ffc6f1e7aa2c3a51acee172437b37fc88c71f..e5621e2b0b297f89aa8288a41a23304618fa5648 100644 --- a/apps/settings/lib/Controller/AdminSettingsController.php +++ b/apps/settings/lib/Controller/AdminSettingsController.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Controller; use OCP\AppFramework\Controller; diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php index b9bbfddb249a3ea92ca8a6668431ca3a96f5d504..78326c2e25a2fdfc94e702fc10d1fa4552f92e46 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -7,7 +7,7 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Controller; use OC\App\AppStore\Bundles\BundleFetcher; diff --git a/apps/settings/lib/Controller/AuthSettingsController.php b/apps/settings/lib/Controller/AuthSettingsController.php index 11e1be7fd47282c136000eb2a98ff7b96e0cf481..3255fcce56e7b74c4f78cb6cb7b806c17f13504a 100644 --- a/apps/settings/lib/Controller/AuthSettingsController.php +++ b/apps/settings/lib/Controller/AuthSettingsController.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Controller; use BadMethodCallException; diff --git a/apps/settings/lib/Controller/ChangePasswordController.php b/apps/settings/lib/Controller/ChangePasswordController.php index 430b0b2fd686851c743c754bbc08498274427eae..76ac2f792ac1480f3cca0c616c8a5db9c6f9f9eb 100644 --- a/apps/settings/lib/Controller/ChangePasswordController.php +++ b/apps/settings/lib/Controller/ChangePasswordController.php @@ -1,6 +1,6 @@ * * @author Arthur Schiwon * @author Christoph Wurst @@ -22,14 +22,13 @@ * * 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 + * 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 program. If not, see . * */ - // FIXME: disabled for now to be able to inject IGroupManager and also use // getSubAdmin() //declare(strict_types=1); diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php index 89dfc7b617ae8f1be9461d3515ad474199657fd5..27e8bfe6ac0f1fb6725fc839450f62febf3d7770 100644 --- a/apps/settings/lib/Controller/CheckSetupController.php +++ b/apps/settings/lib/Controller/CheckSetupController.php @@ -17,12 +17,14 @@ * @author Michael Weimann * @author Morris Jobke * @author nhirokinet + * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma * @author Sven Strickroth * @author Sylvia van Os * @author timm2k * @author Timo Förster + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license AGPL-3.0 * @@ -39,7 +41,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Controller; use bantu\IniGetWrapper\IniGetWrapper; diff --git a/apps/settings/lib/Controller/CommonSettingsTrait.php b/apps/settings/lib/Controller/CommonSettingsTrait.php index ea9cc45b339cbdc60f976d4d70639d6c21f9602e..4832e62999b89429bb0bb8e8a6f61e9ca44b293c 100644 --- a/apps/settings/lib/Controller/CommonSettingsTrait.php +++ b/apps/settings/lib/Controller/CommonSettingsTrait.php @@ -19,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Controller; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/settings/lib/Controller/HelpController.php b/apps/settings/lib/Controller/HelpController.php index b612303f9f301621d89bca207fcf5af7cd032dac..8a62fb9b58cca7d0262b2eac2a25c773f3f7c4e6 100644 --- a/apps/settings/lib/Controller/HelpController.php +++ b/apps/settings/lib/Controller/HelpController.php @@ -1,12 +1,15 @@ * * @author Arthur Schiwon - * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling * @author Julius Härtl + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -17,15 +20,13 @@ * * 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 + * 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 program. If not, see . * */ -declare(strict_types=1); - namespace OCA\Settings\Controller; use OCP\AppFramework\Controller; diff --git a/apps/settings/lib/Controller/LogSettingsController.php b/apps/settings/lib/Controller/LogSettingsController.php index 31abc144371da72f5988bc0f682799d3c074676a..08c18189d038e35d6ddd1088738f08e8e7c596e5 100644 --- a/apps/settings/lib/Controller/LogSettingsController.php +++ b/apps/settings/lib/Controller/LogSettingsController.php @@ -6,7 +6,6 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Controller; use OC\Log; diff --git a/apps/settings/lib/Controller/MailSettingsController.php b/apps/settings/lib/Controller/MailSettingsController.php index 7b17c1442d12a0cb129072653f523a9b813dd154..ca8a752093063386880ae5f97ad263b536543eb4 100644 --- a/apps/settings/lib/Controller/MailSettingsController.php +++ b/apps/settings/lib/Controller/MailSettingsController.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Controller; use OCP\AppFramework\Controller; diff --git a/apps/settings/lib/Controller/PersonalSettingsController.php b/apps/settings/lib/Controller/PersonalSettingsController.php index a1ea713b78a7cd3f281afe63296543360a6b6f02..dc274c9d2a9b471fbebad649dd2088b3e0b9c756 100644 --- a/apps/settings/lib/Controller/PersonalSettingsController.php +++ b/apps/settings/lib/Controller/PersonalSettingsController.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Controller; use OCP\AppFramework\Controller; diff --git a/apps/settings/lib/Controller/ReasonsController.php b/apps/settings/lib/Controller/ReasonsController.php index 9c89731409142fd8d90e738c116e9c52af966b81..2ceb7005407ed6681ff2e71595d256088714d8a6 100644 --- a/apps/settings/lib/Controller/ReasonsController.php +++ b/apps/settings/lib/Controller/ReasonsController.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Controller; use OCP\AppFramework\Controller; diff --git a/apps/settings/lib/Controller/TwoFactorSettingsController.php b/apps/settings/lib/Controller/TwoFactorSettingsController.php index 36b554c818137d4671dee0586748c043eaa5033b..45722767cda953216f690fafacdeb2546a57e832 100644 --- a/apps/settings/lib/Controller/TwoFactorSettingsController.php +++ b/apps/settings/lib/Controller/TwoFactorSettingsController.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Controller; use OC\Authentication\TwoFactorAuth\EnforcementState; diff --git a/apps/settings/lib/Controller/UsersController.php b/apps/settings/lib/Controller/UsersController.php index 3f8f05d422379e00b6b7be5798a4bf81497475f8..7e323baf300c63b0bb21a799eaad3efd65a544c4 100644 --- a/apps/settings/lib/Controller/UsersController.php +++ b/apps/settings/lib/Controller/UsersController.php @@ -8,13 +8,14 @@ declare(strict_types=1); * @author Arthur Schiwon * @author Bjoern Schiessle * @author Christoph Wurst + * @author Daniel Calviño Sánchez * @author Daniel Kesselberg * @author GretaD * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke - * @author Robin Appelman * @author Roeland Jago Douma + * @author Vincent Petry * * @license AGPL-3.0 * @@ -31,7 +32,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - // FIXME: disabled for now to be able to inject IGroupManager and also use // getSubAdmin() diff --git a/apps/settings/lib/Controller/WebAuthnController.php b/apps/settings/lib/Controller/WebAuthnController.php index 32bb4ee91f5cfcd82c0ab3031bfa26c60965c93c..2692882301dc9bff96758231aa670224f0057d23 100644 --- a/apps/settings/lib/Controller/WebAuthnController.php +++ b/apps/settings/lib/Controller/WebAuthnController.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Controller; use OC\Authentication\WebAuthn\Manager; diff --git a/apps/settings/lib/Events/BeforeTemplateRenderedEvent.php b/apps/settings/lib/Events/BeforeTemplateRenderedEvent.php index 458a392a8cf8ae17a3dbcda7f629543d5e7160a7..7d283cca1abbc30ca3d7fabdc16483ff5857b1cd 100644 --- a/apps/settings/lib/Events/BeforeTemplateRenderedEvent.php +++ b/apps/settings/lib/Events/BeforeTemplateRenderedEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Events; use OCP\EventDispatcher\Event; diff --git a/apps/settings/lib/Hooks.php b/apps/settings/lib/Hooks.php index c8fa5609914a1487337fa8c4776b7e77d0955341..4f005272b93a69c231790b9591942e1c612b961f 100644 --- a/apps/settings/lib/Hooks.php +++ b/apps/settings/lib/Hooks.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings; use OCA\Settings\Activity\Provider; diff --git a/apps/settings/lib/Listener/AppPasswordCreatedActivityListener.php b/apps/settings/lib/Listener/AppPasswordCreatedActivityListener.php index 83aa67642a7dbf40636c863d5156d9ba1a12ad4b..3eec74f460404843294d21331a046b77f97ae2d9 100644 --- a/apps/settings/lib/Listener/AppPasswordCreatedActivityListener.php +++ b/apps/settings/lib/Listener/AppPasswordCreatedActivityListener.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\Settings\Listener; use BadMethodCallException; diff --git a/apps/settings/lib/Listener/UserAddedToGroupActivityListener.php b/apps/settings/lib/Listener/UserAddedToGroupActivityListener.php index 181b65986a617abef6f82ebfb6cb9786b4f10c41..a09ba38396cbef6f22d5266013a046e3f0f81b0f 100644 --- a/apps/settings/lib/Listener/UserAddedToGroupActivityListener.php +++ b/apps/settings/lib/Listener/UserAddedToGroupActivityListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Listener; use OC\Group\Manager; diff --git a/apps/settings/lib/Listener/UserRemovedFromGroupActivityListener.php b/apps/settings/lib/Listener/UserRemovedFromGroupActivityListener.php index b6e1fbc5188bf0e1f0f4c1952ec5ced28663e547..5f3139cbbba47157d4998f7335271accf7a0d9cd 100644 --- a/apps/settings/lib/Listener/UserRemovedFromGroupActivityListener.php +++ b/apps/settings/lib/Listener/UserRemovedFromGroupActivityListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Listener; use OC\Group\Manager; diff --git a/apps/settings/lib/Mailer/NewUserMailHelper.php b/apps/settings/lib/Mailer/NewUserMailHelper.php index abee7b2e045a354613ebbd8dd4f8a963e764d9be..4b89a000c5527493bebc2dd0fe574cde9ab26771 100644 --- a/apps/settings/lib/Mailer/NewUserMailHelper.php +++ b/apps/settings/lib/Mailer/NewUserMailHelper.php @@ -20,14 +20,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Mailer; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/settings/lib/Middleware/SubadminMiddleware.php b/apps/settings/lib/Middleware/SubadminMiddleware.php index 71d47c719471aa929eab979b05837bb504724f33..d0701dcb6201d825406953abcbd71d9b7470ea5f 100644 --- a/apps/settings/lib/Middleware/SubadminMiddleware.php +++ b/apps/settings/lib/Middleware/SubadminMiddleware.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Middleware; use OC\AppFramework\Http; diff --git a/apps/settings/lib/Search/AppSearch.php b/apps/settings/lib/Search/AppSearch.php index 5221fc3d1fdbc77c0d4230dc38ce3037cef2a4de..fa3d884e80d837ae36801af95d14b78fd2b683c4 100644 --- a/apps/settings/lib/Search/AppSearch.php +++ b/apps/settings/lib/Search/AppSearch.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Search; use OCP\IL10N; diff --git a/apps/settings/lib/Search/SectionSearch.php b/apps/settings/lib/Search/SectionSearch.php index b9a3c491d125a44a6ea13faa5e9c29529a68d368..c1968d7deaf86560f3c07643581ba78c6008c8e7 100644 --- a/apps/settings/lib/Search/SectionSearch.php +++ b/apps/settings/lib/Search/SectionSearch.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2020 Joas Schilling * * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * * @license GNU AGPL version 3 or any later version @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Search; use OCP\IGroupManager; diff --git a/apps/settings/lib/Sections/Admin/Additional.php b/apps/settings/lib/Sections/Admin/Additional.php index 9f0bed8261a141961c57757f0d26fea5088d135e..d98312fa35d28f32637525c4a808d113bc3b0b41 100644 --- a/apps/settings/lib/Sections/Admin/Additional.php +++ b/apps/settings/lib/Sections/Admin/Additional.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Sections\Admin; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Admin/Groupware.php b/apps/settings/lib/Sections/Admin/Groupware.php index 4e027dee3f22bec257702edec9fbaaee726a72ec..5855c156bf2da0906fbaccd17a94efd5416f5365 100644 --- a/apps/settings/lib/Sections/Admin/Groupware.php +++ b/apps/settings/lib/Sections/Admin/Groupware.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Sections\Admin; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Admin/Overview.php b/apps/settings/lib/Sections/Admin/Overview.php index 7d4acfff884577570e1cea6405d441723c13d82e..e6a6e4b4033b8366396a4342ab7d4414e5b64755 100644 --- a/apps/settings/lib/Sections/Admin/Overview.php +++ b/apps/settings/lib/Sections/Admin/Overview.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Sections\Admin; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Admin/Security.php b/apps/settings/lib/Sections/Admin/Security.php index b430d07d0959d6ca06823201030c4064dc788bbf..10ddc2658f2feae5d056438b03c7a3641dd25b26 100644 --- a/apps/settings/lib/Sections/Admin/Security.php +++ b/apps/settings/lib/Sections/Admin/Security.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Sections\Admin; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Admin/Server.php b/apps/settings/lib/Sections/Admin/Server.php index 8a3d2ce67b61da6f41c65eb8b0d9c04f5e330d9e..1a573dfbf06bb57788350cd8cae4b43f540e980a 100644 --- a/apps/settings/lib/Sections/Admin/Server.php +++ b/apps/settings/lib/Sections/Admin/Server.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Sections\Admin; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Admin/Sharing.php b/apps/settings/lib/Sections/Admin/Sharing.php index ad086c5ace870a59b81a7a6de1dc173116109b9c..d4ee762aba1f0af09e373ada42d7f944f3d4b686 100644 --- a/apps/settings/lib/Sections/Admin/Sharing.php +++ b/apps/settings/lib/Sections/Admin/Sharing.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Sections\Admin; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Personal/PersonalInfo.php b/apps/settings/lib/Sections/Personal/PersonalInfo.php index bc0ceb1f9651d4e73473cf1502b0ad5a29fd0d03..e92262e91b35edf970ad7db35b59bdfaaa52a32e 100644 --- a/apps/settings/lib/Sections/Personal/PersonalInfo.php +++ b/apps/settings/lib/Sections/Personal/PersonalInfo.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Sections\Personal; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Personal/Security.php b/apps/settings/lib/Sections/Personal/Security.php index 0cb47afb580119c35a1564bc6f9c9d0d6156c369..72c9976526615a185ff9ebdc94b80a00fab73bcc 100644 --- a/apps/settings/lib/Sections/Personal/Security.php +++ b/apps/settings/lib/Sections/Personal/Security.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Sections\Personal; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Personal/SyncClients.php b/apps/settings/lib/Sections/Personal/SyncClients.php index d99c007b3f0ab8c48deaf1d4728bde5e7c20c219..4730f5e1eadd32081ddce1398dda3614e56fbab3 100644 --- a/apps/settings/lib/Sections/Personal/SyncClients.php +++ b/apps/settings/lib/Sections/Personal/SyncClients.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Sections\Personal; use OCP\IL10N; diff --git a/apps/settings/lib/Settings/Admin/Mail.php b/apps/settings/lib/Settings/Admin/Mail.php index 75d3f4505c1d59a2516386c08c460352b765dbe2..3a1d8ecce5e0ed6924cae8e60c88f91855b8c73d 100644 --- a/apps/settings/lib/Settings/Admin/Mail.php +++ b/apps/settings/lib/Settings/Admin/Mail.php @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Settings\Admin; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/settings/lib/Settings/Admin/Overview.php b/apps/settings/lib/Settings/Admin/Overview.php index ed6a6551f297b05982fa5247ee699740a90ab094..0aefbb3456f43e77ff26c4b29d7471384bb79c7d 100644 --- a/apps/settings/lib/Settings/Admin/Overview.php +++ b/apps/settings/lib/Settings/Admin/Overview.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Settings\Admin; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/settings/lib/Settings/Admin/Security.php b/apps/settings/lib/Settings/Admin/Security.php index b7f460f1bcae33a1a16d1820fee264eb3d8b7be4..2580c0a3d00a137b06737b1735c8689eafb6a109 100644 --- a/apps/settings/lib/Settings/Admin/Security.php +++ b/apps/settings/lib/Settings/Admin/Security.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Settings\Admin; use OC\Authentication\TwoFactorAuth\MandatoryTwoFactor; diff --git a/apps/settings/lib/Settings/Admin/Server.php b/apps/settings/lib/Settings/Admin/Server.php index 8fb1961719e313ff60112224584ca1060c6f6b7f..00164e14dddce3f11a22c8ffd57b624254a6f625 100644 --- a/apps/settings/lib/Settings/Admin/Server.php +++ b/apps/settings/lib/Settings/Admin/Server.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Settings\Admin; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/settings/lib/Settings/Admin/Sharing.php b/apps/settings/lib/Settings/Admin/Sharing.php index 8d759b4ae85cfe25dd40dbed28e1ca5e50098a76..85d3e4d8d40a6cb587ed91e7f953c918511251c2 100644 --- a/apps/settings/lib/Settings/Admin/Sharing.php +++ b/apps/settings/lib/Settings/Admin/Sharing.php @@ -5,10 +5,13 @@ * @author Arthur Schiwon * @author Bjoern Schiessle * @author Christoph Wurst + * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma * @author Sascha Wiswedel + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -19,14 +22,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Settings\Admin; use OC\Share\Share; diff --git a/apps/settings/lib/Settings/Personal/Additional.php b/apps/settings/lib/Settings/Personal/Additional.php index a3203431cd8bd2730786f1df4e92b8aa4245d287..e1696e2424ec1073547912143addb5f0f6e4f4a9 100644 --- a/apps/settings/lib/Settings/Personal/Additional.php +++ b/apps/settings/lib/Settings/Personal/Additional.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Settings\Personal; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/settings/lib/Settings/Personal/PersonalInfo.php b/apps/settings/lib/Settings/Personal/PersonalInfo.php index dbe68b907f2544a548ff0bfd9b2e6cf93359ebf8..94ff867dabac47981da92e69db0d5a516541ea88 100644 --- a/apps/settings/lib/Settings/Personal/PersonalInfo.php +++ b/apps/settings/lib/Settings/Personal/PersonalInfo.php @@ -9,7 +9,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma @@ -25,14 +25,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Settings\Personal; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/settings/lib/Settings/Personal/Security/Authtokens.php b/apps/settings/lib/Settings/Personal/Security/Authtokens.php index a0758933525eb54849ef626999e246f37484f809..4963f40347d2c20681b394b16e1a2592437f27a0 100644 --- a/apps/settings/lib/Settings/Personal/Security/Authtokens.php +++ b/apps/settings/lib/Settings/Personal/Security/Authtokens.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Settings\Personal\Security; use OCP\AppFramework\Services\IInitialState; diff --git a/apps/settings/lib/Settings/Personal/Security/Password.php b/apps/settings/lib/Settings/Personal/Security/Password.php index a3a5ae35cea9af506a67dd50833b24067f8bd38a..252311b87ab67661298c618c0eba4201ea094b81 100644 --- a/apps/settings/lib/Settings/Personal/Security/Password.php +++ b/apps/settings/lib/Settings/Personal/Security/Password.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Settings\Personal\Security; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/settings/lib/Settings/Personal/Security/TwoFactor.php b/apps/settings/lib/Settings/Personal/Security/TwoFactor.php index 61f249a3181769002e61cfeea0602f556f7c96a4..726fc99943a70dd1934cd17971c8cfabe0ab3634 100644 --- a/apps/settings/lib/Settings/Personal/Security/TwoFactor.php +++ b/apps/settings/lib/Settings/Personal/Security/TwoFactor.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019, Roeland Jago Douma * + * @author Christoph Wurst * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Settings\Personal\Security; use Exception; diff --git a/apps/settings/lib/Settings/Personal/Security/WebAuthn.php b/apps/settings/lib/Settings/Personal/Security/WebAuthn.php index e3d087a4e06d811ae3455e9d124b8fccb2c20749..38241c9a41c238dbcbd9d7f27472914ee14392ad 100644 --- a/apps/settings/lib/Settings/Personal/Security/WebAuthn.php +++ b/apps/settings/lib/Settings/Personal/Security/WebAuthn.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Settings\Personal\Security; use OC\Authentication\WebAuthn\Db\PublicKeyCredentialMapper; diff --git a/apps/settings/lib/Settings/Personal/ServerDevNotice.php b/apps/settings/lib/Settings/Personal/ServerDevNotice.php index 03cea34713c715acc50380f4476faa96f0a62bd8..3cb9a3a972fb2f65445728afb84059c8df51eaf4 100644 --- a/apps/settings/lib/Settings/Personal/ServerDevNotice.php +++ b/apps/settings/lib/Settings/Personal/ServerDevNotice.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Settings\Personal; use OCA\Viewer\Event\LoadViewer; diff --git a/apps/settings/lib/SetupChecks/CheckUserCertificates.php b/apps/settings/lib/SetupChecks/CheckUserCertificates.php index cbe6c91996a73e377da1c33318fb3961e695d212..eff5b4d7515643abd7029b6a6783adece97c9b80 100644 --- a/apps/settings/lib/SetupChecks/CheckUserCertificates.php +++ b/apps/settings/lib/SetupChecks/CheckUserCertificates.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\SetupChecks; use OCP\IConfig; diff --git a/apps/settings/lib/SetupChecks/LegacySSEKeyFormat.php b/apps/settings/lib/SetupChecks/LegacySSEKeyFormat.php index 626707c95d8face0f8640493f43e63a090f77fe7..4814d3fba7c01b5a672c74338fd31985353b5e4b 100644 --- a/apps/settings/lib/SetupChecks/LegacySSEKeyFormat.php +++ b/apps/settings/lib/SetupChecks/LegacySSEKeyFormat.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\SetupChecks; use OCP\IConfig; diff --git a/apps/settings/lib/SetupChecks/PhpDefaultCharset.php b/apps/settings/lib/SetupChecks/PhpDefaultCharset.php index ccddf8e1c3222b17a77f6c30c3cba410ce5ce08b..0ad5e2f56ea436bd4fc59bf15125a1a16fe17eb9 100644 --- a/apps/settings/lib/SetupChecks/PhpDefaultCharset.php +++ b/apps/settings/lib/SetupChecks/PhpDefaultCharset.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\SetupChecks; class PhpDefaultCharset { diff --git a/apps/settings/lib/SetupChecks/PhpOutputBuffering.php b/apps/settings/lib/SetupChecks/PhpOutputBuffering.php index 71210e5cbbf708236b150925fb29a78a3ade65a2..3bf526953018dbf4eb79dc1bccd88f1ab36234af 100644 --- a/apps/settings/lib/SetupChecks/PhpOutputBuffering.php +++ b/apps/settings/lib/SetupChecks/PhpOutputBuffering.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\SetupChecks; class PhpOutputBuffering { diff --git a/apps/settings/lib/SetupChecks/SupportedDatabase.php b/apps/settings/lib/SetupChecks/SupportedDatabase.php index ba43fb84550a2dc1b393fbc3e5da62e86e887d82..1684567609b7e3f50c8d61e7ca9e1fe6b74c74b3 100644 --- a/apps/settings/lib/SetupChecks/SupportedDatabase.php +++ b/apps/settings/lib/SetupChecks/SupportedDatabase.php @@ -5,7 +5,9 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2021 Morris Jobke * + * @author Claas Augner * @author Morris Jobke + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -16,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\SetupChecks; use Doctrine\DBAL\Platforms\MariaDb1027Platform; diff --git a/apps/settings/tests/Activity/SecurityFilterTest.php b/apps/settings/tests/Activity/SecurityFilterTest.php index 4f9d9a87ef1bd0921e662ee75d1431d217cbfb4f..6903cf5f3c29bc6e6a154bb1df5f408aa2b83698 100644 --- a/apps/settings/tests/Activity/SecurityFilterTest.php +++ b/apps/settings/tests/Activity/SecurityFilterTest.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Roeland Jago Douma @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests; use OCA\Settings\Activity\SecurityFilter; diff --git a/apps/settings/tests/Activity/SecurityProviderTest.php b/apps/settings/tests/Activity/SecurityProviderTest.php index 174f6049b345e1604f026c3c85ee1499427c7009..4499e470c2ba3c6084b5c8fb6417ab2a5aab0d2d 100644 --- a/apps/settings/tests/Activity/SecurityProviderTest.php +++ b/apps/settings/tests/Activity/SecurityProviderTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests; use InvalidArgumentException; diff --git a/apps/settings/tests/Activity/SecuritySettingTest.php b/apps/settings/tests/Activity/SecuritySettingTest.php index e66d3e0dc10c44b5b7297bf74541be018bfbcf81..840f228b0c1565289a645edba8b182c3e9370ccf 100644 --- a/apps/settings/tests/Activity/SecuritySettingTest.php +++ b/apps/settings/tests/Activity/SecuritySettingTest.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests; use OCA\Settings\Activity\SecuritySetting; diff --git a/apps/settings/tests/AppInfo/ApplicationTest.php b/apps/settings/tests/AppInfo/ApplicationTest.php index 66994872a3ddd2187c9dcabd172b984bd9850146..c9b44bda9879355bed52381873f9a75f5f28c3c6 100644 --- a/apps/settings/tests/AppInfo/ApplicationTest.php +++ b/apps/settings/tests/AppInfo/ApplicationTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests\AppInfo; use OCA\Settings\AppInfo\Application; diff --git a/apps/settings/tests/Controller/AdminSettingsControllerTest.php b/apps/settings/tests/Controller/AdminSettingsControllerTest.php index e59e353c5a52be3b76dcf424cb8e574b86f1dd79..dd4cee956d495b183f23f6af4fa76759616a20e4 100644 --- a/apps/settings/tests/Controller/AdminSettingsControllerTest.php +++ b/apps/settings/tests/Controller/AdminSettingsControllerTest.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests\Controller; use OCA\Settings\Controller\AdminSettingsController; diff --git a/apps/settings/tests/Controller/AppSettingsControllerTest.php b/apps/settings/tests/Controller/AppSettingsControllerTest.php index b03a01ebb0abe650b619d2ff84f594ee42c9dbd8..e273375d76d499fe4c781ca99a3d0d6a73a97c5f 100644 --- a/apps/settings/tests/Controller/AppSettingsControllerTest.php +++ b/apps/settings/tests/Controller/AppSettingsControllerTest.php @@ -5,7 +5,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Tests\Controller; use OC\App\AppStore\Bundles\BundleFetcher; diff --git a/apps/settings/tests/Controller/AuthSettingsControllerTest.php b/apps/settings/tests/Controller/AuthSettingsControllerTest.php index 252fe94cf8317e7cca841918a9ffd3d96e228c3c..477d0fcc8f59b3bb399bb9df8815fe44d24621da 100644 --- a/apps/settings/tests/Controller/AuthSettingsControllerTest.php +++ b/apps/settings/tests/Controller/AuthSettingsControllerTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace Test\Settings\Controller; use OC\AppFramework\Http; diff --git a/apps/settings/tests/Controller/CheckSetupControllerTest.php b/apps/settings/tests/Controller/CheckSetupControllerTest.php index 73db93e3960b6b8cd5f6ef4fc72c0ff07c538782..5cfab1ccf2d840ba8725bad4941a55c43f0f1d04 100644 --- a/apps/settings/tests/Controller/CheckSetupControllerTest.php +++ b/apps/settings/tests/Controller/CheckSetupControllerTest.php @@ -6,6 +6,7 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling + * @author John Molakvoæ * @author Lukas Reschke * @author Michael Weimann * @author Morris Jobke @@ -31,7 +32,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Tests\Controller; use bantu\IniGetWrapper\IniGetWrapper; diff --git a/apps/settings/tests/Controller/MailSettingsControllerTest.php b/apps/settings/tests/Controller/MailSettingsControllerTest.php index 912db85d5d94364247981d2ad2821dae5c38cf73..93fffadcfe15eb12014008045c4e9dbd0fc39086 100644 --- a/apps/settings/tests/Controller/MailSettingsControllerTest.php +++ b/apps/settings/tests/Controller/MailSettingsControllerTest.php @@ -19,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests\Controller; use OC\Mail\Message; diff --git a/apps/settings/tests/Controller/TwoFactorSettingsControllerTest.php b/apps/settings/tests/Controller/TwoFactorSettingsControllerTest.php index 1d7c7db89249d883f8c6865a44fbf7713e8fa137..a19db6a3380e9adbc1f38382d1091ec1b154016f 100644 --- a/apps/settings/tests/Controller/TwoFactorSettingsControllerTest.php +++ b/apps/settings/tests/Controller/TwoFactorSettingsControllerTest.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests\Controller; use OC\Authentication\TwoFactorAuth\EnforcementState; diff --git a/apps/settings/tests/Controller/UsersControllerTest.php b/apps/settings/tests/Controller/UsersControllerTest.php index a163ef5b7eec2c1a7f7b9d6edb3e78ec73b657ad..7faca378cdf72f81fb37cb3ba429a0cbde40e852 100644 --- a/apps/settings/tests/Controller/UsersControllerTest.php +++ b/apps/settings/tests/Controller/UsersControllerTest.php @@ -5,10 +5,12 @@ * @author Arthur Schiwon * @author Bjoern Schiessle * @author Christoph Wurst + * @author Daniel Calviño Sánchez * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -19,14 +21,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests\Controller; use OC\Accounts\AccountManager; diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php index 112aed997cecbd1fdcaeb6b12ee9ec8f45c2b5b6..e4c5cb209731a7beb015e3ac355bd17085689e19 100644 --- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php +++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php @@ -24,14 +24,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests\Mailer; use OC\Mail\EMailTemplate; diff --git a/apps/settings/tests/Middleware/SubadminMiddlewareTest.php b/apps/settings/tests/Middleware/SubadminMiddlewareTest.php index 12d5cee714af4545f68117bcc5bf042ad51f2303..d943e8ad7527bd02a8425a0d71ed67bea06b290d 100644 --- a/apps/settings/tests/Middleware/SubadminMiddlewareTest.php +++ b/apps/settings/tests/Middleware/SubadminMiddlewareTest.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests\Middleware; use OC\AppFramework\Middleware\Security\Exceptions\NotAdminException; diff --git a/apps/settings/tests/Settings/Admin/MailTest.php b/apps/settings/tests/Settings/Admin/MailTest.php index 60a8f39cfa873f9a5e98c6ce706110a7e7d6bb61..b346089e3d496f1d8d500dcc0c6601df65f8dd89 100644 --- a/apps/settings/tests/Settings/Admin/MailTest.php +++ b/apps/settings/tests/Settings/Admin/MailTest.php @@ -19,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests\Settings\Admin; use OCA\Settings\Settings\Admin\Mail; diff --git a/apps/settings/tests/Settings/Admin/SecurityTest.php b/apps/settings/tests/Settings/Admin/SecurityTest.php index ac73fc4a318b78f019097c41a8887ba45b5ed4f8..da4ce62d9cdc1c66213a40fbfb82164a557c9a39 100644 --- a/apps/settings/tests/Settings/Admin/SecurityTest.php +++ b/apps/settings/tests/Settings/Admin/SecurityTest.php @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests\Settings\Admin; use OC\Authentication\TwoFactorAuth\MandatoryTwoFactor; diff --git a/apps/settings/tests/Settings/Admin/ServerTest.php b/apps/settings/tests/Settings/Admin/ServerTest.php index f37cb01a40d355ad5b1068b0b417fd485947e813..c1448c9e987563239b3b0b5dd2ff426c7b5d46df 100644 --- a/apps/settings/tests/Settings/Admin/ServerTest.php +++ b/apps/settings/tests/Settings/Admin/ServerTest.php @@ -22,14 +22,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests\Settings\Admin; use OCA\Settings\Settings\Admin\Server; diff --git a/apps/settings/tests/Settings/Admin/SharingTest.php b/apps/settings/tests/Settings/Admin/SharingTest.php index 2703eddcd5ce6a08ed95ca0bf570a0e202c9533a..ff25c7174986bdb8b38eeaaf7f8c25cfe223965b 100644 --- a/apps/settings/tests/Settings/Admin/SharingTest.php +++ b/apps/settings/tests/Settings/Admin/SharingTest.php @@ -6,10 +6,12 @@ * @author Bjoern Schiessle * @author Christoph Wurst * @author Daniel Kesselberg - * @author Julius Härtl + * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -20,14 +22,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests\Settings\Admin; use OCA\Settings\Settings\Admin\Sharing; diff --git a/apps/settings/tests/Settings/Personal/Security/AuthtokensTest.php b/apps/settings/tests/Settings/Personal/Security/AuthtokensTest.php index f3d92051e46e08f9c879ef87bbdba4fd7037f6c6..3ee39c3624c8a5b7a93af7e618f00261900c6b23 100644 --- a/apps/settings/tests/Settings/Personal/Security/AuthtokensTest.php +++ b/apps/settings/tests/Settings/Personal/Security/AuthtokensTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests\Settings\Personal\Security; use OC\Authentication\Token\DefaultToken; diff --git a/apps/settings/tests/Settings/Personal/Security/PasswordTest.php b/apps/settings/tests/Settings/Personal/Security/PasswordTest.php index db766747fe703e7be8ddd039c1f06562926dea83..2db1effd660692516554f357781cd8ad290790ed 100644 --- a/apps/settings/tests/Settings/Personal/Security/PasswordTest.php +++ b/apps/settings/tests/Settings/Personal/Security/PasswordTest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests\Settings\Personal\Security; use OCA\Settings\Settings\Personal\Security\Password; diff --git a/apps/settings/tests/SetupChecks/PhpDefaultCharsetTest.php b/apps/settings/tests/SetupChecks/PhpDefaultCharsetTest.php index 75756d5246aba702875e8c4cb3b37ef48682620f..eac671a0e13bb52159ad84b40a5a284a1849bf17 100644 --- a/apps/settings/tests/SetupChecks/PhpDefaultCharsetTest.php +++ b/apps/settings/tests/SetupChecks/PhpDefaultCharsetTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests; use OCA\Settings\SetupChecks\PhpDefaultCharset; diff --git a/apps/settings/tests/SetupChecks/PhpOutputBufferingTest.php b/apps/settings/tests/SetupChecks/PhpOutputBufferingTest.php index 9b3de6e0c32782351202015e849b87d923ecf75d..9e0301dcc125dd892471d2585a9ad03273e36b63 100644 --- a/apps/settings/tests/SetupChecks/PhpOutputBufferingTest.php +++ b/apps/settings/tests/SetupChecks/PhpOutputBufferingTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests; use OCA\Settings\SetupChecks\PhpOutputBuffering; diff --git a/apps/settings/tests/SetupChecks/SupportedDatabaseTest.php b/apps/settings/tests/SetupChecks/SupportedDatabaseTest.php index de709572261e9fa14fcb0583f179e21fc56f3bff..35c27769e783207ba7d4e3d9ad16333873e106dd 100644 --- a/apps/settings/tests/SetupChecks/SupportedDatabaseTest.php +++ b/apps/settings/tests/SetupChecks/SupportedDatabaseTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Settings\Tests; use OCA\Settings\SetupChecks\SupportedDatabase; diff --git a/apps/sharebymail/lib/Activity.php b/apps/sharebymail/lib/Activity.php index 23f036c470003eeb43aed26f3804e6e75e372143..ff012654834d42b020d1d26bbf7db8a4bcf322a1 100644 --- a/apps/sharebymail/lib/Activity.php +++ b/apps/sharebymail/lib/Activity.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\ShareByMail; use OCP\Activity\IEvent; diff --git a/apps/sharebymail/lib/AppInfo/Application.php b/apps/sharebymail/lib/AppInfo/Application.php index 42e9f8e6a6d927ef6fd69548d5e48416d30d39a7..a279d911a80605bafbd4ab7d66454974fec378fb 100644 --- a/apps/sharebymail/lib/AppInfo/Application.php +++ b/apps/sharebymail/lib/AppInfo/Application.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\ShareByMail\AppInfo; use OCA\ShareByMail\Capabilities; diff --git a/apps/sharebymail/lib/Capabilities.php b/apps/sharebymail/lib/Capabilities.php index c862e4c7017cd090f7c7eef55b7952467d2b71b5..eda8df9db5ed2f42712420250b75d70fddb320e4 100644 --- a/apps/sharebymail/lib/Capabilities.php +++ b/apps/sharebymail/lib/Capabilities.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2017 Bjoern Schiessle * * @author Bjoern Schiessle + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\ShareByMail; use OCP\Capabilities\ICapability; diff --git a/apps/sharebymail/lib/Settings/Admin.php b/apps/sharebymail/lib/Settings/Admin.php index 95dce03e51e8e25dd3a984023318e9446509543b..98ed251da9ac183106141d5e4b4c9b19ab62d42f 100644 --- a/apps/sharebymail/lib/Settings/Admin.php +++ b/apps/sharebymail/lib/Settings/Admin.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2017 Bjoern Schiessle * * @author Bjoern Schiessle + * @author Nicolas SIMIDE <2083596+dems54@users.noreply.github.com> * * @license GNU AGPL version 3 or any later version * @@ -13,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\ShareByMail\Settings; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/sharebymail/lib/Settings/SettingsManager.php b/apps/sharebymail/lib/Settings/SettingsManager.php index 8d9e7e925147a2fee581d1ea9c2abb29d5128654..0a22e7400f31da5a062276f5a159b602aa9bc90e 100644 --- a/apps/sharebymail/lib/Settings/SettingsManager.php +++ b/apps/sharebymail/lib/Settings/SettingsManager.php @@ -6,6 +6,9 @@ declare(strict_types=1); * @copyright Copyright (c) 2017 Bjoern Schiessle * * @author Bjoern Schiessle + * @author dems54 <2083596+dems54@users.noreply.github.com> + * @author Nicolas SIMIDE <2083596+dems54@users.noreply.github.com> + * @author noiob <8197071+noiob@users.noreply.github.com> * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\ShareByMail\Settings; use OCP\IConfig; diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php index 9d120281c57d8fbbce2eb9dbd076d7db453d0052..b5226850fa45d29ba36e09619b36eb0fad2e6de3 100644 --- a/apps/sharebymail/lib/ShareByMailProvider.php +++ b/apps/sharebymail/lib/ShareByMailProvider.php @@ -11,12 +11,16 @@ * @author exner104 <59639860+exner104@users.noreply.github.com> * @author Frederic Werner * @author Joas Schilling + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke + * @author Nicolas SIMIDE <2083596+dems54@users.noreply.github.com> * @author Robin Appelman + * @author robottod <83244577+robottod@users.noreply.github.com> * @author Roeland Jago Douma * @author rubo77 * @author Stephan Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license GNU AGPL version 3 or any later version * @@ -27,14 +31,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\ShareByMail; use OC\HintException; diff --git a/apps/sharebymail/tests/CapabilitiesTest.php b/apps/sharebymail/tests/CapabilitiesTest.php index c198648f29a896027571f656cab39e3efe9a0568..35b6bb6a9194c383d36db2013b3c5fdf12e96b93 100644 --- a/apps/sharebymail/tests/CapabilitiesTest.php +++ b/apps/sharebymail/tests/CapabilitiesTest.php @@ -1,8 +1,9 @@ * * @author Christoph Wurst + * @author John Molakvoæ * @author MasterOfDeath * @author Roeland Jago Douma * @@ -15,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\ShareByMail\Tests; use OCA\ShareByMail\Capabilities; diff --git a/apps/sharebymail/tests/ShareByMailProviderTest.php b/apps/sharebymail/tests/ShareByMailProviderTest.php index 065246dbc65daad3da7d22649b7396698fda21c6..9c3b6525736f33bea07b4367068deb3d20a5d51c 100644 --- a/apps/sharebymail/tests/ShareByMailProviderTest.php +++ b/apps/sharebymail/tests/ShareByMailProviderTest.php @@ -7,8 +7,10 @@ * @author Daniel Calviño Sánchez * @author Daniel Kesselberg * @author Joas Schilling + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke + * @author Nicolas SIMIDE <2083596+dems54@users.noreply.github.com> * @author Roeland Jago Douma * @author Stephan Müller * @@ -21,14 +23,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\ShareByMail\Tests; use OC\Mail\Message; diff --git a/apps/systemtags/appinfo/routes.php b/apps/systemtags/appinfo/routes.php index dd4203ceab73754b0c771b4c96c6d0d1918e0b1f..ef92fd9149712dc63a1ab5e2c25100ef8ab64554 100644 --- a/apps/systemtags/appinfo/routes.php +++ b/apps/systemtags/appinfo/routes.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - return [ 'routes' => [ ['name' => 'LastUsed#getLastUsedTagIds', 'url' => '/lastused', 'verb' => 'GET'], diff --git a/apps/systemtags/lib/Activity/Listener.php b/apps/systemtags/lib/Activity/Listener.php index e5354c4a773f4c25e5a2e86d4762ed42fecea45b..3b3d3b496625c373bdb8cb705d64e37199ed2afe 100644 --- a/apps/systemtags/lib/Activity/Listener.php +++ b/apps/systemtags/lib/Activity/Listener.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\SystemTags\Activity; use OCP\Activity\IManager; diff --git a/apps/systemtags/lib/Activity/Provider.php b/apps/systemtags/lib/Activity/Provider.php index a9248a91efdcad862b87cea910acfc6796793bc3..fe1df169d407f06e2274372c86f51cd707c6ac53 100644 --- a/apps/systemtags/lib/Activity/Provider.php +++ b/apps/systemtags/lib/Activity/Provider.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\SystemTags\Activity; use OCP\Activity\IEvent; diff --git a/apps/systemtags/lib/Activity/Setting.php b/apps/systemtags/lib/Activity/Setting.php index 65e35a004caa55b8b5017c39241faefb88a7a075..0ef6b264c305ca3ddddfabd6c475111a2c6a676a 100644 --- a/apps/systemtags/lib/Activity/Setting.php +++ b/apps/systemtags/lib/Activity/Setting.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\SystemTags\Activity; use OCP\Activity\ISetting; diff --git a/apps/systemtags/lib/AppInfo/Application.php b/apps/systemtags/lib/AppInfo/Application.php index 15f2a6e698958e68446f35b470c91ee3aeb01af0..b6261298f86a96e5eed69540c6e423e81ff9ce6b 100644 --- a/apps/systemtags/lib/AppInfo/Application.php +++ b/apps/systemtags/lib/AppInfo/Application.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\SystemTags\AppInfo; use OCA\SystemTags\Activity\Listener; diff --git a/apps/systemtags/lib/Controller/LastUsedController.php b/apps/systemtags/lib/Controller/LastUsedController.php index 599aa9e384b9d9bd15314dcb4089eab7bf437422..d6016c721363b78a9b0dbbbf1edd1b46ed29f507 100644 --- a/apps/systemtags/lib/Controller/LastUsedController.php +++ b/apps/systemtags/lib/Controller/LastUsedController.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\SystemTags\Controller; use OCP\AppFramework\Controller; diff --git a/apps/systemtags/lib/Settings/Admin.php b/apps/systemtags/lib/Settings/Admin.php index d4eaa74f3cdbbb47533697ae7d69b4d786dc0f3b..5a5cf3d49e210e98ccbf947c84f4dffd0dce09d9 100644 --- a/apps/systemtags/lib/Settings/Admin.php +++ b/apps/systemtags/lib/Settings/Admin.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\SystemTags\Settings; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/systemtags/list.php b/apps/systemtags/list.php index c5ba3eb311650d129c2168a77f45bd11389bc6c7..d7ba2c9eed9ace6c6aff476106c1f1483cdb6fc0 100644 --- a/apps/systemtags/list.php +++ b/apps/systemtags/list.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - // WARNING: this should be moved to proper AppFramework handling // Check if we are a user if (!\OC::$server->getUserSession()->isLoggedIn()) { diff --git a/apps/systemtags/tests/Activity/SettingTest.php b/apps/systemtags/tests/Activity/SettingTest.php index a2b32d20985ce522b27803aa8520498649396f3f..ea4f174f0a617114fc9b654d53e398d39646bbfa 100644 --- a/apps/systemtags/tests/Activity/SettingTest.php +++ b/apps/systemtags/tests/Activity/SettingTest.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Morris Jobke @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\SystemTags\Tests\Activity; use OCA\SystemTags\Activity\Setting; diff --git a/apps/systemtags/tests/Settings/AdminTest.php b/apps/systemtags/tests/Settings/AdminTest.php index 172310072b19fdc6299f62ad8f8feefb4eedee9f..a412366bd6b6a48b3f2cc37d2531da7bebbc874c 100644 --- a/apps/systemtags/tests/Settings/AdminTest.php +++ b/apps/systemtags/tests/Settings/AdminTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\SystemTags\Tests\Settings; use OCA\SystemTags\Settings\Admin; diff --git a/apps/testing/appinfo/routes.php b/apps/testing/appinfo/routes.php index 0ab6b42d55fa9eeef2fd682cbff3668285c25e8e..1ab36a4e82612071bd89cb49973ed659e9323fa6 100644 --- a/apps/testing/appinfo/routes.php +++ b/apps/testing/appinfo/routes.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - return [ 'routes' => [ [ diff --git a/apps/testing/clean_opcode_cache.php b/apps/testing/clean_opcode_cache.php index bada33781cc40725b2ebfa4b7ec093c6a1c5ff35..c43340d1b2c22d9a9425bae94a35ff602f26ce3d 100644 --- a/apps/testing/clean_opcode_cache.php +++ b/apps/testing/clean_opcode_cache.php @@ -13,12 +13,11 @@ * * 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 + * 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 program. If not, see . * */ - opcache_reset(); diff --git a/apps/testing/lib/AlternativeHomeUserBackend.php b/apps/testing/lib/AlternativeHomeUserBackend.php index 313d86b370ee05fd4624616d6befe5f954e57310..b6d39cf6b99227e7b0fa40b999d90d2f840804ae 100644 --- a/apps/testing/lib/AlternativeHomeUserBackend.php +++ b/apps/testing/lib/AlternativeHomeUserBackend.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Testing; /** diff --git a/apps/testing/lib/AppInfo/Application.php b/apps/testing/lib/AppInfo/Application.php index e3c2bcebaf02a3b8fe8f305f2d7093c1cb1bfa29..4bf4b5cb4709035daf716cd919fb9c5aad0eca10 100644 --- a/apps/testing/lib/AppInfo/Application.php +++ b/apps/testing/lib/AppInfo/Application.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Testing\AppInfo; use OCA\Testing\AlternativeHomeUserBackend; diff --git a/apps/testing/lib/Controller/ConfigController.php b/apps/testing/lib/Controller/ConfigController.php index 31d20613a1aed350565bf92a9a749ab14f825c10..76f1e1a1ee1ecf7b8734ef9933640e8995d45f8a 100644 --- a/apps/testing/lib/Controller/ConfigController.php +++ b/apps/testing/lib/Controller/ConfigController.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Testing\Controller; use OCP\AppFramework\Http\DataResponse; diff --git a/apps/testing/lib/Controller/LockingController.php b/apps/testing/lib/Controller/LockingController.php index c1fd3423996fd24799da0950a643c0accdd6b2c8..808c7c2d3ba51f024b3da950f3694a488fe26c98 100644 --- a/apps/testing/lib/Controller/LockingController.php +++ b/apps/testing/lib/Controller/LockingController.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Testing\Controller; use OC\Lock\DBLockingProvider; diff --git a/apps/testing/lib/Controller/RateLimitTestController.php b/apps/testing/lib/Controller/RateLimitTestController.php index 1d7eb5be94c1ec0c1397492e72540f5627d63912..d9a8fde5c0d50abd3ec8a7e84d13fd0a376c3698 100644 --- a/apps/testing/lib/Controller/RateLimitTestController.php +++ b/apps/testing/lib/Controller/RateLimitTestController.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Testing\Controller; use OCP\AppFramework\Controller; diff --git a/apps/testing/lib/Locking/FakeDBLockingProvider.php b/apps/testing/lib/Locking/FakeDBLockingProvider.php index 5fba9a8a40ae94b8b0fb41d322adfe5352f44760..a8a83812749f27dfd4ce23bb6aca26931c141adc 100644 --- a/apps/testing/lib/Locking/FakeDBLockingProvider.php +++ b/apps/testing/lib/Locking/FakeDBLockingProvider.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Testing\Locking; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/theming/appinfo/routes.php b/apps/theming/appinfo/routes.php index 41b3f02bbf8d3c6711067e341972f12135263e39..0628ade8032eaa115192b7890082f4fd14b061c2 100644 --- a/apps/theming/appinfo/routes.php +++ b/apps/theming/appinfo/routes.php @@ -20,14 +20,13 @@ * * 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 + * 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 program. If not, see . * */ - return ['routes' => [ [ 'name' => 'Theming#updateStylesheet', diff --git a/apps/theming/lib/AppInfo/Application.php b/apps/theming/lib/AppInfo/Application.php index 2fc752f73a8411e952b5abc5f2c1b2b572282f4f..0f567b4d0e43bfa12b7f175a1466939cb4a94199 100644 --- a/apps/theming/lib/AppInfo/Application.php +++ b/apps/theming/lib/AppInfo/Application.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\AppInfo; use OCA\Theming\Capabilities; diff --git a/apps/theming/lib/Capabilities.php b/apps/theming/lib/Capabilities.php index 763528016284e8ad0d2209749b0edd7aeba7a310..10828619e6025d0a28a2ca8b819a581351c59368 100644 --- a/apps/theming/lib/Capabilities.php +++ b/apps/theming/lib/Capabilities.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming; use OCP\Capabilities\IPublicCapability; diff --git a/apps/theming/lib/Command/UpdateConfig.php b/apps/theming/lib/Command/UpdateConfig.php index 001bc2d2d76aae3f1e1ad4fef5655c1bf92dc7c3..3d5840fadd95a0537f08118407de08c72acdd93e 100644 --- a/apps/theming/lib/Command/UpdateConfig.php +++ b/apps/theming/lib/Command/UpdateConfig.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Command; use OCA\Theming\ImageManager; diff --git a/apps/theming/lib/Controller/IconController.php b/apps/theming/lib/Controller/IconController.php index 66b6affaae080b690ef47d931885c05e892fd675..b9df2e95622a90c027450b289299dc690ee638c2 100644 --- a/apps/theming/lib/Controller/IconController.php +++ b/apps/theming/lib/Controller/IconController.php @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Controller; use OC\IntegrityCheck\Helpers\FileAccessHelper; diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php index 5e21ae7b2ed6b602c154b11b6b862767b4a91c75..1638f5bd957997cf2b98231e2b724d4583e41bb2 100644 --- a/apps/theming/lib/Controller/ThemingController.php +++ b/apps/theming/lib/Controller/ThemingController.php @@ -28,14 +28,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Controller; use OC\Template\SCSSCacher; diff --git a/apps/theming/lib/IconBuilder.php b/apps/theming/lib/IconBuilder.php index 65b7be430edf41e4c5bd02b8f2b2826fe31930a8..36f69e3e59f2a3971aee62c5dbd683d8645ffaca 100644 --- a/apps/theming/lib/IconBuilder.php +++ b/apps/theming/lib/IconBuilder.php @@ -6,6 +6,7 @@ * @author Jan-Christoph Borchardt * @author Julius Haertl * @author Julius Härtl + * @author Morris Jobke * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming; use Imagick; diff --git a/apps/theming/lib/ImageManager.php b/apps/theming/lib/ImageManager.php index 001ad680bd82460212cd1bec550abd8f9ce6c98c..b5ace6c968e6fdbcd78d283cf54760a28365890e 100644 --- a/apps/theming/lib/ImageManager.php +++ b/apps/theming/lib/ImageManager.php @@ -6,13 +6,14 @@ * @author Daniel Kesselberg * @author Gary Kim * @author Jacob Neplokh - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julien Veyssier * @author Julius Haertl * @author Julius Härtl * @author Michael Weimann * @author Morris Jobke * @author Roeland Jago Douma + * @author ste101 * * @license GNU AGPL version 3 or any later version * @@ -23,14 +24,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming; use OCP\Files\IAppData; diff --git a/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php b/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php index 1d84f4eae83bc5bb12bf68e0a6a96f98c01e2b99..30ebcb89ac836cfa2cfb8195137793e2be712ac0 100644 --- a/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php +++ b/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Listener; use OCA\Theming\AppInfo\Application; diff --git a/apps/theming/lib/Service/JSDataService.php b/apps/theming/lib/Service/JSDataService.php index 32aae2b2cfc05748aee959866958bfaff3585b05..a6e5d6f8e3656702bc499d4f40a1e942d66a89c7 100644 --- a/apps/theming/lib/Service/JSDataService.php +++ b/apps/theming/lib/Service/JSDataService.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Service; use OCA\Theming\AppInfo\Application; diff --git a/apps/theming/lib/Settings/Admin.php b/apps/theming/lib/Settings/Admin.php index 6ad8f8551b87479138ae20a4bcdb05a1dce0561c..421bb196cb90c8100491eeac105b272b526d1e20 100644 --- a/apps/theming/lib/Settings/Admin.php +++ b/apps/theming/lib/Settings/Admin.php @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Settings; use OCA\Theming\ImageManager; diff --git a/apps/theming/lib/Settings/Section.php b/apps/theming/lib/Settings/Section.php index 5cd64d318ca80f036276e1ab27b21e5926c6d9de..fe2cc9243bbfabce345f8e98a7e93bd9d4398f3e 100644 --- a/apps/theming/lib/Settings/Section.php +++ b/apps/theming/lib/Settings/Section.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Settings; use OCP\IL10N; diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php index 35ed32c69a306193b4f643b3c1fa07b19185eee5..6e9298bdbcc1671387bc983f5301195427ead11e 100644 --- a/apps/theming/lib/ThemingDefaults.php +++ b/apps/theming/lib/ThemingDefaults.php @@ -11,7 +11,7 @@ * @author Jan-Christoph Borchardt * @author Joachim Bauch * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julien Veyssier * @author Julius Haertl * @author Julius Härtl @@ -31,14 +31,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming; use OCP\App\AppPathNotFoundException; diff --git a/apps/theming/lib/Util.php b/apps/theming/lib/Util.php index f2842711f6de0bdd5d2b193e7b0e74062d423fcb..70b5a00f9ea2d6e146df459e0b29e409808799be 100644 --- a/apps/theming/lib/Util.php +++ b/apps/theming/lib/Util.php @@ -19,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming; use OCP\App\AppPathNotFoundException; diff --git a/apps/theming/tests/CapabilitiesTest.php b/apps/theming/tests/CapabilitiesTest.php index 1a11421ce1d34693638d5e05614e00a7a6406b5f..41a4a6aa9814cf54834404b2473b36d6ea4047c2 100644 --- a/apps/theming/tests/CapabilitiesTest.php +++ b/apps/theming/tests/CapabilitiesTest.php @@ -19,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Tests; use OCA\Theming\Capabilities; diff --git a/apps/theming/tests/Controller/IconControllerTest.php b/apps/theming/tests/Controller/IconControllerTest.php index a40809855d1da0550a26c4b1a3a404ba86076b22..821291427d9ad35c92fbbf7d5df01f678fbfda3a 100644 --- a/apps/theming/tests/Controller/IconControllerTest.php +++ b/apps/theming/tests/Controller/IconControllerTest.php @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Tests\Controller; use OC\Files\SimpleFS\SimpleFile; diff --git a/apps/theming/tests/Controller/ThemingControllerTest.php b/apps/theming/tests/Controller/ThemingControllerTest.php index c5ecc08b211067af03941d1f510ad83385edbc7b..d07444f7c77c119fe5e03ef837de8c9932383f9a 100644 --- a/apps/theming/tests/Controller/ThemingControllerTest.php +++ b/apps/theming/tests/Controller/ThemingControllerTest.php @@ -6,7 +6,7 @@ * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Haertl * @author Julius Härtl * @author Kyle Fazzari @@ -24,14 +24,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Tests\Controller; use OC\L10N\L10N; diff --git a/apps/theming/tests/IconBuilderTest.php b/apps/theming/tests/IconBuilderTest.php index 542bfcc51bd3a7bcf221c4c7041650404d4b95e2..a365f653e4c43516a49214bd9a41f957d2085dc8 100644 --- a/apps/theming/tests/IconBuilderTest.php +++ b/apps/theming/tests/IconBuilderTest.php @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Tests; use OC\Files\AppData\AppData; diff --git a/apps/theming/tests/ImageManagerTest.php b/apps/theming/tests/ImageManagerTest.php index 08a8fe821f04f02b38e96ce243a565a8393009d2..71752e99a2ca162063f7b55a8bc8c774687dc5fc 100644 --- a/apps/theming/tests/ImageManagerTest.php +++ b/apps/theming/tests/ImageManagerTest.php @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Tests; use OCA\Theming\ImageManager; diff --git a/apps/theming/tests/ServicesTest.php b/apps/theming/tests/ServicesTest.php index 70d8f402afaa525f3082ed804c403c7144c84847..fdd49deddd8ea2befb3b764b88b64fcda1ae0788 100644 --- a/apps/theming/tests/ServicesTest.php +++ b/apps/theming/tests/ServicesTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Tests; use OCA\Theming\Capabilities; diff --git a/apps/theming/tests/Settings/AdminTest.php b/apps/theming/tests/Settings/AdminTest.php index e5de7093f8f63335631218ee19c4582413b8326d..50b95fe7e9931bc49121dc3b09fc6cda21f2f26f 100644 --- a/apps/theming/tests/Settings/AdminTest.php +++ b/apps/theming/tests/Settings/AdminTest.php @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Tests\Settings; use OCA\Theming\ImageManager; diff --git a/apps/theming/tests/Settings/SectionTest.php b/apps/theming/tests/Settings/SectionTest.php index 81fb3f074092bb830bfc4ccef32a6f3ab65842f1..496c24b3e52e3e450a592e051e2a2d12e54f65ad 100644 --- a/apps/theming/tests/Settings/SectionTest.php +++ b/apps/theming/tests/Settings/SectionTest.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Tests\Settings; use OCA\Theming\Settings\Section; diff --git a/apps/theming/tests/ThemingDefaultsTest.php b/apps/theming/tests/ThemingDefaultsTest.php index 4db5dad2c0d54dac6ac76bb7378c1acd9c2a9cdd..c8ef147dc94bc4899f49500a792e81edafc0e104 100644 --- a/apps/theming/tests/ThemingDefaultsTest.php +++ b/apps/theming/tests/ThemingDefaultsTest.php @@ -8,7 +8,7 @@ * @author Guillaume COMPAGNON * @author Jan-Christoph Borchardt * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Haertl * @author Julius Härtl * @author Lukas Reschke @@ -25,14 +25,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Tests; use OCA\Theming\ImageManager; diff --git a/apps/theming/tests/UtilTest.php b/apps/theming/tests/UtilTest.php index d6fe318cbcaae22ca28968ed1ff3999ecfcba889..f805d083e27ebc3d408f536fcc22930611f6edb4 100644 --- a/apps/theming/tests/UtilTest.php +++ b/apps/theming/tests/UtilTest.php @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Theming\Tests; use OCA\Theming\Util; diff --git a/apps/twofactor_backupcodes/appinfo/routes.php b/apps/twofactor_backupcodes/appinfo/routes.php index 926c1d55d52fd2ff1518eaa56b410eaabbb12a5d..5339cc26e9ab1043f8947a8e48104a857a992b15 100644 --- a/apps/twofactor_backupcodes/appinfo/routes.php +++ b/apps/twofactor_backupcodes/appinfo/routes.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version @@ -14,7 +16,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/twofactor_backupcodes/lib/Activity/Provider.php b/apps/twofactor_backupcodes/lib/Activity/Provider.php index 37122c33e1b075a574a18ae1819974d6bf125c16..2d60c8fe3f108571de566e17664918e0711a8dac 100644 --- a/apps/twofactor_backupcodes/lib/Activity/Provider.php +++ b/apps/twofactor_backupcodes/lib/Activity/Provider.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2016 Christoph Wurst * * @author Christoph Wurst + * @author J0WI * @author Joas Schilling * * @license GNU AGPL version 3 or any later version @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Activity; use InvalidArgumentException; diff --git a/apps/twofactor_backupcodes/lib/AppInfo/Application.php b/apps/twofactor_backupcodes/lib/AppInfo/Application.php index 5dce6d3a8eeb89320b5ad9793691f6b8032222e4..28b59ceb0bd912b6094ea806b732932c0a879297 100644 --- a/apps/twofactor_backupcodes/lib/AppInfo/Application.php +++ b/apps/twofactor_backupcodes/lib/AppInfo/Application.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\AppInfo; use OCA\TwoFactorBackupCodes\Event\CodesGenerated; diff --git a/apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php b/apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php index 6ba76b318ab1dd3e28ac4db9c0918c6eb58c7d04..b1be49270838e5b4b26924de09ad89b3d8c1fa66 100644 --- a/apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php +++ b/apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\BackgroundJob; use OC\Authentication\TwoFactorAuth\Manager; diff --git a/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php b/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php index ec45420299b6280b75904477496f75f58dd1af02..51428f9b99600cb83a1f79e624613f36a5109723 100644 --- a/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php +++ b/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\BackgroundJob; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/twofactor_backupcodes/lib/Controller/SettingsController.php b/apps/twofactor_backupcodes/lib/Controller/SettingsController.php index c6a07f6ca5beec600ac4989f8035c9e614ee0543..113a391aafd08890abb9bea811913cc0075e3b92 100644 --- a/apps/twofactor_backupcodes/lib/Controller/SettingsController.php +++ b/apps/twofactor_backupcodes/lib/Controller/SettingsController.php @@ -3,7 +3,10 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst + * @author J0WI * @author Joas Schilling * * @license GNU AGPL version 3 or any later version @@ -15,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Controller; use OCA\TwoFactorBackupCodes\Service\BackupCodeStorage; diff --git a/apps/twofactor_backupcodes/lib/Db/BackupCode.php b/apps/twofactor_backupcodes/lib/Db/BackupCode.php index b56ea4fad1c113449ec0d1f33aae6eb73e091aed..8fc713b8ef3983ca6945263eb22a77404051cb3e 100644 --- a/apps/twofactor_backupcodes/lib/Db/BackupCode.php +++ b/apps/twofactor_backupcodes/lib/Db/BackupCode.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version @@ -14,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Db; use OCP\AppFramework\Db\Entity; diff --git a/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php b/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php index 4ef6c97bcd31a8ac9ce223a0422099374ba31f33..592f95da0130c427c1903b5af5a51bed903dc1b7 100644 --- a/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php +++ b/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php @@ -3,7 +3,10 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst + * @author J0WI * @author Joas Schilling * @author Roeland Jago Douma * @@ -16,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Db; use OCP\AppFramework\Db\QBMapper; diff --git a/apps/twofactor_backupcodes/lib/Event/CodesGenerated.php b/apps/twofactor_backupcodes/lib/Event/CodesGenerated.php index c5d05433766f77ef7d5b789e7780a41070e53e6f..84164ca59d0a29aa7a84383f43777c6db8ae8988 100644 --- a/apps/twofactor_backupcodes/lib/Event/CodesGenerated.php +++ b/apps/twofactor_backupcodes/lib/Event/CodesGenerated.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version @@ -14,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Event; use OCP\EventDispatcher\Event; diff --git a/apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php b/apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php index 0785b7de42da49c5aa8d67314abb018269efdb48..764787b54008d108ed1e99065e008e03192130d9 100644 --- a/apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php +++ b/apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version @@ -14,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Listener; use BadMethodCallException; diff --git a/apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php b/apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php index 84c94a7b0c8484aa953c79b752484b86c6af7255..960f435a4fd1ab61d09fbcebd8489ebd39ae5188 100644 --- a/apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php +++ b/apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Listener; use OCA\TwoFactorBackupCodes\Event\CodesGenerated; diff --git a/apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php b/apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php index f3242aa8c8a78e39ddc06e0df0e9efdc10c92769..2629cd92dd06526c16d65165a36d58fb45847c12 100644 --- a/apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php +++ b/apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Listener; use OCA\TwoFactorBackupCodes\BackgroundJob\RememberBackupCodesJob; diff --git a/apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php b/apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php index d43af2e4590b2edf2f7877dcc73df9471b857ac5..581602d72620364bac49c83d8ce1ec8a376f2c61 100644 --- a/apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php +++ b/apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Listener; use OCA\TwoFactorBackupCodes\BackgroundJob\RememberBackupCodesJob; diff --git a/apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php b/apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php index 899ed654b6a30b0a66942b86b1feb3b368535559..d47430095c99e166884abaec8b5e76b9b17a5988 100644 --- a/apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php +++ b/apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version @@ -14,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Listener; use OCA\TwoFactorBackupCodes\Event\CodesGenerated; diff --git a/apps/twofactor_backupcodes/lib/Listener/UserDeleted.php b/apps/twofactor_backupcodes/lib/Listener/UserDeleted.php index b1c9e9b3ea19935753fcd5ee89cba31bca917723..f488e48695ac241bc748beba5dad76b30b592f5d 100644 --- a/apps/twofactor_backupcodes/lib/Listener/UserDeleted.php +++ b/apps/twofactor_backupcodes/lib/Listener/UserDeleted.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Listener; use OCA\TwoFactorBackupCodes\Db\BackupCodeMapper; diff --git a/apps/twofactor_backupcodes/lib/Migration/CheckBackupCodes.php b/apps/twofactor_backupcodes/lib/Migration/CheckBackupCodes.php index e43a99b9e0acad4143878c37c7c24e143e4a5622..0b393e0bc52ef7f58b2300f89ea1863b2fa993b4 100644 --- a/apps/twofactor_backupcodes/lib/Migration/CheckBackupCodes.php +++ b/apps/twofactor_backupcodes/lib/Migration/CheckBackupCodes.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Migration; use OCP\BackgroundJob\IJobList; diff --git a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607104347.php b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607104347.php index ffbb802300774764b210430227cc7b61e67b421f..96c53f8e22f675b57f083f0f167b328650935f15 100644 --- a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607104347.php +++ b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607104347.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Migration; use Doctrine\DBAL\Types\Types; diff --git a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607113030.php b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607113030.php index cfd76fefd00ab337b8ce0dc40c312d59f91783d0..9c4e2d0e5657c9937d5680068c61cee563de664a 100644 --- a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607113030.php +++ b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607113030.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Migration; use OCP\DB\ISchemaWrapper; diff --git a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919123342.php b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919123342.php index 97863583ad2600f719c286a689ed9e9faf741498..be6edb000daf5aa50fb233f5c237553600b95726 100644 --- a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919123342.php +++ b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919123342.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Migration; use Doctrine\DBAL\Types\Type; diff --git a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170926101419.php b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170926101419.php index 797cde70435a037d34e24e1ff05601e79d1af979..b2abe317ccb044932a755fd6d17683c269d909e7 100644 --- a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170926101419.php +++ b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170926101419.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Joas Schilling + * * @author Christoph Wurst * @author Joas Schilling * @@ -15,7 +17,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20180821043638.php b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20180821043638.php index 087ba9eb1e1b0175210fc9d34d935b269ff4518a..f38cfc06a97c336a90629d0f38e3c19fc56f02f9 100644 --- a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20180821043638.php +++ b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20180821043638.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Roeland Jago Douma * @@ -15,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Migration; use Closure; diff --git a/apps/twofactor_backupcodes/lib/Notifications/Notifier.php b/apps/twofactor_backupcodes/lib/Notifications/Notifier.php index bc5f69a1f9867c310eb453f1bd6332e147c3dcbc..7fc0e668265bf0a694d393643c8f8f667e66f6af 100644 --- a/apps/twofactor_backupcodes/lib/Notifications/Notifier.php +++ b/apps/twofactor_backupcodes/lib/Notifications/Notifier.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Notifications; use OCP\IURLGenerator; diff --git a/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php b/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php index 99fadd04a012b5beee58378603e60be562a07303..c34497393e8ad07215c2beb137acd836838d1d13 100644 --- a/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php +++ b/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Morris Jobke * @author Roeland Jago Douma @@ -16,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Provider; use OC\App\AppManager; diff --git a/apps/twofactor_backupcodes/lib/Service/BackupCodeStorage.php b/apps/twofactor_backupcodes/lib/Service/BackupCodeStorage.php index a1291e52e72a9d84a48eb40b92992b8742374112..869833dbd46d7dc0b73cfc85c69ade8b5e4c5775 100644 --- a/apps/twofactor_backupcodes/lib/Service/BackupCodeStorage.php +++ b/apps/twofactor_backupcodes/lib/Service/BackupCodeStorage.php @@ -3,7 +3,10 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst + * @author J0WI * @author Morris Jobke * @author Roeland Jago Douma * @@ -16,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Service; use OCA\TwoFactorBackupCodes\Db\BackupCode; diff --git a/apps/twofactor_backupcodes/lib/Settings/Personal.php b/apps/twofactor_backupcodes/lib/Settings/Personal.php index 85c2bdcdf54480e968216ffea728dd66470c0ab2..3470160a8c8621517789e5cfa3fb5aa693d526b7 100644 --- a/apps/twofactor_backupcodes/lib/Settings/Personal.php +++ b/apps/twofactor_backupcodes/lib/Settings/Personal.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Arthur Schiwon + * * @author Arthur Schiwon * @author Christoph Wurst * @author Roeland Jago Douma @@ -16,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Settings; use OCP\Authentication\TwoFactorAuth\IPersonalProviderSettings; diff --git a/apps/twofactor_backupcodes/tests/Db/BackupCodeMapperTest.php b/apps/twofactor_backupcodes/tests/Db/BackupCodeMapperTest.php index d66818742eb45bb7915a1ffbaa4a82c6c4f1b47e..75d2d071c26a9da9d82079328272c9817447961e 100644 --- a/apps/twofactor_backupcodes/tests/Db/BackupCodeMapperTest.php +++ b/apps/twofactor_backupcodes/tests/Db/BackupCodeMapperTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke @@ -17,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Db; use OCA\TwoFactorBackupCodes\Db\BackupCode; diff --git a/apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php b/apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php index 70bf5be4f222e78a211604577d42aaafa8e69526..6c474ffd9a3daacfdd26d272ed99ab6c42666192 100644 --- a/apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php +++ b/apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke @@ -17,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Service; use OCA\TwoFactorBackupCodes\Service\BackupCodeStorage; diff --git a/apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php b/apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php index 85923bfe0dfd1cbe33c3cf1c9ec86e59ab4e813d..0ff833280dbbe1d1faae5298d258516f137df71c 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Test\Unit\Activity; use InvalidArgumentException; diff --git a/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/CheckBackupCodeTest.php b/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/CheckBackupCodeTest.php index 43873e6cc89cfc5bf5cbd6570b444b9ef5e09429..a14712e26849d22478a7ed870c8ef83e33576d5b 100644 --- a/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/CheckBackupCodeTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/CheckBackupCodeTest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\BackgroundJob; use OC\Authentication\TwoFactorAuth\Manager; diff --git a/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/RememberBackupCodesJobTest.php b/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/RememberBackupCodesJobTest.php index 3e5307a2b0fc8490449270d9bbc7a8421017ace8..d8f9e2836a12171e148d5f488e91888dc64f85ba 100644 --- a/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/RememberBackupCodesJobTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/RememberBackupCodesJobTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\BackgroundJob; use OCA\TwoFactorBackupCodes\BackgroundJob\RememberBackupCodesJob; diff --git a/apps/twofactor_backupcodes/tests/Unit/Controller/SettingsControllerTest.php b/apps/twofactor_backupcodes/tests/Unit/Controller/SettingsControllerTest.php index e74f08043f7c1d908afe9bd127260f0c29d6617e..15b25f3915cdc6efba4f76b6d02269ea4122a79d 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Controller/SettingsControllerTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Controller/SettingsControllerTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke @@ -17,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Controller; use OCA\TwoFactorBackupCodes\Controller\SettingsController; diff --git a/apps/twofactor_backupcodes/tests/Unit/Event/CodesGeneratedTest.php b/apps/twofactor_backupcodes/tests/Unit/Event/CodesGeneratedTest.php index d4c07e56cd3fc0055826514eff2b4570c20a8b5c..c75a2c034c5e2ff2f3e59096f2b05efe56c16b20 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Event/CodesGeneratedTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Event/CodesGeneratedTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version @@ -14,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Event; use OCA\TwoFactorBackupCodes\Event\CodesGenerated; diff --git a/apps/twofactor_backupcodes/tests/Unit/Listener/ActivityPublisherTest.php b/apps/twofactor_backupcodes/tests/Unit/Listener/ActivityPublisherTest.php index 4d93110514a53113c86489bd19053fc5f3dc5aab..a001a9694ded8746a0ab4616db5403e41ee3085c 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Listener/ActivityPublisherTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Listener/ActivityPublisherTest.php @@ -3,7 +3,10 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst + * @author Joas Schilling * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -15,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Listener; use OCA\TwoFactorBackupCodes\Event\CodesGenerated; diff --git a/apps/twofactor_backupcodes/tests/Unit/Listener/ClearNotificationsTest.php b/apps/twofactor_backupcodes/tests/Unit/Listener/ClearNotificationsTest.php index 99d11504710e6cae76014b4cf93431e3ef6f4b15..cf9f9a6c1234ad219a318ebdc47735ad856d9775 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Listener/ClearNotificationsTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Listener/ClearNotificationsTest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Listener; use OCA\TwoFactorBackupCodes\Event\CodesGenerated; diff --git a/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderDisabledTest.php b/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderDisabledTest.php index 0206cbb09d326bdd989bc62d52419948cc514347..659b16676b0498e0ec2a5d8c6cca3e52d6039e70 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderDisabledTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderDisabledTest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Listener; use OCA\TwoFactorBackupCodes\BackgroundJob\RememberBackupCodesJob; diff --git a/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderEnabledTest.php b/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderEnabledTest.php index 41bb3c55a2906d7bf4e8b53784acfadfdbbc4a21..d74fa6e259df94b415115f7a944f21d3b8805d79 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderEnabledTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderEnabledTest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Listener; use OCA\TwoFactorBackupCodes\BackgroundJob\RememberBackupCodesJob; diff --git a/apps/twofactor_backupcodes/tests/Unit/Listener/RegistryUpdaterTest.php b/apps/twofactor_backupcodes/tests/Unit/Listener/RegistryUpdaterTest.php index 912a1977d1910297c3c08ff0ae563140f7f85790..da330a971b524a1add19b4f2788032b0498fc811 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Listener/RegistryUpdaterTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Listener/RegistryUpdaterTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Roeland Jago Douma * @@ -15,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Listener; use OCA\TwoFactorBackupCodes\Event\CodesGenerated; diff --git a/apps/twofactor_backupcodes/tests/Unit/Migration/CheckBackupCodeTest.php b/apps/twofactor_backupcodes/tests/Unit/Migration/CheckBackupCodeTest.php index 7df80609bf9a0aa5b35b7988c6da56525b7fe075..cad9719aed233e54e9c5c870b3f1fd2f750c010f 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Migration/CheckBackupCodeTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Migration/CheckBackupCodeTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Roeland Jago Douma + * * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -14,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Migration; use OCA\TwoFactorBackupCodes\Migration\CheckBackupCodes; diff --git a/apps/twofactor_backupcodes/tests/Unit/Notification/NotifierTest.php b/apps/twofactor_backupcodes/tests/Unit/Notification/NotifierTest.php index a4338c07a46552ef40a16817abb004755a5ca930..d70252b5fbc27d9a09f539e4440aec5873a4976e 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Notification/NotifierTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Notification/NotifierTest.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Notification; use OCA\TwoFactorBackupCodes\Notifications\Notifier; diff --git a/apps/twofactor_backupcodes/tests/Unit/Provider/BackupCodesProviderTest.php b/apps/twofactor_backupcodes/tests/Unit/Provider/BackupCodesProviderTest.php index 17bb86ff2ef82a55c2b15862a7d2c75053da5f5d..da768321d578cb540165b06eea43029390dad553 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Provider/BackupCodesProviderTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Provider/BackupCodesProviderTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Morris Jobke * @author Roeland Jago Douma @@ -16,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Provider; use OC\App\AppManager; diff --git a/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php b/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php index 7b57273b53e07688f8f1bb9c290b3bae17350d9a..1465c351bfd2ec8743a6f2939fdf3948648d75de 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Morris Jobke * @author Roeland Jago Douma @@ -16,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Service; use OCA\TwoFactorBackupCodes\Db\BackupCode; diff --git a/apps/updatenotification/appinfo/routes.php b/apps/updatenotification/appinfo/routes.php index c7debdb71e0245215348f539b8bfe26c698626fa..6bc0562b4ebcefacd2edb1780272267d3e0899e8 100644 --- a/apps/updatenotification/appinfo/routes.php +++ b/apps/updatenotification/appinfo/routes.php @@ -23,7 +23,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - return [ 'routes' => [ ['name' => 'Admin#createCredentials', 'url' => '/credentials', 'verb' => 'GET'], diff --git a/apps/updatenotification/lib/AppInfo/Application.php b/apps/updatenotification/lib/AppInfo/Application.php index 42c725caf8c3286c5eba5208a27b70eea77cccf4..3290b88dcf9ca336eb0af5f7d85d817aa7f9cb13 100644 --- a/apps/updatenotification/lib/AppInfo/Application.php +++ b/apps/updatenotification/lib/AppInfo/Application.php @@ -9,6 +9,7 @@ declare(strict_types=1); * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -19,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\UpdateNotification\AppInfo; use OCA\UpdateNotification\Notification\Notifier; diff --git a/apps/updatenotification/lib/Command/Check.php b/apps/updatenotification/lib/Command/Check.php index 900481383f37bf61e752c4b0bf8caacbd0615cac..7126a6b50b017b8b058df09502d24aea7c3ab873 100644 --- a/apps/updatenotification/lib/Command/Check.php +++ b/apps/updatenotification/lib/Command/Check.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2018, Tobia De Koninck (tobia@ledfan.be) * * @author Christoph Wurst + * @author J0WI * @author Joas Schilling * @author Tobia De Koninck * @@ -18,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\UpdateNotification\Command; use OC\App\AppManager; diff --git a/apps/updatenotification/lib/Controller/APIController.php b/apps/updatenotification/lib/Controller/APIController.php index e2c720cdc09f96befb793b12807dd1c1a06dff77..b4c304a6120fa16b960338c4d70d6c1a4330913b 100644 --- a/apps/updatenotification/lib/Controller/APIController.php +++ b/apps/updatenotification/lib/Controller/APIController.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\UpdateNotification\Controller; use OC\App\AppStore\Fetcher\AppFetcher; diff --git a/apps/updatenotification/lib/Controller/AdminController.php b/apps/updatenotification/lib/Controller/AdminController.php index 502f0fa5eb57a7b4b35ce25b3beacf03bc9ba0a6..b13ba66efd573cde7b4524cd0105c65dc7ed4e11 100644 --- a/apps/updatenotification/lib/Controller/AdminController.php +++ b/apps/updatenotification/lib/Controller/AdminController.php @@ -8,6 +8,7 @@ declare(strict_types=1); * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke + * @author Vincent Petry * * @license AGPL-3.0 * @@ -24,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Controller; use OCA\UpdateNotification\ResetTokenBackgroundJob; diff --git a/apps/updatenotification/lib/Notification/BackgroundJob.php b/apps/updatenotification/lib/Notification/BackgroundJob.php index a8473acf8eaf2b380cffa86bff6d4075a29f0ab7..be02c9fa686a57524e9ffcd233a6fe54319121eb 100644 --- a/apps/updatenotification/lib/Notification/BackgroundJob.php +++ b/apps/updatenotification/lib/Notification/BackgroundJob.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Notification; use OC\BackgroundJob\TimedJob; diff --git a/apps/updatenotification/lib/Notification/Notifier.php b/apps/updatenotification/lib/Notification/Notifier.php index c7963a04ea6a045023909afef21f0d29f1ac16ce..787a43b2db8b5fffaade20dd42d29fcccabf789e 100644 --- a/apps/updatenotification/lib/Notification/Notifier.php +++ b/apps/updatenotification/lib/Notification/Notifier.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Notification; use OCP\IConfig; diff --git a/apps/updatenotification/lib/ResetTokenBackgroundJob.php b/apps/updatenotification/lib/ResetTokenBackgroundJob.php index 2d83e7f64d585eec7e000170bb217e47ec1f1736..96a50c5ff7f6d9e45fa6668b214dedc662054556 100644 --- a/apps/updatenotification/lib/ResetTokenBackgroundJob.php +++ b/apps/updatenotification/lib/ResetTokenBackgroundJob.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification; use OC\BackgroundJob\TimedJob; diff --git a/apps/updatenotification/lib/Settings/Admin.php b/apps/updatenotification/lib/Settings/Admin.php index 737484fcb6ba52e8e1dee8d961dc6a8839e9f019..880b43906eb90130795b594ea46276bb18ea4310 100644 --- a/apps/updatenotification/lib/Settings/Admin.php +++ b/apps/updatenotification/lib/Settings/Admin.php @@ -10,6 +10,7 @@ declare(strict_types=1); * @author Joas Schilling * @author Julius Härtl * @author Morris Jobke + * @author Vincent Petry * * @license AGPL-3.0 * @@ -26,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Settings; use OCA\UpdateNotification\UpdateChecker; diff --git a/apps/updatenotification/lib/UpdateChecker.php b/apps/updatenotification/lib/UpdateChecker.php index 8caefd180cec752ec6c7294a13d5ed79f434972a..40bf784e6055b9122ca84f926efe99c44f61bbeb 100644 --- a/apps/updatenotification/lib/UpdateChecker.php +++ b/apps/updatenotification/lib/UpdateChecker.php @@ -26,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification; use OC\Updater\ChangesCheck; diff --git a/apps/updatenotification/tests/Controller/AdminControllerTest.php b/apps/updatenotification/tests/Controller/AdminControllerTest.php index 0176301db461614fb9706d0625096b8931099f5d..836dc25f4aa781c7b045211f1279e7666e44f48d 100644 --- a/apps/updatenotification/tests/Controller/AdminControllerTest.php +++ b/apps/updatenotification/tests/Controller/AdminControllerTest.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Tests\Controller; use OCA\UpdateNotification\Controller\AdminController; diff --git a/apps/updatenotification/tests/Notification/BackgroundJobTest.php b/apps/updatenotification/tests/Notification/BackgroundJobTest.php index 1d94fba29edcf233599e4b0421623996141d1d40..43b22728d286b250b8b9eec97e409ad078f0a805 100644 --- a/apps/updatenotification/tests/Notification/BackgroundJobTest.php +++ b/apps/updatenotification/tests/Notification/BackgroundJobTest.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Tests\Notification; use OC\Installer; diff --git a/apps/updatenotification/tests/Notification/NotifierTest.php b/apps/updatenotification/tests/Notification/NotifierTest.php index 19500438f3bca690b3862608cd5c6c5c5ec72cb7..f5d98e88e23af79920af3a934001ca4e482e135b 100644 --- a/apps/updatenotification/tests/Notification/NotifierTest.php +++ b/apps/updatenotification/tests/Notification/NotifierTest.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Tests\Notification; use OCA\UpdateNotification\Notification\Notifier; diff --git a/apps/updatenotification/tests/ResetTokenBackgroundJobTest.php b/apps/updatenotification/tests/ResetTokenBackgroundJobTest.php index f9d09e0ad3f1439babebfdf1dccbc14831b39d1a..129ba37098063e71815a1c58ad30aee954db9fbd 100644 --- a/apps/updatenotification/tests/ResetTokenBackgroundJobTest.php +++ b/apps/updatenotification/tests/ResetTokenBackgroundJobTest.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Tests; use OCA\UpdateNotification\ResetTokenBackgroundJob; diff --git a/apps/updatenotification/tests/Settings/AdminTest.php b/apps/updatenotification/tests/Settings/AdminTest.php index e8e82391f9603934429c2cdee4d84c3f4c53b7fa..186c5a090702fd3c4b03d3d37b6d7fb5f89407ab 100644 --- a/apps/updatenotification/tests/Settings/AdminTest.php +++ b/apps/updatenotification/tests/Settings/AdminTest.php @@ -10,6 +10,7 @@ declare(strict_types=1); * @author Julius Härtl * @author Morris Jobke * @author Roeland Jago Douma + * @author Vincent Petry * * @license AGPL-3.0 * @@ -26,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Tests\Settings; use OCA\UpdateNotification\Settings\Admin; diff --git a/apps/updatenotification/tests/UpdateCheckerTest.php b/apps/updatenotification/tests/UpdateCheckerTest.php index c0237673d7e0e7bb54f553c8d765619c17362160..778b747e1fcae1941de71edb7fe8cdae0e0b3f78 100644 --- a/apps/updatenotification/tests/UpdateCheckerTest.php +++ b/apps/updatenotification/tests/UpdateCheckerTest.php @@ -27,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Tests; use OC\Updater\ChangesCheck; diff --git a/apps/user_ldap/ajax/clearMappings.php b/apps/user_ldap/ajax/clearMappings.php index b485d62deadb946dc9c815574e9a3b69c4fc5edd..39462f334c9793a65773371544fd7f4ac7af5862 100644 --- a/apps/user_ldap/ajax/clearMappings.php +++ b/apps/user_ldap/ajax/clearMappings.php @@ -6,7 +6,6 @@ * @author Christopher Schäpers * @author Christoph Wurst * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - use OCA\User_LDAP\Mapping\UserMapping; use OCA\User_LDAP\Mapping\GroupMapping; diff --git a/apps/user_ldap/ajax/deleteConfiguration.php b/apps/user_ldap/ajax/deleteConfiguration.php index 0f3e28a33f3de6909037c21d13be46e74b8f5d41..82bfb6de82adacfaa0c848a1f8d82b05a2b10863 100644 --- a/apps/user_ldap/ajax/deleteConfiguration.php +++ b/apps/user_ldap/ajax/deleteConfiguration.php @@ -7,7 +7,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Lukas Reschke - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @@ -26,7 +25,6 @@ * along with this program. If not, see * */ - // Check user and app status \OC_JSON::checkAdminUser(); \OC_JSON::checkAppEnabled('user_ldap'); diff --git a/apps/user_ldap/ajax/getConfiguration.php b/apps/user_ldap/ajax/getConfiguration.php index e3181d9c7f55dadb7bb97149101eebb8eef94cf3..b541dbfbea5d6f5d06263555f4edf9d76bec544a 100644 --- a/apps/user_ldap/ajax/getConfiguration.php +++ b/apps/user_ldap/ajax/getConfiguration.php @@ -7,7 +7,6 @@ * @author Joas Schilling * @author Juan Pablo Villafáñez * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - // Check user and app status \OC_JSON::checkAdminUser(); \OC_JSON::checkAppEnabled('user_ldap'); diff --git a/apps/user_ldap/ajax/getNewServerConfigPrefix.php b/apps/user_ldap/ajax/getNewServerConfigPrefix.php index ec38fbb8ff0bbe5d66bb24564b966471b44952b0..d2194d5ceb73e3b39fea3e562930f6171723f2e6 100644 --- a/apps/user_ldap/ajax/getNewServerConfigPrefix.php +++ b/apps/user_ldap/ajax/getNewServerConfigPrefix.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - // Check user and app status \OC_JSON::checkAdminUser(); \OC_JSON::checkAppEnabled('user_ldap'); diff --git a/apps/user_ldap/ajax/setConfiguration.php b/apps/user_ldap/ajax/setConfiguration.php index 08d3680187b1157a3ab718f3ef62a19dbbe021bd..93717b7d11453baae6fa1771d190e431d2a23ca1 100644 --- a/apps/user_ldap/ajax/setConfiguration.php +++ b/apps/user_ldap/ajax/setConfiguration.php @@ -6,7 +6,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - // Check user and app status \OC_JSON::checkAdminUser(); \OC_JSON::checkAppEnabled('user_ldap'); diff --git a/apps/user_ldap/ajax/testConfiguration.php b/apps/user_ldap/ajax/testConfiguration.php index 22cdea388c19e3b4c9c09b2e5561911668899b70..a5f41e93a92ede31255ce364fa5999f62386362d 100644 --- a/apps/user_ldap/ajax/testConfiguration.php +++ b/apps/user_ldap/ajax/testConfiguration.php @@ -6,7 +6,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Juan Pablo Villafáñez - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller @@ -26,7 +25,6 @@ * along with this program. If not, see * */ - // Check user and app status \OC_JSON::checkAdminUser(); \OC_JSON::checkAppEnabled('user_ldap'); diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php index 103ba3cd3848a2f2dc7f7cd57ccf6c7c7927b4be..c65ae23cd3b76042bd40b4a5df9f9a91da4d8ec1 100644 --- a/apps/user_ldap/ajax/wizard.php +++ b/apps/user_ldap/ajax/wizard.php @@ -7,7 +7,6 @@ * @author Joas Schilling * @author Juan Pablo Villafáñez * @author Lukas Reschke - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Roger Szabo @@ -27,7 +26,6 @@ * along with this program. If not, see * */ - // Check user and app status \OC_JSON::checkAdminUser(); \OC_JSON::checkAppEnabled('user_ldap'); diff --git a/apps/user_ldap/appinfo/routes.php b/apps/user_ldap/appinfo/routes.php index 510180edfdcc57a9c302320336169a46f026ccc4..486be2b4389d756cbaf9d72c46c91dc391853e32 100644 --- a/apps/user_ldap/appinfo/routes.php +++ b/apps/user_ldap/appinfo/routes.php @@ -9,7 +9,6 @@ declare(strict_types=1); * @author Christoph Wurst * @author Joas Schilling * @author Lukas Reschke - * @author Morris Jobke * @author Roger Szabo * * @license AGPL-3.0 @@ -27,8 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - -/** @var $this \OCP\Route\IRouter */ $this->create('user_ldap_ajax_clearMappings', 'apps/user_ldap/ajax/clearMappings.php') ->actionInclude('user_ldap/ajax/clearMappings.php'); $this->create('user_ldap_ajax_deleteConfiguration', 'apps/user_ldap/ajax/deleteConfiguration.php') diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php index b7c9b48666874983c8661f974eb7d26479c89cf4..47cecd1bf7d1f7a88cb1d0e4c1bb286bd7993b4a 100644 --- a/apps/user_ldap/lib/Access.php +++ b/apps/user_ldap/lib/Access.php @@ -44,7 +44,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use DomainException; diff --git a/apps/user_ldap/lib/AccessFactory.php b/apps/user_ldap/lib/AccessFactory.php index 96f2655f046e5100958101502b210c3ab4abaf82..42869ebb24cafd98643264b26badfffdb8afc244 100644 --- a/apps/user_ldap/lib/AccessFactory.php +++ b/apps/user_ldap/lib/AccessFactory.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP; use OCA\User_LDAP\User\Manager; diff --git a/apps/user_ldap/lib/AppInfo/Application.php b/apps/user_ldap/lib/AppInfo/Application.php index 22bde27b7287b6cbc5a8a53f5f9d80afe54fc6e3..8c48682eddb541ba201a60a8430d4a5364d9987a 100644 --- a/apps/user_ldap/lib/AppInfo/Application.php +++ b/apps/user_ldap/lib/AppInfo/Application.php @@ -5,6 +5,7 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Morris Jobke + * @author Roeland Jago Douma * @author Roger Szabo * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\AppInfo; use Closure; diff --git a/apps/user_ldap/lib/BackendUtility.php b/apps/user_ldap/lib/BackendUtility.php index a4eb739ab66dacfee585bc5563b3959912e75ba5..4afcb6799d85657ba1a82e7988ebea77345ee99c 100644 --- a/apps/user_ldap/lib/BackendUtility.php +++ b/apps/user_ldap/lib/BackendUtility.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; abstract class BackendUtility { diff --git a/apps/user_ldap/lib/Command/CheckUser.php b/apps/user_ldap/lib/Command/CheckUser.php index 5314cac365afd281eba74d09cc3237a7faa344c2..022662d35c0a73106b47fc8d1f7c9b51c78dc5f3 100644 --- a/apps/user_ldap/lib/Command/CheckUser.php +++ b/apps/user_ldap/lib/Command/CheckUser.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\Helper; diff --git a/apps/user_ldap/lib/Command/CreateEmptyConfig.php b/apps/user_ldap/lib/Command/CreateEmptyConfig.php index 4d88bf80c5ee3ea5e8b30f6297134a99ea98c57d..8b1736e3a535f864df3b8c926ac1267545add235 100644 --- a/apps/user_ldap/lib/Command/CreateEmptyConfig.php +++ b/apps/user_ldap/lib/Command/CreateEmptyConfig.php @@ -6,7 +6,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Martin Konrad - * @author Morris Jobke * * @license AGPL-3.0 * @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\Configuration; diff --git a/apps/user_ldap/lib/Command/DeleteConfig.php b/apps/user_ldap/lib/Command/DeleteConfig.php index c76ba6f296b3a712dca5c32e9d7e644f9b64df37..707fd455611599be20fb06904757a375ca8e259e 100644 --- a/apps/user_ldap/lib/Command/DeleteConfig.php +++ b/apps/user_ldap/lib/Command/DeleteConfig.php @@ -6,7 +6,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Martin Konrad - * @author Morris Jobke * * @license AGPL-3.0 * @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\Helper; diff --git a/apps/user_ldap/lib/Command/ResetUser.php b/apps/user_ldap/lib/Command/ResetUser.php index 2daccdb6dccce653d983487f436233160c193173..854481fc0d17213825cf2d3716f139f23d27701e 100644 --- a/apps/user_ldap/lib/Command/ResetUser.php +++ b/apps/user_ldap/lib/Command/ResetUser.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\User\DeletedUsersIndex; diff --git a/apps/user_ldap/lib/Command/Search.php b/apps/user_ldap/lib/Command/Search.php index b8f2d8852996b09db225464ad557c438e1c189b5..bba37e4a6cafca781d3f2c79c503b1206589ef7f 100644 --- a/apps/user_ldap/lib/Command/Search.php +++ b/apps/user_ldap/lib/Command/Search.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\Group_Proxy; diff --git a/apps/user_ldap/lib/Command/SetConfig.php b/apps/user_ldap/lib/Command/SetConfig.php index 4b20ad65e9f2434566ed99fd3066c3246ac3ac2a..2b487787c8a17e4a9a3ae6b099dab9131ec588ee 100644 --- a/apps/user_ldap/lib/Command/SetConfig.php +++ b/apps/user_ldap/lib/Command/SetConfig.php @@ -5,7 +5,6 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\Configuration; diff --git a/apps/user_ldap/lib/Command/ShowConfig.php b/apps/user_ldap/lib/Command/ShowConfig.php index 6b285eb8afcb252c39723e4a211c0f6ac865c544..4997d9737a5e4eaa1c51b0ebe95a700833040365 100644 --- a/apps/user_ldap/lib/Command/ShowConfig.php +++ b/apps/user_ldap/lib/Command/ShowConfig.php @@ -4,10 +4,9 @@ * * @author Arthur Schiwon * @author Christoph Wurst - * @author Daniel Kesselberg * @author Joas Schilling + * @author Johannes Leuker * @author Laurens Post - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OC\Core\Command\Base; diff --git a/apps/user_ldap/lib/Command/ShowRemnants.php b/apps/user_ldap/lib/Command/ShowRemnants.php index 2d14ff5b06e71d217a2edea74653447c7187baa1..55d930dead4f3184fbb91b638b06a1c3e556ce35 100644 --- a/apps/user_ldap/lib/Command/ShowRemnants.php +++ b/apps/user_ldap/lib/Command/ShowRemnants.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\User\DeletedUsersIndex; diff --git a/apps/user_ldap/lib/Command/TestConfig.php b/apps/user_ldap/lib/Command/TestConfig.php index e83befe6f304a6a583936e4eb527291ad2d882a8..fa3d5e83fbb29d8566561bc286fd106d1a777958 100644 --- a/apps/user_ldap/lib/Command/TestConfig.php +++ b/apps/user_ldap/lib/Command/TestConfig.php @@ -5,7 +5,6 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\Connection; diff --git a/apps/user_ldap/lib/Configuration.php b/apps/user_ldap/lib/Configuration.php index 134f8551f7d0b1f59620ae19cc977731dffaf40a..ab5aa23f98d88046fdd28d09d67d043ec10ddd91 100644 --- a/apps/user_ldap/lib/Configuration.php +++ b/apps/user_ldap/lib/Configuration.php @@ -32,7 +32,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; /** diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index 6ba21c6de2c9ccc9b0b0dc72f349baa7b6267d4d..3c4cf7001a2b8f6e4c6a2ea928ca13e4d05fe4d0 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -34,7 +34,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OC\ServerNotAvailableException; diff --git a/apps/user_ldap/lib/ConnectionFactory.php b/apps/user_ldap/lib/ConnectionFactory.php index 48275ff8c3c24f31e25d6e2b27e32aaa477584f4..cf2bacebc85da4bf4ac6de751663c224bb40b737 100644 --- a/apps/user_ldap/lib/ConnectionFactory.php +++ b/apps/user_ldap/lib/ConnectionFactory.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP; class ConnectionFactory { diff --git a/apps/user_ldap/lib/Controller/ConfigAPIController.php b/apps/user_ldap/lib/Controller/ConfigAPIController.php index b96aee291d5289b246e5e56c13d67e8902e92471..cf09c6acd0625d1efc731dbd5ba7a8a74fbfe06d 100644 --- a/apps/user_ldap/lib/Controller/ConfigAPIController.php +++ b/apps/user_ldap/lib/Controller/ConfigAPIController.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Controller; use OC\CapabilitiesManager; diff --git a/apps/user_ldap/lib/Controller/RenewPasswordController.php b/apps/user_ldap/lib/Controller/RenewPasswordController.php index 94d180df6c825964382abd9f32d1edb7d3704790..eb8b19192c33083d090fe9d25a7344235d3889a0 100644 --- a/apps/user_ldap/lib/Controller/RenewPasswordController.php +++ b/apps/user_ldap/lib/Controller/RenewPasswordController.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Controller; use OC\HintException; diff --git a/apps/user_ldap/lib/Events/GroupBackendRegistered.php b/apps/user_ldap/lib/Events/GroupBackendRegistered.php index 6f620cb4e578971667143226c14abfac0bbce476..e0302b87b1f1b68192300c5f6d22dd5059c8981a 100644 --- a/apps/user_ldap/lib/Events/GroupBackendRegistered.php +++ b/apps/user_ldap/lib/Events/GroupBackendRegistered.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Events; use OCA\User_LDAP\GroupPluginManager; diff --git a/apps/user_ldap/lib/Events/UserBackendRegistered.php b/apps/user_ldap/lib/Events/UserBackendRegistered.php index 07b6060cb2be78474734420ba1973bd65e258d7a..91743089ccf2346308fc34114dfec3ae4a3b4cdb 100644 --- a/apps/user_ldap/lib/Events/UserBackendRegistered.php +++ b/apps/user_ldap/lib/Events/UserBackendRegistered.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Events; use OCA\User_LDAP\IUserLDAP; diff --git a/apps/user_ldap/lib/Exceptions/AttributeNotSet.php b/apps/user_ldap/lib/Exceptions/AttributeNotSet.php index faa617efd1385837fd2edcf21221c02bebb72e6a..63e255b85d6601c2c03e46f68891aae956412616 100644 --- a/apps/user_ldap/lib/Exceptions/AttributeNotSet.php +++ b/apps/user_ldap/lib/Exceptions/AttributeNotSet.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Exceptions; class AttributeNotSet extends \RuntimeException { diff --git a/apps/user_ldap/lib/Exceptions/ConstraintViolationException.php b/apps/user_ldap/lib/Exceptions/ConstraintViolationException.php index 46cae91e2c728990499d3deeb903ff6b869099a1..912d6039a609ef807849c3c6720fa0bfa407a503 100644 --- a/apps/user_ldap/lib/Exceptions/ConstraintViolationException.php +++ b/apps/user_ldap/lib/Exceptions/ConstraintViolationException.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Exceptions; class ConstraintViolationException extends \Exception { diff --git a/apps/user_ldap/lib/Exceptions/NoMoreResults.php b/apps/user_ldap/lib/Exceptions/NoMoreResults.php index cf04a155bd9baa8d5032b622447230366d632d10..26dc4a58992d9cb8912b1cad11e24d993fddd45a 100644 --- a/apps/user_ldap/lib/Exceptions/NoMoreResults.php +++ b/apps/user_ldap/lib/Exceptions/NoMoreResults.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Exceptions; class NoMoreResults extends \Exception { diff --git a/apps/user_ldap/lib/Exceptions/NotOnLDAP.php b/apps/user_ldap/lib/Exceptions/NotOnLDAP.php index bd59d4956c29754f57f420bcaa5a7ea97d524a38..30a821066559551888aa300d34ba59e0977f280b 100644 --- a/apps/user_ldap/lib/Exceptions/NotOnLDAP.php +++ b/apps/user_ldap/lib/Exceptions/NotOnLDAP.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Exceptions; class NotOnLDAP extends \Exception { diff --git a/apps/user_ldap/lib/FilesystemHelper.php b/apps/user_ldap/lib/FilesystemHelper.php index 6a52afcdec12f864c45a4e4c76015c0e6b3233bc..0596b109deb49520d60f0dc7cf67d07ead350a41 100644 --- a/apps/user_ldap/lib/FilesystemHelper.php +++ b/apps/user_ldap/lib/FilesystemHelper.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; /** diff --git a/apps/user_ldap/lib/GroupPluginManager.php b/apps/user_ldap/lib/GroupPluginManager.php index 56c4aab9f3b95eec2600c4ebcb3744ea98ea93ec..d23e9d4d443a7de742eb7ae51668c05a3308f177 100644 --- a/apps/user_ldap/lib/GroupPluginManager.php +++ b/apps/user_ldap/lib/GroupPluginManager.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP; use OCP\GroupInterface; diff --git a/apps/user_ldap/lib/Group_LDAP.php b/apps/user_ldap/lib/Group_LDAP.php index f816279fec396ea941fd1e3fed1f783f336cbc82..ac77dcc930ebb79583a75e799625364f923120ea 100644 --- a/apps/user_ldap/lib/Group_LDAP.php +++ b/apps/user_ldap/lib/Group_LDAP.php @@ -40,7 +40,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use Closure; diff --git a/apps/user_ldap/lib/Group_Proxy.php b/apps/user_ldap/lib/Group_Proxy.php index 0078f0803c024c9a675fdb4f1486be6b3b7bfb13..3f9bb9013eb48a0aad6c63b02c12caa8485e714f 100644 --- a/apps/user_ldap/lib/Group_Proxy.php +++ b/apps/user_ldap/lib/Group_Proxy.php @@ -6,6 +6,7 @@ * @author Christopher Schäpers * @author Christoph Wurst * @author Joas Schilling + * @author Johannes Leuker * @author Morris Jobke * @author Robin McCorkell * @author Vinicius Cubas Brand @@ -25,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OCP\Group\Backend\INamedBackend; diff --git a/apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php b/apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php index 483dade85664edea9f6e79b7e391044dba26eae4..0d3c5b8f3f3df5c7d6eeaa4871abdf6808245077 100644 --- a/apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php +++ b/apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Handler; use OCA\Files_External\Config\IConfigHandler; diff --git a/apps/user_ldap/lib/Helper.php b/apps/user_ldap/lib/Helper.php index f079345d23e474cdedeb9d244a6826f907623e4c..650755842b62d8a7080135214b90114fd7f6b507 100644 --- a/apps/user_ldap/lib/Helper.php +++ b/apps/user_ldap/lib/Helper.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OC\Cache\CappedMemoryCache; diff --git a/apps/user_ldap/lib/IGroupLDAP.php b/apps/user_ldap/lib/IGroupLDAP.php index c84b899f5c0369dea4b4cef363907116d12bd99a..33636dd8f552dbad5db24d5328316dbb2273d640 100644 --- a/apps/user_ldap/lib/IGroupLDAP.php +++ b/apps/user_ldap/lib/IGroupLDAP.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP; interface IGroupLDAP { diff --git a/apps/user_ldap/lib/ILDAPGroupPlugin.php b/apps/user_ldap/lib/ILDAPGroupPlugin.php index 3c9baeab65c8205e33c0e0afbef0654d733c3fd4..20cff50e801915422ab9c50c2a7a59d04ce3dd3b 100644 --- a/apps/user_ldap/lib/ILDAPGroupPlugin.php +++ b/apps/user_ldap/lib/ILDAPGroupPlugin.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP; interface ILDAPGroupPlugin { diff --git a/apps/user_ldap/lib/ILDAPUserPlugin.php b/apps/user_ldap/lib/ILDAPUserPlugin.php index e4858d0688f82f1874d3d32632d31943a49c6268..28754a7eaaf0db9e15d290b3ab0ee482bfef64b9 100644 --- a/apps/user_ldap/lib/ILDAPUserPlugin.php +++ b/apps/user_ldap/lib/ILDAPUserPlugin.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP; interface ILDAPUserPlugin { diff --git a/apps/user_ldap/lib/ILDAPWrapper.php b/apps/user_ldap/lib/ILDAPWrapper.php index fd63193116a5805b49d74df881fbf48bb674079f..c82df09d2345f4b4d889f4b03d663c905b7fb7ad 100644 --- a/apps/user_ldap/lib/ILDAPWrapper.php +++ b/apps/user_ldap/lib/ILDAPWrapper.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; interface ILDAPWrapper { diff --git a/apps/user_ldap/lib/IUserLDAP.php b/apps/user_ldap/lib/IUserLDAP.php index 73ab720cf9854b1c4fa0f2b17320d3c50cdbd060..201bbfd75a22148d8077fccce04329e0f3693355 100644 --- a/apps/user_ldap/lib/IUserLDAP.php +++ b/apps/user_ldap/lib/IUserLDAP.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP; interface IUserLDAP { diff --git a/apps/user_ldap/lib/Jobs/CleanUp.php b/apps/user_ldap/lib/Jobs/CleanUp.php index 19973119eafefcd1b2ab939d4cfc6117bff7b6b6..ee6879d452f37c293d168a85a96cce0748aa3745 100644 --- a/apps/user_ldap/lib/Jobs/CleanUp.php +++ b/apps/user_ldap/lib/Jobs/CleanUp.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Jobs; use OC\BackgroundJob\TimedJob; diff --git a/apps/user_ldap/lib/Jobs/Sync.php b/apps/user_ldap/lib/Jobs/Sync.php index fed8910b2e59439735d1bf13d938be8ea5e37b84..ea5abbf080cad8d3183a2336b2505973fa1efc02 100644 --- a/apps/user_ldap/lib/Jobs/Sync.php +++ b/apps/user_ldap/lib/Jobs/Sync.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Jobs; use OC\BackgroundJob\TimedJob; diff --git a/apps/user_ldap/lib/Jobs/UpdateGroups.php b/apps/user_ldap/lib/Jobs/UpdateGroups.php index 6a57540e7b7e6e13d25db3c50c8cab703f74b22c..c2b43a3cf52549c9939783493d8988c8f8626650 100644 --- a/apps/user_ldap/lib/Jobs/UpdateGroups.php +++ b/apps/user_ldap/lib/Jobs/UpdateGroups.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Jobs; use OC\BackgroundJob\TimedJob; diff --git a/apps/user_ldap/lib/LDAP.php b/apps/user_ldap/lib/LDAP.php index 6586484d7ce34a7e5b5b8c13b3673b33bea86561..7210977e0e476ef2af35b72314996b6e5691013b 100644 --- a/apps/user_ldap/lib/LDAP.php +++ b/apps/user_ldap/lib/LDAP.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OC\ServerNotAvailableException; diff --git a/apps/user_ldap/lib/LDAPProvider.php b/apps/user_ldap/lib/LDAPProvider.php index c63bca9724a9941af1cb183941356c3931d092e6..1d2354026d695fe2eb6ae80bb824f4278e19e298 100644 --- a/apps/user_ldap/lib/LDAPProvider.php +++ b/apps/user_ldap/lib/LDAPProvider.php @@ -4,6 +4,7 @@ * * @author Arthur Schiwon * @author Christoph Wurst + * @author Robin Appelman * @author Roeland Jago Douma * @author Roger Szabo * @author root @@ -18,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP; use OCA\User_LDAP\User\DeletedUsersIndex; diff --git a/apps/user_ldap/lib/LDAPProviderFactory.php b/apps/user_ldap/lib/LDAPProviderFactory.php index d70e45c6a96d591532f7a0eef74c86b9e48b4b51..138879216035865f6f7b79f47a998b1da5bae62f 100644 --- a/apps/user_ldap/lib/LDAPProviderFactory.php +++ b/apps/user_ldap/lib/LDAPProviderFactory.php @@ -3,8 +3,8 @@ * @copyright Copyright (c) 2016, Roger Szabo (roger.szabo@web.de) * * @author Arthur Schiwon + * @author Robin Appelman * @author Roeland Jago Douma - * @author Roger Szabo * @author root * * @license GNU AGPL version 3 or any later version @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP; use OCP\IServerContainer; diff --git a/apps/user_ldap/lib/LDAPUtility.php b/apps/user_ldap/lib/LDAPUtility.php index 7fea832073952facfc0988ee6c22f4753b59c2cd..0b16f74333b9dfc475f962ff86e1137185f9da65 100644 --- a/apps/user_ldap/lib/LDAPUtility.php +++ b/apps/user_ldap/lib/LDAPUtility.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; abstract class LDAPUtility { diff --git a/apps/user_ldap/lib/LogWrapper.php b/apps/user_ldap/lib/LogWrapper.php index 6543fc34c7e06bbf450a4a31583036ee8d28742c..e03378802d351af2c577d71834d96892ca1ab4a5 100644 --- a/apps/user_ldap/lib/LogWrapper.php +++ b/apps/user_ldap/lib/LogWrapper.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; /** diff --git a/apps/user_ldap/lib/Mapping/AbstractMapping.php b/apps/user_ldap/lib/Mapping/AbstractMapping.php index dcff88de008bd4e369cd2117124f561f3985de53..ae881f9dc17bd177cc524338ef3b0a9a12715a74 100644 --- a/apps/user_ldap/lib/Mapping/AbstractMapping.php +++ b/apps/user_ldap/lib/Mapping/AbstractMapping.php @@ -7,7 +7,7 @@ * @author blizzz * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke + * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Mapping; use Doctrine\DBAL\Exception; diff --git a/apps/user_ldap/lib/Mapping/GroupMapping.php b/apps/user_ldap/lib/Mapping/GroupMapping.php index 8bd872b905ec9b1852399f71296324fb2fc704dc..e8518e5e9fce896070ebf89fc04f8c09d9ddc619 100644 --- a/apps/user_ldap/lib/Mapping/GroupMapping.php +++ b/apps/user_ldap/lib/Mapping/GroupMapping.php @@ -4,7 +4,6 @@ * * @author Arthur Schiwon * @author Christoph Wurst - * @author Morris Jobke * * @license AGPL-3.0 * @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Mapping; /** diff --git a/apps/user_ldap/lib/Mapping/UserMapping.php b/apps/user_ldap/lib/Mapping/UserMapping.php index 8220215b4617cb7f16bafc531a7656e2f050df5a..899cc015c9f7b4c6e51c47ea4ca2ba5872fffe39 100644 --- a/apps/user_ldap/lib/Mapping/UserMapping.php +++ b/apps/user_ldap/lib/Mapping/UserMapping.php @@ -4,7 +4,6 @@ * * @author Arthur Schiwon * @author Christoph Wurst - * @author Morris Jobke * * @license AGPL-3.0 * @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Mapping; /** diff --git a/apps/user_ldap/lib/Migration/RemoveRefreshTime.php b/apps/user_ldap/lib/Migration/RemoveRefreshTime.php index 8c8fec2253b08a19de7891159996d0bffb4afbef..501076ed0e8b9556b20e624d83757bd4158c459b 100644 --- a/apps/user_ldap/lib/Migration/RemoveRefreshTime.php +++ b/apps/user_ldap/lib/Migration/RemoveRefreshTime.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Migration; use OCP\IConfig; diff --git a/apps/user_ldap/lib/Migration/SetDefaultProvider.php b/apps/user_ldap/lib/Migration/SetDefaultProvider.php index e07f25a54d34d30979d06ffad7801bebe19783a6..15dba57e5f36cc93a8abb711f0d3f1ac27604b26 100644 --- a/apps/user_ldap/lib/Migration/SetDefaultProvider.php +++ b/apps/user_ldap/lib/Migration/SetDefaultProvider.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Migration; use OCA\User_LDAP\Helper; diff --git a/apps/user_ldap/lib/Migration/UUIDFix.php b/apps/user_ldap/lib/Migration/UUIDFix.php index ba2264c3c6344502e8b61f17662508d9ed4c64aa..74ab65d347c0bff6ec211873c852f64ae40483ba 100644 --- a/apps/user_ldap/lib/Migration/UUIDFix.php +++ b/apps/user_ldap/lib/Migration/UUIDFix.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Migration; use OC\BackgroundJob\QueuedJob; diff --git a/apps/user_ldap/lib/Migration/UUIDFixGroup.php b/apps/user_ldap/lib/Migration/UUIDFixGroup.php index 2e9eeac7ca7e21c841122eb3cef6fef7672d5890..a90dcb5a938f85b74b00b5442d724f94f12b0eb1 100644 --- a/apps/user_ldap/lib/Migration/UUIDFixGroup.php +++ b/apps/user_ldap/lib/Migration/UUIDFixGroup.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Migration; use OCA\User_LDAP\Group_Proxy; diff --git a/apps/user_ldap/lib/Migration/UUIDFixInsert.php b/apps/user_ldap/lib/Migration/UUIDFixInsert.php index 3a8e78ef6a442c14501acab866fb740ae9d529f3..a8e9d2829d7ff19991b9e91c43d977cf3f8cada0 100644 --- a/apps/user_ldap/lib/Migration/UUIDFixInsert.php +++ b/apps/user_ldap/lib/Migration/UUIDFixInsert.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Migration; use OCA\User_LDAP\Mapping\GroupMapping; diff --git a/apps/user_ldap/lib/Migration/UUIDFixUser.php b/apps/user_ldap/lib/Migration/UUIDFixUser.php index a98f9fbeb6b14c09fb18859fda62f1024079a3ba..2cb7ac8bdfbba64a121b396fd4e67489659a22e7 100644 --- a/apps/user_ldap/lib/Migration/UUIDFixUser.php +++ b/apps/user_ldap/lib/Migration/UUIDFixUser.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Migration; use OCA\User_LDAP\User_Proxy; diff --git a/apps/user_ldap/lib/Migration/Version1010Date20200630192842.php b/apps/user_ldap/lib/Migration/Version1010Date20200630192842.php index 754200405c8c4300e8ee7a68369a99ae9f92858a..7b285aa2d1a8eeb83d83441aa17b3f43f7d6de39 100644 --- a/apps/user_ldap/lib/Migration/Version1010Date20200630192842.php +++ b/apps/user_ldap/lib/Migration/Version1010Date20200630192842.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Migration; use Closure; diff --git a/apps/user_ldap/lib/Notification/Notifier.php b/apps/user_ldap/lib/Notification/Notifier.php index e65bba2012d5e387bf145d5c33eb55bf097f4f0a..04c03febb0ed5b38576c726700c7b955395e17e2 100644 --- a/apps/user_ldap/lib/Notification/Notifier.php +++ b/apps/user_ldap/lib/Notification/Notifier.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Notification; use OCP\L10N\IFactory; diff --git a/apps/user_ldap/lib/PagedResults/IAdapter.php b/apps/user_ldap/lib/PagedResults/IAdapter.php index 0136aa0694be3fd99abdfb3ddcce1f4a9eec240c..2dd9ffe80a16a0f7e903ef249e9c2cca6d377082 100644 --- a/apps/user_ldap/lib/PagedResults/IAdapter.php +++ b/apps/user_ldap/lib/PagedResults/IAdapter.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\PagedResults; interface IAdapter { diff --git a/apps/user_ldap/lib/PagedResults/Php73.php b/apps/user_ldap/lib/PagedResults/Php73.php index 7e182e2eabcd24982f879d8c67b131efa69ffc64..1fc1fcdbab8442ba064984f1f6f0fc3192e0b162 100644 --- a/apps/user_ldap/lib/PagedResults/Php73.php +++ b/apps/user_ldap/lib/PagedResults/Php73.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\PagedResults; /** diff --git a/apps/user_ldap/lib/PagedResults/TLinkId.php b/apps/user_ldap/lib/PagedResults/TLinkId.php index 551fb0af3335e3da67fb7f5a4fb444f2f7ef8208..6f320705e67eb0b20ae801eb4c67c2a3550736c2 100644 --- a/apps/user_ldap/lib/PagedResults/TLinkId.php +++ b/apps/user_ldap/lib/PagedResults/TLinkId.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\PagedResults; trait TLinkId { diff --git a/apps/user_ldap/lib/Proxy.php b/apps/user_ldap/lib/Proxy.php index e723c4e3abfa781f2445e73aaa91588fa55a6312..da069a4b6b4149f9b6a06b920f35918926b38788 100644 --- a/apps/user_ldap/lib/Proxy.php +++ b/apps/user_ldap/lib/Proxy.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OCA\User_LDAP\Mapping\GroupMapping; diff --git a/apps/user_ldap/lib/Settings/Admin.php b/apps/user_ldap/lib/Settings/Admin.php index 7bcd1758a0ad437df5be7b905c827c0c14d4b0e9..21ad82b96ed063c51fa10002a998398eb58e83c3 100644 --- a/apps/user_ldap/lib/Settings/Admin.php +++ b/apps/user_ldap/lib/Settings/Admin.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Settings; use OCA\User_LDAP\Configuration; diff --git a/apps/user_ldap/lib/Settings/Section.php b/apps/user_ldap/lib/Settings/Section.php index b854b0303d9a91a141ea2a91dac82c674993bc07..7c4bc5bf44d11e2c98d95237955e1f31c2e40774 100644 --- a/apps/user_ldap/lib/Settings/Section.php +++ b/apps/user_ldap/lib/Settings/Section.php @@ -5,6 +5,7 @@ * @author Arthur Schiwon * @author Joas Schilling * @author Morris Jobke + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license GNU AGPL version 3 or any later version * @@ -15,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Settings; use OCP\IL10N; diff --git a/apps/user_ldap/lib/User/DeletedUsersIndex.php b/apps/user_ldap/lib/User/DeletedUsersIndex.php index 2591f371fa18a08a595e3b8b6d3c34f6c1eef7ef..1e057987eef017e66e35bbc91b7b7acdc50d662f 100644 --- a/apps/user_ldap/lib/User/DeletedUsersIndex.php +++ b/apps/user_ldap/lib/User/DeletedUsersIndex.php @@ -5,7 +5,6 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * * @license AGPL-3.0 * @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\User; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/lib/User/Manager.php b/apps/user_ldap/lib/User/Manager.php index a18c62364dbd09ec0a0469dac8b4cba50df13d5b..87f75f093db0eafb778940d49213434176e7d583 100644 --- a/apps/user_ldap/lib/User/Manager.php +++ b/apps/user_ldap/lib/User/Manager.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\User; use OC\Cache\CappedMemoryCache; diff --git a/apps/user_ldap/lib/User/OfflineUser.php b/apps/user_ldap/lib/User/OfflineUser.php index 309eeec52c7614488d08073e8cd01d876c2f9468..0c9e6e73ff36c7d82a78107fa1a7f6da7cc588ef 100644 --- a/apps/user_ldap/lib/User/OfflineUser.php +++ b/apps/user_ldap/lib/User/OfflineUser.php @@ -6,6 +6,7 @@ * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke + * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -22,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\User; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/lib/User/User.php b/apps/user_ldap/lib/User/User.php index 8ddec8033703a83f0e4ce44912a201cdded3fdf2..7d57fcbb275bc78d184e3d029f1e542f38a63be3 100644 --- a/apps/user_ldap/lib/User/User.php +++ b/apps/user_ldap/lib/User/User.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\User; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/lib/UserPluginManager.php b/apps/user_ldap/lib/UserPluginManager.php index fdc08d3d38b9f8ef1868dea04621f54646c60704..035b7952dce657369978bf613d688c7187a34dbf 100644 --- a/apps/user_ldap/lib/UserPluginManager.php +++ b/apps/user_ldap/lib/UserPluginManager.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2017 EITA Cooperative (eita.org.br) * + * @author Arthur Schiwon * @author Christoph Wurst * @author Filis Futsarov * @author Vinicius Cubas Brand @@ -15,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP; use OC\User\Backend; diff --git a/apps/user_ldap/lib/User_LDAP.php b/apps/user_ldap/lib/User_LDAP.php index 12d93ce5c8a013a63ad75d50f199b0b385862cd7..99d8e68b815dce90e97803d0b0d8e198c0b07d4a 100644 --- a/apps/user_ldap/lib/User_LDAP.php +++ b/apps/user_ldap/lib/User_LDAP.php @@ -36,7 +36,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OC\ServerNotAvailableException; diff --git a/apps/user_ldap/lib/User_Proxy.php b/apps/user_ldap/lib/User_Proxy.php index 532d8ff4cb604d2c2c10ac1dc2ac4e7a3bd3af57..1fdd3cf44b3ec0bedf7607fa86e725aa002e703c 100644 --- a/apps/user_ldap/lib/User_Proxy.php +++ b/apps/user_ldap/lib/User_Proxy.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OCA\User_LDAP\User\User; diff --git a/apps/user_ldap/lib/Wizard.php b/apps/user_ldap/lib/Wizard.php index 0dde8199a0242df9b79a1844a1ec6e633fd07159..9d69ef294c94f882056932292499c89657f64cbb 100644 --- a/apps/user_ldap/lib/Wizard.php +++ b/apps/user_ldap/lib/Wizard.php @@ -35,7 +35,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OC\ServerNotAvailableException; diff --git a/apps/user_ldap/lib/WizardResult.php b/apps/user_ldap/lib/WizardResult.php index 3c8f638736e552db57b246f86e323a487f67c624..0f8d9f46fdd3654def67e4985708b3d11a833279 100644 --- a/apps/user_ldap/lib/WizardResult.php +++ b/apps/user_ldap/lib/WizardResult.php @@ -7,7 +7,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Lukas Reschke - * @author Morris Jobke * @author Robin McCorkell * @author Roeland Jago Douma * @@ -26,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; class WizardResult { diff --git a/apps/user_ldap/tests/AccessTest.php b/apps/user_ldap/tests/AccessTest.php index ac7cbbe37333c3ce3c14a70a67e3f4def4ad3bea..ae07ea509ef7a5f9393bedb33fa078a3e7cb1bf4 100644 --- a/apps/user_ldap/tests/AccessTest.php +++ b/apps/user_ldap/tests/AccessTest.php @@ -12,7 +12,6 @@ * @author Morris Jobke * @author Roeland Jago Douma * @author Roger Szabo - * @author root * @author Thomas Müller * @author Victor Dubiniuk * @@ -31,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/tests/ConfigurationTest.php b/apps/user_ldap/tests/ConfigurationTest.php index 6239bab68b088424b7e254a37210618296ef8342..6be09c474a2e26dbd38058c234d91c9c7b25eb01 100644 --- a/apps/user_ldap/tests/ConfigurationTest.php +++ b/apps/user_ldap/tests/ConfigurationTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Configuration; diff --git a/apps/user_ldap/tests/ConnectionTest.php b/apps/user_ldap/tests/ConnectionTest.php index 1269a5d7e43414877925adec66652c310d00c50c..3b771c6d04f7ee52c22dfcfec427d3a9bae37ebf 100644 --- a/apps/user_ldap/tests/ConnectionTest.php +++ b/apps/user_ldap/tests/ConnectionTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Connection; diff --git a/apps/user_ldap/tests/GroupLDAPPluginTest.php b/apps/user_ldap/tests/GroupLDAPPluginTest.php index baabdfb53c46d484ba94ea17e89adad44cea29a4..b55f57990a00c3f118c15a2b6927a6ee3eb44df8 100644 --- a/apps/user_ldap/tests/GroupLDAPPluginTest.php +++ b/apps/user_ldap/tests/GroupLDAPPluginTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\GroupPluginManager; diff --git a/apps/user_ldap/tests/Group_LDAPTest.php b/apps/user_ldap/tests/Group_LDAPTest.php index 4011d964a4045353f4e8dc5e819114ad5b503d41..acb6ad3d710cb82d130b613d1be093f6c8364654 100644 --- a/apps/user_ldap/tests/Group_LDAPTest.php +++ b/apps/user_ldap/tests/Group_LDAPTest.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/tests/HelperTest.php b/apps/user_ldap/tests/HelperTest.php index 347e2c63820e48a185b376d490c5726fb73218a8..e8ccf0dfbcbe498e415481db262b2a1e1ac1ff5b 100644 --- a/apps/user_ldap/tests/HelperTest.php +++ b/apps/user_ldap/tests/HelperTest.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Joas Schilling @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Helper; diff --git a/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php b/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php index d0f2e8d4a958c8f578392d9bde98a9f714479d78..c9d7d41d2b9d22362fa9e6a6209bf4734f6e7689 100644 --- a/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php +++ b/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/tests/Integration/Bootstrap.php b/apps/user_ldap/tests/Integration/Bootstrap.php index afa92dac958f1d69ac279845fecfcafadafda1bd..6253798917140ee4df8112a8d96e5ebe43e574ff 100644 --- a/apps/user_ldap/tests/Integration/Bootstrap.php +++ b/apps/user_ldap/tests/Integration/Bootstrap.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - define('CLI_TEST_RUN', true); require_once __DIR__ . '/../../../../lib/base.php'; require_once __DIR__ . '/setup-scripts/config.php'; diff --git a/apps/user_ldap/tests/Integration/ExceptionOnLostConnection.php b/apps/user_ldap/tests/Integration/ExceptionOnLostConnection.php index e78208e579c7573bb35fe03ac19898e7975bf20f..c171fa06b554c4c4158d00213f3753bd20d1e1b7 100644 --- a/apps/user_ldap/tests/Integration/ExceptionOnLostConnection.php +++ b/apps/user_ldap/tests/Integration/ExceptionOnLostConnection.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration; use OC\ServerNotAvailableException; diff --git a/apps/user_ldap/tests/Integration/Lib/IntegrationTestAttributeDetection.php b/apps/user_ldap/tests/Integration/Lib/IntegrationTestAttributeDetection.php index 5669e2164b72455e0e01d50df945997f545571b6..eb70c774e2573a5ba395d3ceffd2d5f1e31a25d3 100644 --- a/apps/user_ldap/tests/Integration/Lib/IntegrationTestAttributeDetection.php +++ b/apps/user_ldap/tests/Integration/Lib/IntegrationTestAttributeDetection.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\user_ldap\tests\Integration\Lib; use OCA\User_LDAP\Group_LDAP; diff --git a/apps/user_ldap/tests/Integration/Lib/IntegrationTestCountUsersByLoginName.php b/apps/user_ldap/tests/Integration/Lib/IntegrationTestCountUsersByLoginName.php index dc483ebec6d343a3e699ff93b999ab84224e161e..c02ac5ccdae980af790ad4e61f0398d962dafe2e 100644 --- a/apps/user_ldap/tests/Integration/Lib/IntegrationTestCountUsersByLoginName.php +++ b/apps/user_ldap/tests/Integration/Lib/IntegrationTestCountUsersByLoginName.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration\Lib; use OCA\User_LDAP\Tests\Integration\AbstractIntegrationTest; diff --git a/apps/user_ldap/tests/Integration/Lib/IntegrationTestFetchUsersByLoginName.php b/apps/user_ldap/tests/Integration/Lib/IntegrationTestFetchUsersByLoginName.php index 7fc109966404d40ae15863dbf709f7943ac9f44b..36c8ab4c0d30721d5bc564f3321097f2c4c13549 100644 --- a/apps/user_ldap/tests/Integration/Lib/IntegrationTestFetchUsersByLoginName.php +++ b/apps/user_ldap/tests/Integration/Lib/IntegrationTestFetchUsersByLoginName.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration\Lib; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/tests/Integration/Lib/IntegrationTestPaging.php b/apps/user_ldap/tests/Integration/Lib/IntegrationTestPaging.php index 066c91a149baa12dc29d50d313d1298622186628..b941fa6fc669b6da777b9a2cb3c3b7cb1aa47782 100644 --- a/apps/user_ldap/tests/Integration/Lib/IntegrationTestPaging.php +++ b/apps/user_ldap/tests/Integration/Lib/IntegrationTestPaging.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration\Lib; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php b/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php index 70ba46dba0c569d430f7e0e69d224f9436e42643..90334cef08dba10a450c8a6f13f48c3646d968ae 100644 --- a/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php +++ b/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration\Lib\User; use OCA\User_LDAP\FilesystemHelper; diff --git a/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserCleanUp.php b/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserCleanUp.php index cefebe9f94e322d74a5f58149ae8064dd25f8bb0..5da672d8a553ce0caeace682c9c2ced3b3b1c14f 100644 --- a/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserCleanUp.php +++ b/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserCleanUp.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration\Lib\User; use OCA\User_LDAP\Jobs\CleanUp; diff --git a/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserDisplayName.php b/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserDisplayName.php index ace04e6234f67e7e15a9fde3bbf4c5fd9d89cbfa..7353c5bef30b03bf9970a97935d8e56c27790382 100644 --- a/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserDisplayName.php +++ b/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserDisplayName.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration\Lib\User; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/tests/Jobs/CleanUpTest.php b/apps/user_ldap/tests/Jobs/CleanUpTest.php index 2e66d1147551b993a90e1b39cf355ea1820642bf..f70d65a6ea2fc641f2ad9082b997cef29ded26c9 100644 --- a/apps/user_ldap/tests/Jobs/CleanUpTest.php +++ b/apps/user_ldap/tests/Jobs/CleanUpTest.php @@ -5,7 +5,6 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Jobs; use Exception; diff --git a/apps/user_ldap/tests/Jobs/SyncTest.php b/apps/user_ldap/tests/Jobs/SyncTest.php index 6ee186d0da42d88c1d5ea81934e9826a574a06a1..5592a2531bce1a83f7a15b0741c76518f0915f3e 100644 --- a/apps/user_ldap/tests/Jobs/SyncTest.php +++ b/apps/user_ldap/tests/Jobs/SyncTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests\Jobs; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/tests/Jobs/UpdateGroupsTest.php b/apps/user_ldap/tests/Jobs/UpdateGroupsTest.php index 63f60184a53f9ba99f6b91be4b894ab1cc2fec9d..9c9c62b0d0e5fbf31331f62410e9400be54d855b 100644 --- a/apps/user_ldap/tests/Jobs/UpdateGroupsTest.php +++ b/apps/user_ldap/tests/Jobs/UpdateGroupsTest.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2020 Arthur Schiwon * * @author Arthur Schiwon + * @author Joas Schilling * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\user_ldap\tests\Jobs; use OCA\User_LDAP\Group_Proxy; diff --git a/apps/user_ldap/tests/LDAPGroupPluginDummy.php b/apps/user_ldap/tests/LDAPGroupPluginDummy.php index 7ff5cd8ac69c63cbcb2bfb22eef0a8d5f12dd6f2..25350bfc16a088cd33a71ef4c5d303361a463a3a 100644 --- a/apps/user_ldap/tests/LDAPGroupPluginDummy.php +++ b/apps/user_ldap/tests/LDAPGroupPluginDummy.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\ILDAPGroupPlugin; diff --git a/apps/user_ldap/tests/LDAPProviderTest.php b/apps/user_ldap/tests/LDAPProviderTest.php index 0f1480d6930210e770844baff9404488cf82c5da..607cf8f42931e6db8c06da0433eb968eac29a3b9 100644 --- a/apps/user_ldap/tests/LDAPProviderTest.php +++ b/apps/user_ldap/tests/LDAPProviderTest.php @@ -19,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OC\User\Manager; diff --git a/apps/user_ldap/tests/LDAPTest.php b/apps/user_ldap/tests/LDAPTest.php index 443bafe505b43996e71611a0cd586c7edf53a219..876ea9b1f68c9f478134703c9ffdb7de0dbe48d6 100644 --- a/apps/user_ldap/tests/LDAPTest.php +++ b/apps/user_ldap/tests/LDAPTest.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\LDAP; diff --git a/apps/user_ldap/tests/LDAPUserPluginDummy.php b/apps/user_ldap/tests/LDAPUserPluginDummy.php index a3bcc252fbeaeedd5053f2620df1dda85845fb5a..def108207841102035c21bdfcea0bb50743918a1 100644 --- a/apps/user_ldap/tests/LDAPUserPluginDummy.php +++ b/apps/user_ldap/tests/LDAPUserPluginDummy.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\ILDAPUserPlugin; diff --git a/apps/user_ldap/tests/Mapping/AbstractMappingTest.php b/apps/user_ldap/tests/Mapping/AbstractMappingTest.php index 05059a50a4bf5f44afbf7c87e33bf3839ee8889b..cc2b36fb7df4a9f3513cb22d6d6808fe9df640e6 100644 --- a/apps/user_ldap/tests/Mapping/AbstractMappingTest.php +++ b/apps/user_ldap/tests/Mapping/AbstractMappingTest.php @@ -6,7 +6,6 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Roeland Jago Douma * @author Stefan Weil * @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Mapping; use OCA\User_LDAP\Mapping\AbstractMapping; diff --git a/apps/user_ldap/tests/Mapping/GroupMappingTest.php b/apps/user_ldap/tests/Mapping/GroupMappingTest.php index 6549ae66671ac961d91f223e28a8405ee8e50d9c..2bb9445d1ee4e374b4befa83c9d638aca99b0b01 100644 --- a/apps/user_ldap/tests/Mapping/GroupMappingTest.php +++ b/apps/user_ldap/tests/Mapping/GroupMappingTest.php @@ -4,7 +4,6 @@ * * @author Arthur Schiwon * @author Joas Schilling - * @author Morris Jobke * @author Thomas Müller * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Mapping; use OCA\User_LDAP\Mapping\GroupMapping; diff --git a/apps/user_ldap/tests/Mapping/UserMappingTest.php b/apps/user_ldap/tests/Mapping/UserMappingTest.php index 2417eda0b8cb608f55ee7595ff937ec5c061132d..081266cf3f1ad2a0c342ddba3ee47b45aca76569 100644 --- a/apps/user_ldap/tests/Mapping/UserMappingTest.php +++ b/apps/user_ldap/tests/Mapping/UserMappingTest.php @@ -4,7 +4,6 @@ * * @author Arthur Schiwon * @author Joas Schilling - * @author Morris Jobke * @author Thomas Müller * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Mapping; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/tests/Migration/AbstractUUIDFixTest.php b/apps/user_ldap/tests/Migration/AbstractUUIDFixTest.php index 82483a54327368829283b369b2c76ca912f253a0..7cb666b25147e96b4df0531da2d110918c29ed7b 100644 --- a/apps/user_ldap/tests/Migration/AbstractUUIDFixTest.php +++ b/apps/user_ldap/tests/Migration/AbstractUUIDFixTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests\Migration; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php b/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php index fb9d2e2331c38065be7a4f0f760a2ff2bd0cd29c..0144a25931828e3aa015b785d9b8292d43cbe194 100644 --- a/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php +++ b/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\Group_LDAP\Tests\Migration; use OCA\User_LDAP\Group_Proxy; diff --git a/apps/user_ldap/tests/Migration/UUIDFixInsertTest.php b/apps/user_ldap/tests/Migration/UUIDFixInsertTest.php index 492f0c657ac108081bf9df3b3fdf1fcf418067c1..b13efa14e5cb9ce054bd58228138ba8c11346d6d 100644 --- a/apps/user_ldap/tests/Migration/UUIDFixInsertTest.php +++ b/apps/user_ldap/tests/Migration/UUIDFixInsertTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests\Migration; use OCA\User_LDAP\Mapping\GroupMapping; diff --git a/apps/user_ldap/tests/Migration/UUIDFixUserTest.php b/apps/user_ldap/tests/Migration/UUIDFixUserTest.php index cf80bf362309e9c08f174ce3c911000d0e8425fd..477bc66f1a92273cbcc86ff59c5cbaca43f7ae57 100644 --- a/apps/user_ldap/tests/Migration/UUIDFixUserTest.php +++ b/apps/user_ldap/tests/Migration/UUIDFixUserTest.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests\Migration; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/tests/Settings/AdminTest.php b/apps/user_ldap/tests/Settings/AdminTest.php index 2599a966f06ed1b82e902fe182322033d53fde06..44f253ad598f797c727e1dc3fcd4b34b620d11fd 100644 --- a/apps/user_ldap/tests/Settings/AdminTest.php +++ b/apps/user_ldap/tests/Settings/AdminTest.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests\Settings; use OCA\User_LDAP\Configuration; diff --git a/apps/user_ldap/tests/Settings/SectionTest.php b/apps/user_ldap/tests/Settings/SectionTest.php index e9b7b00e5cff5ed73666f399f76b19b5228d6347..21de15118c82876bb7b5d73353ee33cf374f8f5a 100644 --- a/apps/user_ldap/tests/Settings/SectionTest.php +++ b/apps/user_ldap/tests/Settings/SectionTest.php @@ -6,6 +6,7 @@ * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests\Settings; use OCA\User_LDAP\Settings\Section; diff --git a/apps/user_ldap/tests/User/DeletedUsersIndexTest.php b/apps/user_ldap/tests/User/DeletedUsersIndexTest.php index 8435078051c0600932f31e9ef36d72498344faeb..7d0b49b21c84b03fa2b3e49958f4e885a7385779 100644 --- a/apps/user_ldap/tests/User/DeletedUsersIndexTest.php +++ b/apps/user_ldap/tests/User/DeletedUsersIndexTest.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests\User; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/tests/User/ManagerTest.php b/apps/user_ldap/tests/User/ManagerTest.php index 9f6d43a9a24cccd5c20c94cc6cac20fb9b437252..01ed5a6ba1287da66d6c4f48fac6d008cbd9d9b3 100644 --- a/apps/user_ldap/tests/User/ManagerTest.php +++ b/apps/user_ldap/tests/User/ManagerTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\User; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/tests/User/OfflineUserTest.php b/apps/user_ldap/tests/User/OfflineUserTest.php index 65f668401736fae1f7ad1de320ea760604b7c8e1..e1fda3f16ca130b69668a63505f5f5c3a7d1f18e 100644 --- a/apps/user_ldap/tests/User/OfflineUserTest.php +++ b/apps/user_ldap/tests/User/OfflineUserTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests\User; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/tests/User/UserTest.php b/apps/user_ldap/tests/User/UserTest.php index 3186a74ea89a9987a5c51c174598c69621f5fabc..b1b2d9ac3919f1fa02442d6993ee6ab427758470 100644 --- a/apps/user_ldap/tests/User/UserTest.php +++ b/apps/user_ldap/tests/User/UserTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\User; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/tests/UserLDAPPluginTest.php b/apps/user_ldap/tests/UserLDAPPluginTest.php index e1b3cd92159695e8499cb52845742efd01ab5106..98d9c40902772cbac39540b43c612eabf06151ad 100644 --- a/apps/user_ldap/tests/UserLDAPPluginTest.php +++ b/apps/user_ldap/tests/UserLDAPPluginTest.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OC\User\Backend; diff --git a/apps/user_ldap/tests/User_LDAPTest.php b/apps/user_ldap/tests/User_LDAPTest.php index 6840a4c6daca34c29f22d684e7efcb37f5a55289..78767ff6760d7a513224b423ae5d0a154503b735 100644 --- a/apps/user_ldap/tests/User_LDAPTest.php +++ b/apps/user_ldap/tests/User_LDAPTest.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests; use OC\HintException; diff --git a/apps/user_ldap/tests/User_ProxyTest.php b/apps/user_ldap/tests/User_ProxyTest.php index 0bbea00ed449b9218d00b85828a4be147f4d78e8..ed95344f11509716305244c1b0f21a40023d44fa 100644 --- a/apps/user_ldap/tests/User_ProxyTest.php +++ b/apps/user_ldap/tests/User_ProxyTest.php @@ -19,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Helper; diff --git a/apps/user_ldap/tests/WizardTest.php b/apps/user_ldap/tests/WizardTest.php index 25aa5d66c8feafd79c8b8ad2f401295d30a5896c..ae25aad44ab8eeb09a86fc037a5dddb262299f9e 100644 --- a/apps/user_ldap/tests/WizardTest.php +++ b/apps/user_ldap/tests/WizardTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Access; diff --git a/apps/user_status/appinfo/routes.php b/apps/user_status/appinfo/routes.php index d9b8d17fe4e180c2f31151f9e751006ed2096e86..d360dc1ebd5b5db0df7e3338fb49e00b676899ad 100644 --- a/apps/user_status/appinfo/routes.php +++ b/apps/user_status/appinfo/routes.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - return [ 'ocs' => [ // Routes for querying statuses diff --git a/apps/user_status/lib/AppInfo/Application.php b/apps/user_status/lib/AppInfo/Application.php index 2e511500ea6478020d172bf68936bec628cdb071..8ccf0f497c33f4ee2ae6f4457741c01db1543d38 100644 --- a/apps/user_status/lib/AppInfo/Application.php +++ b/apps/user_status/lib/AppInfo/Application.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\AppInfo; use OCA\UserStatus\Capabilities; diff --git a/apps/user_status/lib/BackgroundJob/ClearOldStatusesBackgroundJob.php b/apps/user_status/lib/BackgroundJob/ClearOldStatusesBackgroundJob.php index 3077fbec099d80263a4978896cd415971fb6e35c..0d8f5ac431b8a7e390f943ba6265677ace01a6da 100644 --- a/apps/user_status/lib/BackgroundJob/ClearOldStatusesBackgroundJob.php +++ b/apps/user_status/lib/BackgroundJob/ClearOldStatusesBackgroundJob.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\BackgroundJob; use OCA\UserStatus\Db\UserStatusMapper; diff --git a/apps/user_status/lib/Capabilities.php b/apps/user_status/lib/Capabilities.php index ada65402a301ecbdf256687a3f17902287c98310..f5b35896a56802a3a0eede8f2fae9254a1aaa2dc 100644 --- a/apps/user_status/lib/Capabilities.php +++ b/apps/user_status/lib/Capabilities.php @@ -7,19 +7,20 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ namespace OCA\UserStatus; diff --git a/apps/user_status/lib/Connector/UserStatus.php b/apps/user_status/lib/Connector/UserStatus.php index d6b075dcd8ee4879209ce0d7093acb7363bf24fe..26dc2be7e937295f06372d5c75d7c68188b6c154 100644 --- a/apps/user_status/lib/Connector/UserStatus.php +++ b/apps/user_status/lib/Connector/UserStatus.php @@ -7,19 +7,20 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ namespace OCA\UserStatus\Connector; diff --git a/apps/user_status/lib/Connector/UserStatusProvider.php b/apps/user_status/lib/Connector/UserStatusProvider.php index 1197d19c3abb25124aefcba8e29ea5d2e5d32c18..783588b8c8cbde3811706aec8bcd661e3231bb07 100644 --- a/apps/user_status/lib/Connector/UserStatusProvider.php +++ b/apps/user_status/lib/Connector/UserStatusProvider.php @@ -7,19 +7,20 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ namespace OCA\UserStatus\Connector; diff --git a/apps/user_status/lib/Controller/HeartbeatController.php b/apps/user_status/lib/Controller/HeartbeatController.php index 02a0fd082cff9bc3403e49f1bab22abeab1d4f50..c0fc515518ce7d4f25b5837bdc38493dea0fbac4 100644 --- a/apps/user_status/lib/Controller/HeartbeatController.php +++ b/apps/user_status/lib/Controller/HeartbeatController.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Controller; use OCP\AppFramework\Controller; diff --git a/apps/user_status/lib/Controller/PredefinedStatusController.php b/apps/user_status/lib/Controller/PredefinedStatusController.php index 4c3530624f378d667d9e33161360f6915d632345..50148650ad8804a3b947e73ee1cd806321f04912 100644 --- a/apps/user_status/lib/Controller/PredefinedStatusController.php +++ b/apps/user_status/lib/Controller/PredefinedStatusController.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Controller; use OCA\UserStatus\Service\PredefinedStatusService; diff --git a/apps/user_status/lib/Controller/StatusesController.php b/apps/user_status/lib/Controller/StatusesController.php index 71ee75e5b74b769cd6d46d888090e768c8e20692..56dbeb4f7a58eb87360d9510c17a13eef5fef5d5 100644 --- a/apps/user_status/lib/Controller/StatusesController.php +++ b/apps/user_status/lib/Controller/StatusesController.php @@ -5,24 +5,25 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020, Georg Ehrke * + * @author Christoph Wurst * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Controller; use OCA\UserStatus\Db\UserStatus; diff --git a/apps/user_status/lib/Controller/UserStatusController.php b/apps/user_status/lib/Controller/UserStatusController.php index 0ca82e84cbdfb6df12db96c35cd8c773e314b7d1..a231103e91e2b01e1a3a0fd5389406f51a9fc99b 100644 --- a/apps/user_status/lib/Controller/UserStatusController.php +++ b/apps/user_status/lib/Controller/UserStatusController.php @@ -6,20 +6,23 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke + * @author Joas Schilling + * @author Simon Spannagel * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ namespace OCA\UserStatus\Controller; diff --git a/apps/user_status/lib/Dashboard/UserStatusWidget.php b/apps/user_status/lib/Dashboard/UserStatusWidget.php index 6ccea95acdc16169ab01c44ab0587641767f3eb9..10411dc7f9daf89b3c79cf4dca5783b3eb3c80e5 100644 --- a/apps/user_status/lib/Dashboard/UserStatusWidget.php +++ b/apps/user_status/lib/Dashboard/UserStatusWidget.php @@ -7,19 +7,20 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ namespace OCA\UserStatus\Dashboard; diff --git a/apps/user_status/lib/Db/UserStatus.php b/apps/user_status/lib/Db/UserStatus.php index 6faea6e0ecd51ac2a9d84837e1d052c967fa449d..3f8abbfbe874369e23d8eee99df98fb23fde9d40 100644 --- a/apps/user_status/lib/Db/UserStatus.php +++ b/apps/user_status/lib/Db/UserStatus.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Db; use OCP\AppFramework\Db\Entity; diff --git a/apps/user_status/lib/Db/UserStatusMapper.php b/apps/user_status/lib/Db/UserStatusMapper.php index dc54789d3432f38aa9e858884c4202c08dd47296..fecfc38bd9137c86e00262b46609995d8f3e66e4 100644 --- a/apps/user_status/lib/Db/UserStatusMapper.php +++ b/apps/user_status/lib/Db/UserStatusMapper.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Db; use OCP\AppFramework\Db\QBMapper; diff --git a/apps/user_status/lib/Exception/InvalidClearAtException.php b/apps/user_status/lib/Exception/InvalidClearAtException.php index da49a8ee672df14b7b450f0fa5cdc6c9efa953c8..a0ca08ade76cedf3cff53f8242039ef5e88a18f4 100644 --- a/apps/user_status/lib/Exception/InvalidClearAtException.php +++ b/apps/user_status/lib/Exception/InvalidClearAtException.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Exception; class InvalidClearAtException extends \Exception { diff --git a/apps/user_status/lib/Exception/InvalidMessageIdException.php b/apps/user_status/lib/Exception/InvalidMessageIdException.php index e08045aa8d261b2bb00391c30d71b2ba684d1823..dbf8d83d9703eab530d5314b1558a19529493c7c 100644 --- a/apps/user_status/lib/Exception/InvalidMessageIdException.php +++ b/apps/user_status/lib/Exception/InvalidMessageIdException.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Exception; class InvalidMessageIdException extends \Exception { diff --git a/apps/user_status/lib/Exception/InvalidStatusIconException.php b/apps/user_status/lib/Exception/InvalidStatusIconException.php index e8dc089327f857df5bdcb4c140048299a242e97b..7a7c7947d5b2d01646e200a47acf2ddb28e7fea3 100644 --- a/apps/user_status/lib/Exception/InvalidStatusIconException.php +++ b/apps/user_status/lib/Exception/InvalidStatusIconException.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Exception; class InvalidStatusIconException extends \Exception { diff --git a/apps/user_status/lib/Exception/InvalidStatusTypeException.php b/apps/user_status/lib/Exception/InvalidStatusTypeException.php index f11b899e7bdca9385644b66d71818f44d78516ea..12115054b2c0b4dc1a9d8a2bbcd8bc7b68742c38 100644 --- a/apps/user_status/lib/Exception/InvalidStatusTypeException.php +++ b/apps/user_status/lib/Exception/InvalidStatusTypeException.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Exception; class InvalidStatusTypeException extends \Exception { diff --git a/apps/user_status/lib/Exception/StatusMessageTooLongException.php b/apps/user_status/lib/Exception/StatusMessageTooLongException.php index 675d7417b06c0deaeb2d3d6df9853948fdc8ba4d..c52f6079874f90199f7a339a06beb80aa5783eca 100644 --- a/apps/user_status/lib/Exception/StatusMessageTooLongException.php +++ b/apps/user_status/lib/Exception/StatusMessageTooLongException.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Exception; class StatusMessageTooLongException extends \Exception { diff --git a/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php b/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php index 0daaaa9fcf2f9a3daea1936ce9d14e8120968d62..86e151affdf6eb3873454a566b92c8ad93a942ac 100644 --- a/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php +++ b/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php @@ -6,23 +6,24 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke + * @author Julius Härtl * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Listener; use OCA\UserStatus\AppInfo\Application; diff --git a/apps/user_status/lib/Listener/UserDeletedListener.php b/apps/user_status/lib/Listener/UserDeletedListener.php index b376be0094963b36d185c6fe93a7b3d58a8adb89..0cacc89971a37f62f4284e44609541e1500a3e50 100644 --- a/apps/user_status/lib/Listener/UserDeletedListener.php +++ b/apps/user_status/lib/Listener/UserDeletedListener.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Listener; use OCA\UserStatus\Service\StatusService; diff --git a/apps/user_status/lib/Listener/UserLiveStatusListener.php b/apps/user_status/lib/Listener/UserLiveStatusListener.php index 967810367eb625f2085cc76464772a3292a55ca8..60b5fb7f3a46505751f3602603399d691467e0ea 100644 --- a/apps/user_status/lib/Listener/UserLiveStatusListener.php +++ b/apps/user_status/lib/Listener/UserLiveStatusListener.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Listener; use OCA\UserStatus\Db\UserStatus; diff --git a/apps/user_status/lib/Migration/Version0001Date20200602134824.php b/apps/user_status/lib/Migration/Version0001Date20200602134824.php index 262c0e5f705457777b0c4e582cfbd908271d3bb4..64490cc420761632fa5007627793e39f7952bf36 100644 --- a/apps/user_status/lib/Migration/Version0001Date20200602134824.php +++ b/apps/user_status/lib/Migration/Version0001Date20200602134824.php @@ -5,24 +5,26 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020, Georg Ehrke * + * @author Christoph Wurst * @author Georg Ehrke + * @author Joas Schilling * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Migration; use OCP\DB\Types; diff --git a/apps/user_status/lib/Migration/Version0002Date20200902144824.php b/apps/user_status/lib/Migration/Version0002Date20200902144824.php index abec418058f52839799a7dd0cbdba20046891f0e..0c222eff8cd537a7056a77251a7075759dbf9230 100644 --- a/apps/user_status/lib/Migration/Version0002Date20200902144824.php +++ b/apps/user_status/lib/Migration/Version0002Date20200902144824.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Migration; use OCP\DB\ISchemaWrapper; diff --git a/apps/user_status/lib/Migration/Version1000Date20201111130204.php b/apps/user_status/lib/Migration/Version1000Date20201111130204.php index 53b35f2b3a6032871ae4ddaf038dcc18d3792b7d..8b20ed8306f9d2044ab94763d8b110965d77c236 100644 --- a/apps/user_status/lib/Migration/Version1000Date20201111130204.php +++ b/apps/user_status/lib/Migration/Version1000Date20201111130204.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCA\UserStatus\Migration; use Closure; diff --git a/apps/user_status/lib/Service/EmojiService.php b/apps/user_status/lib/Service/EmojiService.php index b55be89f290be8c3efa689612675d601a1221318..0f1979338726ec8b626e9d1fe8cf3fd7f93501cb 100644 --- a/apps/user_status/lib/Service/EmojiService.php +++ b/apps/user_status/lib/Service/EmojiService.php @@ -6,23 +6,24 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke + * @author Joas Schilling * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Service; use OCP\IDBConnection; diff --git a/apps/user_status/lib/Service/JSDataService.php b/apps/user_status/lib/Service/JSDataService.php index ca78943fafe0cd478def345a8f86a64ea0b8ac11..6d83591ab2f4711ee89495c514409b95bc7e5840 100644 --- a/apps/user_status/lib/Service/JSDataService.php +++ b/apps/user_status/lib/Service/JSDataService.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Service; use OCP\AppFramework\Db\DoesNotExistException; diff --git a/apps/user_status/lib/Service/PredefinedStatusService.php b/apps/user_status/lib/Service/PredefinedStatusService.php index e8a82014b7be242db8b3c9f87930800fe35e13c0..f1ce9d0cdfd7308c4607c13a708dd5aa1fa0be1e 100644 --- a/apps/user_status/lib/Service/PredefinedStatusService.php +++ b/apps/user_status/lib/Service/PredefinedStatusService.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Service; use OCP\IL10N; diff --git a/apps/user_status/lib/Service/StatusService.php b/apps/user_status/lib/Service/StatusService.php index 39edad358505938254b6f0f7281253ae7cd1c721..7f77070a87df529e7826a265311607130d443019 100644 --- a/apps/user_status/lib/Service/StatusService.php +++ b/apps/user_status/lib/Service/StatusService.php @@ -6,23 +6,24 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke + * @author Joas Schilling * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Service; use OCA\UserStatus\Db\UserStatus; diff --git a/apps/user_status/tests/Unit/BackgroundJob/ClearOldStatusesBackgroundJobTest.php b/apps/user_status/tests/Unit/BackgroundJob/ClearOldStatusesBackgroundJobTest.php index 682151a3f5d4e0128aeb5ed9248300fc8c88a224..2cf9b7d1bd4d9f23531c482c792ab045e5e1b244 100644 --- a/apps/user_status/tests/Unit/BackgroundJob/ClearOldStatusesBackgroundJobTest.php +++ b/apps/user_status/tests/Unit/BackgroundJob/ClearOldStatusesBackgroundJobTest.php @@ -6,23 +6,24 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke + * @author Joas Schilling * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\BackgroundJob; use OCA\UserStatus\BackgroundJob\ClearOldStatusesBackgroundJob; diff --git a/apps/user_status/tests/Unit/CapabilitiesTest.php b/apps/user_status/tests/Unit/CapabilitiesTest.php index 80f6765a69474402e0133619d2a618c6d0a05c08..af36900d3bc9a1d39fbf426370e7190e0c0ca81e 100644 --- a/apps/user_status/tests/Unit/CapabilitiesTest.php +++ b/apps/user_status/tests/Unit/CapabilitiesTest.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests; use OCA\UserStatus\Capabilities; diff --git a/apps/user_status/tests/Unit/Connector/UserStatusProviderTest.php b/apps/user_status/tests/Unit/Connector/UserStatusProviderTest.php index bc485a5537c4a49d316627a864f86dd40a7f34b7..2b126a7a5ea446aef60785746033f45df2066a70 100644 --- a/apps/user_status/tests/Unit/Connector/UserStatusProviderTest.php +++ b/apps/user_status/tests/Unit/Connector/UserStatusProviderTest.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Connector; use OCA\UserStatus\Connector\UserStatusProvider; diff --git a/apps/user_status/tests/Unit/Connector/UserStatusTest.php b/apps/user_status/tests/Unit/Connector/UserStatusTest.php index 35f79f9958a0d3fddcd2e4d721c92942287b3e12..61b5d3262872455109aaf5a4e0e2504877a36287 100644 --- a/apps/user_status/tests/Unit/Connector/UserStatusTest.php +++ b/apps/user_status/tests/Unit/Connector/UserStatusTest.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Connector; use OCA\UserStatus\Connector\UserStatus; diff --git a/apps/user_status/tests/Unit/Controller/PredefinedStatusControllerTest.php b/apps/user_status/tests/Unit/Controller/PredefinedStatusControllerTest.php index 44e3af5c0d28c13c5cfa9312b7d51c7011d4e53b..81ad3b8e390f933367d03401df134edc24781fd6 100644 --- a/apps/user_status/tests/Unit/Controller/PredefinedStatusControllerTest.php +++ b/apps/user_status/tests/Unit/Controller/PredefinedStatusControllerTest.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Controller; use OCA\UserStatus\Controller\PredefinedStatusController; diff --git a/apps/user_status/tests/Unit/Controller/StatusesControllerTest.php b/apps/user_status/tests/Unit/Controller/StatusesControllerTest.php index 1dd6c0c4ae140ef22d2e25736721e26545990b97..19c4bee076ea774c3c22a69b4a8e514d07cd4f6a 100644 --- a/apps/user_status/tests/Unit/Controller/StatusesControllerTest.php +++ b/apps/user_status/tests/Unit/Controller/StatusesControllerTest.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Controller; use OCA\UserStatus\Controller\StatusesController; diff --git a/apps/user_status/tests/Unit/Controller/UserStatusControllerTest.php b/apps/user_status/tests/Unit/Controller/UserStatusControllerTest.php index fbf86ba92c411228b6044d5694a8ba90173ccfda..916f5447ea4eb29dc6970c22b7647c32c1089851 100644 --- a/apps/user_status/tests/Unit/Controller/UserStatusControllerTest.php +++ b/apps/user_status/tests/Unit/Controller/UserStatusControllerTest.php @@ -6,23 +6,24 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke + * @author Joas Schilling * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Controller; use OCA\UserStatus\Controller\UserStatusController; diff --git a/apps/user_status/tests/Unit/Dashboard/UserStatusWidgetTest.php b/apps/user_status/tests/Unit/Dashboard/UserStatusWidgetTest.php index b6f3b41018635afebfaf6e85560b3bf9767be382..d23b2bc02ff2fa8154b2f43e9fef75e15a6a57b8 100644 --- a/apps/user_status/tests/Unit/Dashboard/UserStatusWidgetTest.php +++ b/apps/user_status/tests/Unit/Dashboard/UserStatusWidgetTest.php @@ -5,24 +5,25 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020, Georg Ehrke * + * @author Christoph Wurst * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Dashboard; use OCA\UserStatus\Dashboard\UserStatusWidget; diff --git a/apps/user_status/tests/Unit/Db/UserStatusMapperTest.php b/apps/user_status/tests/Unit/Db/UserStatusMapperTest.php index 8cdaa5fd829e67b96de41de3dadb5a79e90b452f..3959d1f91ef74dcef10f8f59fa9f652450678631 100644 --- a/apps/user_status/tests/Unit/Db/UserStatusMapperTest.php +++ b/apps/user_status/tests/Unit/Db/UserStatusMapperTest.php @@ -5,24 +5,25 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020, Georg Ehrke * + * @author Christoph Wurst * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Db; use OCA\UserStatus\Db\UserStatus; diff --git a/apps/user_status/tests/Unit/Listener/UserDeletedListenerTest.php b/apps/user_status/tests/Unit/Listener/UserDeletedListenerTest.php index 6267bf1d185966ceb5d1c664973b04a1b94285ca..883a06059f729fb566f74004a482b5c6376497b4 100644 --- a/apps/user_status/tests/Unit/Listener/UserDeletedListenerTest.php +++ b/apps/user_status/tests/Unit/Listener/UserDeletedListenerTest.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Listener; use OCA\UserStatus\Listener\UserDeletedListener; diff --git a/apps/user_status/tests/Unit/Listener/UserLiveStatusListenerTest.php b/apps/user_status/tests/Unit/Listener/UserLiveStatusListenerTest.php index ff12628ba70a80e6401797c232aecd266ba360cd..2e815073b5ac013f2d4186616ac8d95acde9cd1c 100644 --- a/apps/user_status/tests/Unit/Listener/UserLiveStatusListenerTest.php +++ b/apps/user_status/tests/Unit/Listener/UserLiveStatusListenerTest.php @@ -5,24 +5,25 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020, Georg Ehrke * + * @author Daniel Kesselberg * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Listener; use OCA\UserStatus\Db\UserStatus; diff --git a/apps/user_status/tests/Unit/Service/EmojiServiceTest.php b/apps/user_status/tests/Unit/Service/EmojiServiceTest.php index e622a7eabcd01106eb3b0b93536a4a0432d5545e..454f1d75a0df22306e76e4c268fca5b98d8c98b7 100644 --- a/apps/user_status/tests/Unit/Service/EmojiServiceTest.php +++ b/apps/user_status/tests/Unit/Service/EmojiServiceTest.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Service; use OCA\UserStatus\Service\EmojiService; diff --git a/apps/user_status/tests/Unit/Service/PredefinedStatusServiceTest.php b/apps/user_status/tests/Unit/Service/PredefinedStatusServiceTest.php index f0634c7fbe8d7c6b5ea6c2500725c6ba3c444e97..1ca9d11c0fd11c984f55ae897456ba6892f06632 100644 --- a/apps/user_status/tests/Unit/Service/PredefinedStatusServiceTest.php +++ b/apps/user_status/tests/Unit/Service/PredefinedStatusServiceTest.php @@ -5,24 +5,25 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020, Georg Ehrke * + * @author Daniel Kesselberg * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Service; use OCA\UserStatus\Service\PredefinedStatusService; diff --git a/apps/user_status/tests/Unit/Service/StatusServiceTest.php b/apps/user_status/tests/Unit/Service/StatusServiceTest.php index 1e61f5b09caa94a32a091803ccb6b2308e085e78..44f885a207a4900551763d9e92893665fe175fa6 100644 --- a/apps/user_status/tests/Unit/Service/StatusServiceTest.php +++ b/apps/user_status/tests/Unit/Service/StatusServiceTest.php @@ -6,23 +6,24 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke + * @author Joas Schilling * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Service; use OCA\UserStatus\Db\UserStatus; diff --git a/apps/user_status/tests/bootstrap.php b/apps/user_status/tests/bootstrap.php index 5ef5008fed2d9a45a996c825947e738812090ee1..b6d8fc06417764fe419dbab6c3a6d86840f3eec2 100644 --- a/apps/user_status/tests/bootstrap.php +++ b/apps/user_status/tests/bootstrap.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - if (!defined('PHPUNIT_RUN')) { define('PHPUNIT_RUN', 1); } diff --git a/apps/weather_status/appinfo/routes.php b/apps/weather_status/appinfo/routes.php index 8737bfd2dc6c05a1d4079a9fff1e442230460883..7f0f019d3e59a1a188b224384650847c8b371937 100644 --- a/apps/weather_status/appinfo/routes.php +++ b/apps/weather_status/appinfo/routes.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Julien Veyssier * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - return [ 'ocs' => [ ['name' => 'WeatherStatus#setMode', 'url' => '/api/v1/mode', 'verb' => 'PUT'], diff --git a/apps/weather_status/lib/AppInfo/Application.php b/apps/weather_status/lib/AppInfo/Application.php index 6a8ed762e1bb312aaf61ae0e1f63f263fbdc6516..e6f40321b3c856ca60abe3d1cc5345823c6bab08 100644 --- a/apps/weather_status/lib/AppInfo/Application.php +++ b/apps/weather_status/lib/AppInfo/Application.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Julien Veyssier * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\WeatherStatus\AppInfo; use OCA\WeatherStatus\Capabilities; diff --git a/apps/weather_status/lib/Capabilities.php b/apps/weather_status/lib/Capabilities.php index 07c53a201491d06a9df692c9859940f46de410bb..c9de0039a39851c3e35cffc40b027f473429938c 100644 --- a/apps/weather_status/lib/Capabilities.php +++ b/apps/weather_status/lib/Capabilities.php @@ -7,19 +7,20 @@ declare(strict_types=1); * * @author Julien Veyssier * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ namespace OCA\WeatherStatus; diff --git a/apps/weather_status/lib/Controller/WeatherStatusController.php b/apps/weather_status/lib/Controller/WeatherStatusController.php index 7ec6c71493e6e088592175ef1c06b718e0278a41..01bdf78f4107ead7e0e232d0933f671e630e2ad4 100644 --- a/apps/weather_status/lib/Controller/WeatherStatusController.php +++ b/apps/weather_status/lib/Controller/WeatherStatusController.php @@ -7,19 +7,20 @@ declare(strict_types=1); * * @author Julien Veyssier * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ namespace OCA\WeatherStatus\Controller; diff --git a/apps/weather_status/lib/Service/WeatherStatusService.php b/apps/weather_status/lib/Service/WeatherStatusService.php index 86b77a4358f6f14940383c79e8ebf9bdc7fd20d1..fa3177b20f6f2488ace0a13553e27a2172200916 100644 --- a/apps/weather_status/lib/Service/WeatherStatusService.php +++ b/apps/weather_status/lib/Service/WeatherStatusService.php @@ -6,23 +6,24 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Julien Veyssier * * @author Julien Veyssier + * @author Roeland Jago Douma * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\WeatherStatus\Service; use OCP\IConfig; diff --git a/apps/workflowengine/appinfo/routes.php b/apps/workflowengine/appinfo/routes.php index ea44fb6cda1b88765fb5b43a799f9a64e7327834..b5436e86daa39a5f5d9a2f3bace4a24df20f33c3 100644 --- a/apps/workflowengine/appinfo/routes.php +++ b/apps/workflowengine/appinfo/routes.php @@ -2,6 +2,11 @@ /** * @copyright Copyright (c) 2016 Morris Jobke * + * @author Arthur Schiwon + * @author Joas Schilling + * @author Julius Härtl + * @author Morris Jobke + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +16,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - return [ 'routes' => [ ['name' => 'requestTime#getTimezones', 'url' => '/timezones', 'verb' => 'GET'], diff --git a/apps/workflowengine/lib/AppInfo/Application.php b/apps/workflowengine/lib/AppInfo/Application.php index 3b253acbce1cde8ea83bb3716f2daa5060ab5a2a..fb5514fecef08b0ca9e92b6193e52170f0768ca6 100644 --- a/apps/workflowengine/lib/AppInfo/Application.php +++ b/apps/workflowengine/lib/AppInfo/Application.php @@ -2,6 +2,12 @@ /** * @copyright Copyright (c) 2016 Morris Jobke * + * @author Arthur Schiwon + * @author Christoph Wurst + * @author Julius Härtl + * @author Morris Jobke + * @author Roeland Jago Douma + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +17,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\AppInfo; use Closure; diff --git a/apps/workflowengine/lib/BackgroundJobs/Rotate.php b/apps/workflowengine/lib/BackgroundJobs/Rotate.php index b1b747b3725fc5964a761be66c6802092f1f6617..e96af4fd9e1f21836fc65fe3e10fff9c385007d1 100644 --- a/apps/workflowengine/lib/BackgroundJobs/Rotate.php +++ b/apps/workflowengine/lib/BackgroundJobs/Rotate.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2018 Arthur Schiwon * * @author Arthur Schiwon + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -13,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCA\WorkflowEngine\BackgroundJobs; use OC\BackgroundJob\TimedJob; diff --git a/apps/workflowengine/lib/Check/AbstractStringCheck.php b/apps/workflowengine/lib/Check/AbstractStringCheck.php index f42da048f211bf4ce41069009748a0f3bf05c412..26047f90d50c3867a748858a91eb3d97a4bf3f2a 100644 --- a/apps/workflowengine/lib/Check/AbstractStringCheck.php +++ b/apps/workflowengine/lib/Check/AbstractStringCheck.php @@ -2,6 +2,10 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Arthur Schiwon + * @author Christoph Wurst + * @author Joas Schilling + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +15,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCP\IL10N; diff --git a/apps/workflowengine/lib/Check/FileMimeType.php b/apps/workflowengine/lib/Check/FileMimeType.php index 8d9e2468ebd84d1dbba10c913970c268340174a0..2fa0361f3b48f8d3e2423b36fe2cd4dc75be0786 100644 --- a/apps/workflowengine/lib/Check/FileMimeType.php +++ b/apps/workflowengine/lib/Check/FileMimeType.php @@ -2,6 +2,12 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Arthur Schiwon + * @author Joas Schilling + * @author Julius Härtl + * @author Morris Jobke + * @author Roeland Jago Douma + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +17,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCA\WorkflowEngine\Entity\File; diff --git a/apps/workflowengine/lib/Check/FileName.php b/apps/workflowengine/lib/Check/FileName.php index b2442410af484fea45009d39554a2a18c7228cab..32df51ebfac1b73366338dda25d2eb428430f897 100644 --- a/apps/workflowengine/lib/Check/FileName.php +++ b/apps/workflowengine/lib/Check/FileName.php @@ -1,9 +1,14 @@ * + * @author Arthur Schiwon + * @author Daniel Kesselberg + * @author szaimen + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OC\Files\Storage\Local; diff --git a/apps/workflowengine/lib/Check/FileSize.php b/apps/workflowengine/lib/Check/FileSize.php index 741426082dca264768d09f8d90ad7d9b7618817b..7271147e834b80c481c42bf2c77729d7769f1506 100644 --- a/apps/workflowengine/lib/Check/FileSize.php +++ b/apps/workflowengine/lib/Check/FileSize.php @@ -2,6 +2,10 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Arthur Schiwon + * @author Joas Schilling + * @author Morris Jobke + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +15,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCA\WorkflowEngine\Entity\File; diff --git a/apps/workflowengine/lib/Check/FileSystemTags.php b/apps/workflowengine/lib/Check/FileSystemTags.php index 530509608a17a0faf57c2e33f0c82c218c244f3a..b69f7492e02ac212315438fc509e7286005bca4d 100644 --- a/apps/workflowengine/lib/Check/FileSystemTags.php +++ b/apps/workflowengine/lib/Check/FileSystemTags.php @@ -2,6 +2,11 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Arthur Schiwon + * @author Christoph Wurst + * @author Joas Schilling + * @author Julius Härtl + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +16,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCA\Files_Sharing\SharedStorage; diff --git a/apps/workflowengine/lib/Check/RequestRemoteAddress.php b/apps/workflowengine/lib/Check/RequestRemoteAddress.php index abc13bf9e3803e4649b06cd04f1f3da1a3192fcd..474599a86424f250e66f22519b550a886a83b30b 100644 --- a/apps/workflowengine/lib/Check/RequestRemoteAddress.php +++ b/apps/workflowengine/lib/Check/RequestRemoteAddress.php @@ -2,6 +2,12 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Christoph Wurst + * @author J0WI + * @author Joas Schilling + * @author Julius Härtl + * @author Morris Jobke + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +17,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCP\IL10N; diff --git a/apps/workflowengine/lib/Check/RequestTime.php b/apps/workflowengine/lib/Check/RequestTime.php index c23b22a0319a3b5de98f8d5ef909a98e21aa6e25..b7a2f725451687be2bf45dd763ec06204e192848 100644 --- a/apps/workflowengine/lib/Check/RequestTime.php +++ b/apps/workflowengine/lib/Check/RequestTime.php @@ -2,6 +2,11 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Arthur Schiwon + * @author Christoph Wurst + * @author Joas Schilling + * @author Julius Härtl + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +16,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/workflowengine/lib/Check/RequestURL.php b/apps/workflowengine/lib/Check/RequestURL.php index 30424a1ee478644569dfdc18666d9b5d33098950..03bb4889e0b1bf0d53b17783aec4637a197eee01 100644 --- a/apps/workflowengine/lib/Check/RequestURL.php +++ b/apps/workflowengine/lib/Check/RequestURL.php @@ -2,6 +2,9 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Christoph Wurst + * @author Joas Schilling + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +14,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCP\IL10N; diff --git a/apps/workflowengine/lib/Check/RequestUserAgent.php b/apps/workflowengine/lib/Check/RequestUserAgent.php index d5ca80e9d3e033cc19ad748360b8c9bc4e2f697f..e8ca3ddfbc95c17638f96a2464c2e07f3e32ca74 100644 --- a/apps/workflowengine/lib/Check/RequestUserAgent.php +++ b/apps/workflowengine/lib/Check/RequestUserAgent.php @@ -2,6 +2,10 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Arthur Schiwon + * @author Joas Schilling + * @author Morris Jobke + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +15,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCP\IL10N; diff --git a/apps/workflowengine/lib/Check/TFileCheck.php b/apps/workflowengine/lib/Check/TFileCheck.php index 90eb7dc616cb2179047181886a2dc7b6aa9a1bc1..561cf012ff7eaba49236442dd66fc1e163258e51 100644 --- a/apps/workflowengine/lib/Check/TFileCheck.php +++ b/apps/workflowengine/lib/Check/TFileCheck.php @@ -1,10 +1,12 @@ * * @author Arthur Schiwon + * @author Joas Schilling * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCA\WorkflowEngine\AppInfo\Application; diff --git a/apps/workflowengine/lib/Check/UserGroupMembership.php b/apps/workflowengine/lib/Check/UserGroupMembership.php index 27b2ce1879c61aa07bd1cedc47c06bfe1b6a8819..4ca073b8e5bc1df901741a86c227c01c919c1953 100644 --- a/apps/workflowengine/lib/Check/UserGroupMembership.php +++ b/apps/workflowengine/lib/Check/UserGroupMembership.php @@ -2,6 +2,10 @@ /** * @copyright Copyright (c) 2016 Morris Jobke * + * @author Joas Schilling + * @author Julius Härtl + * @author Morris Jobke + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +15,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCP\IGroupManager; diff --git a/apps/workflowengine/lib/Command/Index.php b/apps/workflowengine/lib/Command/Index.php index fdc83b1d3c223ca6180df3c12e4fa5c89fffbcf6..4f418b4ffc7984847f2e6f9814f26d8fe3b0595f 100644 --- a/apps/workflowengine/lib/Command/Index.php +++ b/apps/workflowengine/lib/Command/Index.php @@ -1,10 +1,12 @@ * * @author Arthur Schiwon + * @author Joas Schilling * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Command; use OCA\WorkflowEngine\Helper\ScopeContext; diff --git a/apps/workflowengine/lib/Controller/AWorkflowController.php b/apps/workflowengine/lib/Controller/AWorkflowController.php index 8b0d35ef62ee79d4ff958bd38758f197cf33a7d6..39549d3d6e032e0430e70758b31998205f693660 100644 --- a/apps/workflowengine/lib/Controller/AWorkflowController.php +++ b/apps/workflowengine/lib/Controller/AWorkflowController.php @@ -1,10 +1,13 @@ * * @author Arthur Schiwon + * @author blizzz + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -15,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Controller; use Doctrine\DBAL\Exception; diff --git a/apps/workflowengine/lib/Controller/GlobalWorkflowsController.php b/apps/workflowengine/lib/Controller/GlobalWorkflowsController.php index 6641155f03225796d6c63b87473ed3e17eefeb4a..8778f85365f561825662232c3e81b6dec0000dac 100644 --- a/apps/workflowengine/lib/Controller/GlobalWorkflowsController.php +++ b/apps/workflowengine/lib/Controller/GlobalWorkflowsController.php @@ -1,10 +1,12 @@ * * @author Arthur Schiwon + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Controller; use OCA\WorkflowEngine\Helper\ScopeContext; diff --git a/apps/workflowengine/lib/Controller/RequestTime.php b/apps/workflowengine/lib/Controller/RequestTime.php index 1a07ca20a4d60e19bb38a565b162ef537d6014f2..a1d9ff4a6307c295a1d50eee02dbc66ec2b73c3c 100644 --- a/apps/workflowengine/lib/Controller/RequestTime.php +++ b/apps/workflowengine/lib/Controller/RequestTime.php @@ -2,6 +2,9 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Joas Schilling + * @author Morris Jobke + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +14,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Controller; use OCP\AppFramework\Controller; diff --git a/apps/workflowengine/lib/Controller/UserWorkflowsController.php b/apps/workflowengine/lib/Controller/UserWorkflowsController.php index c3884b6197998409f66d9445f910d6d5a2103a7a..dfb17c17f9b7918bf825c3e96294d37e54b17046 100644 --- a/apps/workflowengine/lib/Controller/UserWorkflowsController.php +++ b/apps/workflowengine/lib/Controller/UserWorkflowsController.php @@ -1,10 +1,13 @@ * * @author Arthur Schiwon + * @author Christoph Wurst + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * @@ -15,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Controller; use OCA\WorkflowEngine\Helper\ScopeContext; diff --git a/apps/workflowengine/lib/Entity/File.php b/apps/workflowengine/lib/Entity/File.php index 9131caf888a7a77acef16a9bc19aa715894cff95..2c8701f037810236ab860b559562732bd3f5a4e8 100644 --- a/apps/workflowengine/lib/Entity/File.php +++ b/apps/workflowengine/lib/Entity/File.php @@ -1,10 +1,12 @@ * * @author Arthur Schiwon + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Entity; use OCP\EventDispatcher\Event; diff --git a/apps/workflowengine/lib/Helper/LogContext.php b/apps/workflowengine/lib/Helper/LogContext.php index 405d8ceb4eea07901ee9329fed19d82394ed11c8..2ad619f1686e390316c3fb9ecf0ec2ea43843ede 100644 --- a/apps/workflowengine/lib/Helper/LogContext.php +++ b/apps/workflowengine/lib/Helper/LogContext.php @@ -1,10 +1,13 @@ * * @author Arthur Schiwon + * @author Christoph Wurst + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * @@ -15,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Helper; use OCP\WorkflowEngine\IEntity; diff --git a/apps/workflowengine/lib/Helper/ScopeContext.php b/apps/workflowengine/lib/Helper/ScopeContext.php index 2ddea398f6b21ca380ba0bab4144ba17c230cef2..1927aac6b40f7058c7653589f7a07f52b45590b6 100644 --- a/apps/workflowengine/lib/Helper/ScopeContext.php +++ b/apps/workflowengine/lib/Helper/ScopeContext.php @@ -1,10 +1,12 @@ * * @author Arthur Schiwon + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Helper; use OCP\WorkflowEngine\IManager; diff --git a/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php b/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php index b01afbdadee1a2f1d3571b2932b6fad94a14f395..dd1b345a69b781b924f0fa9064a21fffdd67615f 100644 --- a/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php +++ b/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php @@ -5,7 +5,8 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst + * @author François Freitag * * @license GNU AGPL version 3 or any later version * @@ -16,13 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\WorkflowEngine\Listener; use OCA\WorkflowEngine\AppInfo\Application; diff --git a/apps/workflowengine/lib/Manager.php b/apps/workflowengine/lib/Manager.php index 8c37e4d9885bf6153e71ea04b6533ac20bed5d6f..d0eee80ca370354c8edc59d20b968bdd426060a1 100644 --- a/apps/workflowengine/lib/Manager.php +++ b/apps/workflowengine/lib/Manager.php @@ -2,6 +2,15 @@ /** * @copyright Copyright (c) 2016 Morris Jobke * + * @author Arthur Schiwon + * @author blizzz + * @author Christoph Wurst + * @author Daniel Kesselberg + * @author Joas Schilling + * @author Julius Härtl + * @author Morris Jobke + * @author Roeland Jago Douma + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +20,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine; use Doctrine\DBAL\Exception; diff --git a/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php b/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php index 290dae4c67a2c24e875bd199e64e496f90ede52b..019d3ae6bcc24bedb94d85a39b113693a42058a8 100644 --- a/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php +++ b/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php @@ -1,10 +1,12 @@ * * @author Arthur Schiwon + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Migration; use OCP\DB\IResult; diff --git a/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php b/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php index e8ce704f9bd747f3a41bb16307c08bb91f14d501..bfb226652879fe2201bff6c5f163cb5fc343a98d 100644 --- a/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php +++ b/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php @@ -2,6 +2,31 @@ declare(strict_types=1); +/** + * @copyright Copyright (c) 2016 Arthur Schiwon + * + * @author Arthur Schiwon + * @author Christoph Wurst + * @author Daniel Kesselberg + * @author Joas Schilling + * @author Roeland Jago Douma + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ namespace OCA\WorkflowEngine\Migration; use Closure; diff --git a/apps/workflowengine/lib/Service/Logger.php b/apps/workflowengine/lib/Service/Logger.php index bfdb8b9ad411728cbb4da08abd40ec38c5ba34f0..6ad7f8c48473d99ea8d1ffa4e3a839b2b96efef4 100644 --- a/apps/workflowengine/lib/Service/Logger.php +++ b/apps/workflowengine/lib/Service/Logger.php @@ -1,10 +1,13 @@ * * @author Arthur Schiwon + * @author Christoph Wurst + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * @@ -15,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Service; use OCA\WorkflowEngine\AppInfo\Application; diff --git a/apps/workflowengine/lib/Service/RuleMatcher.php b/apps/workflowengine/lib/Service/RuleMatcher.php index 9400d7bdecddb8c8295e0b64069981cc3057ba5f..13cba8a6aa5f480c469c7cebef03cef071428868 100644 --- a/apps/workflowengine/lib/Service/RuleMatcher.php +++ b/apps/workflowengine/lib/Service/RuleMatcher.php @@ -1,10 +1,15 @@ * * @author Arthur Schiwon + * @author Christoph Wurst + * @author Daniel Calviño Sánchez + * @author Daniel Kesselberg + * @author Joas Schilling * * @license GNU AGPL version 3 or any later version * @@ -15,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Service; use OCA\WorkflowEngine\Helper\LogContext; diff --git a/apps/workflowengine/lib/Settings/ASettings.php b/apps/workflowengine/lib/Settings/ASettings.php index 0bd3951c40ebfff4a8590471e22471456e988829..d35524727a8e92f218ffbee15f82e05efa12a3ac 100644 --- a/apps/workflowengine/lib/Settings/ASettings.php +++ b/apps/workflowengine/lib/Settings/ASettings.php @@ -1,10 +1,16 @@ * * @author Arthur Schiwon + * @author Christoph Wurst + * @author Daniel Kesselberg + * @author Julius Härtl + * @author Morris Jobke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +21,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Settings; use OCA\WorkflowEngine\AppInfo\Application; diff --git a/apps/workflowengine/lib/Settings/Admin.php b/apps/workflowengine/lib/Settings/Admin.php index cc6269c168bc5fd49ced1981248ae48c6c2ad9c0..25915ba08a4d2388161def8cf1b9348048501d7d 100644 --- a/apps/workflowengine/lib/Settings/Admin.php +++ b/apps/workflowengine/lib/Settings/Admin.php @@ -1,10 +1,12 @@ * * @author Arthur Schiwon + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Settings; use OCP\WorkflowEngine\IManager; diff --git a/apps/workflowengine/lib/Settings/Personal.php b/apps/workflowengine/lib/Settings/Personal.php index 20eb13ae48e3776cd01be61c283dd24b2ce3ecc0..8b575e0021924300ed9aafe07239adc8b08c01a3 100644 --- a/apps/workflowengine/lib/Settings/Personal.php +++ b/apps/workflowengine/lib/Settings/Personal.php @@ -1,10 +1,15 @@ * * @author Arthur Schiwon + * @author Christoph Wurst + * @author Julius Härtl + * @author Morris Jobke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Settings; use OCP\WorkflowEngine\IManager; diff --git a/apps/workflowengine/lib/Settings/Section.php b/apps/workflowengine/lib/Settings/Section.php index 00bedf8d98058d8d467ff28c7ac1c74ee33b5cd2..c3fee45f5dfd565770a03389f35861dfee94d1e3 100644 --- a/apps/workflowengine/lib/Settings/Section.php +++ b/apps/workflowengine/lib/Settings/Section.php @@ -2,7 +2,10 @@ /** * @copyright Copyright (c) 2016 Lukas Reschke * - * @author Lukas Reschke + * @author Arthur Schiwon + * @author Jan-Christoph Borchardt + * @author Joas Schilling + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * @@ -13,14 +16,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Settings; use OCA\WorkflowEngine\AppInfo\Application; diff --git a/apps/workflowengine/tests/Check/AbstractStringCheckTest.php b/apps/workflowengine/tests/Check/AbstractStringCheckTest.php index 083876268f1ece72f0571746d5e1cda21180a059..0c0518ca5ec0a0e378fdcaf4b83b7c7bbd92e784 100644 --- a/apps/workflowengine/tests/Check/AbstractStringCheckTest.php +++ b/apps/workflowengine/tests/Check/AbstractStringCheckTest.php @@ -2,6 +2,10 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Christoph Wurst + * @author Joas Schilling + * @author Morris Jobke + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +15,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Tests\Check; use OCP\IL10N; diff --git a/apps/workflowengine/tests/Check/RequestRemoteAddressTest.php b/apps/workflowengine/tests/Check/RequestRemoteAddressTest.php index 92513996ae1223e6073aeccc3c1931bdfb4848dd..e0ea2269e350ad7b2e46368f74c6919b1f3625a4 100644 --- a/apps/workflowengine/tests/Check/RequestRemoteAddressTest.php +++ b/apps/workflowengine/tests/Check/RequestRemoteAddressTest.php @@ -2,6 +2,10 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Joas Schilling + * @author Morris Jobke + * @author Roeland Jago Douma + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +15,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Tests\Check; use OCP\IL10N; diff --git a/apps/workflowengine/tests/Check/RequestTimeTest.php b/apps/workflowengine/tests/Check/RequestTimeTest.php index 7c29006b33d0877bebd267f524cfaf98ddc804f4..a0a6334da5fe6ea1805764c3e83d893c92eb76f4 100644 --- a/apps/workflowengine/tests/Check/RequestTimeTest.php +++ b/apps/workflowengine/tests/Check/RequestTimeTest.php @@ -2,6 +2,10 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Joas Schilling + * @author Morris Jobke + * @author Roeland Jago Douma + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +15,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Tests\Check; use OCP\IL10N; diff --git a/apps/workflowengine/tests/Check/RequestUserAgentTest.php b/apps/workflowengine/tests/Check/RequestUserAgentTest.php index 12987d4064b86db63bb07949115718138d607ef0..3111b4ffc8e71fb05fa4fe978b13a57112585fd4 100644 --- a/apps/workflowengine/tests/Check/RequestUserAgentTest.php +++ b/apps/workflowengine/tests/Check/RequestUserAgentTest.php @@ -2,6 +2,11 @@ /** * @copyright Copyright (c) 2018 Joas Schilling * + * @author Christoph Wurst + * @author Joas Schilling + * @author Morris Jobke + * @author Roeland Jago Douma + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +16,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Tests\Check; use OCA\WorkflowEngine\Check\RequestUserAgent; diff --git a/apps/workflowengine/tests/ManagerTest.php b/apps/workflowengine/tests/ManagerTest.php index 1aaa3b1a3c5ad73b46306cc4af8e681aa4a68876..612495a5b6d96d605b9898ecdb39488c50c42301 100644 --- a/apps/workflowengine/tests/ManagerTest.php +++ b/apps/workflowengine/tests/ManagerTest.php @@ -2,6 +2,12 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Arthur Schiwon + * @author Christoph Wurst + * @author Joas Schilling + * @author Julius Härtl + * @author Roeland Jago Douma + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +17,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Tests; use OC\L10N\L10N; diff --git a/build/integration/features/bootstrap/AppConfiguration.php b/build/integration/features/bootstrap/AppConfiguration.php index 772370a85ba81786db9d3076f39352a91be87862..8cb9d1e1f026189556448bb5a415842b080349b5 100644 --- a/build/integration/features/bootstrap/AppConfiguration.php +++ b/build/integration/features/bootstrap/AppConfiguration.php @@ -1,12 +1,12 @@ * * @author Arthur Schiwon * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Sergio Bertolin * * @license GNU AGPL version 3 or any later version @@ -18,7 +18,7 @@ * * 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 + * 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 diff --git a/build/integration/features/bootstrap/Auth.php b/build/integration/features/bootstrap/Auth.php index c621ef3572d56ed5bca33264156b96a6dc161031..a0b02e2b64b0a92c82a0b178be6157cfa292ee8a 100644 --- a/build/integration/features/bootstrap/Auth.php +++ b/build/integration/features/bootstrap/Auth.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Daniel Kesselberg @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - use GuzzleHttp\Client; use GuzzleHttp\Exception\ClientException; use GuzzleHttp\Exception\ServerException; diff --git a/build/integration/features/bootstrap/Avatar.php b/build/integration/features/bootstrap/Avatar.php index e5d5f32be1b685442aed9fc00623b52d706ca920..56bf3b5da0f50eb5253343e9425f0d77f136b7dd 100644 --- a/build/integration/features/bootstrap/Avatar.php +++ b/build/integration/features/bootstrap/Avatar.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - use Behat\Gherkin\Node\TableNode; use PHPUnit\Framework\Assert; diff --git a/build/integration/features/bootstrap/BasicStructure.php b/build/integration/features/bootstrap/BasicStructure.php index cc5ac2e14b6e9bb8295d83cc8f940d0020fb05eb..632e827669b29bf6b3285439e353abeaae342f6b 100644 --- a/build/integration/features/bootstrap/BasicStructure.php +++ b/build/integration/features/bootstrap/BasicStructure.php @@ -1,12 +1,12 @@ * * @author Arthur Schiwon * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman @@ -24,14 +24,13 @@ * * 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 + * 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 program. If not, see . * */ - use Behat\Gherkin\Node\TableNode; use GuzzleHttp\Client; use GuzzleHttp\Cookie\CookieJar; diff --git a/build/integration/features/bootstrap/CalDavContext.php b/build/integration/features/bootstrap/CalDavContext.php index e01621359f1f7690624390317644ac06c29de241..49d8c8e596357c1eb4648342c69379960a18e0a4 100644 --- a/build/integration/features/bootstrap/CalDavContext.php +++ b/build/integration/features/bootstrap/CalDavContext.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - require __DIR__ . '/../../vendor/autoload.php'; use GuzzleHttp\Client; diff --git a/build/integration/features/bootstrap/CapabilitiesContext.php b/build/integration/features/bootstrap/CapabilitiesContext.php index aa5a040161bfe024caee8e6d43f4cda68ccabddb..4fdfb3e41b043ffa0ad427341758928f0d3c9592 100644 --- a/build/integration/features/bootstrap/CapabilitiesContext.php +++ b/build/integration/features/bootstrap/CapabilitiesContext.php @@ -1,11 +1,11 @@ * * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Robin Appelman * @author Roeland Jago Douma * @author Sergio Bertolin @@ -19,7 +19,7 @@ * * 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 + * 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 diff --git a/build/integration/features/bootstrap/CardDavContext.php b/build/integration/features/bootstrap/CardDavContext.php index 1f555ed81402e2360d9a8b039658475c4c5d74be..18a9f3dd24958b97481ef6c3becfcf446e62f975 100644 --- a/build/integration/features/bootstrap/CardDavContext.php +++ b/build/integration/features/bootstrap/CardDavContext.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - require __DIR__ . '/../../vendor/autoload.php'; use GuzzleHttp\Client; diff --git a/build/integration/features/bootstrap/ChecksumsContext.php b/build/integration/features/bootstrap/ChecksumsContext.php index e8cfdee2eea73599e81c7a2f327574484e5523e1..75b9734e0aaed8643f34e0725c7bb96cc01404d6 100644 --- a/build/integration/features/bootstrap/ChecksumsContext.php +++ b/build/integration/features/bootstrap/ChecksumsContext.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Joas Schilling @@ -17,7 +17,7 @@ * * 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 + * 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 diff --git a/build/integration/features/bootstrap/CollaborationContext.php b/build/integration/features/bootstrap/CollaborationContext.php index cdba167e6775ab1fc5e9adc1ffca43c786e723ab..17eb820c77dbc9a90f47d83598b8b54a9cd03c64 100644 --- a/build/integration/features/bootstrap/CollaborationContext.php +++ b/build/integration/features/bootstrap/CollaborationContext.php @@ -1,27 +1,28 @@ * * @author Joas Schilling * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - use Behat\Behat\Context\Context; use Behat\Gherkin\Node\TableNode; use PHPUnit\Framework\Assert; diff --git a/build/integration/features/bootstrap/CommandLine.php b/build/integration/features/bootstrap/CommandLine.php index fa773ea91cdaa2897f73bb33819d9b7556769029..0320f68f3408c9f601b53ae273bb7ed065c5ae39 100644 --- a/build/integration/features/bootstrap/CommandLine.php +++ b/build/integration/features/bootstrap/CommandLine.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - use PHPUnit\Framework\Assert; require __DIR__ . '/../../vendor/autoload.php'; diff --git a/build/integration/features/bootstrap/CommandLineContext.php b/build/integration/features/bootstrap/CommandLineContext.php index 2c434a1b89fb42d1651f4bc3e21dcbc05b8e67cc..b435aaceca0d119bec6e97955119e97f684b0c37 100644 --- a/build/integration/features/bootstrap/CommandLineContext.php +++ b/build/integration/features/bootstrap/CommandLineContext.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - require __DIR__ . '/../../vendor/autoload.php'; use Behat\Behat\Hook\Scope\BeforeScenarioScope; diff --git a/build/integration/features/bootstrap/CommentsContext.php b/build/integration/features/bootstrap/CommentsContext.php index ebd7d5697e5283bebb939e03a11da335032756f3..afd9b31bc24cd8897bb2d7a81b29dcba72b69dcd 100644 --- a/build/integration/features/bootstrap/CommentsContext.php +++ b/build/integration/features/bootstrap/CommentsContext.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - require __DIR__ . '/../../vendor/autoload.php'; class CommentsContext implements \Behat\Behat\Context\Context { diff --git a/build/integration/features/bootstrap/ContactsMenu.php b/build/integration/features/bootstrap/ContactsMenu.php index 30e1dad6259829fd8201db32af3cb12f568b549c..c5266ffb7d1e012336d7a5ff9502c577c6b703df 100644 --- a/build/integration/features/bootstrap/ContactsMenu.php +++ b/build/integration/features/bootstrap/ContactsMenu.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - use PHPUnit\Framework\Assert; trait ContactsMenu { diff --git a/build/integration/features/bootstrap/Download.php b/build/integration/features/bootstrap/Download.php index 71a96eb585fcdc62e8361dec3b7c6b03b5566e91..7879159325ad2de3302370c5c032c465deaabe7a 100644 --- a/build/integration/features/bootstrap/Download.php +++ b/build/integration/features/bootstrap/Download.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2018, Daniel Calviño Sánchez (danxuliu@gmail.com) * * @author Daniel Calviño Sánchez - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - use PHPUnit\Framework\Assert; require __DIR__ . '/../../vendor/autoload.php'; diff --git a/build/integration/features/bootstrap/FakeSMTPHelper.php b/build/integration/features/bootstrap/FakeSMTPHelper.php index 1cc1a5fe7a79b9d0fd08b32ae738843ed13aa3cc..9d3b597911439ddae52f33d773eaa0627f87c9ee 100644 --- a/build/integration/features/bootstrap/FakeSMTPHelper.php +++ b/build/integration/features/bootstrap/FakeSMTPHelper.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Daniel Calviño Sánchez @@ -14,7 +14,7 @@ * * 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 + * 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 diff --git a/build/integration/features/bootstrap/FeatureContext.php b/build/integration/features/bootstrap/FeatureContext.php index 9437b50cd1c7e14898ab0997faa4022f8b28a24b..a3a600d66256c4d27e65a3159a2fa23bed9dd62b 100644 --- a/build/integration/features/bootstrap/FeatureContext.php +++ b/build/integration/features/bootstrap/FeatureContext.php @@ -1,6 +1,6 @@ * * @author Daniel Calviño Sánchez * @author Joas Schilling @@ -16,7 +16,7 @@ * * 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 + * 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 diff --git a/build/integration/features/bootstrap/FederationContext.php b/build/integration/features/bootstrap/FederationContext.php index 359d3226b302bd7c753beaaceaa57588795df650..2754cf668e61fa91225cf1385e947f533ef31181 100644 --- a/build/integration/features/bootstrap/FederationContext.php +++ b/build/integration/features/bootstrap/FederationContext.php @@ -1,6 +1,6 @@ * * @author Bjoern Schiessle * @author Christoph Wurst @@ -19,7 +19,7 @@ * * 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 + * 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 diff --git a/build/integration/features/bootstrap/FilesDropContext.php b/build/integration/features/bootstrap/FilesDropContext.php index a596cbf5be8eb027e733bc6a900ca0017d6bde9f..d360f518968924efefd3643d5918b5509e2797fc 100644 --- a/build/integration/features/bootstrap/FilesDropContext.php +++ b/build/integration/features/bootstrap/FilesDropContext.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Morris Jobke @@ -16,7 +16,7 @@ * * 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 + * 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 diff --git a/build/integration/features/bootstrap/LDAPContext.php b/build/integration/features/bootstrap/LDAPContext.php index 78276f13828a2b65fad4e0b165e7c42307622b90..e0315bce84e7e618bb48df002f8480273eae837f 100644 --- a/build/integration/features/bootstrap/LDAPContext.php +++ b/build/integration/features/bootstrap/LDAPContext.php @@ -4,7 +4,7 @@ * * @author Arthur Schiwon * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Robin Appelman * * @license GNU AGPL version 3 or any later version @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - use Behat\Behat\Context\Context; use Behat\Gherkin\Node\TableNode; use PHPUnit\Framework\Assert; diff --git a/build/integration/features/bootstrap/Mail.php b/build/integration/features/bootstrap/Mail.php index d347636c8aa140bc3e6d5c8dece495f3762e8970..c661a5935c601ae5655863e7ef858436d1645a71 100644 --- a/build/integration/features/bootstrap/Mail.php +++ b/build/integration/features/bootstrap/Mail.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - trait Mail { // CommandLine trait is expected to be used in the class that uses this diff --git a/build/integration/features/bootstrap/Provisioning.php b/build/integration/features/bootstrap/Provisioning.php index d613986df60153d5c08e7be01ed20f3243a26641..dd8e3a2a150148888dfdfa406a781967b2b28d25 100644 --- a/build/integration/features/bootstrap/Provisioning.php +++ b/build/integration/features/bootstrap/Provisioning.php @@ -1,11 +1,11 @@ * * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma @@ -23,14 +23,13 @@ * * 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 + * 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 program. If not, see . * */ - use GuzzleHttp\Client; use GuzzleHttp\Message\ResponseInterface; use PHPUnit\Framework\Assert; diff --git a/build/integration/features/bootstrap/RemoteContext.php b/build/integration/features/bootstrap/RemoteContext.php index 69ebad432088d8161882e72511b6ce077756b77f..a3e5e1b5007458f52ce1c7697b92ff62dba2fefc 100644 --- a/build/integration/features/bootstrap/RemoteContext.php +++ b/build/integration/features/bootstrap/RemoteContext.php @@ -2,7 +2,8 @@ /** * @copyright Copyright (c) 2017 Robin Appelman * - * @author John Molakvoæ (skjnldsv) + * @author Joas Schilling + * @author John Molakvoæ * @author Robin Appelman * * @license GNU AGPL version 3 or any later version @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - use Behat\Behat\Context\Context; use PHPUnit\Framework\Assert; diff --git a/build/integration/features/bootstrap/Search.php b/build/integration/features/bootstrap/Search.php index 72a20a08ce86520bf3626ca71322810afd79b4e0..91c66ae1d20e8e2cd59662c08ed9a2d6a59a57f6 100644 --- a/build/integration/features/bootstrap/Search.php +++ b/build/integration/features/bootstrap/Search.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - use Behat\Gherkin\Node\TableNode; use PHPUnit\Framework\Assert; diff --git a/build/integration/features/bootstrap/SetupContext.php b/build/integration/features/bootstrap/SetupContext.php index 39925374ac43fd7b246024f3f8862020dc8a583e..5abdb22ccfc087546154de1cc90d63cd429c985e 100644 --- a/build/integration/features/bootstrap/SetupContext.php +++ b/build/integration/features/bootstrap/SetupContext.php @@ -13,7 +13,7 @@ * * 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 + * 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 diff --git a/build/integration/features/bootstrap/ShareesContext.php b/build/integration/features/bootstrap/ShareesContext.php index c1db2d57e058159d20a0200197a403892e3adef2..70e78e249296ed4b390a540c9bfa9ef9142f8a16 100644 --- a/build/integration/features/bootstrap/ShareesContext.php +++ b/build/integration/features/bootstrap/ShareesContext.php @@ -1,6 +1,6 @@ * * @author Arthur Schiwon * @author Daniel Calviño Sánchez @@ -15,7 +15,7 @@ * * 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 + * 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 diff --git a/build/integration/features/bootstrap/Sharing.php b/build/integration/features/bootstrap/Sharing.php index c2d16f19e754bd0a4aa669e18cd2107f9e16413f..1e399456054e70cdde34ad82f9561fe7cd37fde1 100644 --- a/build/integration/features/bootstrap/Sharing.php +++ b/build/integration/features/bootstrap/Sharing.php @@ -1,12 +1,12 @@ * * @author Arthur Schiwon * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Robin Appelman @@ -24,7 +24,7 @@ * * 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 + * 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 diff --git a/build/integration/features/bootstrap/SharingContext.php b/build/integration/features/bootstrap/SharingContext.php index 3c41b38bf7f403dae1bd6e2ebddc3470819715d2..7080fd0a1a0b2d2b8fd6be11e20746ec4d82597b 100644 --- a/build/integration/features/bootstrap/SharingContext.php +++ b/build/integration/features/bootstrap/SharingContext.php @@ -1,10 +1,10 @@ * * @author Christoph Wurst * @author Daniel Calviño Sánchez - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -15,7 +15,7 @@ * * 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 + * 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 diff --git a/build/integration/features/bootstrap/TagsContext.php b/build/integration/features/bootstrap/TagsContext.php index a490a5e6701609a12bea669f3afff6544972c5f3..ecef9c08b1e83eb934394c1364507d66c880b935 100644 --- a/build/integration/features/bootstrap/TagsContext.php +++ b/build/integration/features/bootstrap/TagsContext.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - require __DIR__ . '/../../vendor/autoload.php'; use Behat\Gherkin\Node\TableNode; diff --git a/build/integration/features/bootstrap/TalkContext.php b/build/integration/features/bootstrap/TalkContext.php index bc61c87ebab18ce85529eed2e43482e7ad874479..9c4b903782963afcf0ac3e1daced879930f023e7 100644 --- a/build/integration/features/bootstrap/TalkContext.php +++ b/build/integration/features/bootstrap/TalkContext.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - use Behat\Behat\Context\Context; class TalkContext implements Context { diff --git a/build/integration/features/bootstrap/Trashbin.php b/build/integration/features/bootstrap/Trashbin.php index 46eeabb4214c7c72d58a9b31195efe463f39ab3c..f286147e3ebdc8ee26a2ffd1bf4288c9516bb951 100644 --- a/build/integration/features/bootstrap/Trashbin.php +++ b/build/integration/features/bootstrap/Trashbin.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2017, ownCloud GmbH. * * @author Daniel Calviño Sánchez - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Robin Appelman * @author Vincent Petry * @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - use PHPUnit\Framework\Assert; require __DIR__ . '/../../vendor/autoload.php'; diff --git a/build/integration/features/bootstrap/WebDav.php b/build/integration/features/bootstrap/WebDav.php index de277b2278d018e17cf0245f14ec70385bb4fd44..31ca68ba92be63947a92c3397b80c8106c2872db 100644 --- a/build/integration/features/bootstrap/WebDav.php +++ b/build/integration/features/bootstrap/WebDav.php @@ -1,11 +1,11 @@ * * @author Christoph Wurst * @author David Toledo * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman @@ -24,14 +24,13 @@ * * 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 + * 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 program. If not, see . * */ - use GuzzleHttp\Client as GClient; use GuzzleHttp\Message\ResponseInterface; use PHPUnit\Framework\Assert; diff --git a/build/license.php b/build/license.php index 49fba751d0b47743de44e37dec2241335aa577e4..081242d5994b9e0f412fb6dd911d5ccb185bc177 100644 --- a/build/license.php +++ b/build/license.php @@ -41,7 +41,7 @@ class Licenses { * * 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 + * 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 @@ -111,7 +111,7 @@ EOD; return true; }); $iterator = new RecursiveIteratorIterator($iterator); - $iterator = new RegexIterator($iterator, '/^.+\.(js)$/i'); + $iterator = new RegexIterator($iterator, '/^.+\.(js|php)$/i'); foreach ($iterator as $file) { /** @var SplFileInfo $file */ @@ -218,7 +218,7 @@ With help from many libraries and frameworks including: $isStrict = false; $index = 0; - while (!empty($lines)) { + while (!empty($lines) && array_key_exists($index, $lines)) { $line = $lines[$index]; if (trim($line) === ' * */ - require_once __DIR__ . '/lib/versioncheck.php'; use OC\Console\Application; diff --git a/core/Application.php b/core/Application.php index fe65faeb9dfc70e89afd7b3e4dab121bb4a6f27e..262afb2cb4bb73051ad1a1841487be2e4b701d94 100644 --- a/core/Application.php +++ b/core/Application.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OC\Core; use OC\Authentication\Events\RemoteWipeFinished; diff --git a/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php b/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php index ee476633a97a288484bb9157805b887e71879b7c..d699eac37683d56f2221e28df9372adcef830ed0 100644 --- a/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php +++ b/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php @@ -7,7 +7,6 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Morris Jobke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -18,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\BackgroundJobs; use OC\BackgroundJob\QueuedJob; diff --git a/core/BackgroundJobs/CheckForUserCertificates.php b/core/BackgroundJobs/CheckForUserCertificates.php index d8892e03b5bc1ebfe0f907bae874d6c68ab513ec..6bc3f1c4681b2faafee3900209e25632ac6397c0 100644 --- a/core/BackgroundJobs/CheckForUserCertificates.php +++ b/core/BackgroundJobs/CheckForUserCertificates.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2020 Morris Jobke * + * @author J0WI * @author Morris Jobke * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\BackgroundJobs; use OC\BackgroundJob\QueuedJob; diff --git a/core/BackgroundJobs/CleanupLoginFlowV2.php b/core/BackgroundJobs/CleanupLoginFlowV2.php index 69e7fe7195947ec95085fe93db7b056585c06d3c..919fbd7e653ca4914bbe8608de341c1713053fea 100644 --- a/core/BackgroundJobs/CleanupLoginFlowV2.php +++ b/core/BackgroundJobs/CleanupLoginFlowV2.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019, Roeland Jago Douma * + * @author J0WI * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\BackgroundJobs; use OC\Core\Db\LoginFlowV2Mapper; diff --git a/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php b/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php index c6bd3c1ea358224e773b9dbda20cd576cd19b273..282c56f37f182e7f5883b5ef9083e58f85d1e9eb 100644 --- a/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php +++ b/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\BackgroundJobs; use OC\BackgroundJob\QueuedJob; diff --git a/core/Command/App/CheckCode.php b/core/Command/App/CheckCode.php index 9338fdc5d53da70cbc3e37e46400b88ffbcfe5b4..43449c9c5e309b71dcbb73aad8f4717b535912f6 100644 --- a/core/Command/App/CheckCode.php +++ b/core/Command/App/CheckCode.php @@ -6,7 +6,6 @@ * @author Joas Schilling * @author Morris Jobke * @author Robin McCorkell - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\App; use Symfony\Component\Console\Command\Command; diff --git a/core/Command/App/Disable.php b/core/Command/App/Disable.php index c932077993a5d6384084c8d81d8c836ba9d532e5..76b0201681c9712eaaf06831203ea8acd8b0b49d 100644 --- a/core/Command/App/Disable.php +++ b/core/Command/App/Disable.php @@ -4,8 +4,7 @@ * * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) - * @author Morris Jobke + * @author John Molakvoæ * @author Robin Appelman * * @license AGPL-3.0 @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\App; use OCP\App\IAppManager; diff --git a/core/Command/App/Enable.php b/core/Command/App/Enable.php index f10aa7a92d898f10585b021be8f4c34cf2bf36e0..402d1b98acbbcd21a918965bfe7cb80bd0919d41 100644 --- a/core/Command/App/Enable.php +++ b/core/Command/App/Enable.php @@ -4,8 +4,7 @@ * * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) - * @author Morris Jobke + * @author John Molakvoæ * @author Robin Appelman * @author Sander Ruitenbeek * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\App; use OC\Installer; diff --git a/core/Command/App/GetPath.php b/core/Command/App/GetPath.php index 1659a110ab0b6784c3567151eb10b928acd56db9..682c3fb9bac1a61faea925fa9183ee7947861eae 100644 --- a/core/Command/App/GetPath.php +++ b/core/Command/App/GetPath.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\App; use OC\Core\Command\Base; diff --git a/core/Command/App/Install.php b/core/Command/App/Install.php index fcb0571308f276a6558e8f9edbf7be72daa82554..30fd96a95b1d8c74df37d471d3640393eb6b4929 100644 --- a/core/Command/App/Install.php +++ b/core/Command/App/Install.php @@ -4,7 +4,8 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ + * @author Maxopoly * @author Morris Jobke * @author Roeland Jago Douma * @author sualko @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\App; use OC\Installer; diff --git a/core/Command/App/ListApps.php b/core/Command/App/ListApps.php index b474a762f17c2f786e955f70c0e412e035104de2..524b5ecd89d16b4ecd2923a5212fe97e612e9865 100644 --- a/core/Command/App/ListApps.php +++ b/core/Command/App/ListApps.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\App; use OC\Core\Command\Base; diff --git a/core/Command/App/Remove.php b/core/Command/App/Remove.php index e2255995ba28134d4f218d34a9401c6b36e03f37..101c823518743e1e3c1e27213f7a0e06a54296e6 100644 --- a/core/Command/App/Remove.php +++ b/core/Command/App/Remove.php @@ -4,7 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Patrik Kernstock * @author Roeland Jago Douma * @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\App; use OC\Installer; diff --git a/core/Command/App/Update.php b/core/Command/App/Update.php index 35b2bb4e0b18f6107a380f40cd1aee87c6390903..2e72ffa5b90be43947fc24a51a74db01a02e5301 100644 --- a/core/Command/App/Update.php +++ b/core/Command/App/Update.php @@ -4,7 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author michag86 * @author Morris Jobke * @author Roeland Jago Douma @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\App; use OC\Installer; diff --git a/core/Command/Base.php b/core/Command/Base.php index 3b2941989745c12f7351471901eb6978f2312972..029942c067329a3ee58a6a406572795290596142 100644 --- a/core/Command/Base.php +++ b/core/Command/Base.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command; use OC\Core\Command\User\ListCommand; diff --git a/core/Command/Broadcast/Test.php b/core/Command/Broadcast/Test.php index f4c1cbef47c25928900aead440d41f92f0d34f6c..91050725e176cb84a449694eb8ed274856f65eb6 100644 --- a/core/Command/Broadcast/Test.php +++ b/core/Command/Broadcast/Test.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Broadcast; use OCP\EventDispatcher\ABroadcastedEvent; diff --git a/core/Command/Check.php b/core/Command/Check.php index f1615fa9410ac6cceafd2ae2778481f4093b0b15..10c6c6cf52275691bf24db74ff39f2b6ed322178 100644 --- a/core/Command/Check.php +++ b/core/Command/Check.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command; use OC\SystemConfig; diff --git a/core/Command/Config/App/Base.php b/core/Command/Config/App/Base.php index 9c60972b5e2b6020a948d646b51691bfd11c4396..ec2207c6de55460500a0b1fc75bb2d0bc74363a2 100644 --- a/core/Command/Config/App/Base.php +++ b/core/Command/Config/App/Base.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Config\App; use OCP\IConfig; diff --git a/core/Command/Config/App/DeleteConfig.php b/core/Command/Config/App/DeleteConfig.php index 6eb1585d599310ada6b0285cb219607ea921d451..4a2a4eb6b75ec8cfd977200ef4af690a2111f827 100644 --- a/core/Command/Config/App/DeleteConfig.php +++ b/core/Command/Config/App/DeleteConfig.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Config\App; use OCP\IConfig; diff --git a/core/Command/Config/App/GetConfig.php b/core/Command/Config/App/GetConfig.php index 32a83451b77832497c45b54952209293cb0e9677..0e42ae786d84f4d93a9e92c0fb1394cbfa9c03bd 100644 --- a/core/Command/Config/App/GetConfig.php +++ b/core/Command/Config/App/GetConfig.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Config\App; use OCP\IConfig; diff --git a/core/Command/Config/App/SetConfig.php b/core/Command/Config/App/SetConfig.php index 327eebfaeb17a25b86f5b9d40656c793b4596b88..162f5f5f8192a3e809440f57a1ab63381eb1052e 100644 --- a/core/Command/Config/App/SetConfig.php +++ b/core/Command/Config/App/SetConfig.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Config\App; use OCP\IConfig; diff --git a/core/Command/Config/Import.php b/core/Command/Config/Import.php index 755c6c80cd9a9e2211bc845f57d5d28ff921c821..e55f127d94e632d64ad8e84e9a4b76a20d937657 100644 --- a/core/Command/Config/Import.php +++ b/core/Command/Config/Import.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Config; use OCP\IConfig; diff --git a/core/Command/Config/ListConfigs.php b/core/Command/Config/ListConfigs.php index 6fc3fe5fc0cc3abd39a98d63dc52bba497a3de7f..b19a09cec973cdc0f9e90402d2075e7f28930809 100644 --- a/core/Command/Config/ListConfigs.php +++ b/core/Command/Config/ListConfigs.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Joas Schilling + * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -19,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Config; use OC\Core\Command\Base; diff --git a/core/Command/Config/System/Base.php b/core/Command/Config/System/Base.php index 628fb677c7739ac7f8d2b7e47f491b2a9dd8b9e3..0f43c21c9778ed4b2568face4c9ec571c1eaeb7b 100644 --- a/core/Command/Config/System/Base.php +++ b/core/Command/Config/System/Base.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Config\System; use OC\SystemConfig; diff --git a/core/Command/Config/System/DeleteConfig.php b/core/Command/Config/System/DeleteConfig.php index 8df3f934e1e2472a295ab146bb63feea1c3a1336..8ce227e607a43acfd684052334f14eeaf326e5dd 100644 --- a/core/Command/Config/System/DeleteConfig.php +++ b/core/Command/Config/System/DeleteConfig.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Config\System; use OC\SystemConfig; diff --git a/core/Command/Config/System/GetConfig.php b/core/Command/Config/System/GetConfig.php index f01ed804de4f4f35b9dcda022d0eac6af4c7ccbd..3fce89572c88f9873ff857c56157f732570b7ff9 100644 --- a/core/Command/Config/System/GetConfig.php +++ b/core/Command/Config/System/GetConfig.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Config\System; use OC\SystemConfig; diff --git a/core/Command/Config/System/SetConfig.php b/core/Command/Config/System/SetConfig.php index bcc55d746a9b394acad698f6dccf399f7ee4eb63..4b6ae73004d729410e29f16dad7209262ff044d6 100644 --- a/core/Command/Config/System/SetConfig.php +++ b/core/Command/Config/System/SetConfig.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Config\System; use OC\SystemConfig; diff --git a/core/Command/Db/AddMissingColumns.php b/core/Command/Db/AddMissingColumns.php index 4b7fa0399561bf42fdc33c20c0a372f4492dd246..8b168b218759c3f474d3f518fa3aee821e74c025 100644 --- a/core/Command/Db/AddMissingColumns.php +++ b/core/Command/Db/AddMissingColumns.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Db; use OC\DB\Connection; diff --git a/core/Command/Db/AddMissingIndices.php b/core/Command/Db/AddMissingIndices.php index 1acff55fa40a2f78018fd28b438387a1079c8d58..2e6b3dc9aeb3455c529c02c7e0ba8472c591dca1 100644 --- a/core/Command/Db/AddMissingIndices.php +++ b/core/Command/Db/AddMissingIndices.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2017 Bjoern Schiessle * * @author Bjoern Schiessle + * @author Christoph Wurst * @author Joas Schilling * @author Julius Härtl * @author Mario Danic @@ -23,14 +24,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Db; use OC\DB\Connection; diff --git a/core/Command/Db/AddMissingPrimaryKeys.php b/core/Command/Db/AddMissingPrimaryKeys.php index 7113ecb210f16a8996a9e1c1b3e875e4336acc22..106a5901015bd917fb1b9c8c341bf57d9adc594d 100644 --- a/core/Command/Db/AddMissingPrimaryKeys.php +++ b/core/Command/Db/AddMissingPrimaryKeys.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2017 Bjoern Schiessle * + * @author Christoph Wurst * @author Joas Schilling * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Db; use OC\DB\Connection; diff --git a/core/Command/Db/ConvertFilecacheBigInt.php b/core/Command/Db/ConvertFilecacheBigInt.php index 1f71a50cf6ba00f62b5e772af12e8a2c50548f54..34b717025a07aa36bd01a6ebe8be385dc89bfb1e 100644 --- a/core/Command/Db/ConvertFilecacheBigInt.php +++ b/core/Command/Db/ConvertFilecacheBigInt.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2017 Joas Schilling * * @author Alecks Gates + * @author Christoph Wurst * @author Daniel Kesselberg * @author Georg Ehrke * @author Joas Schilling @@ -21,14 +22,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Db; use Doctrine\DBAL\Platforms\SqlitePlatform; diff --git a/core/Command/Db/ConvertMysqlToMB4.php b/core/Command/Db/ConvertMysqlToMB4.php index 55633ea994198c30df304300a071c97a679eb406..7abd600b3b9a023f945380223694f1922bf77cdc 100644 --- a/core/Command/Db/ConvertMysqlToMB4.php +++ b/core/Command/Db/ConvertMysqlToMB4.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2017, ownCloud GmbH * + * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke * @author Thomas Müller @@ -21,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Db; use Doctrine\DBAL\Platforms\MySQLPlatform; diff --git a/core/Command/Db/ConvertType.php b/core/Command/Db/ConvertType.php index e4252264dbb578145fe45bdb650001c5835488f9..5b8980e632bba3794b8aaf2df72ab90dda8c2c6a 100644 --- a/core/Command/Db/ConvertType.php +++ b/core/Command/Db/ConvertType.php @@ -12,7 +12,7 @@ * @author Morris Jobke * @author Roeland Jago Douma * @author Sander Ruitenbeek - * @author tbelau666 + * @author Simon Spannagel * @author Thomas Müller * * @license AGPL-3.0 @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Db; use Doctrine\DBAL\Exception; diff --git a/core/Command/Db/Migrations/ExecuteCommand.php b/core/Command/Db/Migrations/ExecuteCommand.php index cc3f7d67fc0efb1f1591b408a3026bf04bf23d96..a2dc2b9241886bb0af69051561e3115e081d27a1 100644 --- a/core/Command/Db/Migrations/ExecuteCommand.php +++ b/core/Command/Db/Migrations/ExecuteCommand.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2017 Joas Schilling * @copyright Copyright (c) 2017, ownCloud GmbH * + * @author Christoph Wurst * @author Joas Schilling * * @license AGPL-3.0 @@ -20,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Db\Migrations; use OC\DB\Connection; diff --git a/core/Command/Db/Migrations/GenerateCommand.php b/core/Command/Db/Migrations/GenerateCommand.php index 48fc59e77fb7204ae8ac974db467c3c8a7b823f2..b352e86ec62e30c3fe00d086cc1113174f4246cb 100644 --- a/core/Command/Db/Migrations/GenerateCommand.php +++ b/core/Command/Db/Migrations/GenerateCommand.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Db\Migrations; use OC\DB\Connection; diff --git a/core/Command/Db/Migrations/MigrateCommand.php b/core/Command/Db/Migrations/MigrateCommand.php index 218c8aaf518ab54b99e47258b659d3be62a97ae9..26f350cdae66d9b6414b498fe38b18f55719a792 100644 --- a/core/Command/Db/Migrations/MigrateCommand.php +++ b/core/Command/Db/Migrations/MigrateCommand.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2017, ownCloud GmbH * + * @author Christoph Wurst * @author Joas Schilling * * @license AGPL-3.0 @@ -19,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Db\Migrations; use OC\DB\Connection; diff --git a/core/Command/Db/Migrations/StatusCommand.php b/core/Command/Db/Migrations/StatusCommand.php index 6c78bcd180c183658340a1886e5d4113f3746acf..fabaabe0a3e4c93f3a4800c1dea4f43eca044e2a 100644 --- a/core/Command/Db/Migrations/StatusCommand.php +++ b/core/Command/Db/Migrations/StatusCommand.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Db\Migrations; use OC\DB\Connection; diff --git a/core/Command/Encryption/ChangeKeyStorageRoot.php b/core/Command/Encryption/ChangeKeyStorageRoot.php index c178949364e69c89a536e2c6ba5d73d39d9e4ec1..633ae2c4a7a476de3ecf492c36568dfc364172be 100644 --- a/core/Command/Encryption/ChangeKeyStorageRoot.php +++ b/core/Command/Encryption/ChangeKeyStorageRoot.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Encryption; use OC\Encryption\Keys\Storage; diff --git a/core/Command/Encryption/DecryptAll.php b/core/Command/Encryption/DecryptAll.php index 6166a9408615b1322e74c5e247b56ce2f8a7ff20..7382c254723f423ba5220208687aa7d6ef6e31eb 100644 --- a/core/Command/Encryption/DecryptAll.php +++ b/core/Command/Encryption/DecryptAll.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Encryption; use OCP\App\IAppManager; diff --git a/core/Command/Encryption/Disable.php b/core/Command/Encryption/Disable.php index c188e6c097b279f1a4182a7e5696e8da3b3a2ddc..fca810b2ab2c123995b9aaf048a59e1f9dfcda03 100644 --- a/core/Command/Encryption/Disable.php +++ b/core/Command/Encryption/Disable.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Encryption; use OCP\IConfig; diff --git a/core/Command/Encryption/Enable.php b/core/Command/Encryption/Enable.php index 2de6eb2e0c73e73e72dc61a604027f80f881799c..99c60bc9b5f5af1989a28d91178d7284557c1a4b 100644 --- a/core/Command/Encryption/Enable.php +++ b/core/Command/Encryption/Enable.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Encryption; use OCP\Encryption\IManager; diff --git a/core/Command/Encryption/EncryptAll.php b/core/Command/Encryption/EncryptAll.php index 0be03fd95b1d80db75093d9cf4651676b6ee5afe..54e33221f4a3edeb059e62a3cebb1f5fcae89263 100644 --- a/core/Command/Encryption/EncryptAll.php +++ b/core/Command/Encryption/EncryptAll.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Encryption; use OCP\App\IAppManager; diff --git a/core/Command/Encryption/ListModules.php b/core/Command/Encryption/ListModules.php index 21a8be8057f0ded959a6a7ecd53189f1ebbd7667..9105dff3f6d326628bcbafa861839380619e7a4e 100644 --- a/core/Command/Encryption/ListModules.php +++ b/core/Command/Encryption/ListModules.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Encryption; use OC\Core\Command\Base; diff --git a/core/Command/Encryption/MigrateKeyStorage.php b/core/Command/Encryption/MigrateKeyStorage.php index 98dea8fad5cfc9674229a51d96d7da3a1adb7187..43b725f6ad8c07941f89fc138ade82c55fd83e4e 100644 --- a/core/Command/Encryption/MigrateKeyStorage.php +++ b/core/Command/Encryption/MigrateKeyStorage.php @@ -16,15 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - - namespace OC\Core\Command\Encryption; use OC\Encryption\Keys\Storage; diff --git a/core/Command/Encryption/SetDefaultModule.php b/core/Command/Encryption/SetDefaultModule.php index 21c1ba77322c82c6f4abc85a898adedc9f901239..0b8b4ce58916c9a9611e57c5b899b023982b499c 100644 --- a/core/Command/Encryption/SetDefaultModule.php +++ b/core/Command/Encryption/SetDefaultModule.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Encryption; use OCP\Encryption\IManager; diff --git a/core/Command/Encryption/ShowKeyStorageRoot.php b/core/Command/Encryption/ShowKeyStorageRoot.php index c3e2cc4093268da435922638d600edbe035d7bd8..1ac882645d595b03b6cd5ba8dc41f2d0f3c71cc9 100644 --- a/core/Command/Encryption/ShowKeyStorageRoot.php +++ b/core/Command/Encryption/ShowKeyStorageRoot.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Encryption; use OC\Encryption\Util; diff --git a/core/Command/Encryption/Status.php b/core/Command/Encryption/Status.php index b7a6f33d7d8d5deb3707a8d8fd07d56c6192f01e..0db34c77f61b072dc87d9fa377672f83398e122f 100644 --- a/core/Command/Encryption/Status.php +++ b/core/Command/Encryption/Status.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Encryption; use OC\Core\Command\Base; diff --git a/core/Command/Group/Add.php b/core/Command/Group/Add.php index 14b733f9af1be7c72be491a0b2bc770364e0b2e4..56f5f08c6594fc14c4d936257e5396b1fe974b46 100644 --- a/core/Command/Group/Add.php +++ b/core/Command/Group/Add.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Group; use OC\Core\Command\Base; diff --git a/core/Command/Group/AddUser.php b/core/Command/Group/AddUser.php index a1deb74395fb96fdf941921465de934de7d443e3..b5d0068acc654bbb44d682dc6527bc0328d3a054 100644 --- a/core/Command/Group/AddUser.php +++ b/core/Command/Group/AddUser.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Group; use OC\Core\Command\Base; diff --git a/core/Command/Group/Delete.php b/core/Command/Group/Delete.php index 8ef88b44442286871396ffbf8dc7d8013b882658..75202308944a989efa6d197bb2ecb070d21d06f3 100644 --- a/core/Command/Group/Delete.php +++ b/core/Command/Group/Delete.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Group; use OC\Core\Command\Base; diff --git a/core/Command/Group/Info.php b/core/Command/Group/Info.php index b8dce961dd85f4bf1e0ce4119e509de8414f1825..180055e83ea5544fb39fad0b8be9f5ca1018ecba 100644 --- a/core/Command/Group/Info.php +++ b/core/Command/Group/Info.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2021, hosting.de, Johannes Leuker * - * @author Johannes Leuker + * @author Johannes Leuker * * @license GNU AGPL version 3 or any later version * @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Group; use OC\Core\Command\Base; diff --git a/core/Command/Group/ListCommand.php b/core/Command/Group/ListCommand.php index 99c4d6e35c6946340a2a54ebf637b629c5d0d36b..5531481d3b31f7fb5f8652b1d74a2465fcc067d9 100644 --- a/core/Command/Group/ListCommand.php +++ b/core/Command/Group/ListCommand.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016 Robin Appelman * * @author Joas Schilling + * @author Johannes Leuker * @author Robin Appelman * * @license GNU AGPL version 3 or any later version @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Group; use OC\Core\Command\Base; diff --git a/core/Command/Group/RemoveUser.php b/core/Command/Group/RemoveUser.php index cb848effb92438b738c641e097d6197f7f177738..4af66480f28cb2eaa72bdbfcf6f6d45072a40694 100644 --- a/core/Command/Group/RemoveUser.php +++ b/core/Command/Group/RemoveUser.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Group; use OC\Core\Command\Base; diff --git a/core/Command/Integrity/CheckApp.php b/core/Command/Integrity/CheckApp.php index b95d879941ececa78563a33d19d821962c5c44df..e99b365f798d1cafbbbb2c2cd59fe2b7ced1608c 100644 --- a/core/Command/Integrity/CheckApp.php +++ b/core/Command/Integrity/CheckApp.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Integrity; use OC\Core\Command\Base; diff --git a/core/Command/Integrity/CheckCore.php b/core/Command/Integrity/CheckCore.php index cca72535f362ba7fedaea93f7bdd23f4ffc6c0f0..53ac3ec8bc8d51abdfbb4e928870ccb458ae9ae4 100644 --- a/core/Command/Integrity/CheckCore.php +++ b/core/Command/Integrity/CheckCore.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Integrity; use OC\Core\Command\Base; diff --git a/core/Command/Integrity/SignApp.php b/core/Command/Integrity/SignApp.php index be7517be9c984184c141c640d0913f3cfbb76c19..0938303d00894e51508357345f3e82511400c514 100644 --- a/core/Command/Integrity/SignApp.php +++ b/core/Command/Integrity/SignApp.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Integrity; use OC\IntegrityCheck\Checker; diff --git a/core/Command/Integrity/SignCore.php b/core/Command/Integrity/SignCore.php index 77730732b94f3d75f10b67b5862deb34cde1abd8..c3b88b2116a2295dd414b6cedd7046aeeedcaf60 100644 --- a/core/Command/Integrity/SignCore.php +++ b/core/Command/Integrity/SignCore.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Integrity; use OC\IntegrityCheck\Checker; diff --git a/core/Command/InterruptedException.php b/core/Command/InterruptedException.php index 80b0fb1bd960810aebcaecaa9caf1b2c314eeedc..2e2b5b979fcec6363fe0fc3090d2d655a02ef7d3 100644 --- a/core/Command/InterruptedException.php +++ b/core/Command/InterruptedException.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2017, ownCloud, Inc. * * @author Christoph Wurst - * @author Roeland Jago Douma * @author Vincent Petry * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command; /** diff --git a/core/Command/L10n/CreateJs.php b/core/Command/L10n/CreateJs.php index 82a23e38176ef97264e5dda179ec294f722d195f..6472e7aec1c40e71a687f88bb73655b67974b2f6 100644 --- a/core/Command/L10n/CreateJs.php +++ b/core/Command/L10n/CreateJs.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\L10n; use DirectoryIterator; diff --git a/core/Command/Log/File.php b/core/Command/Log/File.php index ce1f3c75408286b77723ce111b59fc599ef094f0..cd22b8917c456bcad9b695f12fa83be2054c0f71 100644 --- a/core/Command/Log/File.php +++ b/core/Command/Log/File.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Log; use OCP\IConfig; diff --git a/core/Command/Log/Manage.php b/core/Command/Log/Manage.php index 3a2cd64a9a07af736ba295a3c17420f5e8029954..a57675ee42f56eeada4d424c8f0a8fd18d161e60 100644 --- a/core/Command/Log/Manage.php +++ b/core/Command/Log/Manage.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Log; use OCP\IConfig; diff --git a/core/Command/Maintenance/DataFingerprint.php b/core/Command/Maintenance/DataFingerprint.php index 12f59d630eb881f6b3e478805eedfeaa1ced72be..2bd1b9270bb7a2bb3472e60ec444c293474856bb 100644 --- a/core/Command/Maintenance/DataFingerprint.php +++ b/core/Command/Maintenance/DataFingerprint.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Maintenance; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/core/Command/Maintenance/Install.php b/core/Command/Maintenance/Install.php index 33bb967f08cdb53dc2a3b2bd54421353be4c5428..d98ec870e37ff3e61f996e8ee14f2e9637d8000c 100644 --- a/core/Command/Maintenance/Install.php +++ b/core/Command/Maintenance/Install.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Maintenance; use bantu\IniGetWrapper\IniGetWrapper; diff --git a/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php b/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php index 0f91ec9a4eb172ef509cd93d6fc5792f41abad19..97432473722980fc68681dd92a7ed7b6f73a35b4 100644 --- a/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php +++ b/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Maintenance\Mimetype; class GenerateMimetypeFileBuilder { diff --git a/core/Command/Maintenance/Mimetype/UpdateDB.php b/core/Command/Maintenance/Mimetype/UpdateDB.php index 98b850d3f9b1af27e466c6f4d9c7070f4b9a14d8..e2e3137927ff029172b4ceebf3d6d27dbf713bf7 100644 --- a/core/Command/Maintenance/Mimetype/UpdateDB.php +++ b/core/Command/Maintenance/Mimetype/UpdateDB.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Maintenance\Mimetype; use OCP\Files\IMimeTypeDetector; diff --git a/core/Command/Maintenance/Mimetype/UpdateJS.php b/core/Command/Maintenance/Mimetype/UpdateJS.php index f2bd113f3375ce0ab29dfa44523efa6cb096e448..042b4d5d62f17a011e43918c664b9eec01c5a872 100644 --- a/core/Command/Maintenance/Mimetype/UpdateJS.php +++ b/core/Command/Maintenance/Mimetype/UpdateJS.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Maintenance\Mimetype; use OCP\Files\IMimeTypeDetector; diff --git a/core/Command/Maintenance/Mode.php b/core/Command/Maintenance/Mode.php index 4a2f64981ec6a7e9fa9d629405aef660e3f709cd..17580b8b331676b66a490a76025057ec75a5b0d1 100644 --- a/core/Command/Maintenance/Mode.php +++ b/core/Command/Maintenance/Mode.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Maintenance; use OCP\IConfig; diff --git a/core/Command/Maintenance/Repair.php b/core/Command/Maintenance/Repair.php index 8315c636ea879d4be6ff153204b3a92f1f8312b2..2a3d7a908e2708b39875de152784968011f84b19 100644 --- a/core/Command/Maintenance/Repair.php +++ b/core/Command/Maintenance/Repair.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Maintenance; use Exception; diff --git a/core/Command/Maintenance/UpdateHtaccess.php b/core/Command/Maintenance/UpdateHtaccess.php index b06127d712fb5241291f87281fe37173a97b84ab..67c6db22b21cae29f628df51dc0df6e920311478 100644 --- a/core/Command/Maintenance/UpdateHtaccess.php +++ b/core/Command/Maintenance/UpdateHtaccess.php @@ -5,7 +5,6 @@ * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke - * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Maintenance; use Symfony\Component\Console\Command\Command; diff --git a/core/Command/Maintenance/UpdateTheme.php b/core/Command/Maintenance/UpdateTheme.php index 2a9d3a18e9f148f7fa804e8016b29c4703f09dbe..10526fd54e64af9db9760ea0ab37c1ca4ad230dc 100644 --- a/core/Command/Maintenance/UpdateTheme.php +++ b/core/Command/Maintenance/UpdateTheme.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Maintenance; use OC\Core\Command\Maintenance\Mimetype\UpdateJS; diff --git a/core/Command/Preview/Repair.php b/core/Command/Preview/Repair.php index 198bb099179c3db594482a023c17e111843d8a4f..cad574476a503d16760d01fa1175784076837e14 100644 --- a/core/Command/Preview/Repair.php +++ b/core/Command/Preview/Repair.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Preview; use bantu\IniGetWrapper\IniGetWrapper; diff --git a/core/Command/Preview/ResetRenderedTexts.php b/core/Command/Preview/ResetRenderedTexts.php index 7881a21d276b7afadff70daf0caa22d90ee02409..c5a6c383a0f5d88c949b0a2e23f14ae341b2952f 100644 --- a/core/Command/Preview/ResetRenderedTexts.php +++ b/core/Command/Preview/ResetRenderedTexts.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\Preview; use OC\Preview\Storage\Root; diff --git a/core/Command/Security/ImportCertificate.php b/core/Command/Security/ImportCertificate.php index 34e08b5d81644ac43ec64811aa7f2150f261e1c3..16eae0dd4b8160f111d2cb442acba3e5a7e928fc 100644 --- a/core/Command/Security/ImportCertificate.php +++ b/core/Command/Security/ImportCertificate.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Security; use OC\Core\Command\Base; diff --git a/core/Command/Security/ListCertificates.php b/core/Command/Security/ListCertificates.php index e481f3e8401783b543919c3281d876cb1e095680..9a96d98e53f03c706a8298acd32a195d2db518be 100644 --- a/core/Command/Security/ListCertificates.php +++ b/core/Command/Security/ListCertificates.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Security; use OC\Core\Command\Base; diff --git a/core/Command/Security/RemoveCertificate.php b/core/Command/Security/RemoveCertificate.php index e9848fa63a0ebe9c411f8fc103dc45fb33b37820..f915bed5b64035b134ec4458bbe97908a359a553 100644 --- a/core/Command/Security/RemoveCertificate.php +++ b/core/Command/Security/RemoveCertificate.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\Security; use OC\Core\Command\Base; diff --git a/core/Command/Security/ResetBruteforceAttempts.php b/core/Command/Security/ResetBruteforceAttempts.php index 1f8ebee68938e4cad2ff3346c35e7a3113eac64e..004fd8d8bdd992d928f5b6d9eafa5501fb70b878 100644 --- a/core/Command/Security/ResetBruteforceAttempts.php +++ b/core/Command/Security/ResetBruteforceAttempts.php @@ -14,15 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - - namespace OC\Core\Command\Security; use OC\Core\Command\Base; diff --git a/core/Command/Status.php b/core/Command/Status.php index 0c3257f8a59a95e9b7431022cdce315e58b8a770..5bcf23dfbca3792f5518475c2a405a06db3d2464 100644 --- a/core/Command/Status.php +++ b/core/Command/Status.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command; use Symfony\Component\Console\Input\InputInterface; diff --git a/core/Command/SystemTag/Add.php b/core/Command/SystemTag/Add.php index e16c0da126bde5c10bca1171cd6cb113a2409e88..e5e7368946c85173b26736759fcafb086e96842c 100644 --- a/core/Command/SystemTag/Add.php +++ b/core/Command/SystemTag/Add.php @@ -2,7 +2,7 @@ /** * @copyright Copyright (c) 2021, hosting.de, Johannes Leuker * - * @author Johannes Leuker + * @author Johannes Leuker * * @license GNU AGPL version 3 or any later version * @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\SystemTag; use OC\Core\Command\Base; diff --git a/core/Command/SystemTag/Delete.php b/core/Command/SystemTag/Delete.php index cc06b7d513c77b249fcb9207f3857da57baba952..74cc895c251669b487c660fd3ac51ecd84686772 100644 --- a/core/Command/SystemTag/Delete.php +++ b/core/Command/SystemTag/Delete.php @@ -2,7 +2,7 @@ /** * @copyright Copyright (c) 2021, hosting.de, Johannes Leuker * - * @author Johannes Leuker + * @author Johannes Leuker * * @license GNU AGPL version 3 or any later version * @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\SystemTag; use OC\Core\Command\Base; diff --git a/core/Command/SystemTag/Edit.php b/core/Command/SystemTag/Edit.php index 8f58d08e2cfd23789fa9733603b8c27f5d0955ef..721ae42eb2ba027e9a3e5080805e3207c260052a 100644 --- a/core/Command/SystemTag/Edit.php +++ b/core/Command/SystemTag/Edit.php @@ -2,7 +2,7 @@ /** * @copyright Copyright (c) 2021, hosting.de, Johannes Leuker * - * @author Johannes Leuker + * @author Johannes Leuker * * @license GNU AGPL version 3 or any later version * @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\SystemTag; use OC\Core\Command\Base; diff --git a/core/Command/SystemTag/ListCommand.php b/core/Command/SystemTag/ListCommand.php index 72ef1467f408d80c93ce76f0a368b7ff3f364ebe..f9d17efd513609cf902cfe10d0ae9499484ce5e4 100644 --- a/core/Command/SystemTag/ListCommand.php +++ b/core/Command/SystemTag/ListCommand.php @@ -2,7 +2,7 @@ /** * @copyright Copyright (c) 2021, hosting.de, Johannes Leuker * - * @author Johannes Leuker + * @author Johannes Leuker * * @license GNU AGPL version 3 or any later version * @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\SystemTag; use OC\Core\Command\Base; diff --git a/core/Command/TwoFactorAuth/Base.php b/core/Command/TwoFactorAuth/Base.php index 9112fffea420b28d2bd2ee83e8aba64d784d89f7..94a3e5aeb608f98df9038534cc9fe7e158f96869 100644 --- a/core/Command/TwoFactorAuth/Base.php +++ b/core/Command/TwoFactorAuth/Base.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\TwoFactorAuth; use OCP\IUser; diff --git a/core/Command/TwoFactorAuth/Cleanup.php b/core/Command/TwoFactorAuth/Cleanup.php index e0ea56e5feccc6c372f3f7e3b33d61df04e50f02..b567ebe39a66bd0e60b4cd79112d64478409e986 100644 --- a/core/Command/TwoFactorAuth/Cleanup.php +++ b/core/Command/TwoFactorAuth/Cleanup.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\TwoFactorAuth; use OCP\Authentication\TwoFactorAuth\IRegistry; diff --git a/core/Command/TwoFactorAuth/Disable.php b/core/Command/TwoFactorAuth/Disable.php index b4f1b1b2822ca533b37ffdc1d056263c2702044f..3a8ce28a6b6b59a90ccddd734d4b12336749fb7b 100644 --- a/core/Command/TwoFactorAuth/Disable.php +++ b/core/Command/TwoFactorAuth/Disable.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\TwoFactorAuth; use OC\Authentication\TwoFactorAuth\ProviderManager; diff --git a/core/Command/TwoFactorAuth/Enable.php b/core/Command/TwoFactorAuth/Enable.php index 37ef08c2fa3cf92fc1b63a2be06dbf639e524ef0..1346c6c5df8f97b1d3b7b3799fab95308d172290 100644 --- a/core/Command/TwoFactorAuth/Enable.php +++ b/core/Command/TwoFactorAuth/Enable.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\TwoFactorAuth; use OC\Authentication\TwoFactorAuth\ProviderManager; diff --git a/core/Command/TwoFactorAuth/Enforce.php b/core/Command/TwoFactorAuth/Enforce.php index b01935a234d955bf3d4521137e9e7d8c142e93df..7f75aec33d1e79cbbd5e2fde9eb3d7bdaa56248e 100644 --- a/core/Command/TwoFactorAuth/Enforce.php +++ b/core/Command/TwoFactorAuth/Enforce.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\TwoFactorAuth; use function implode; diff --git a/core/Command/TwoFactorAuth/State.php b/core/Command/TwoFactorAuth/State.php index bab47002f8ac7a16ade829bba9a198b630438f50..5120080cfb37e41596560f9c5790d26ce115232a 100644 --- a/core/Command/TwoFactorAuth/State.php +++ b/core/Command/TwoFactorAuth/State.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\TwoFactorAuth; use OCP\Authentication\TwoFactorAuth\IRegistry; diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php index 14d604c5e221ee801a7749bfc5f34be6e86ce992..13e150217b999b788e1bb19a754753d06e4d8029 100644 --- a/core/Command/Upgrade.php +++ b/core/Command/Upgrade.php @@ -13,6 +13,7 @@ * @author Sander Ruitenbeek * @author Thomas Müller * @author Thomas Pulzer + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * @author Vincent Petry * * @license AGPL-3.0 @@ -30,7 +31,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command; use OC\Console\TimestampFormatter; diff --git a/core/Command/User/Add.php b/core/Command/User/Add.php index b75664f16f6917efe3812341d35c9bbc417e4b4c..bb11a1ea5c99822346c2a9b02680a0f9147b4014 100644 --- a/core/Command/User/Add.php +++ b/core/Command/User/Add.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\User; use OC\Files\Filesystem; diff --git a/core/Command/User/AddAppPassword.php b/core/Command/User/AddAppPassword.php index fe84800f19a58a2c1d056b4497be662910d2966f..a29692df0457fc16d72f2298e7039c1768b749c5 100644 --- a/core/Command/User/AddAppPassword.php +++ b/core/Command/User/AddAppPassword.php @@ -2,32 +2,25 @@ /** * @copyright Copyright (c) 2020, NextCloud, Inc. * - * @author Andreas Fischer - * @author Christopher Schäpers - * @author Clark Tomlinson - * @author Joas Schilling - * @author Laurens Post - * @author Morris Jobke - * @author Roeland Jago Douma - * @author Sujith H + * @author Bjoern Schiessle * @author Sean Molenaar * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OC\Core\Command\User; use OC\Authentication\Token\IProvider; diff --git a/core/Command/User/Delete.php b/core/Command/User/Delete.php index c6c7700ce5a88d4574b4c157bd84266853ff386b..37e09ca69caa837f3c3f626cc2126ebfb8d16978 100644 --- a/core/Command/User/Delete.php +++ b/core/Command/User/Delete.php @@ -5,7 +5,6 @@ * @author Arthur Schiwon * @author Jens-Christian Fischer * @author Joas Schilling - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\User; use OCP\IUserManager; diff --git a/core/Command/User/Disable.php b/core/Command/User/Disable.php index ac751f5da9f7ef3b4d0739cd5fecec5ab7d038fb..e4f43e26f5903ee780b2f4c859e4635f214a9489 100644 --- a/core/Command/User/Disable.php +++ b/core/Command/User/Disable.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\User; use OCP\IUserManager; diff --git a/core/Command/User/Enable.php b/core/Command/User/Enable.php index e556821061df9401e01c9fea3ce023e5712d5f42..80efec3bc3f8fb2fd766c918f6b3b7249fd90b4d 100644 --- a/core/Command/User/Enable.php +++ b/core/Command/User/Enable.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\User; use OCP\IUserManager; diff --git a/core/Command/User/Info.php b/core/Command/User/Info.php index 4727ef0ec9a6a4bce5de396ace5da10d68ca470a..eff13378278e6f9c4fd5073e5f3c8bb2c28f3f44 100644 --- a/core/Command/User/Info.php +++ b/core/Command/User/Info.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\User; use OC\Core\Command\Base; diff --git a/core/Command/User/LastSeen.php b/core/Command/User/LastSeen.php index af80b1e1c059f099b8bb2f410d6642fd3024a564..e56ddd5087f2f13e09aac7027f0811eb99e59d30 100644 --- a/core/Command/User/LastSeen.php +++ b/core/Command/User/LastSeen.php @@ -5,7 +5,6 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Pierre Ozoux * @author Roeland Jago Douma * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\User; use OCP\IUserManager; diff --git a/core/Command/User/ListCommand.php b/core/Command/User/ListCommand.php index 6c153ee8da7f0b34d133f05ac7c69f356969fd54..e28403aa04cd2ef8c75d3fe762d6a501c47c22f7 100644 --- a/core/Command/User/ListCommand.php +++ b/core/Command/User/ListCommand.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2016 Robin Appelman * * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Robin Appelman * * @license GNU AGPL version 3 or any later version @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Command\User; use OC\Core\Command\Base; diff --git a/core/Command/User/Report.php b/core/Command/User/Report.php index b537884d9d6b2ef6275a00d8ebb6286d25f35f90..9df828ca7dabe2acd1fadc087d37dfef847fbebd 100644 --- a/core/Command/User/Report.php +++ b/core/Command/User/Report.php @@ -1,6 +1,7 @@ * */ - namespace OC\Core\Command\User; use OC\Files\View; diff --git a/core/Command/User/ResetPassword.php b/core/Command/User/ResetPassword.php index bde82fd4770153ca34e9da87e5c7db55e893f995..798f5dad58581e4b655030746f543a990731e021 100644 --- a/core/Command/User/ResetPassword.php +++ b/core/Command/User/ResetPassword.php @@ -7,7 +7,6 @@ * @author Clark Tomlinson * @author Joas Schilling * @author Laurens Post - * @author Morris Jobke * @author Roeland Jago Douma * @author Sujith H * @@ -26,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\User; use OCP\IUserManager; diff --git a/core/Command/User/Setting.php b/core/Command/User/Setting.php index 7b6162697125a2421515c9bff9d740baad048288..b677540d170ab5d234c08f52fd411991efc234a6 100644 --- a/core/Command/User/Setting.php +++ b/core/Command/User/Setting.php @@ -4,7 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author Johannes Leuker + * @author Johannes Leuker * @author Kim Brose * @author Roeland Jago Douma * @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Command\User; use OC\Core\Command\Base; diff --git a/core/Controller/AppPasswordController.php b/core/Controller/AppPasswordController.php index 15f86b4ad6a622133a8b3a9b378fdecf83d7a2db..41f0f6e4f273e3c3d4abae797e14001e8ad6c855 100644 --- a/core/Controller/AppPasswordController.php +++ b/core/Controller/AppPasswordController.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018, Roeland Jago Douma * + * @author Christoph Wurst * @author Daniel Kesselberg * @author Roeland Jago Douma * @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OC\Authentication\Events\AppPasswordCreatedEvent; diff --git a/core/Controller/AutoCompleteController.php b/core/Controller/AutoCompleteController.php index 74f5db485c830ea13f351ef2079cb05fd8db2435..6cbca91ec0f0afa25fccef57f829bb5915be068a 100644 --- a/core/Controller/AutoCompleteController.php +++ b/core/Controller/AutoCompleteController.php @@ -8,7 +8,7 @@ declare(strict_types=1); * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OCP\AppFramework\Http\DataResponse; diff --git a/core/Controller/AvatarController.php b/core/Controller/AvatarController.php index 34815321495a92b98547b1f0ca24284ee8b8e3d3..3b87bf15b2ffa1393d42b2c2570b05d3b12445b6 100644 --- a/core/Controller/AvatarController.php +++ b/core/Controller/AvatarController.php @@ -5,7 +5,8 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ + * @author Julien Veyssier * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma @@ -27,7 +28,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Controller; use OC\AppFramework\Utility\TimeFactory; diff --git a/core/Controller/CSRFTokenController.php b/core/Controller/CSRFTokenController.php index 9ff389140bd1c24f6c8d6247c9274f224e76feca..510d5e64d9f53fa06b8e1453a761ff87acd39019 100644 --- a/core/Controller/CSRFTokenController.php +++ b/core/Controller/CSRFTokenController.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OC\Security\CSRF\CsrfTokenManager; diff --git a/core/Controller/ClientFlowLoginController.php b/core/Controller/ClientFlowLoginController.php index b7599acc3c6be0b5e9d13803b9a58acfe02ef4aa..2ba26deb0e7362ab4db00b1f504cfec44b5f4b15 100644 --- a/core/Controller/ClientFlowLoginController.php +++ b/core/Controller/ClientFlowLoginController.php @@ -22,14 +22,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OC\Authentication\Events\AppPasswordCreatedEvent; diff --git a/core/Controller/ClientFlowLoginV2Controller.php b/core/Controller/ClientFlowLoginV2Controller.php index 103d659ecd2bab5df35fcf5789db6fbe6c2d5e54..205c1ff8a1c7496c8d72f769711b27b1a48ec722 100644 --- a/core/Controller/ClientFlowLoginV2Controller.php +++ b/core/Controller/ClientFlowLoginV2Controller.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OC\Core\Db\LoginFlowV2; diff --git a/core/Controller/CollaborationResourcesController.php b/core/Controller/CollaborationResourcesController.php index 72bcf351db07e7250735acf25608486320a81410..114423e1a2f4518b633b794a6cfbcd607cc7cc04 100644 --- a/core/Controller/CollaborationResourcesController.php +++ b/core/Controller/CollaborationResourcesController.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use Exception; diff --git a/core/Controller/ContactsMenuController.php b/core/Controller/ContactsMenuController.php index 8b7962f97ef1628548e27deb979a0a0e49c0bd32..6c967e7e01930e5fd665f57a93be554931293a47 100644 --- a/core/Controller/ContactsMenuController.php +++ b/core/Controller/ContactsMenuController.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OC\Contacts\ContactsMenu\Manager; diff --git a/core/Controller/CssController.php b/core/Controller/CssController.php index 05c1bd5e6cf0bef4df61faf8400d39fef5541555..e1d7d5178cdcc52decfec787aecadb70b2180b4b 100644 --- a/core/Controller/CssController.php +++ b/core/Controller/CssController.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Citharel @@ -21,14 +21,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OC\Files\AppData\Factory; diff --git a/core/Controller/GuestAvatarController.php b/core/Controller/GuestAvatarController.php index 38b5cfd294108c7962a8f08383810115f680f74f..57900af810dcf64778ca890eb825d2aebb7e11b4 100644 --- a/core/Controller/GuestAvatarController.php +++ b/core/Controller/GuestAvatarController.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OCP\AppFramework\Controller; diff --git a/core/Controller/JsController.php b/core/Controller/JsController.php index 2adb0ac374d27f8bc22b216c37b1d7267542828c..937df073e81250ece685074fbda1111193565402 100644 --- a/core/Controller/JsController.php +++ b/core/Controller/JsController.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Citharel @@ -21,14 +21,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OC\Files\AppData\Factory; diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php index b14b2e072b9545b0a7a2fb4ff048674040f63eec..8a96db97c9e25612b7048efa491511546cc6a5a2 100644 --- a/core/Controller/LoginController.php +++ b/core/Controller/LoginController.php @@ -7,7 +7,7 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Michael Weimann @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Controller; use OC\AppFramework\Http\Request; diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php index eedb9eef54252fa04bbdbbd87582164b71fe1f3e..99427132f5e44ed38eb3b2d76e935ace887a232c 100644 --- a/core/Controller/LostController.php +++ b/core/Controller/LostController.php @@ -33,7 +33,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Controller; use function array_filter; diff --git a/core/Controller/NavigationController.php b/core/Controller/NavigationController.php index ad88985ce7698840810aaddbe7d1d89912a92837..9d0565145c3120b4ff5ac3b6e54ea4ce0b2d7159 100644 --- a/core/Controller/NavigationController.php +++ b/core/Controller/NavigationController.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2018 Julius Härtl * * @author Julius Härtl - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -14,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OCP\AppFramework\Http; diff --git a/core/Controller/OCJSController.php b/core/Controller/OCJSController.php index c3a74733b98e052b5dd70a2a4a3bc339399f1913..71f0941b46ce130e01c46fe54a6399dcc6b24f06 100644 --- a/core/Controller/OCJSController.php +++ b/core/Controller/OCJSController.php @@ -4,7 +4,7 @@ * * @author Bjoern Schiessle * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use bantu\IniGetWrapper\IniGetWrapper; diff --git a/core/Controller/OCSController.php b/core/Controller/OCSController.php index f3a65420bd78afa71402014d50fe87af94df5733..63a25591ef0fc6e5bb3c2610fd73af40339cc68b 100644 --- a/core/Controller/OCSController.php +++ b/core/Controller/OCSController.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Daniel Kesselberg @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OC\CapabilitiesManager; diff --git a/core/Controller/PreviewController.php b/core/Controller/PreviewController.php index 0b762094086f888e15b04392ca4216e575c1b629..e1bfa01b238a60f6339b089d11e6389d446e81f0 100644 --- a/core/Controller/PreviewController.php +++ b/core/Controller/PreviewController.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OCP\AppFramework\Controller; diff --git a/core/Controller/RecommendedAppsController.php b/core/Controller/RecommendedAppsController.php index 6240aecf43c00c91d1a65f70dd9cc17a330a6805..1b6650ed902325cd3bd68d0b08ad3850a1e65f87 100644 --- a/core/Controller/RecommendedAppsController.php +++ b/core/Controller/RecommendedAppsController.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OCP\AppFramework\Controller; diff --git a/core/Controller/SearchController.php b/core/Controller/SearchController.php index 72633630dad29a66a20995dfca73a967002197c2..95d100a393d8c24a4507a93fb8f5adf159a7e7f3 100644 --- a/core/Controller/SearchController.php +++ b/core/Controller/SearchController.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OCP\AppFramework\Controller; diff --git a/core/Controller/SetupController.php b/core/Controller/SetupController.php index 6d117eafd5917c184f05431e90f805e5c3f44571..704a2507b5a4c481204dab8f1a52b35c16b0986c 100644 --- a/core/Controller/SetupController.php +++ b/core/Controller/SetupController.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Controller; use OC\Setup; diff --git a/core/Controller/SvgController.php b/core/Controller/SvgController.php index ff0a21ba5167b60acb202ac3dfa0028ea3f750bc..ea73ba118d9e2690fcefb231f30e2a77e139530e 100644 --- a/core/Controller/SvgController.php +++ b/core/Controller/SvgController.php @@ -8,7 +8,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Roeland Jago Douma * @author Thomas Citharel @@ -22,14 +22,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OC\Template\IconsCacher; diff --git a/core/Controller/TwoFactorChallengeController.php b/core/Controller/TwoFactorChallengeController.php index a9e1ee35917a918adca0e7f27f69677b5687cde4..e08454caea6e8320e9a53aaca93fc9e3e60d4c6a 100644 --- a/core/Controller/TwoFactorChallengeController.php +++ b/core/Controller/TwoFactorChallengeController.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Controller; use OC\Authentication\TwoFactorAuth\Manager; diff --git a/core/Controller/UnifiedSearchController.php b/core/Controller/UnifiedSearchController.php index c2949ce6095814cecde70edeb001fcf5561f5c9e..93fbb323ee56065f75f9e2fb2a555dca3439ac0b 100644 --- a/core/Controller/UnifiedSearchController.php +++ b/core/Controller/UnifiedSearchController.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OC\Search\SearchComposer; diff --git a/core/Controller/UserController.php b/core/Controller/UserController.php index 638e4e00e461a645bf293c424bed7548e7fb93f1..6d50348c2a5e18b584a92d803c7302fb309b1e15 100644 --- a/core/Controller/UserController.php +++ b/core/Controller/UserController.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Controller; use OCP\AppFramework\Controller; diff --git a/core/Controller/WalledGardenController.php b/core/Controller/WalledGardenController.php index 208162c754e4853e11ac07584c0108711e39b980..4aff72beb44e25e1712f183b4a573e0ceee615aa 100644 --- a/core/Controller/WalledGardenController.php +++ b/core/Controller/WalledGardenController.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OCP\AppFramework\Controller; diff --git a/core/Controller/WebAuthnController.php b/core/Controller/WebAuthnController.php index b602fe4c728a0c052c28c8b0f35d197dbbd3425f..1aab505f16a3f19a7ed0d37109dc15c59634a540 100644 --- a/core/Controller/WebAuthnController.php +++ b/core/Controller/WebAuthnController.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OC\Authentication\Login\LoginData; diff --git a/core/Controller/WellKnownController.php b/core/Controller/WellKnownController.php index 640aa33f49f30b28aa982cb3e3b3dcc03a509531..12384b6f9ad16b042ed5a212ab49e1dfdfbf7775 100644 --- a/core/Controller/WellKnownController.php +++ b/core/Controller/WellKnownController.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OC\Http\WellKnown\RequestManager; diff --git a/core/Controller/WhatsNewController.php b/core/Controller/WhatsNewController.php index 48cd26a1b59d38b7139fe5b06db0569140f24a6a..f316c62c973f705ed9c040fefe5d1821028f1b7c 100644 --- a/core/Controller/WhatsNewController.php +++ b/core/Controller/WhatsNewController.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OC\CapabilitiesManager; diff --git a/core/Controller/WipeController.php b/core/Controller/WipeController.php index bc3cc7ba063e15ee172adae400a38fecd26b57f8..5eef03b129f0367920b50ff8d0cfd0da8f60f396 100644 --- a/core/Controller/WipeController.php +++ b/core/Controller/WipeController.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Controller; use OC\Authentication\Exceptions\InvalidTokenException; diff --git a/core/Data/LoginFlowV2Credentials.php b/core/Data/LoginFlowV2Credentials.php index 4dd3cba2e9c324d623661b7303c68f13441f98b6..4bcd8ab7f92a159f2ef9bf1638578fc599030baa 100644 --- a/core/Data/LoginFlowV2Credentials.php +++ b/core/Data/LoginFlowV2Credentials.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Data; class LoginFlowV2Credentials implements \JsonSerializable { diff --git a/core/Data/LoginFlowV2Tokens.php b/core/Data/LoginFlowV2Tokens.php index 5d9b39069b7b8bfa812a8f2a654f53ac91db156c..0e932d49ed6331d3b12b2984d8caa2760ca84da9 100644 --- a/core/Data/LoginFlowV2Tokens.php +++ b/core/Data/LoginFlowV2Tokens.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Data; class LoginFlowV2Tokens { diff --git a/core/Db/LoginFlowV2.php b/core/Db/LoginFlowV2.php index c78150bf88b26a6c91e0361bd50a8d6dabca4f64..ddf9a5f6413a1c400cc2895168d9d2e107305dc1 100644 --- a/core/Db/LoginFlowV2.php +++ b/core/Db/LoginFlowV2.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Db; use OCP\AppFramework\Db\Entity; diff --git a/core/Db/LoginFlowV2Mapper.php b/core/Db/LoginFlowV2Mapper.php index 3d072d132ef8c9a1a0e9d6ed788ff66ee90be86c..0e44418e0107ede1e0a0a2455540445b08231e84 100644 --- a/core/Db/LoginFlowV2Mapper.php +++ b/core/Db/LoginFlowV2Mapper.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Db; use OCP\AppFramework\Db\DoesNotExistException; diff --git a/core/Exception/LoginFlowV2NotFoundException.php b/core/Exception/LoginFlowV2NotFoundException.php index ed06801acff5d1a396927ece9f230525cb6e4231..9b51906a2ddd294caaeb1c23b4176e5fcfd11bbc 100644 --- a/core/Exception/LoginFlowV2NotFoundException.php +++ b/core/Exception/LoginFlowV2NotFoundException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Exception; class LoginFlowV2NotFoundException extends \Exception { diff --git a/core/Exception/ResetPasswordException.php b/core/Exception/ResetPasswordException.php index 2dfd205839501b22c85c8d9750f331ba5a9ebb10..117fb0ab17796a4f189d6faa447fecf26f5f6ea9 100644 --- a/core/Exception/ResetPasswordException.php +++ b/core/Exception/ResetPasswordException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Exception; class ResetPasswordException extends \Exception { diff --git a/core/Middleware/TwoFactorMiddleware.php b/core/Middleware/TwoFactorMiddleware.php index fb856ce8938a59cc326c37b31f3fd5c7336b4e06..0ba8be135f90d6cd2d799d25a65de92cc74e8837 100644 --- a/core/Middleware/TwoFactorMiddleware.php +++ b/core/Middleware/TwoFactorMiddleware.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Core\Middleware; use Exception; diff --git a/core/Migrations/Version13000Date20170705121758.php b/core/Migrations/Version13000Date20170705121758.php index 98fea28e015f47c6890b714dc210509dacb248ca..9436502b4a030a81c02d0ecf638295c3edd4a76c 100644 --- a/core/Migrations/Version13000Date20170705121758.php +++ b/core/Migrations/Version13000Date20170705121758.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2017 Joas Schilling * + * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling * @author Roeland Jago Douma @@ -15,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use OCP\DB\Types; diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php index 4912bef885738cb899b6dbabd861fcc2eacc978f..7b959c6073cb986c49106a460257b8dbc0fdd3ad 100644 --- a/core/Migrations/Version13000Date20170718121200.php +++ b/core/Migrations/Version13000Date20170718121200.php @@ -3,11 +3,13 @@ * @copyright Copyright (c) 2017 Joas Schilling * * @author Bjoern Schiessle + * @author Christoph Wurst * @author Daniel Kesselberg * @author Georg Ehrke * @author Joas Schilling * @author Julius Härtl * @author Mario Danic + * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @@ -20,14 +22,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use OCP\DB\Types; diff --git a/core/Migrations/Version13000Date20170814074715.php b/core/Migrations/Version13000Date20170814074715.php index a7d1ef24d5fc5720d8d0eef5a3e8714d8c3305f4..6882662dc53bdd4c92d7c17894d6939313f36240 100644 --- a/core/Migrations/Version13000Date20170814074715.php +++ b/core/Migrations/Version13000Date20170814074715.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use OCP\DB\ISchemaWrapper; diff --git a/core/Migrations/Version13000Date20170919121250.php b/core/Migrations/Version13000Date20170919121250.php index a36f05b87da61009cf0f64e410c8a0a3c7557c36..65d52829373358edf7828d439a989fceed052a3e 100644 --- a/core/Migrations/Version13000Date20170919121250.php +++ b/core/Migrations/Version13000Date20170919121250.php @@ -1,6 +1,6 @@ * * @author Joas Schilling * @author Julius Härtl @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use OCP\DB\ISchemaWrapper; diff --git a/core/Migrations/Version13000Date20170926101637.php b/core/Migrations/Version13000Date20170926101637.php index 1e42dc9b044b8c83305f136d1a08aa6a3141b788..0961c15be719313b3f4d00d33e43b393d5dcfbb3 100644 --- a/core/Migrations/Version13000Date20170926101637.php +++ b/core/Migrations/Version13000Date20170926101637.php @@ -1,10 +1,9 @@ * * @author Joas Schilling * @author Morris Jobke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use OCP\Migration\BigIntMigration; diff --git a/core/Migrations/Version14000Date20180129121024.php b/core/Migrations/Version14000Date20180129121024.php index 7e6047128d2bca75ad650fa3d803f1bc52075504..30172d75f56f556265e52d23d971a49b3ffb3b56 100644 --- a/core/Migrations/Version14000Date20180129121024.php +++ b/core/Migrations/Version14000Date20180129121024.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use OCP\DB\ISchemaWrapper; diff --git a/core/Migrations/Version14000Date20180404140050.php b/core/Migrations/Version14000Date20180404140050.php index d9d7cf30d411fceb18b9114830523919cfe63344..d7b7ce1fce27f8e6e88ab738d76ef23ea9a22d35 100644 --- a/core/Migrations/Version14000Date20180404140050.php +++ b/core/Migrations/Version14000Date20180404140050.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use OCP\DB\ISchemaWrapper; diff --git a/core/Migrations/Version14000Date20180516101403.php b/core/Migrations/Version14000Date20180516101403.php index bb18bd6c412e6aa359bf9633bfada119dd7987f5..cd2df5b10ab4ba33c90a461012a9a6f48f505d28 100644 --- a/core/Migrations/Version14000Date20180516101403.php +++ b/core/Migrations/Version14000Date20180516101403.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use OCP\DB\ISchemaWrapper; diff --git a/core/Migrations/Version14000Date20180518120534.php b/core/Migrations/Version14000Date20180518120534.php index 4c8d857c3b8006c2af392d97b41c9d0b07b831f1..39ac3ed6db30b30be4718901a5523418a28cb365 100644 --- a/core/Migrations/Version14000Date20180518120534.php +++ b/core/Migrations/Version14000Date20180518120534.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use OCP\DB\ISchemaWrapper; diff --git a/core/Migrations/Version14000Date20180522074438.php b/core/Migrations/Version14000Date20180522074438.php index 4afd98d9fbba47e77d0360f261ad805a9b3bf632..57358eca66218f79fd45e5b121f10d599c5f9745 100644 --- a/core/Migrations/Version14000Date20180522074438.php +++ b/core/Migrations/Version14000Date20180522074438.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version14000Date20180626223656.php b/core/Migrations/Version14000Date20180626223656.php index 2fea1eb1f3fe3e22392fb500c68b0bb1dd401135..29c2de29eb5436efc8296824694c81a174a8f897 100644 --- a/core/Migrations/Version14000Date20180626223656.php +++ b/core/Migrations/Version14000Date20180626223656.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use OCP\DB\ISchemaWrapper; diff --git a/core/Migrations/Version14000Date20180710092004.php b/core/Migrations/Version14000Date20180710092004.php index e5c57ec20564430a8e00f16a23b5679e761e6df9..30ac28ccb6e2e9242c0ea87370d05fd4a363e69a 100644 --- a/core/Migrations/Version14000Date20180710092004.php +++ b/core/Migrations/Version14000Date20180710092004.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018, Daniel Calviño Sánchez (danxuliu@gmail.com) * + * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Daniel Kesselberg * @author Joas Schilling @@ -19,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use OCP\DB\Types; diff --git a/core/Migrations/Version14000Date20180712153140.php b/core/Migrations/Version14000Date20180712153140.php index 594c446f822daa560879c6014fc69fa70a799dcc..444cad072a090abaf366e3625995672e2900b533 100644 --- a/core/Migrations/Version14000Date20180712153140.php +++ b/core/Migrations/Version14000Date20180712153140.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use OCP\DB\ISchemaWrapper; diff --git a/core/Migrations/Version15000Date20180926101451.php b/core/Migrations/Version15000Date20180926101451.php index d780d7c84ea16c4e2f5ad4ff479549e359fbd5d4..e379b12490d2cbb3cd7d228568e3294694594c11 100644 --- a/core/Migrations/Version15000Date20180926101451.php +++ b/core/Migrations/Version15000Date20180926101451.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version15000Date20181015062942.php b/core/Migrations/Version15000Date20181015062942.php index 09472c30eae2e8be2fed4111f6f4fbe158669ad6..deb64f321423a7d37684821d67bb6f49d2641612 100644 --- a/core/Migrations/Version15000Date20181015062942.php +++ b/core/Migrations/Version15000Date20181015062942.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version15000Date20181029084625.php b/core/Migrations/Version15000Date20181029084625.php index 607ef054f3a0576b6f50aaca5fef951d3f8af065..c3022148b0aeab2d4e20e64021644c7f9d6cf53f 100644 --- a/core/Migrations/Version15000Date20181029084625.php +++ b/core/Migrations/Version15000Date20181029084625.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version16000Date20190207141427.php b/core/Migrations/Version16000Date20190207141427.php index 76547825b52c330067949af76a764f55ec70cdc4..837715a68381cc4060caaaf330b1d55c2fcfd343 100644 --- a/core/Migrations/Version16000Date20190207141427.php +++ b/core/Migrations/Version16000Date20190207141427.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018 Joas Schilling * + * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling * @author Roeland Jago Douma @@ -18,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version16000Date20190212081545.php b/core/Migrations/Version16000Date20190212081545.php index df9087c05a8edad84d99274d5f5fd6daf38d497a..00ca7f845920ef333493c441e5f1b273fe683300 100644 --- a/core/Migrations/Version16000Date20190212081545.php +++ b/core/Migrations/Version16000Date20190212081545.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version16000Date20190427105638.php b/core/Migrations/Version16000Date20190427105638.php index a2a58c74495321ba99f6d43503585d88c3f74a2e..dbad19d9b5437ace19003893a28c58d529e3f150 100644 --- a/core/Migrations/Version16000Date20190427105638.php +++ b/core/Migrations/Version16000Date20190427105638.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version16000Date20190428150708.php b/core/Migrations/Version16000Date20190428150708.php index 489241546bda3e228a3fc02be611326cb987c05a..14645925d3d4476f21df213ef5feb4fa4ac87d59 100644 --- a/core/Migrations/Version16000Date20190428150708.php +++ b/core/Migrations/Version16000Date20190428150708.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019 Daniel Kesselberg * + * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling * @author Roeland Jago Douma @@ -18,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version17000Date20190514105811.php b/core/Migrations/Version17000Date20190514105811.php index 4e854ee0c3e4b7ff76201d54d0b2ca7ad325a357..53c4cd67647f10539c6f1ed4bea87444e356f68e 100644 --- a/core/Migrations/Version17000Date20190514105811.php +++ b/core/Migrations/Version17000Date20190514105811.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version18000Date20190920085628.php b/core/Migrations/Version18000Date20190920085628.php index 768ade5abbd55f3e04f60972d3bdfce3fba070ed..9384abeed3003115aaa93c12678183c2e9a898b3 100644 --- a/core/Migrations/Version18000Date20190920085628.php +++ b/core/Migrations/Version18000Date20190920085628.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019 Joas Schilling * + * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling * @author Roeland Jago Douma @@ -18,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version18000Date20191014105105.php b/core/Migrations/Version18000Date20191014105105.php index d230173623cb41f673e3630458dae0785b1f99a1..fa7eed899aed51f8a092c6cd95e33ab3dee9440a 100644 --- a/core/Migrations/Version18000Date20191014105105.php +++ b/core/Migrations/Version18000Date20191014105105.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019 Julius Härtl * + * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling * @author Julius Härtl @@ -18,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version18000Date20191204114856.php b/core/Migrations/Version18000Date20191204114856.php index 0e5f3cbe2723f5815b7e44aecaabee236d9c6411..9fec994ba4481675b86db6d6b2e3be15980e3ad6 100644 --- a/core/Migrations/Version18000Date20191204114856.php +++ b/core/Migrations/Version18000Date20191204114856.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version19000Date20200211083441.php b/core/Migrations/Version19000Date20200211083441.php index 7b8bea437673e41f15431912e4bdb0d4ac699689..4e5c48a3b881f0b7dc49b01b1cf01a74641daff6 100644 --- a/core/Migrations/Version19000Date20200211083441.php +++ b/core/Migrations/Version19000Date20200211083441.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Roeland Jago Douma * * @author Christoph Wurst * @author Roeland Jago Douma @@ -17,7 +17,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/core/Migrations/Version20000Date20201109081915.php b/core/Migrations/Version20000Date20201109081915.php index 73c5ef641abc10ab15ee471a2ed8b10926735ae4..6e23c0b4bfd12c222c259e5e170188f03b684629 100644 --- a/core/Migrations/Version20000Date20201109081915.php +++ b/core/Migrations/Version20000Date20201109081915.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version20000Date20201109081918.php b/core/Migrations/Version20000Date20201109081918.php index 35a9f6722a1e1a64c6b07f3843b28eac4a15e4f8..9ebdd40aaf2d235c4310668477845bc5de92e394 100644 --- a/core/Migrations/Version20000Date20201109081918.php +++ b/core/Migrations/Version20000Date20201109081918.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * @author Robin Appelman * @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version20000Date20201109081919.php b/core/Migrations/Version20000Date20201109081919.php index cfc1ec4f03b0079567b4a2b9b08d30283357c3a2..4c78dd901bd042347cfb83a9cec0d446384598f4 100644 --- a/core/Migrations/Version20000Date20201109081919.php +++ b/core/Migrations/Version20000Date20201109081919.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version20000Date20201111081915.php b/core/Migrations/Version20000Date20201111081915.php index 6cb76a02a451ac78a66b4b47f55c151eb00f88b7..e310549e28680a7b2b4ae0c9e62884945e50cd5d 100644 --- a/core/Migrations/Version20000Date20201111081915.php +++ b/core/Migrations/Version20000Date20201111081915.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version21000Date20201120141228.php b/core/Migrations/Version21000Date20201120141228.php index 3280aa12a599700a1c40131ca3a17b9fb52de3cb..274b9a2084e38334e6d261cf01333a6eb5dd21f2 100644 --- a/core/Migrations/Version21000Date20201120141228.php +++ b/core/Migrations/Version21000Date20201120141228.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Julius Härtl * * @author Christoph Wurst * @author Julius Härtl @@ -17,7 +17,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/core/Migrations/Version21000Date20201202095923.php b/core/Migrations/Version21000Date20201202095923.php index c16124a9afb29bf550ddae4235e5562fe03663b3..c087447f050227909bfe5786800e9ce80e471f9d 100644 --- a/core/Migrations/Version21000Date20201202095923.php +++ b/core/Migrations/Version21000Date20201202095923.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version21000Date20210119195004.php b/core/Migrations/Version21000Date20210119195004.php index 0fa211f9f22196d7a9472dee6aebbb7c93423115..7b74031cbae232e08e4826f62967172284a8cf88 100644 --- a/core/Migrations/Version21000Date20210119195004.php +++ b/core/Migrations/Version21000Date20210119195004.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version21000Date20210309185126.php b/core/Migrations/Version21000Date20210309185126.php index 675cda9e03fce9ccb39f1b8db35da94d9f952737..1a55a106ba4d3abc031f8a576ef066fc282521e9 100644 --- a/core/Migrations/Version21000Date20210309185126.php +++ b/core/Migrations/Version21000Date20210309185126.php @@ -1,6 +1,7 @@ * @@ -15,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version21000Date20210309185127.php b/core/Migrations/Version21000Date20210309185127.php index 01cbdcb8641bb7e818da1acb901692f8128fe9e2..d50a262079790f26448669b4cd92d55d096fe2a4 100644 --- a/core/Migrations/Version21000Date20210309185127.php +++ b/core/Migrations/Version21000Date20210309185127.php @@ -1,6 +1,7 @@ * @@ -15,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * */ - - namespace OC\Core\Migrations; use Closure; diff --git a/core/Migrations/Version22000Date20210216080825.php b/core/Migrations/Version22000Date20210216080825.php index 3684ad370d26e8f52388add0d8f9ba36d48fd60b..c4191807cac72ddae3c2d8bf1a831a6eeabd8b31 100644 --- a/core/Migrations/Version22000Date20210216080825.php +++ b/core/Migrations/Version22000Date20210216080825.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Migrations; use Closure; diff --git a/core/Notification/CoreNotifier.php b/core/Notification/CoreNotifier.php index 709d83ab9c3332e16e752c5a8bd8b4331b0ac034..6d2a07337a60d2d46d59cc0a75787ed2ce6b8060 100644 --- a/core/Notification/CoreNotifier.php +++ b/core/Notification/CoreNotifier.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Notification; use OCP\IURLGenerator; diff --git a/core/Service/LoginFlowV2Service.php b/core/Service/LoginFlowV2Service.php index 0f592c8138f4467eea2261a10e32fe38c961e574..6f8c7966e2733d5de15b8a363227f6c13eb0d8bb 100644 --- a/core/Service/LoginFlowV2Service.php +++ b/core/Service/LoginFlowV2Service.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Core\Service; use OC\Authentication\Exceptions\InvalidTokenException; diff --git a/core/ajax/update.php b/core/ajax/update.php index 31558e7c35163a20b14a15f5f58b8f61cb0bb4b8..c1ddddbecdbc03d2084d50d518529d021f78a66b 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Arthur Schiwon - * @author Björn Schießle * @author Christoph Wurst * @author Joas Schilling * @author Ko- @@ -31,7 +30,6 @@ * along with this program. If not, see * */ - use OCP\ILogger; use Symfony\Component\EventDispatcher\GenericEvent; diff --git a/core/register_command.php b/core/register_command.php index b066c360c9b9c9d0dbd43cc06a2b541e4dd9de11..526707b004d7171d9da423961db74c18d58d6acb 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -9,22 +9,24 @@ declare(strict_types=1); * @author Björn Schießle * @author Christian Kampka * @author Christoph Wurst + * @author Daniel Calviño Sánchez * @author Daniel Kesselberg * @author Denis Mosolov * @author Joas Schilling + * @author Johannes Leuker * @author Johannes Riedel - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Julius Härtl * @author Lukas Reschke * @author michag86 - * @author MichaIng * @author Morris Jobke * @author Patrik Kernstock * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma * @author Ruben Homs + * @author Sean Molenaar * @author sualko * @author Thomas Müller * @author Thomas Pulzer @@ -46,9 +48,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - -/** @var Symfony\Component\Console\Application $application */ - use Psr\Log\LoggerInterface; $application->add(new \Stecman\Component\Symfony\Console\BashCompletion\CompletionCommand()); diff --git a/core/routes.php b/core/routes.php index 791fe8c74ffb676ef28edd767b7d603b4ed4e326..0625690b2d29a9c8c593ec94e55811197171ef39 100644 --- a/core/routes.php +++ b/core/routes.php @@ -10,11 +10,10 @@ declare(strict_types=1); * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Michael Weimann - * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @author Victor Dubiniuk @@ -34,7 +33,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - use OC\Core\Application; /** @var Application $application */ diff --git a/cron.php b/cron.php index ffce18b98d0d5d8f99299d8bf182b2312c2055d9..815786ada53235cb38ed57e98d61efc6d544f8c3 100644 --- a/cron.php +++ b/cron.php @@ -36,7 +36,6 @@ * along with this program. If not, see * */ - require_once __DIR__ . '/lib/versioncheck.php'; try { diff --git a/index.php b/index.php index 88104e197426b3983b6bddac0e46f3daa9d7eb81..54b2f9f4c21a9497c28a713ce6cd34925417b961 100644 --- a/index.php +++ b/index.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - require_once __DIR__ . '/lib/versioncheck.php'; try { diff --git a/lib/autoloader.php b/lib/autoloader.php index b37e20c2379cee372bbb192909966c0b1f8c9b6e..c8eebee3e0cbb88391282207f5f153b2ff18543b 100644 --- a/lib/autoloader.php +++ b/lib/autoloader.php @@ -9,6 +9,7 @@ declare(strict_types=1); * @author Arthur Schiwon * @author Christoph Wurst * @author Georg Ehrke + * @author J0WI * @author Joas Schilling * @author Lukas Reschke * @author Markus Goetz @@ -33,7 +34,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC; use \OCP\AutoloadNotAllowedException; diff --git a/lib/base.php b/lib/base.php index b433806ac389b8226f31044de066e6799f5ee75c..66ff2b2a2f86f32b778c85577230f963f1cdf176 100644 --- a/lib/base.php +++ b/lib/base.php @@ -16,12 +16,13 @@ * @author Eric Masseran * @author Florin Peter * @author Greta Doci + * @author J0WI * @author Jakob Sack * @author jaltek * @author Jan-Christoph Borchardt * @author Joachim Sokolowski * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Jose Quinteiro * @author Juan Pablo Villafáñez @@ -60,7 +61,6 @@ * along with this program. If not, see * */ - use OCP\EventDispatcher\IEventDispatcher; use OCP\Group\Events\UserRemovedEvent; use OCP\ILogger; diff --git a/lib/private/Accounts/Account.php b/lib/private/Accounts/Account.php index 109691641fda28728ea57b95ce01867c11f7e15d..f7094f14cd91e7677de83c52987c3c7008aee007 100644 --- a/lib/private/Accounts/Account.php +++ b/lib/private/Accounts/Account.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018 Julius Härtl * + * @author Arthur Schiwon * @author Christoph Wurst * @author Julius Härtl * @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Accounts; use OCP\Accounts\IAccount; diff --git a/lib/private/Accounts/AccountManager.php b/lib/private/Accounts/AccountManager.php index 53792c70d27dec5c3c8436bee903e4cd86904699..62fe4b6e5c6220558be5590274176054afc588d4 100644 --- a/lib/private/Accounts/AccountManager.php +++ b/lib/private/Accounts/AccountManager.php @@ -6,11 +6,14 @@ * @author Bjoern Schiessle * @author Björn Schießle * @author Christoph Wurst + * @author Daniel Calviño Sánchez * @author Daniel Kesselberg * @author Joas Schilling * @author Julius Härtl + * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma + * @author Vincent Petry * * @license AGPL-3.0 * @@ -27,7 +30,6 @@ * along with this program. If not, see * */ - namespace OC\Accounts; use libphonenumber\NumberParseException; diff --git a/lib/private/Accounts/AccountProperty.php b/lib/private/Accounts/AccountProperty.php index cb60a7c69405ba3de4cd6103d215ff9a21f1152d..1a21baf96981ae3b9514b53d4dbaa7c5f1be28c1 100644 --- a/lib/private/Accounts/AccountProperty.php +++ b/lib/private/Accounts/AccountProperty.php @@ -5,7 +5,9 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018 Julius Härtl * + * @author Arthur Schiwon * @author Julius Härtl + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -16,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Accounts; use OCP\Accounts\IAccountManager; diff --git a/lib/private/Accounts/Hooks.php b/lib/private/Accounts/Hooks.php index d4e9637dfee85c1c8fa34ef9ef7f30893263cc1e..af078bd1db099d341d8fd068d93459d13b259b23 100644 --- a/lib/private/Accounts/Hooks.php +++ b/lib/private/Accounts/Hooks.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Accounts; use OCP\Accounts\IAccountManager; diff --git a/lib/private/Activity/ActivitySettingsAdapter.php b/lib/private/Activity/ActivitySettingsAdapter.php index 2dd852f0fd4b2504824c4e7f5c5bf4f7597c73cb..eba13ad035049823672dc9b9fc1f6e4dd5fd15e1 100644 --- a/lib/private/Activity/ActivitySettingsAdapter.php +++ b/lib/private/Activity/ActivitySettingsAdapter.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Activity; use OCP\Activity\ActivitySettings; diff --git a/lib/private/Activity/Event.php b/lib/private/Activity/Event.php index 8535561cbbe978652837d570034859d05c88e274..fd0c0afd9d804db29cbf0b059e3b50e4b9d88aa5 100644 --- a/lib/private/Activity/Event.php +++ b/lib/private/Activity/Event.php @@ -26,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Activity; use OCP\Activity\IEvent; diff --git a/lib/private/Activity/EventMerger.php b/lib/private/Activity/EventMerger.php index 9a59551c2ac4da10157b949a3b2f5d9c85118ca7..5f0993532cb1fc76f3a88d89068e9b84de067dea 100644 --- a/lib/private/Activity/EventMerger.php +++ b/lib/private/Activity/EventMerger.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Activity; use OCP\Activity\IEvent; diff --git a/lib/private/Activity/Manager.php b/lib/private/Activity/Manager.php index 25b666e6a0eb5c5c5a8d1c698ddbf6ce90bfdb9d..00b2ba434a841cb48e6f4ab78c2096f9aaaf11ea 100644 --- a/lib/private/Activity/Manager.php +++ b/lib/private/Activity/Manager.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\Activity; use OCP\Activity\ActivitySettings; diff --git a/lib/private/AllConfig.php b/lib/private/AllConfig.php index 36f5f2cd40a0ac3fbe7b3733c76b6df780c18c1e..40a52b16628b3653af8d279b7450c6783396a336 100644 --- a/lib/private/AllConfig.php +++ b/lib/private/AllConfig.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OC; use OC\Cache\CappedMemoryCache; diff --git a/lib/private/App/AppManager.php b/lib/private/App/AppManager.php index a00a93aa8476775a9a36a17fc4408273b57dc0d3..c1c85ee1fc1073c89c30da6af80f443fc8d9f0a3 100644 --- a/lib/private/App/AppManager.php +++ b/lib/private/App/AppManager.php @@ -35,7 +35,6 @@ * along with this program. If not, see * */ - namespace OC\App; use OC\AppConfig; diff --git a/lib/private/App/AppStore/Bundles/Bundle.php b/lib/private/App/AppStore/Bundles/Bundle.php index 1143558d2efc4add17a1e46bbc087313acdebdbb..dfc93fdfaa2e4ee8582d0c24d80d9fdbd137f7dd 100644 --- a/lib/private/App/AppStore/Bundles/Bundle.php +++ b/lib/private/App/AppStore/Bundles/Bundle.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\App\AppStore\Bundles; use OCP\IL10N; diff --git a/lib/private/App/AppStore/Bundles/BundleFetcher.php b/lib/private/App/AppStore/Bundles/BundleFetcher.php index 3ceb049fda873a52377ee85dc149a7eeea4a382d..7ffe1fa17d77b5d1e08bf69baf31dff7ebe8d9d2 100644 --- a/lib/private/App/AppStore/Bundles/BundleFetcher.php +++ b/lib/private/App/AppStore/Bundles/BundleFetcher.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\App\AppStore\Bundles; use OCP\IL10N; diff --git a/lib/private/App/AppStore/Bundles/CoreBundle.php b/lib/private/App/AppStore/Bundles/CoreBundle.php index 4e28d673883a9059bc309e25ce2760e5936aef48..b1b182fd1aca93e0b82cd3ae196c900a7291e88f 100644 --- a/lib/private/App/AppStore/Bundles/CoreBundle.php +++ b/lib/private/App/AppStore/Bundles/CoreBundle.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\App\AppStore\Bundles; class CoreBundle extends Bundle { diff --git a/lib/private/App/AppStore/Bundles/EducationBundle.php b/lib/private/App/AppStore/Bundles/EducationBundle.php index f59e8a115e2f561628007d1499bafd0eaae46a1c..661cc70578f14b67abdfe53cd6e64cac5e2c57a0 100644 --- a/lib/private/App/AppStore/Bundles/EducationBundle.php +++ b/lib/private/App/AppStore/Bundles/EducationBundle.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2017 Lukas Reschke * * @author Lukas Reschke + * @author Morris Jobke * * @license GNU AGPL version 3 or any later version * @@ -13,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\App\AppStore\Bundles; class EducationBundle extends Bundle { diff --git a/lib/private/App/AppStore/Bundles/EnterpriseBundle.php b/lib/private/App/AppStore/Bundles/EnterpriseBundle.php index 37213fe5a3932c630b8ce449b6d997821b1468da..901467048a8833b1eeefce7ef142b04bb11840ba 100644 --- a/lib/private/App/AppStore/Bundles/EnterpriseBundle.php +++ b/lib/private/App/AppStore/Bundles/EnterpriseBundle.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\App\AppStore\Bundles; class EnterpriseBundle extends Bundle { diff --git a/lib/private/App/AppStore/Bundles/GroupwareBundle.php b/lib/private/App/AppStore/Bundles/GroupwareBundle.php index 604ed44aa08d89fcf89528b44daa1f3dbe64fa4a..f1e130806c4f5dfa8acfdbb96d65926d46b62e08 100644 --- a/lib/private/App/AppStore/Bundles/GroupwareBundle.php +++ b/lib/private/App/AppStore/Bundles/GroupwareBundle.php @@ -4,6 +4,7 @@ * * @author Bjoern Schiessle * @author Lukas Reschke + * @author Morris Jobke * * @license GNU AGPL version 3 or any later version * @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\App\AppStore\Bundles; class GroupwareBundle extends Bundle { diff --git a/lib/private/App/AppStore/Bundles/HubBundle.php b/lib/private/App/AppStore/Bundles/HubBundle.php index 301be810c5dfd6cc9e7325ad9f4b40395891e2fe..a52de1dfbd4a16683945361b77c4253f93874521 100644 --- a/lib/private/App/AppStore/Bundles/HubBundle.php +++ b/lib/private/App/AppStore/Bundles/HubBundle.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\App\AppStore\Bundles; class HubBundle extends Bundle { diff --git a/lib/private/App/AppStore/Bundles/SocialSharingBundle.php b/lib/private/App/AppStore/Bundles/SocialSharingBundle.php index cd063f6fa882e16667864ef3ae6bceb2c325fc8f..394cce17d636af5526a15025dae9df30b42b52aa 100644 --- a/lib/private/App/AppStore/Bundles/SocialSharingBundle.php +++ b/lib/private/App/AppStore/Bundles/SocialSharingBundle.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2017 Lukas Reschke * * @author Lukas Reschke + * @author Morris Jobke * * @license GNU AGPL version 3 or any later version * @@ -13,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\App\AppStore\Bundles; class SocialSharingBundle extends Bundle { diff --git a/lib/private/App/AppStore/Fetcher/AppFetcher.php b/lib/private/App/AppStore/Fetcher/AppFetcher.php index 7ed02fdf010734aaaa642bb599b3409e83646bc2..08634fd11f9636fb3f114e79336980fc69594bd4 100644 --- a/lib/private/App/AppStore/Fetcher/AppFetcher.php +++ b/lib/private/App/AppStore/Fetcher/AppFetcher.php @@ -2,11 +2,11 @@ /** * @copyright Copyright (c) 2016 Lukas Reschke * - * @author Arthur Schiwon * @author Christoph Wurst * @author Georg Ehrke + * @author Jakub Onderka * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma @@ -20,14 +20,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\App\AppStore\Fetcher; use OC\App\AppStore\Version\VersionParser; diff --git a/lib/private/App/AppStore/Fetcher/CategoryFetcher.php b/lib/private/App/AppStore/Fetcher/CategoryFetcher.php index 896444a66400606d17c36fb94809df958dffcbcc..8fd8529b662b153456c600db13bcae926652711f 100644 --- a/lib/private/App/AppStore/Fetcher/CategoryFetcher.php +++ b/lib/private/App/AppStore/Fetcher/CategoryFetcher.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\App\AppStore\Fetcher; use OC\Files\AppData\Factory; diff --git a/lib/private/App/AppStore/Fetcher/Fetcher.php b/lib/private/App/AppStore/Fetcher/Fetcher.php index 24c2fce00f5fbea38a9a24388d67c12560838d74..a70fc20ba1e79b8c45944fe8aa75c18e8a1e40de 100644 --- a/lib/private/App/AppStore/Fetcher/Fetcher.php +++ b/lib/private/App/AppStore/Fetcher/Fetcher.php @@ -5,7 +5,7 @@ * @author Daniel Kesselberg * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke @@ -21,14 +21,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\App\AppStore\Fetcher; use GuzzleHttp\Exception\ConnectException; diff --git a/lib/private/App/AppStore/Version/Version.php b/lib/private/App/AppStore/Version/Version.php index ad43c7320f6e173c8aeb10f87e8dc2745e99514c..d41ca1770f056373185f9f4031acf0e559cd174b 100644 --- a/lib/private/App/AppStore/Version/Version.php +++ b/lib/private/App/AppStore/Version/Version.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\App\AppStore\Version; class Version { diff --git a/lib/private/App/AppStore/Version/VersionParser.php b/lib/private/App/AppStore/Version/VersionParser.php index b2e2f163ac4d15ad8ca12d96060b87789343718b..6a369b1cb6e4d730d883cc4f87f530f6d0e197e1 100644 --- a/lib/private/App/AppStore/Version/VersionParser.php +++ b/lib/private/App/AppStore/Version/VersionParser.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\App\AppStore\Version; /** diff --git a/lib/private/App/CompareVersion.php b/lib/private/App/CompareVersion.php index 9df28a457ff6d662d833c9c229ff4a34b7513245..d155945fff1e68ddc6bec97d24d724fbd3f053d7 100644 --- a/lib/private/App/CompareVersion.php +++ b/lib/private/App/CompareVersion.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\App; use InvalidArgumentException; diff --git a/lib/private/App/DependencyAnalyzer.php b/lib/private/App/DependencyAnalyzer.php index 2ca0cdeabf31590a9917c33d6517395e9efaf3de..373e3c5e04d5aefcbde62e576957ef056bd99630 100644 --- a/lib/private/App/DependencyAnalyzer.php +++ b/lib/private/App/DependencyAnalyzer.php @@ -12,7 +12,6 @@ * @author Roeland Jago Douma * @author Stefan Weil * @author Thomas Müller - * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license AGPL-3.0 * @@ -29,7 +28,6 @@ * along with this program. If not, see * */ - namespace OC\App; use OCP\IL10N; diff --git a/lib/private/App/InfoParser.php b/lib/private/App/InfoParser.php index c87dd1ae2a417981922c6f59a2957a8ca42a0282..b9ca2d22c1c7d7300f95fc820bcde12ec52f2cb0 100644 --- a/lib/private/App/InfoParser.php +++ b/lib/private/App/InfoParser.php @@ -9,7 +9,6 @@ * @author Daniel Kesselberg * @author Joas Schilling * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @@ -28,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\App; use OCP\ICache; diff --git a/lib/private/App/Platform.php b/lib/private/App/Platform.php index f83e7cf82721a931ab3147bbd729f34c136928b3..12097abbc787eff540b0f9caef8e968f725073c7 100644 --- a/lib/private/App/Platform.php +++ b/lib/private/App/Platform.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\App; use OCP\IConfig; diff --git a/lib/private/App/PlatformRepository.php b/lib/private/App/PlatformRepository.php index 816470e1202788fff322d639e0b75751e14da996..ed8e550ca775916e35f0deafd2080bbc9e42fa42 100644 --- a/lib/private/App/PlatformRepository.php +++ b/lib/private/App/PlatformRepository.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\App; /** diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index 6a0dc2fab2becf8e9617a03770bd605cacf08846..e2d6d49a8457cca61aff096ca9ccb062e781efc9 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OC; use OC\DB\Connection; diff --git a/lib/private/AppFramework/App.php b/lib/private/AppFramework/App.php index 974da87eb6d1fa28a81cfbfb8cb5089ae4dd1f82..37cc0b71e3f6651f522c2b9138d63d42171348bd 100644 --- a/lib/private/AppFramework/App.php +++ b/lib/private/AppFramework/App.php @@ -29,7 +29,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\AppFramework; use OC\AppFramework\DependencyInjection\DIContainer; diff --git a/lib/private/AppFramework/Bootstrap/ARegistration.php b/lib/private/AppFramework/Bootstrap/ARegistration.php index 1dde102ca34749c7ab94e4dddfc154594a43fc24..bb8fe0c8e92e7c6fc60ebfe80ee4d2e51add2eee 100644 --- a/lib/private/AppFramework/Bootstrap/ARegistration.php +++ b/lib/private/AppFramework/Bootstrap/ARegistration.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OC\AppFramework\Bootstrap; /** diff --git a/lib/private/AppFramework/Bootstrap/BootContext.php b/lib/private/AppFramework/Bootstrap/BootContext.php index 0acfaad7ab65578d572ad4dcdef8e500159405dd..f21d7d00b1eb76ad6e0514de20859c62e97e0c36 100644 --- a/lib/private/AppFramework/Bootstrap/BootContext.php +++ b/lib/private/AppFramework/Bootstrap/BootContext.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Bootstrap; use OCP\AppFramework\Bootstrap\IBootContext; diff --git a/lib/private/AppFramework/Bootstrap/Coordinator.php b/lib/private/AppFramework/Bootstrap/Coordinator.php index 6d9bcc29a7143f8707cc44c2858757d90940b8b8..8ffe54a2575b02357e163b65d4c841e2d36cbd44 100644 --- a/lib/private/AppFramework/Bootstrap/Coordinator.php +++ b/lib/private/AppFramework/Bootstrap/Coordinator.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright 2020 Christoph Wurst * * @author Christoph Wurst + * @author Joas Schilling * @author Julius Härtl * @author Morris Jobke * @author Robin Appelman @@ -19,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Bootstrap; use OC\Support\CrashReport\Registry; diff --git a/lib/private/AppFramework/Bootstrap/EventListenerRegistration.php b/lib/private/AppFramework/Bootstrap/EventListenerRegistration.php index 1781646697024cf8fd4db0aff51e3ff13bd9f739..be279cbfd52b9df72808353e4362b4bfe228deb3 100644 --- a/lib/private/AppFramework/Bootstrap/EventListenerRegistration.php +++ b/lib/private/AppFramework/Bootstrap/EventListenerRegistration.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OC\AppFramework\Bootstrap; /** diff --git a/lib/private/AppFramework/Bootstrap/FunctionInjector.php b/lib/private/AppFramework/Bootstrap/FunctionInjector.php index 3c20701618bc1928b241ea0c3a651986dcb4a552..13eb5d88969a70359bb48db426de4271d1b2a657 100644 --- a/lib/private/AppFramework/Bootstrap/FunctionInjector.php +++ b/lib/private/AppFramework/Bootstrap/FunctionInjector.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Bootstrap; use Closure; diff --git a/lib/private/AppFramework/Bootstrap/ParameterRegistration.php b/lib/private/AppFramework/Bootstrap/ParameterRegistration.php index 2e31d708ee7dc39e027206d677a5e5cebd84ae94..5a683f41a9f7b3cea3087dc19a77079cd2543508 100644 --- a/lib/private/AppFramework/Bootstrap/ParameterRegistration.php +++ b/lib/private/AppFramework/Bootstrap/ParameterRegistration.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OC\AppFramework\Bootstrap; /** diff --git a/lib/private/AppFramework/Bootstrap/RegistrationContext.php b/lib/private/AppFramework/Bootstrap/RegistrationContext.php index 0859e606b7ed1cf4c2317d3b3e7d772afc88ce65..dacba0aba934b6a7898c5c7085963d91444c9d59 100644 --- a/lib/private/AppFramework/Bootstrap/RegistrationContext.php +++ b/lib/private/AppFramework/Bootstrap/RegistrationContext.php @@ -8,7 +8,6 @@ declare(strict_types=1); * @author Christoph Wurst * @author Joas Schilling * @author Julius Härtl - * @author Robin Windey * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -20,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Bootstrap; use Closure; diff --git a/lib/private/AppFramework/Bootstrap/ServiceAliasRegistration.php b/lib/private/AppFramework/Bootstrap/ServiceAliasRegistration.php index 04823172ed243d967c6fd963dcbfca1bd2596602..a8b9ddd1295af0bfadca1d935d9cafd2de2d9c13 100644 --- a/lib/private/AppFramework/Bootstrap/ServiceAliasRegistration.php +++ b/lib/private/AppFramework/Bootstrap/ServiceAliasRegistration.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OC\AppFramework\Bootstrap; /** diff --git a/lib/private/AppFramework/Bootstrap/ServiceFactoryRegistration.php b/lib/private/AppFramework/Bootstrap/ServiceFactoryRegistration.php index 4776c5df55c53db78667bcfe965163572e73d43d..21e6d37865a072bf9a4ad43eb865669eaf27cac2 100644 --- a/lib/private/AppFramework/Bootstrap/ServiceFactoryRegistration.php +++ b/lib/private/AppFramework/Bootstrap/ServiceFactoryRegistration.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OC\AppFramework\Bootstrap; /** diff --git a/lib/private/AppFramework/Bootstrap/ServiceRegistration.php b/lib/private/AppFramework/Bootstrap/ServiceRegistration.php index 83ffe01e6c344b5a6a25a8fdf4495608d3d37f8e..6c89cdf9d7162546ad0b5a87fd4f953fd1c6cc74 100644 --- a/lib/private/AppFramework/Bootstrap/ServiceRegistration.php +++ b/lib/private/AppFramework/Bootstrap/ServiceRegistration.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OC\AppFramework\Bootstrap; /** diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php index db4f3d2c075cfa8005f044486789e747b8664289..89d59a471a84158a83d9bd395304ced872c76d9e 100644 --- a/lib/private/AppFramework/DependencyInjection/DIContainer.php +++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php @@ -31,7 +31,6 @@ * along with this program. If not, see * */ - namespace OC\AppFramework\DependencyInjection; use OC; diff --git a/lib/private/AppFramework/Http.php b/lib/private/AppFramework/Http.php index 828efe390e77a21f36df362b58c0bcc8d0f3a43a..251c231fe659d4c73be1287539331cb7f166f59a 100644 --- a/lib/private/AppFramework/Http.php +++ b/lib/private/AppFramework/Http.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\AppFramework; use OCP\AppFramework\Http as BaseHttp; diff --git a/lib/private/AppFramework/Http/Dispatcher.php b/lib/private/AppFramework/Http/Dispatcher.php index 9ec69558e889d6a7c7da17651b1d7a5ea41b196c..6ef7bba4fd60b348201afbb245c4794d6ffe6866 100644 --- a/lib/private/AppFramework/Http/Dispatcher.php +++ b/lib/private/AppFramework/Http/Dispatcher.php @@ -30,7 +30,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\AppFramework\Http; use OC\AppFramework\Http; diff --git a/lib/private/AppFramework/Http/Output.php b/lib/private/AppFramework/Http/Output.php index d2e8cd338bab92135c4fd378cf684fef72b87bd1..963e01456e032cd5c9093d4c1815b5bf70d3a86f 100644 --- a/lib/private/AppFramework/Http/Output.php +++ b/lib/private/AppFramework/Http/Output.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\AppFramework\Http; use OCP\AppFramework\Http\IOutput; diff --git a/lib/private/AppFramework/Http/Request.php b/lib/private/AppFramework/Http/Request.php index d5b6c1cbd523ba839af15b39c46a843b5e077275..afe675ea0eafd760182c8e134ed7dc023aba89e9 100644 --- a/lib/private/AppFramework/Http/Request.php +++ b/lib/private/AppFramework/Http/Request.php @@ -41,7 +41,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\AppFramework\Http; use OC\Security\CSRF\CsrfToken; diff --git a/lib/private/AppFramework/Logger.php b/lib/private/AppFramework/Logger.php index 16f4dd36e785bfa2318ea0030d133596dd67af6e..7fb30905df354eb04b050cf560ae754fb123c6e9 100644 --- a/lib/private/AppFramework/Logger.php +++ b/lib/private/AppFramework/Logger.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework; use OCP\ILogger; diff --git a/lib/private/AppFramework/Middleware/AdditionalScriptsMiddleware.php b/lib/private/AppFramework/Middleware/AdditionalScriptsMiddleware.php index 28f322f42b7c6358ee0b6ce5ddb50f7f607998e7..ec52dde0ecd2633c22ab62ced9256fb619c461e3 100644 --- a/lib/private/AppFramework/Middleware/AdditionalScriptsMiddleware.php +++ b/lib/private/AppFramework/Middleware/AdditionalScriptsMiddleware.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware; use OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent; diff --git a/lib/private/AppFramework/Middleware/CompressionMiddleware.php b/lib/private/AppFramework/Middleware/CompressionMiddleware.php index f6d3839891edb89caa5c4850ba5d51d723fb69b5..5128afa8cadf8aa404a089c6f30dff1813e4c44b 100644 --- a/lib/private/AppFramework/Middleware/CompressionMiddleware.php +++ b/lib/private/AppFramework/Middleware/CompressionMiddleware.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware; use OC\AppFramework\OCS\BaseResponse; diff --git a/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php b/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php index 577931b82220c3b66f16e3ac35b17799f10c1c1c..950ef8a13a3f401e799c58cae7ee7e4929a5bfc6 100644 --- a/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php +++ b/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php @@ -29,7 +29,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\AppFramework\Middleware; use OCP\AppFramework\Controller; diff --git a/lib/private/AppFramework/Middleware/NotModifiedMiddleware.php b/lib/private/AppFramework/Middleware/NotModifiedMiddleware.php index 083761dcf024cffbfa0af65e703f5fda9c76ce59..dd3f202b6c1e5fd1697c500df9c5543ce820a955 100644 --- a/lib/private/AppFramework/Middleware/NotModifiedMiddleware.php +++ b/lib/private/AppFramework/Middleware/NotModifiedMiddleware.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware; use OCP\AppFramework\Http; diff --git a/lib/private/AppFramework/Middleware/OCSMiddleware.php b/lib/private/AppFramework/Middleware/OCSMiddleware.php index ad461faef6f2b338ee28b31aeed101c4c247ce97..4c2dbd0f8287affd5e7b9d6671acc8d415e6c9d1 100644 --- a/lib/private/AppFramework/Middleware/OCSMiddleware.php +++ b/lib/private/AppFramework/Middleware/OCSMiddleware.php @@ -1,8 +1,9 @@ * * @author Christoph Wurst + * @author Joas Schilling * @author Lukas Reschke * @author Roeland Jago Douma * @@ -15,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware; use OC\AppFramework\Http; diff --git a/lib/private/AppFramework/Middleware/PublicShare/Exceptions/NeedAuthenticationException.php b/lib/private/AppFramework/Middleware/PublicShare/Exceptions/NeedAuthenticationException.php index b362a38bc74ebe84df28c7ee68077895a0865f54..8b568f06dd486b4ed0fb2f16d83214d5a27d8e27 100644 --- a/lib/private/AppFramework/Middleware/PublicShare/Exceptions/NeedAuthenticationException.php +++ b/lib/private/AppFramework/Middleware/PublicShare/Exceptions/NeedAuthenticationException.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Roeland Jago Douma @@ -14,7 +14,7 @@ * * 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 + * 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 diff --git a/lib/private/AppFramework/Middleware/PublicShare/PublicShareMiddleware.php b/lib/private/AppFramework/Middleware/PublicShare/PublicShareMiddleware.php index 4b2dd25a257bb7b1dcbb7ad2476008b87294b2a8..d3beb4fd3a8ec64e4f980676d83097e4a536d6bd 100644 --- a/lib/private/AppFramework/Middleware/PublicShare/PublicShareMiddleware.php +++ b/lib/private/AppFramework/Middleware/PublicShare/PublicShareMiddleware.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Roeland Jago Douma @@ -14,7 +14,7 @@ * * 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 + * 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 diff --git a/lib/private/AppFramework/Middleware/Security/BruteForceMiddleware.php b/lib/private/AppFramework/Middleware/Security/BruteForceMiddleware.php index 31a4791845e1f719fc7344d96bc9104fe675d6ef..26f4b9ef46f2d58f3ef4662b2641ce9f21494870 100644 --- a/lib/private/AppFramework/Middleware/Security/BruteForceMiddleware.php +++ b/lib/private/AppFramework/Middleware/Security/BruteForceMiddleware.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware\Security; use OC\AppFramework\Utility\ControllerMethodReflector; diff --git a/lib/private/AppFramework/Middleware/Security/CORSMiddleware.php b/lib/private/AppFramework/Middleware/Security/CORSMiddleware.php index 392259fd20f7daa47b0f5e53d0f30b6a943e7541..1490b69f53493e2269f11b8ea361b2d043f8fa53 100644 --- a/lib/private/AppFramework/Middleware/Security/CORSMiddleware.php +++ b/lib/private/AppFramework/Middleware/Security/CORSMiddleware.php @@ -4,6 +4,7 @@ * * @author Bernhard Posselt * @author Christoph Wurst + * @author korelstar * @author Lukas Reschke * @author Morris Jobke * @author Stefan Weil @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\AppFramework\Middleware\Security; use OC\AppFramework\Middleware\Security\Exceptions\SecurityException; diff --git a/lib/private/AppFramework/Middleware/Security/CSPMiddleware.php b/lib/private/AppFramework/Middleware/Security/CSPMiddleware.php index 10768a643a5f1ce7aed87ea2b9c5fceccd2eb9c0..1eea52d620cdb1e494c6d9456c784cc84d04f6ff 100644 --- a/lib/private/AppFramework/Middleware/Security/CSPMiddleware.php +++ b/lib/private/AppFramework/Middleware/Security/CSPMiddleware.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware\Security; use OC\Security\CSP\ContentSecurityPolicyManager; diff --git a/lib/private/AppFramework/Middleware/Security/Exceptions/AppNotEnabledException.php b/lib/private/AppFramework/Middleware/Security/Exceptions/AppNotEnabledException.php index d7bc7edc4f187a39eada7c220da7cca29ac45acd..2b9c5a2280bb7a7db3f0098308cf4555f996e8da 100644 --- a/lib/private/AppFramework/Middleware/Security/Exceptions/AppNotEnabledException.php +++ b/lib/private/AppFramework/Middleware/Security/Exceptions/AppNotEnabledException.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\AppFramework\Middleware\Security\Exceptions; use OCP\AppFramework\Http; diff --git a/lib/private/AppFramework/Middleware/Security/Exceptions/CrossSiteRequestForgeryException.php b/lib/private/AppFramework/Middleware/Security/Exceptions/CrossSiteRequestForgeryException.php index abc7303b6ccdd2df7d902d627f7fc9865c4ac13b..b30ebe58abd209f4ac2ca150cff4cc13bc46acdf 100644 --- a/lib/private/AppFramework/Middleware/Security/Exceptions/CrossSiteRequestForgeryException.php +++ b/lib/private/AppFramework/Middleware/Security/Exceptions/CrossSiteRequestForgeryException.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\AppFramework\Middleware\Security\Exceptions; use OCP\AppFramework\Http; diff --git a/lib/private/AppFramework/Middleware/Security/Exceptions/LaxSameSiteCookieFailedException.php b/lib/private/AppFramework/Middleware/Security/Exceptions/LaxSameSiteCookieFailedException.php index b5336d892c765dc14be2086c1864bc8da3e9ab51..bbb8e746127b9b0cf59161b552713049a3323403 100644 --- a/lib/private/AppFramework/Middleware/Security/Exceptions/LaxSameSiteCookieFailedException.php +++ b/lib/private/AppFramework/Middleware/Security/Exceptions/LaxSameSiteCookieFailedException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware\Security\Exceptions; use OCP\AppFramework\Http; diff --git a/lib/private/AppFramework/Middleware/Security/Exceptions/NotAdminException.php b/lib/private/AppFramework/Middleware/Security/Exceptions/NotAdminException.php index 7f5a03d82bdfeb7334b23b2eac70ae60825d641a..1f1b9d6e501f2348f92a68141f4c7821162ec835 100644 --- a/lib/private/AppFramework/Middleware/Security/Exceptions/NotAdminException.php +++ b/lib/private/AppFramework/Middleware/Security/Exceptions/NotAdminException.php @@ -26,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\AppFramework\Middleware\Security\Exceptions; use OCP\AppFramework\Http; diff --git a/lib/private/AppFramework/Middleware/Security/Exceptions/NotConfirmedException.php b/lib/private/AppFramework/Middleware/Security/Exceptions/NotConfirmedException.php index 5fd35c63e9b4928fc62abbc030778f6173675db4..b466e9a4c7aec92958ba0b1ac6363ed8cd4d0508 100644 --- a/lib/private/AppFramework/Middleware/Security/Exceptions/NotConfirmedException.php +++ b/lib/private/AppFramework/Middleware/Security/Exceptions/NotConfirmedException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware\Security\Exceptions; use OCP\AppFramework\Http; diff --git a/lib/private/AppFramework/Middleware/Security/Exceptions/NotLoggedInException.php b/lib/private/AppFramework/Middleware/Security/Exceptions/NotLoggedInException.php index f7920261e8068580a241c741dc2be08181826b4c..a0287c20435304cc46811198024894f9737159b0 100644 --- a/lib/private/AppFramework/Middleware/Security/Exceptions/NotLoggedInException.php +++ b/lib/private/AppFramework/Middleware/Security/Exceptions/NotLoggedInException.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\AppFramework\Middleware\Security\Exceptions; use OCP\AppFramework\Http; diff --git a/lib/private/AppFramework/Middleware/Security/Exceptions/ReloadExecutionException.php b/lib/private/AppFramework/Middleware/Security/Exceptions/ReloadExecutionException.php index 934cae991b44728e416326670a75c506c71f5bc3..3c65d5f5a882339560ab4f4a8f974fecabdb93e6 100644 --- a/lib/private/AppFramework/Middleware/Security/Exceptions/ReloadExecutionException.php +++ b/lib/private/AppFramework/Middleware/Security/Exceptions/ReloadExecutionException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware\Security\Exceptions; class ReloadExecutionException extends SecurityException { diff --git a/lib/private/AppFramework/Middleware/Security/Exceptions/SecurityException.php b/lib/private/AppFramework/Middleware/Security/Exceptions/SecurityException.php index a28e22f57177a62c1a33be7550bd4fa2d1d3b03f..3232980b7e549e8f49a6c7fba600b8a768bbe751 100644 --- a/lib/private/AppFramework/Middleware/Security/Exceptions/SecurityException.php +++ b/lib/private/AppFramework/Middleware/Security/Exceptions/SecurityException.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\AppFramework\Middleware\Security\Exceptions; /** diff --git a/lib/private/AppFramework/Middleware/Security/Exceptions/StrictCookieMissingException.php b/lib/private/AppFramework/Middleware/Security/Exceptions/StrictCookieMissingException.php index 0d7d8c60a60190462b109d1ed57bce10ac4dcc41..eca03896953538c309ff709cbdf1b046d820890f 100644 --- a/lib/private/AppFramework/Middleware/Security/Exceptions/StrictCookieMissingException.php +++ b/lib/private/AppFramework/Middleware/Security/Exceptions/StrictCookieMissingException.php @@ -1,6 +1,6 @@ * * @author Lukas Reschke * @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware\Security\Exceptions; use OCP\AppFramework\Http; diff --git a/lib/private/AppFramework/Middleware/Security/FeaturePolicyMiddleware.php b/lib/private/AppFramework/Middleware/Security/FeaturePolicyMiddleware.php index 63f665f512d11fee8c39c7316d62797f17f84e25..534ff56ccedb67d008b08627a1a2180991e96498 100644 --- a/lib/private/AppFramework/Middleware/Security/FeaturePolicyMiddleware.php +++ b/lib/private/AppFramework/Middleware/Security/FeaturePolicyMiddleware.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware\Security; use OC\Security\FeaturePolicy\FeaturePolicy; diff --git a/lib/private/AppFramework/Middleware/Security/PasswordConfirmationMiddleware.php b/lib/private/AppFramework/Middleware/Security/PasswordConfirmationMiddleware.php index b259490a1ba7dc392ecbf04dea6e64bc64b8e71f..0ee9fdff881bbad3e9fd0dfdb50da264f899e54a 100644 --- a/lib/private/AppFramework/Middleware/Security/PasswordConfirmationMiddleware.php +++ b/lib/private/AppFramework/Middleware/Security/PasswordConfirmationMiddleware.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware\Security; use OC\AppFramework\Middleware\Security\Exceptions\NotConfirmedException; diff --git a/lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php b/lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php index f5960880546c33878e6cdd5a6fb0ffd8cdba677d..8bdbacda20b45057a44e4fc8618949ff8287c202 100644 --- a/lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php +++ b/lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2017 Lukas Reschke * * @author Christoph Wurst + * @author Joas Schilling * @author Lukas Reschke * * @license GNU AGPL version 3 or any later version @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware\Security; use OC\AppFramework\Utility\ControllerMethodReflector; diff --git a/lib/private/AppFramework/Middleware/Security/ReloadExecutionMiddleware.php b/lib/private/AppFramework/Middleware/Security/ReloadExecutionMiddleware.php index 12b0ef4e27a95b4ef6595a79cfe5ffaa53b81cbd..5a635e3f284f4266522f50d5bf122ffa74708da9 100644 --- a/lib/private/AppFramework/Middleware/Security/ReloadExecutionMiddleware.php +++ b/lib/private/AppFramework/Middleware/Security/ReloadExecutionMiddleware.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware\Security; use OC\AppFramework\Middleware\Security\Exceptions\ReloadExecutionException; diff --git a/lib/private/AppFramework/Middleware/Security/SameSiteCookieMiddleware.php b/lib/private/AppFramework/Middleware/Security/SameSiteCookieMiddleware.php index 48d386e749ee68e03b742e4c8e8ab14396480bc3..0ab5d061c444660c89d825ff68125fd5b4067cd8 100644 --- a/lib/private/AppFramework/Middleware/Security/SameSiteCookieMiddleware.php +++ b/lib/private/AppFramework/Middleware/Security/SameSiteCookieMiddleware.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Middleware\Security; use OC\AppFramework\Http\Request; diff --git a/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php b/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php index 9fa696154ff39dcc2b144dccc956b52c0211bfc5..bd7511836048873f7c334a2afd33f3cf28d6b4cd 100644 --- a/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php +++ b/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php @@ -5,7 +5,6 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Arthur Schiwon * @author Bernhard Posselt * @author Bjoern Schiessle * @author Christoph Wurst @@ -35,7 +34,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\AppFramework\Middleware\Security; use OC\AppFramework\Middleware\Security\Exceptions\AppNotEnabledException; diff --git a/lib/private/AppFramework/Middleware/SessionMiddleware.php b/lib/private/AppFramework/Middleware/SessionMiddleware.php index 40b77230368995d8faddcf539d042faeab736071..f3fd2c991739f95aa65b0dc6667adef32880e99a 100644 --- a/lib/private/AppFramework/Middleware/SessionMiddleware.php +++ b/lib/private/AppFramework/Middleware/SessionMiddleware.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\AppFramework\Middleware; use OC\AppFramework\Utility\ControllerMethodReflector; diff --git a/lib/private/AppFramework/OCS/BaseResponse.php b/lib/private/AppFramework/OCS/BaseResponse.php index d6e3d515f863ba5c1845e880b9dd5ebecd4d5cf5..dbff1b846c15413de37c742d858940e29247a059 100644 --- a/lib/private/AppFramework/OCS/BaseResponse.php +++ b/lib/private/AppFramework/OCS/BaseResponse.php @@ -5,6 +5,7 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling + * @author Lukas Reschke * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\OCS; use OCP\AppFramework\Http; diff --git a/lib/private/AppFramework/OCS/V1Response.php b/lib/private/AppFramework/OCS/V1Response.php index 8ad36bada7ebebd95d9278e6c117492bf9e4bb0d..f4f19832fa8fc92fe67d2e5aab0b7baee6cc91c2 100644 --- a/lib/private/AppFramework/OCS/V1Response.php +++ b/lib/private/AppFramework/OCS/V1Response.php @@ -3,6 +3,7 @@ * @copyright 2016 Roeland Jago Douma * * @author Christoph Wurst + * @author Joas Schilling * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\OCS; use OCP\AppFramework\Http; diff --git a/lib/private/AppFramework/OCS/V2Response.php b/lib/private/AppFramework/OCS/V2Response.php index 5a253adf676fbcb625ba6f0578d4a6ea5fc5e939..6c302698bc9900f80c373da3ebabfd29bc923046 100644 --- a/lib/private/AppFramework/OCS/V2Response.php +++ b/lib/private/AppFramework/OCS/V2Response.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\OCS; use OCP\AppFramework\Http; diff --git a/lib/private/AppFramework/Routing/RouteActionHandler.php b/lib/private/AppFramework/Routing/RouteActionHandler.php index 46677b19d8722c435810955b8129749931ff8784..4682d2e9e7e536a7092ca95f0a33596f718547b4 100644 --- a/lib/private/AppFramework/Routing/RouteActionHandler.php +++ b/lib/private/AppFramework/Routing/RouteActionHandler.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\AppFramework\Routing; use OC\AppFramework\App; diff --git a/lib/private/AppFramework/Routing/RouteConfig.php b/lib/private/AppFramework/Routing/RouteConfig.php index 5aa4db10e223fab15127b98d4a0ab238081b7683..0fde866fb7cc5137d8c9e83b17fd2fc1eb3dc073 100644 --- a/lib/private/AppFramework/Routing/RouteConfig.php +++ b/lib/private/AppFramework/Routing/RouteConfig.php @@ -28,7 +28,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\AppFramework\Routing; use OC\AppFramework\DependencyInjection\DIContainer; diff --git a/lib/private/AppFramework/Routing/RouteParser.php b/lib/private/AppFramework/Routing/RouteParser.php index b65938d5b63512b5afd7da380f226fe158484def..d2e41f7498eb514052260993bbc114157596c6d3 100644 --- a/lib/private/AppFramework/Routing/RouteParser.php +++ b/lib/private/AppFramework/Routing/RouteParser.php @@ -22,7 +22,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\AppFramework\Routing; use OC\Route\Route; diff --git a/lib/private/AppFramework/ScopedPsrLogger.php b/lib/private/AppFramework/ScopedPsrLogger.php index 5f4872efd97991636013998c9a6f9f3c5ee91e98..46832c6d38d2de67c7bc6b17787a94ffe0809af6 100644 --- a/lib/private/AppFramework/ScopedPsrLogger.php +++ b/lib/private/AppFramework/ScopedPsrLogger.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework; use Psr\Log\LoggerInterface; diff --git a/lib/private/AppFramework/Services/AppConfig.php b/lib/private/AppFramework/Services/AppConfig.php index 37e73fb55b10936832475bdc83e1686e4f305503..355a41239875e7a76e009da8df02363390880599 100644 --- a/lib/private/AppFramework/Services/AppConfig.php +++ b/lib/private/AppFramework/Services/AppConfig.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Services; use OCP\AppFramework\Services\IAppConfig; diff --git a/lib/private/AppFramework/Services/InitialState.php b/lib/private/AppFramework/Services/InitialState.php index 25c7339f1e728093cf19bcdf3a4f80afdebdea7b..9a44db606ea8bf35972c278726937e2788cd941d 100644 --- a/lib/private/AppFramework/Services/InitialState.php +++ b/lib/private/AppFramework/Services/InitialState.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\AppFramework\Services; use OCP\AppFramework\Services\IInitialState; diff --git a/lib/private/AppFramework/Utility/ControllerMethodReflector.php b/lib/private/AppFramework/Utility/ControllerMethodReflector.php index dbc84ffcb392e501588b66614a9e1b502b46ada5..b76b3c33c42a9d031a18d1b3c95bcb0c7c3689f1 100644 --- a/lib/private/AppFramework/Utility/ControllerMethodReflector.php +++ b/lib/private/AppFramework/Utility/ControllerMethodReflector.php @@ -31,7 +31,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\AppFramework\Utility; use OCP\AppFramework\Utility\IControllerMethodReflector; diff --git a/lib/private/AppFramework/Utility/SimpleContainer.php b/lib/private/AppFramework/Utility/SimpleContainer.php index 84c4c3447a228ddaedc049126c2b4b1a3441a65c..c38dbadf0a97d1d3096d3014ea1d96ede60987bb 100644 --- a/lib/private/AppFramework/Utility/SimpleContainer.php +++ b/lib/private/AppFramework/Utility/SimpleContainer.php @@ -7,6 +7,7 @@ * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke + * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma * @author Thomas Müller @@ -26,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\AppFramework\Utility; use ArrayAccess; diff --git a/lib/private/AppFramework/Utility/TimeFactory.php b/lib/private/AppFramework/Utility/TimeFactory.php index 30ab9bd3098410c36ba40246fca365f4ba23fa48..d4fe451a995e85165e86cf5c5d3454c1a7dbd948 100644 --- a/lib/private/AppFramework/Utility/TimeFactory.php +++ b/lib/private/AppFramework/Utility/TimeFactory.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\AppFramework\Utility; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/lib/private/Archive/Archive.php b/lib/private/Archive/Archive.php index 20d56e50e765b2aec0f92e71f24c39c982f4519e..141db11f419dce18d0f6edf82bc2f57f9dafcafc 100644 --- a/lib/private/Archive/Archive.php +++ b/lib/private/Archive/Archive.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Archive; abstract class Archive { diff --git a/lib/private/Archive/TAR.php b/lib/private/Archive/TAR.php index f68813752cc0f7e8c677db9494e80d9314e2fb13..a024ce84b2f380afc4f650093d9f074c0f1af556 100644 --- a/lib/private/Archive/TAR.php +++ b/lib/private/Archive/TAR.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OC\Archive; use Icewind\Streams\CallbackWrapper; diff --git a/lib/private/Archive/ZIP.php b/lib/private/Archive/ZIP.php index 96894bac6e9502099d62e16fa4085a6047e9fc65..e058d4760218da48539d0103c7a8c3e15dbe374e 100644 --- a/lib/private/Archive/ZIP.php +++ b/lib/private/Archive/ZIP.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OC\Archive; use Icewind\Streams\CallbackWrapper; diff --git a/lib/private/Authentication/Events/ARemoteWipeEvent.php b/lib/private/Authentication/Events/ARemoteWipeEvent.php index 8d28cc5c7836bb9d4a38c26179bf707302e3ad7b..adfe19350136f2813a429ee347ce045769d51e08 100644 --- a/lib/private/Authentication/Events/ARemoteWipeEvent.php +++ b/lib/private/Authentication/Events/ARemoteWipeEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Events; use OC\Authentication\Token\IToken; diff --git a/lib/private/Authentication/Events/AppPasswordCreatedEvent.php b/lib/private/Authentication/Events/AppPasswordCreatedEvent.php index 6daa504527e99ad89703cf6349b9c80f3634e4a4..a90abd250260420db4fe255bc1565a8427907101 100644 --- a/lib/private/Authentication/Events/AppPasswordCreatedEvent.php +++ b/lib/private/Authentication/Events/AppPasswordCreatedEvent.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OC\Authentication\Events; use OC\Authentication\Token\IToken; diff --git a/lib/private/Authentication/Events/LoginFailed.php b/lib/private/Authentication/Events/LoginFailed.php index 7b107564e96a7e6a73f21b40ba2d67b7907208dd..138e567139a08778294bf31b8f6bd74bbbb0ef32 100644 --- a/lib/private/Authentication/Events/LoginFailed.php +++ b/lib/private/Authentication/Events/LoginFailed.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Events; use OCP\EventDispatcher\Event; diff --git a/lib/private/Authentication/Events/RemoteWipeFinished.php b/lib/private/Authentication/Events/RemoteWipeFinished.php index d50b7d28077632d041969a1bb236e887dba7e38d..10e72de096ce990d703c19923c937e0567d6e943 100644 --- a/lib/private/Authentication/Events/RemoteWipeFinished.php +++ b/lib/private/Authentication/Events/RemoteWipeFinished.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Events; class RemoteWipeFinished extends ARemoteWipeEvent { diff --git a/lib/private/Authentication/Events/RemoteWipeStarted.php b/lib/private/Authentication/Events/RemoteWipeStarted.php index 89b560511a7bbde2d9cb040b42ca5cbd3de863dc..273a319b1fb9b74263fa39f3e7e6e75aa1dd985c 100644 --- a/lib/private/Authentication/Events/RemoteWipeStarted.php +++ b/lib/private/Authentication/Events/RemoteWipeStarted.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Events; class RemoteWipeStarted extends ARemoteWipeEvent { diff --git a/lib/private/Authentication/Exceptions/ExpiredTokenException.php b/lib/private/Authentication/Exceptions/ExpiredTokenException.php index 3f50aab8d03e78e1b21601c924701be26a121d15..0dc92b45920514bab734eda285a009c626fe27f5 100644 --- a/lib/private/Authentication/Exceptions/ExpiredTokenException.php +++ b/lib/private/Authentication/Exceptions/ExpiredTokenException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Exceptions; use OC\Authentication\Token\IToken; diff --git a/lib/private/Authentication/Exceptions/InvalidProviderException.php b/lib/private/Authentication/Exceptions/InvalidProviderException.php index 970096540c4ce5eeb6a0ac0a0b3d73185268d343..86b44e4d0e2ea4b8b7c94919f87049f970a9440c 100644 --- a/lib/private/Authentication/Exceptions/InvalidProviderException.php +++ b/lib/private/Authentication/Exceptions/InvalidProviderException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Exceptions; use Exception; diff --git a/lib/private/Authentication/Exceptions/InvalidTokenException.php b/lib/private/Authentication/Exceptions/InvalidTokenException.php index 000d6dee3e8e3cd0b0a2782852388b9387342afb..acaabff6b88a7a3d32e4cfd3137bdea0a40e9528 100644 --- a/lib/private/Authentication/Exceptions/InvalidTokenException.php +++ b/lib/private/Authentication/Exceptions/InvalidTokenException.php @@ -22,7 +22,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Authentication\Exceptions; use Exception; diff --git a/lib/private/Authentication/Exceptions/LoginRequiredException.php b/lib/private/Authentication/Exceptions/LoginRequiredException.php index 9d9ce055788c759db53be1ff35d446119e89d3bd..cc3e86362145a56b31ba696d3f323cc8c88eac06 100644 --- a/lib/private/Authentication/Exceptions/LoginRequiredException.php +++ b/lib/private/Authentication/Exceptions/LoginRequiredException.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Authentication\Exceptions; use Exception; diff --git a/lib/private/Authentication/Exceptions/PasswordLoginForbiddenException.php b/lib/private/Authentication/Exceptions/PasswordLoginForbiddenException.php index 02ddd06020d3144b0dbdec303355552919d5d033..28829390f703180f7e2a6d2694758721c67758c5 100644 --- a/lib/private/Authentication/Exceptions/PasswordLoginForbiddenException.php +++ b/lib/private/Authentication/Exceptions/PasswordLoginForbiddenException.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Authentication\Exceptions; use Exception; diff --git a/lib/private/Authentication/Exceptions/PasswordlessTokenException.php b/lib/private/Authentication/Exceptions/PasswordlessTokenException.php index 5c59dd35366030bc7a32b0dd51cd1844dc88e91d..c974cc3d6fd2bea53429184c97156323967c0ec3 100644 --- a/lib/private/Authentication/Exceptions/PasswordlessTokenException.php +++ b/lib/private/Authentication/Exceptions/PasswordlessTokenException.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Authentication\Exceptions; use Exception; diff --git a/lib/private/Authentication/Exceptions/TokenPasswordExpiredException.php b/lib/private/Authentication/Exceptions/TokenPasswordExpiredException.php index 2850d3de7e1dcc076bebe08a36fe8888ae816483..7710673ce7ce36a9cfe6938ae88353e7cb67b021 100644 --- a/lib/private/Authentication/Exceptions/TokenPasswordExpiredException.php +++ b/lib/private/Authentication/Exceptions/TokenPasswordExpiredException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Exceptions; class TokenPasswordExpiredException extends ExpiredTokenException { diff --git a/lib/private/Authentication/Exceptions/TwoFactorAuthRequiredException.php b/lib/private/Authentication/Exceptions/TwoFactorAuthRequiredException.php index 6db87b3516c0534021e757375e90302d0f281c69..9733c4547b4ef0071a419e9652a5778077bd9392 100644 --- a/lib/private/Authentication/Exceptions/TwoFactorAuthRequiredException.php +++ b/lib/private/Authentication/Exceptions/TwoFactorAuthRequiredException.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Authentication\Exceptions; use Exception; diff --git a/lib/private/Authentication/Exceptions/UserAlreadyLoggedInException.php b/lib/private/Authentication/Exceptions/UserAlreadyLoggedInException.php index 878bf59e4e93f573900d724a879ac0f940f7fdfa..520372f308757b5693ef98736c8432c21fea7913 100644 --- a/lib/private/Authentication/Exceptions/UserAlreadyLoggedInException.php +++ b/lib/private/Authentication/Exceptions/UserAlreadyLoggedInException.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Authentication\Exceptions; use Exception; diff --git a/lib/private/Authentication/Exceptions/WipeTokenException.php b/lib/private/Authentication/Exceptions/WipeTokenException.php index 2ace0433a6c92479cea8e47c3074401a45db5fbd..1c60ab9da78ee3434f63c6a3cc727f95bb2dd0bf 100644 --- a/lib/private/Authentication/Exceptions/WipeTokenException.php +++ b/lib/private/Authentication/Exceptions/WipeTokenException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Exceptions; use OC\Authentication\Token\IToken; diff --git a/lib/private/Authentication/Listeners/LoginFailedListener.php b/lib/private/Authentication/Listeners/LoginFailedListener.php index 19f0b92c3a64705edccf42defaf903c52e369a1c..12d5dd4c17e5920357941f6ba339af337c5ef09d 100644 --- a/lib/private/Authentication/Listeners/LoginFailedListener.php +++ b/lib/private/Authentication/Listeners/LoginFailedListener.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Listeners; use OC\Authentication\Events\LoginFailed; diff --git a/lib/private/Authentication/Listeners/RemoteWipeActivityListener.php b/lib/private/Authentication/Listeners/RemoteWipeActivityListener.php index 0bdfa7cb39b1b933f4314a2e14a5c8e4f362de70..6cc2403653f2996835ef7b9cddcb9ebad14c8026 100644 --- a/lib/private/Authentication/Listeners/RemoteWipeActivityListener.php +++ b/lib/private/Authentication/Listeners/RemoteWipeActivityListener.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Listeners; use BadMethodCallException; diff --git a/lib/private/Authentication/Listeners/RemoteWipeEmailListener.php b/lib/private/Authentication/Listeners/RemoteWipeEmailListener.php index 2f330879a2a481b6fc17956f73c4c1c26db39137..4499f90d79bfe492e1aad7308b8cc2f91356b003 100644 --- a/lib/private/Authentication/Listeners/RemoteWipeEmailListener.php +++ b/lib/private/Authentication/Listeners/RemoteWipeEmailListener.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Listeners; use Exception; diff --git a/lib/private/Authentication/Listeners/RemoteWipeNotificationsListener.php b/lib/private/Authentication/Listeners/RemoteWipeNotificationsListener.php index 965fb291fbf568a782c181dd9e994bc6facc7295..4b7e809d742858532604c3a43ace08f63f11624a 100644 --- a/lib/private/Authentication/Listeners/RemoteWipeNotificationsListener.php +++ b/lib/private/Authentication/Listeners/RemoteWipeNotificationsListener.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Listeners; use OC\Authentication\Events\RemoteWipeFinished; diff --git a/lib/private/Authentication/Listeners/UserDeletedFilesCleanupListener.php b/lib/private/Authentication/Listeners/UserDeletedFilesCleanupListener.php index fba813e0a2470a2a343a968f0c3b8d52959c13c3..fa7459e10ff977d0d825c67f301ee310f3531052 100644 --- a/lib/private/Authentication/Listeners/UserDeletedFilesCleanupListener.php +++ b/lib/private/Authentication/Listeners/UserDeletedFilesCleanupListener.php @@ -1,9 +1,12 @@ * + * @author Robin Appelman + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OC\Authentication\Listeners; use OC\Files\Cache\Cache; diff --git a/lib/private/Authentication/Listeners/UserDeletedStoreCleanupListener.php b/lib/private/Authentication/Listeners/UserDeletedStoreCleanupListener.php index 057568f514e2e1b4c9f782de485fd1640ab5ec8c..e52b989c353adbe59b690e59eb423a647a15e19b 100644 --- a/lib/private/Authentication/Listeners/UserDeletedStoreCleanupListener.php +++ b/lib/private/Authentication/Listeners/UserDeletedStoreCleanupListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Listeners; use OC\Authentication\TwoFactorAuth\Registry; diff --git a/lib/private/Authentication/Listeners/UserDeletedTokenCleanupListener.php b/lib/private/Authentication/Listeners/UserDeletedTokenCleanupListener.php index 2d78bd2d01c255c5696ca5f23108e0abacea3cac..6a3f4402886c31debb59b5c52b97b2e17a1eeb2c 100644 --- a/lib/private/Authentication/Listeners/UserDeletedTokenCleanupListener.php +++ b/lib/private/Authentication/Listeners/UserDeletedTokenCleanupListener.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Listeners; use OC\Authentication\Token\Manager; diff --git a/lib/private/Authentication/Listeners/UserLoggedInListener.php b/lib/private/Authentication/Listeners/UserLoggedInListener.php index 711a759fad40b35fa11123b7bf32d9dbd43fa944..e33f2bc04cac817308671c719861e26fca50c041 100644 --- a/lib/private/Authentication/Listeners/UserLoggedInListener.php +++ b/lib/private/Authentication/Listeners/UserLoggedInListener.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Listeners; use OC\Authentication\Token\Manager; diff --git a/lib/private/Authentication/Login/ALoginCommand.php b/lib/private/Authentication/Login/ALoginCommand.php index effc9adf1c07f0e2b9e4fc16a8b622ad8ea729d7..5b245db6bda33c0bf73f210e5cca316aa6c3cc7d 100644 --- a/lib/private/Authentication/Login/ALoginCommand.php +++ b/lib/private/Authentication/Login/ALoginCommand.php @@ -1,4 +1,7 @@ * @@ -13,16 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; abstract class ALoginCommand { diff --git a/lib/private/Authentication/Login/Chain.php b/lib/private/Authentication/Login/Chain.php index 1fc94fe96372e463aae32a319a83af6d2da0605e..32f44268d520d460943eed20cecdeffb62e0bde3 100644 --- a/lib/private/Authentication/Login/Chain.php +++ b/lib/private/Authentication/Login/Chain.php @@ -1,4 +1,7 @@ * @@ -13,16 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; class Chain { diff --git a/lib/private/Authentication/Login/ClearLostPasswordTokensCommand.php b/lib/private/Authentication/Login/ClearLostPasswordTokensCommand.php index f4e1ad11dd0cadb2b4be2b7eed1fd0c778d01c92..7e872a855a5ba858c86a72cfa3dbe5fbbb3d7eff 100644 --- a/lib/private/Authentication/Login/ClearLostPasswordTokensCommand.php +++ b/lib/private/Authentication/Login/ClearLostPasswordTokensCommand.php @@ -1,4 +1,7 @@ * @@ -13,16 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; use OCP\IConfig; diff --git a/lib/private/Authentication/Login/CompleteLoginCommand.php b/lib/private/Authentication/Login/CompleteLoginCommand.php index d0cddba595c84af036b4cb622a3a7f5790199161..ffe76b4c89d3c2e2e420aca61293184058862fe6 100644 --- a/lib/private/Authentication/Login/CompleteLoginCommand.php +++ b/lib/private/Authentication/Login/CompleteLoginCommand.php @@ -1,4 +1,7 @@ * @@ -13,16 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; use OC\User\Session; diff --git a/lib/private/Authentication/Login/CreateSessionTokenCommand.php b/lib/private/Authentication/Login/CreateSessionTokenCommand.php index 9d4d43b951bd04753af24ff6ad8d957b9cb5bd32..31ca0936942594c151a3f1bba4be7b3cf7bf1165 100644 --- a/lib/private/Authentication/Login/CreateSessionTokenCommand.php +++ b/lib/private/Authentication/Login/CreateSessionTokenCommand.php @@ -1,8 +1,12 @@ * * @author Christoph Wurst + * @author J0WI * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -14,16 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; use OC\Authentication\Token\IToken; diff --git a/lib/private/Authentication/Login/EmailLoginCommand.php b/lib/private/Authentication/Login/EmailLoginCommand.php index 24b5a00196b2d0e415893a42b5834cd57a0f28f3..e2e55cc12c86c64cf2cd472b38bbf841a4f90c1d 100644 --- a/lib/private/Authentication/Login/EmailLoginCommand.php +++ b/lib/private/Authentication/Login/EmailLoginCommand.php @@ -1,4 +1,7 @@ * @@ -13,16 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; use OCP\IUserManager; diff --git a/lib/private/Authentication/Login/FinishRememberedLoginCommand.php b/lib/private/Authentication/Login/FinishRememberedLoginCommand.php index 48d9e51e4b9d0523d06c314d56cab4a535a05883..9b5b4ed0642675b49350f04758a46fe703af04b5 100644 --- a/lib/private/Authentication/Login/FinishRememberedLoginCommand.php +++ b/lib/private/Authentication/Login/FinishRememberedLoginCommand.php @@ -1,4 +1,7 @@ * @@ -14,16 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; use OC\User\Session; diff --git a/lib/private/Authentication/Login/LoggedInCheckCommand.php b/lib/private/Authentication/Login/LoggedInCheckCommand.php index 3c71c844d7228303ccab801690c3df8c2c33712b..0efd84adbf5efacb54db0ec8b47a3e42f346acc4 100644 --- a/lib/private/Authentication/Login/LoggedInCheckCommand.php +++ b/lib/private/Authentication/Login/LoggedInCheckCommand.php @@ -1,4 +1,7 @@ * @@ -15,16 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; use OC\Authentication\Events\LoginFailed; diff --git a/lib/private/Authentication/Login/LoginData.php b/lib/private/Authentication/Login/LoginData.php index 1da09f1883f477a302186e47cb02f0752fcb66e1..43d1a725668b4cca9b62f70eb2dac76b071018be 100644 --- a/lib/private/Authentication/Login/LoginData.php +++ b/lib/private/Authentication/Login/LoginData.php @@ -1,4 +1,7 @@ * @@ -14,16 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; use OCP\IRequest; diff --git a/lib/private/Authentication/Login/LoginResult.php b/lib/private/Authentication/Login/LoginResult.php index 602283071352d77dcda663c8e741a5283059cbef..1f91c9c6a259f9329b52f5f40a0ccd0fc27f184b 100644 --- a/lib/private/Authentication/Login/LoginResult.php +++ b/lib/private/Authentication/Login/LoginResult.php @@ -1,4 +1,7 @@ * @@ -13,16 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; class LoginResult { diff --git a/lib/private/Authentication/Login/PreLoginHookCommand.php b/lib/private/Authentication/Login/PreLoginHookCommand.php index cb0b3ede28f082f78a65da5a581b6ea6f8d2449a..b989927a21c005d71a79974ed59317e454ed9a52 100644 --- a/lib/private/Authentication/Login/PreLoginHookCommand.php +++ b/lib/private/Authentication/Login/PreLoginHookCommand.php @@ -1,4 +1,7 @@ * @@ -14,16 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; use OC\Hooks\PublicEmitter; diff --git a/lib/private/Authentication/Login/SetUserTimezoneCommand.php b/lib/private/Authentication/Login/SetUserTimezoneCommand.php index 0029f2f167755b56678608289df76f542892a8cd..b18851e61faeb50e00df2168d9a2b6c15db63a3f 100644 --- a/lib/private/Authentication/Login/SetUserTimezoneCommand.php +++ b/lib/private/Authentication/Login/SetUserTimezoneCommand.php @@ -1,4 +1,7 @@ * @@ -13,16 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; use OCP\IConfig; diff --git a/lib/private/Authentication/Login/TwoFactorCommand.php b/lib/private/Authentication/Login/TwoFactorCommand.php index 86b85c83fd0871fb1ec7a19dca7c092e01d929aa..d20bc881f1fe00d36389a99f77b66eaa76f79a88 100644 --- a/lib/private/Authentication/Login/TwoFactorCommand.php +++ b/lib/private/Authentication/Login/TwoFactorCommand.php @@ -1,4 +1,7 @@ * @@ -14,16 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; use function array_pop; diff --git a/lib/private/Authentication/Login/UidLoginCommand.php b/lib/private/Authentication/Login/UidLoginCommand.php index 8c9a516c73519289df156974cbb4319f9a6bf9f4..a1bc9c585ab99ae62db56df55579950525856c7c 100644 --- a/lib/private/Authentication/Login/UidLoginCommand.php +++ b/lib/private/Authentication/Login/UidLoginCommand.php @@ -1,4 +1,7 @@ * @@ -13,16 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; use OC\User\Manager; diff --git a/lib/private/Authentication/Login/UpdateLastPasswordConfirmCommand.php b/lib/private/Authentication/Login/UpdateLastPasswordConfirmCommand.php index efaf5554c216a8a776e0daba30a2fabeddf55677..cd9cdfab6e8a2400b9990228f8beaea23f5b4271 100644 --- a/lib/private/Authentication/Login/UpdateLastPasswordConfirmCommand.php +++ b/lib/private/Authentication/Login/UpdateLastPasswordConfirmCommand.php @@ -1,4 +1,7 @@ * @@ -13,16 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; use OCP\ISession; diff --git a/lib/private/Authentication/Login/UserDisabledCheckCommand.php b/lib/private/Authentication/Login/UserDisabledCheckCommand.php index 0889fc99b2085facf7a46ff28936e47820e57c92..87446dc72d730477834255e872ac4577ccf77d08 100644 --- a/lib/private/Authentication/Login/UserDisabledCheckCommand.php +++ b/lib/private/Authentication/Login/UserDisabledCheckCommand.php @@ -1,4 +1,7 @@ * @@ -14,16 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - namespace OC\Authentication\Login; use OC\Core\Controller\LoginController; diff --git a/lib/private/Authentication/Login/WebAuthnChain.php b/lib/private/Authentication/Login/WebAuthnChain.php index 1f737a1674f1f8e8430da6fb2c119b20bf8dd3fc..f3ebc313a443fc6f47fd20090b0a436e410a4505 100644 --- a/lib/private/Authentication/Login/WebAuthnChain.php +++ b/lib/private/Authentication/Login/WebAuthnChain.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Login; class WebAuthnChain { diff --git a/lib/private/Authentication/Login/WebAuthnLoginCommand.php b/lib/private/Authentication/Login/WebAuthnLoginCommand.php index c08108fe9bbdc067e321eb1498b98890ce1dfcaf..5f79768d257dab1e892288f20e7b9010692f25ff 100644 --- a/lib/private/Authentication/Login/WebAuthnLoginCommand.php +++ b/lib/private/Authentication/Login/WebAuthnLoginCommand.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Login; use OCP\IUserManager; diff --git a/lib/private/Authentication/LoginCredentials/Credentials.php b/lib/private/Authentication/LoginCredentials/Credentials.php index e4cbdccec5089b8dc35af2470a45a8238c0af2b4..42f8f3740598715e702235c1859c1962195a91a2 100644 --- a/lib/private/Authentication/LoginCredentials/Credentials.php +++ b/lib/private/Authentication/LoginCredentials/Credentials.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\LoginCredentials; use OCP\Authentication\LoginCredentials\ICredentials; diff --git a/lib/private/Authentication/LoginCredentials/Store.php b/lib/private/Authentication/LoginCredentials/Store.php index 1810732ac3ad839f8067c1e61ce4fa190742cfd8..9055f9b56a29bd6f7a4db43ef848e2559a3b90e9 100644 --- a/lib/private/Authentication/LoginCredentials/Store.php +++ b/lib/private/Authentication/LoginCredentials/Store.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\LoginCredentials; use OC\Authentication\Exceptions\InvalidTokenException; diff --git a/lib/private/Authentication/Notifications/Notifier.php b/lib/private/Authentication/Notifications/Notifier.php index fce8eb82f6513dd9f6cd95a197081fe358e5c5bd..849b421d4c390d26a753f698811538f212ce094c 100644 --- a/lib/private/Authentication/Notifications/Notifier.php +++ b/lib/private/Authentication/Notifications/Notifier.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Notifications; use InvalidArgumentException; diff --git a/lib/private/Authentication/Token/DefaultToken.php b/lib/private/Authentication/Token/DefaultToken.php index d91866ae66fc786fddee53f03730c67aac1eb221..5a008586a9018b32326b10ec7f079d1ab6a3c165 100644 --- a/lib/private/Authentication/Token/DefaultToken.php +++ b/lib/private/Authentication/Token/DefaultToken.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Authentication\Token; use OCP\AppFramework\Db\Entity; diff --git a/lib/private/Authentication/Token/DefaultTokenCleanupJob.php b/lib/private/Authentication/Token/DefaultTokenCleanupJob.php index 0686f40e82fc1151674d4029c9c5765283e1f7b5..c3d80beac693a40f02ff4aa80d505e8b2c95f27b 100644 --- a/lib/private/Authentication/Token/DefaultTokenCleanupJob.php +++ b/lib/private/Authentication/Token/DefaultTokenCleanupJob.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Authentication\Token; use OC; diff --git a/lib/private/Authentication/Token/DefaultTokenMapper.php b/lib/private/Authentication/Token/DefaultTokenMapper.php index 40d503772b02bf889db8cf7e2310fba09513bc00..6ceb777c30fc7160eccafe36ec0d10578f5439c4 100644 --- a/lib/private/Authentication/Token/DefaultTokenMapper.php +++ b/lib/private/Authentication/Token/DefaultTokenMapper.php @@ -27,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Authentication\Token; use OCP\AppFramework\Db\DoesNotExistException; diff --git a/lib/private/Authentication/Token/DefaultTokenProvider.php b/lib/private/Authentication/Token/DefaultTokenProvider.php index a6a1af5a97a3f0cfa3205f612c977248158b571e..a5fabdbeae25adfce64cf78c0a5c958dd33e5316 100644 --- a/lib/private/Authentication/Token/DefaultTokenProvider.php +++ b/lib/private/Authentication/Token/DefaultTokenProvider.php @@ -29,7 +29,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Authentication\Token; use Exception; diff --git a/lib/private/Authentication/Token/INamedToken.php b/lib/private/Authentication/Token/INamedToken.php index 307558799632c070f217408434ad2df01ee30a10..96a7719fb41840037f64445f045db7ffe3753b08 100644 --- a/lib/private/Authentication/Token/INamedToken.php +++ b/lib/private/Authentication/Token/INamedToken.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Token; interface INamedToken extends IToken { diff --git a/lib/private/Authentication/Token/IProvider.php b/lib/private/Authentication/Token/IProvider.php index 2b6223fded974ba5d62c7cb869fea79f4dd45bc3..b37fc2c8cf4d0566cd5928bc680f34336eafbed2 100644 --- a/lib/private/Authentication/Token/IProvider.php +++ b/lib/private/Authentication/Token/IProvider.php @@ -27,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Authentication\Token; use OC\Authentication\Exceptions\ExpiredTokenException; diff --git a/lib/private/Authentication/Token/IToken.php b/lib/private/Authentication/Token/IToken.php index 326e9554b8e20dc55054d594224af7aaf709f28c..5ca4eaea84372c281d043ac805905598404708e5 100644 --- a/lib/private/Authentication/Token/IToken.php +++ b/lib/private/Authentication/Token/IToken.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Authentication\Token; use JsonSerializable; diff --git a/lib/private/Authentication/Token/IWipeableToken.php b/lib/private/Authentication/Token/IWipeableToken.php index efc542faa69393d1d37c24d4a7952a4e66f51206..64dbb604ed281a6e35f9c9d72980afe983b1e7de 100644 --- a/lib/private/Authentication/Token/IWipeableToken.php +++ b/lib/private/Authentication/Token/IWipeableToken.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Token; interface IWipeableToken extends IToken { diff --git a/lib/private/Authentication/Token/Manager.php b/lib/private/Authentication/Token/Manager.php index 073569de0cfce947dee1e8ef859e8715e4915ea0..b718ce73ea478e006a729afa2f06d194fbfd3ce0 100644 --- a/lib/private/Authentication/Token/Manager.php +++ b/lib/private/Authentication/Token/Manager.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Token; use Doctrine\DBAL\Exception\UniqueConstraintViolationException; diff --git a/lib/private/Authentication/Token/PublicKeyToken.php b/lib/private/Authentication/Token/PublicKeyToken.php index d2336c81efddf357eb6483591926b41f1d05f0fe..3351c767ce3bc7c13681861d3ffb057eb0faaf69 100644 --- a/lib/private/Authentication/Token/PublicKeyToken.php +++ b/lib/private/Authentication/Token/PublicKeyToken.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Roeland Jago Douma * * @author Christoph Wurst * @author Daniel Kesselberg @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Token; use OCP\AppFramework\Db\Entity; diff --git a/lib/private/Authentication/Token/PublicKeyTokenMapper.php b/lib/private/Authentication/Token/PublicKeyTokenMapper.php index d44ff3c50dd9090c6b7080524bcb4d2a82022c83..8aab7daf6230877e1996f8d2205fd5ebde9ed87c 100644 --- a/lib/private/Authentication/Token/PublicKeyTokenMapper.php +++ b/lib/private/Authentication/Token/PublicKeyTokenMapper.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Token; use OCP\AppFramework\Db\DoesNotExistException; diff --git a/lib/private/Authentication/Token/PublicKeyTokenProvider.php b/lib/private/Authentication/Token/PublicKeyTokenProvider.php index a293d2a8404243e18700f5d361b8723b54995e89..ab9ff23dfd1e8fd617661f9d0e4f152b89cfea39 100644 --- a/lib/private/Authentication/Token/PublicKeyTokenProvider.php +++ b/lib/private/Authentication/Token/PublicKeyTokenProvider.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Token; use OC\Authentication\Exceptions\ExpiredTokenException; diff --git a/lib/private/Authentication/Token/RemoteWipe.php b/lib/private/Authentication/Token/RemoteWipe.php index b762073a8bcd9b3d570a66cb1b3cdf6d07df08b4..9e152d16a04d9617cf6655865ac68253aab53c96 100644 --- a/lib/private/Authentication/Token/RemoteWipe.php +++ b/lib/private/Authentication/Token/RemoteWipe.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\Token; use Psr\Log\LoggerInterface; diff --git a/lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php b/lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php index bd8ff0353eee4095dde4f2e8666c2ee4698c9469..e9aa15e11b6339b4fb605d964d3b343f0d68da89 100644 --- a/lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php +++ b/lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\TwoFactorAuth\Db; use Doctrine\DBAL\Exception\UniqueConstraintViolationException; diff --git a/lib/private/Authentication/TwoFactorAuth/EnforcementState.php b/lib/private/Authentication/TwoFactorAuth/EnforcementState.php index c244843454bbfa4feb3f568a625c02564dca8b12..ed157f49006c99c0da70e0132fd69a7ba0416c06 100644 --- a/lib/private/Authentication/TwoFactorAuth/EnforcementState.php +++ b/lib/private/Authentication/TwoFactorAuth/EnforcementState.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\TwoFactorAuth; use JsonSerializable; diff --git a/lib/private/Authentication/TwoFactorAuth/Manager.php b/lib/private/Authentication/TwoFactorAuth/Manager.php index 4391f7d108e06c3c1d3cf3794d8cf514d12feab4..375803b1d962c2c29ec2f464097535009b4f6c93 100644 --- a/lib/private/Authentication/TwoFactorAuth/Manager.php +++ b/lib/private/Authentication/TwoFactorAuth/Manager.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Authentication\TwoFactorAuth; use BadMethodCallException; diff --git a/lib/private/Authentication/TwoFactorAuth/MandatoryTwoFactor.php b/lib/private/Authentication/TwoFactorAuth/MandatoryTwoFactor.php index b06a517ef805ac84e1f14b1c61e1c292b4000c03..675f4faf63a7783c2f30af65ab17b90af31e716c 100644 --- a/lib/private/Authentication/TwoFactorAuth/MandatoryTwoFactor.php +++ b/lib/private/Authentication/TwoFactorAuth/MandatoryTwoFactor.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\TwoFactorAuth; use OCP\IConfig; diff --git a/lib/private/Authentication/TwoFactorAuth/ProviderLoader.php b/lib/private/Authentication/TwoFactorAuth/ProviderLoader.php index 8dd1969024284d7bfa703b8acf6efd6bc1729ed3..25cdc387f614e670c4de8e97c435d3be337dac4a 100644 --- a/lib/private/Authentication/TwoFactorAuth/ProviderLoader.php +++ b/lib/private/Authentication/TwoFactorAuth/ProviderLoader.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright 2018 Christoph Wurst * * @author Christoph Wurst + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\TwoFactorAuth; use Exception; diff --git a/lib/private/Authentication/TwoFactorAuth/ProviderManager.php b/lib/private/Authentication/TwoFactorAuth/ProviderManager.php index 4d3171e96f7a902bc5ab3a9d7c74fb8d522b9578..e2bb367f47ec75cd23a761b351fa43a58fc6aec1 100644 --- a/lib/private/Authentication/TwoFactorAuth/ProviderManager.php +++ b/lib/private/Authentication/TwoFactorAuth/ProviderManager.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\TwoFactorAuth; use OC\Authentication\Exceptions\InvalidProviderException; diff --git a/lib/private/Authentication/TwoFactorAuth/ProviderSet.php b/lib/private/Authentication/TwoFactorAuth/ProviderSet.php index c27681c603607b828294c1842b2edef9bf67c305..5e05cb0f71015760e46a61f24bca045ac05b0478 100644 --- a/lib/private/Authentication/TwoFactorAuth/ProviderSet.php +++ b/lib/private/Authentication/TwoFactorAuth/ProviderSet.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\TwoFactorAuth; use function array_filter; diff --git a/lib/private/Authentication/TwoFactorAuth/Registry.php b/lib/private/Authentication/TwoFactorAuth/Registry.php index 2af8566d3e51c3bf3cc7c03c3fb42746271faffa..1846ebcf8e2682b52432f19dbe2ee1fef742dcbc 100644 --- a/lib/private/Authentication/TwoFactorAuth/Registry.php +++ b/lib/private/Authentication/TwoFactorAuth/Registry.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\TwoFactorAuth; use OC\Authentication\TwoFactorAuth\Db\ProviderUserAssignmentDao; diff --git a/lib/private/Authentication/WebAuthn/CredentialRepository.php b/lib/private/Authentication/WebAuthn/CredentialRepository.php index f75b4b5ae463195a2c21e0e8c49936d54875c090..34af75b1ba681f2982ab1593e62ec402d2579640 100644 --- a/lib/private/Authentication/WebAuthn/CredentialRepository.php +++ b/lib/private/Authentication/WebAuthn/CredentialRepository.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\WebAuthn; use OC\Authentication\WebAuthn\Db\PublicKeyCredentialEntity; diff --git a/lib/private/Authentication/WebAuthn/Db/PublicKeyCredentialEntity.php b/lib/private/Authentication/WebAuthn/Db/PublicKeyCredentialEntity.php index ae31a2ea772206149d904b200a8f8667a342f6e1..786154d6d1413dddf551889777104acf22776246 100644 --- a/lib/private/Authentication/WebAuthn/Db/PublicKeyCredentialEntity.php +++ b/lib/private/Authentication/WebAuthn/Db/PublicKeyCredentialEntity.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\WebAuthn\Db; use JsonSerializable; diff --git a/lib/private/Authentication/WebAuthn/Db/PublicKeyCredentialMapper.php b/lib/private/Authentication/WebAuthn/Db/PublicKeyCredentialMapper.php index d08cb71d72f20f99a819cd909127a0136ca2582e..2fbf6fd375d5a81560aa7431f7f9a7252e975764 100644 --- a/lib/private/Authentication/WebAuthn/Db/PublicKeyCredentialMapper.php +++ b/lib/private/Authentication/WebAuthn/Db/PublicKeyCredentialMapper.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\WebAuthn\Db; use OCP\AppFramework\Db\DoesNotExistException; diff --git a/lib/private/Authentication/WebAuthn/Manager.php b/lib/private/Authentication/WebAuthn/Manager.php index 9ef3a0718ca26997384a73583074bbda5e059d29..1edfb6a85ed4702896e3cca835ce43fe54fada42 100644 --- a/lib/private/Authentication/WebAuthn/Manager.php +++ b/lib/private/Authentication/WebAuthn/Manager.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Authentication\WebAuthn; use Cose\Algorithm\Signature\ECDSA\ES256; diff --git a/lib/private/Avatar/Avatar.php b/lib/private/Avatar/Avatar.php index bd40766afcb15d68a227449e6f7e6ad6cd4a043e..3bd58bb7681c5458920e8aba5111942a270143c4 100644 --- a/lib/private/Avatar/Avatar.php +++ b/lib/private/Avatar/Avatar.php @@ -10,9 +10,8 @@ declare(strict_types=1); * @author Christoph Wurst * @author Jan-Christoph Borchardt * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl - * @author Lukas Reschke * @author Michael Weimann * @author Morris Jobke * @author Robin Appelman @@ -35,7 +34,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Avatar; use Imagick; diff --git a/lib/private/Avatar/AvatarManager.php b/lib/private/Avatar/AvatarManager.php index c54539b2cde6f5a46070aa7cd2cd7110981d963a..83b2b4b5c3df8a037587eaf31e7ecec3c55c15fb 100644 --- a/lib/private/Avatar/AvatarManager.php +++ b/lib/private/Avatar/AvatarManager.php @@ -7,7 +7,8 @@ declare(strict_types=1); * * @author Arthur Schiwon * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author Joas Schilling + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Michael Weimann @@ -15,6 +16,7 @@ declare(strict_types=1); * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller + * @author Vincent Petry * * @license AGPL-3.0 * @@ -31,7 +33,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Avatar; use OC\KnownUser\KnownUserService; diff --git a/lib/private/Avatar/GuestAvatar.php b/lib/private/Avatar/GuestAvatar.php index c208353d726442a5f5df9d8d19085c99bc0705fe..f0297b3a93cb24f7735abfaf91b6fba2e4a1d830 100644 --- a/lib/private/Avatar/GuestAvatar.php +++ b/lib/private/Avatar/GuestAvatar.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018, Michael Weimann * + * @author Joas Schilling * @author Michael Weimann * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Avatar; use OCP\Files\SimpleFS\InMemoryFile; diff --git a/lib/private/Avatar/PlaceholderAvatar.php b/lib/private/Avatar/PlaceholderAvatar.php index 377b5e03654c734f2d50a03049e24928fa51177a..df7a490cbe4e131eb92de1c003360f31bb08263e 100644 --- a/lib/private/Avatar/PlaceholderAvatar.php +++ b/lib/private/Avatar/PlaceholderAvatar.php @@ -5,10 +5,8 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018, Michael Weimann * - * @author Arthur Schiwon - * @author Christoph Wurst * @author Joas Schilling - * @author Michael Weimann + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -19,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Avatar; use OC\NotSquareException; diff --git a/lib/private/Avatar/UserAvatar.php b/lib/private/Avatar/UserAvatar.php index 970548f8c8e63f7fd7c52fa0ed109608ab235156..027c83172c2f1fc528ac54cd1ae4e30991339317 100644 --- a/lib/private/Avatar/UserAvatar.php +++ b/lib/private/Avatar/UserAvatar.php @@ -9,6 +9,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Joas Schilling * @author Michael Weimann + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -19,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Avatar; use OC\NotSquareException; diff --git a/lib/private/BackgroundJob/Job.php b/lib/private/BackgroundJob/Job.php index 312ec628e0b2a1ef5b23c58a360626a2e6226afe..6f85e3382ed9438df0e375356b445109329a46be 100644 --- a/lib/private/BackgroundJob/Job.php +++ b/lib/private/BackgroundJob/Job.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\BackgroundJob; use OCP\BackgroundJob\IJob; diff --git a/lib/private/BackgroundJob/JobList.php b/lib/private/BackgroundJob/JobList.php index 5a89dcdeba6e7ed453182e542fd675ccec242a16..f3b96dcbb7ba8bb89c1d2ac618761326beae2b66 100644 --- a/lib/private/BackgroundJob/JobList.php +++ b/lib/private/BackgroundJob/JobList.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\BackgroundJob; use OCP\AppFramework\QueryException; diff --git a/lib/private/BackgroundJob/Legacy/QueuedJob.php b/lib/private/BackgroundJob/Legacy/QueuedJob.php index 9adaeff89ecafadf65266b4220cf073356552890..d68fd217fdd8762da91cd6dd9d4676ac0365cd88 100644 --- a/lib/private/BackgroundJob/Legacy/QueuedJob.php +++ b/lib/private/BackgroundJob/Legacy/QueuedJob.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\BackgroundJob\Legacy; class QueuedJob extends \OC\BackgroundJob\QueuedJob { diff --git a/lib/private/BackgroundJob/Legacy/RegularJob.php b/lib/private/BackgroundJob/Legacy/RegularJob.php index 95ad8a4ed63b1474debe3ea8b93586f88616247f..e3286536c9a3d162fc6d1d94801647f00169e05c 100644 --- a/lib/private/BackgroundJob/Legacy/RegularJob.php +++ b/lib/private/BackgroundJob/Legacy/RegularJob.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\BackgroundJob\Legacy; use OCP\AutoloadNotAllowedException; diff --git a/lib/private/BackgroundJob/QueuedJob.php b/lib/private/BackgroundJob/QueuedJob.php index 6f10ee4408d34276a356da6e976f6f3cecc75a33..176227e73dbbba37f8f7297ab09c71229e13cce3 100644 --- a/lib/private/BackgroundJob/QueuedJob.php +++ b/lib/private/BackgroundJob/QueuedJob.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\BackgroundJob; use OCP\ILogger; diff --git a/lib/private/BackgroundJob/TimedJob.php b/lib/private/BackgroundJob/TimedJob.php index c0ce130c6cf80ac5779faed0beb97de6e29b016e..62b9bab7ccc0ac1d806417ba9933ee48597a80f9 100644 --- a/lib/private/BackgroundJob/TimedJob.php +++ b/lib/private/BackgroundJob/TimedJob.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\BackgroundJob; use OCP\BackgroundJob\IJobList; diff --git a/lib/private/Broadcast/Events/BroadcastEvent.php b/lib/private/Broadcast/Events/BroadcastEvent.php index 7d4d7017af5c2f31d01358bc678f360ba3e602d2..47871e00132c460cdcc1c3ad73b8910c6fff4252 100644 --- a/lib/private/Broadcast/Events/BroadcastEvent.php +++ b/lib/private/Broadcast/Events/BroadcastEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Broadcast\Events; use JsonSerializable; diff --git a/lib/private/Cache/CappedMemoryCache.php b/lib/private/Cache/CappedMemoryCache.php index 28e087593042cc550b393397d742bf7e888cce70..408c3935ffb992ec46cdcacf05e18455a7a075be 100644 --- a/lib/private/Cache/CappedMemoryCache.php +++ b/lib/private/Cache/CappedMemoryCache.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Cache; use OCP\ICache; diff --git a/lib/private/Cache/File.php b/lib/private/Cache/File.php index 756bc9c36a5813de0ec809da48f587b5b9b7debb..362379c429b07e14727f416d8d689c43b7466dff 100644 --- a/lib/private/Cache/File.php +++ b/lib/private/Cache/File.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Cache; use OC\Files\Filesystem; diff --git a/lib/private/Calendar/Manager.php b/lib/private/Calendar/Manager.php index f8401259eb441afd86c15a13fffca06a6c5d7275..ab22c3ba7b808979e41a41c0d379af7ed0ef5f5e 100644 --- a/lib/private/Calendar/Manager.php +++ b/lib/private/Calendar/Manager.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Calendar; use OCP\Calendar\ICalendar; diff --git a/lib/private/Calendar/Resource/Manager.php b/lib/private/Calendar/Resource/Manager.php index 2c63ce990fad1ce547a78630912c14062ab7487f..935541d9c8751d686a4c188988ab4820f0ca049c 100644 --- a/lib/private/Calendar/Resource/Manager.php +++ b/lib/private/Calendar/Resource/Manager.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Calendar\Resource; use OCP\Calendar\Resource\IBackend; diff --git a/lib/private/Calendar/Room/Manager.php b/lib/private/Calendar/Room/Manager.php index 5001b715cb066365b454e474a12c78405bbe4eb4..25db5197ef26be6245641d9b06d1b1e82c96ecfc 100644 --- a/lib/private/Calendar/Room/Manager.php +++ b/lib/private/Calendar/Room/Manager.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Calendar\Room; use OCP\Calendar\Room\IBackend; diff --git a/lib/private/CapabilitiesManager.php b/lib/private/CapabilitiesManager.php index efa1cff5146f2c0e646bca9e87219427f74b7bbe..16f9bd6425283b2559a8768d71fff4354d17fba6 100644 --- a/lib/private/CapabilitiesManager.php +++ b/lib/private/CapabilitiesManager.php @@ -5,8 +5,8 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Arthur Schiwon * @author Christoph Wurst + * @author Joas Schilling * @author Julius Härtl * @author Morris Jobke * @author Roeland Jago Douma @@ -26,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC; use OCP\AppFramework\QueryException; diff --git a/lib/private/Collaboration/AutoComplete/Manager.php b/lib/private/Collaboration/AutoComplete/Manager.php index d03de3a9fd3ef3b8f8905a1f11a475b9b988aba7..cab15baf535ad318b01d810d259263c95426bdc0 100644 --- a/lib/private/Collaboration/AutoComplete/Manager.php +++ b/lib/private/Collaboration/AutoComplete/Manager.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Collaboration\AutoComplete; use OCP\Collaboration\AutoComplete\IManager; diff --git a/lib/private/Collaboration/Collaborators/GroupPlugin.php b/lib/private/Collaboration/Collaborators/GroupPlugin.php index 5161f67beb924ab9df0bc593ed698b7040809e0e..dbe3b7293d9cab71fc8f2f28599957a9de4b4f47 100644 --- a/lib/private/Collaboration/Collaborators/GroupPlugin.php +++ b/lib/private/Collaboration/Collaborators/GroupPlugin.php @@ -18,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Collaboration\Collaborators; use OCP\Collaboration\Collaborators\ISearchPlugin; diff --git a/lib/private/Collaboration/Collaborators/LookupPlugin.php b/lib/private/Collaboration/Collaborators/LookupPlugin.php index 3d118989cc6d1e89232e49ed814006e30fdb5a79..079fd4d25752713cebbdf16830f4b0fc72bf7aa6 100644 --- a/lib/private/Collaboration/Collaborators/LookupPlugin.php +++ b/lib/private/Collaboration/Collaborators/LookupPlugin.php @@ -5,6 +5,7 @@ * @author Arthur Schiwon * @author Bjoern Schiessle * @author Christoph Wurst + * @author J0WI * @author Joas Schilling * @author Roeland Jago Douma * @@ -17,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Collaboration\Collaborators; use OCP\Collaboration\Collaborators\ISearchPlugin; diff --git a/lib/private/Collaboration/Collaborators/MailPlugin.php b/lib/private/Collaboration/Collaborators/MailPlugin.php index 240e16374d54c01657cb66f93d46cf8221d7b737..7245501a8bf7d974fa2767e20234f529487abdfe 100644 --- a/lib/private/Collaboration/Collaborators/MailPlugin.php +++ b/lib/private/Collaboration/Collaborators/MailPlugin.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Collaboration\Collaborators; use OC\KnownUser\KnownUserService; diff --git a/lib/private/Collaboration/Collaborators/RemoteGroupPlugin.php b/lib/private/Collaboration/Collaborators/RemoteGroupPlugin.php index bfc4c682d4f18dcd2b98e6f886c81a0d81c8a955..413799e52c67bfd5b0d3c9f95c8603d2fb1a5e21 100644 --- a/lib/private/Collaboration/Collaborators/RemoteGroupPlugin.php +++ b/lib/private/Collaboration/Collaborators/RemoteGroupPlugin.php @@ -4,7 +4,7 @@ * * @author Bjoern Schiessle * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Collaboration\Collaborators; use OCP\Collaboration\Collaborators\ISearchPlugin; diff --git a/lib/private/Collaboration/Collaborators/RemotePlugin.php b/lib/private/Collaboration/Collaborators/RemotePlugin.php index 1fec2912ca1690505fc5286f98a4df02d590596d..4fe62523b66013e5c53b0ba30827f6ca42d45376 100644 --- a/lib/private/Collaboration/Collaborators/RemotePlugin.php +++ b/lib/private/Collaboration/Collaborators/RemotePlugin.php @@ -5,7 +5,7 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Collaboration\Collaborators; use OCP\Collaboration\Collaborators\ISearchPlugin; diff --git a/lib/private/Collaboration/Collaborators/Search.php b/lib/private/Collaboration/Collaborators/Search.php index 874635729449d6b1a9e14cb7085be6534082fd5b..b0ee09356af7983562220b9b76d5c168fd164063 100644 --- a/lib/private/Collaboration/Collaborators/Search.php +++ b/lib/private/Collaboration/Collaborators/Search.php @@ -5,6 +5,7 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling + * @author Morris Jobke * @author onehappycat * @author Robin Appelman * @@ -17,14 +18,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Collaboration\Collaborators; use OCP\Collaboration\Collaborators\ISearch; diff --git a/lib/private/Collaboration/Collaborators/SearchResult.php b/lib/private/Collaboration/Collaborators/SearchResult.php index e9511f869fa019996457590171b4927d38785636..76d78c9c23156282046034c34b0bb7a9bba1d158 100644 --- a/lib/private/Collaboration/Collaborators/SearchResult.php +++ b/lib/private/Collaboration/Collaborators/SearchResult.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Collaboration\Collaborators; use OCP\Collaboration\Collaborators\ISearchResult; diff --git a/lib/private/Collaboration/Collaborators/UserPlugin.php b/lib/private/Collaboration/Collaborators/UserPlugin.php index 12ed3e98932d9554006554a1b8f2588cebb57f27..e3e4b37f3831e16708f1d526cc62ac2216ea49dc 100644 --- a/lib/private/Collaboration/Collaborators/UserPlugin.php +++ b/lib/private/Collaboration/Collaborators/UserPlugin.php @@ -6,7 +6,7 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Morris Jobke * @author Robin Appelman @@ -22,14 +22,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Collaboration\Collaborators; use OC\KnownUser\KnownUserService; diff --git a/lib/private/Collaboration/Resources/Collection.php b/lib/private/Collaboration/Resources/Collection.php index 5bdc1489fb878a92a341805bdda7159340e94f33..ba4005c2139305ee9e380e07bf1cd9e38bab28df 100644 --- a/lib/private/Collaboration/Resources/Collection.php +++ b/lib/private/Collaboration/Resources/Collection.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Collaboration\Resources; use Doctrine\DBAL\Exception\ConstraintViolationException; diff --git a/lib/private/Collaboration/Resources/Listener.php b/lib/private/Collaboration/Resources/Listener.php index ffb5001e80104dbbda1333ca5d53f0ac123ea40c..ba012b4ca44452fb7a24777d26a2f4465f517d34 100644 --- a/lib/private/Collaboration/Resources/Listener.php +++ b/lib/private/Collaboration/Resources/Listener.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Collaboration\Resources; use OCP\Collaboration\Resources\IManager; diff --git a/lib/private/Collaboration/Resources/Manager.php b/lib/private/Collaboration/Resources/Manager.php index a84ca4da24131b2ecd6b204d9f6cf6add689adc4..a0fba16998fb2827499a3d14144b53bd572d637a 100644 --- a/lib/private/Collaboration/Resources/Manager.php +++ b/lib/private/Collaboration/Resources/Manager.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Collaboration\Resources; use Doctrine\DBAL\Exception\UniqueConstraintViolationException; diff --git a/lib/private/Collaboration/Resources/ProviderManager.php b/lib/private/Collaboration/Resources/ProviderManager.php index 71e7d8b7e2e0c87252de94454a13f11f987d93ef..4b099f33b4fcabde4d0390181ddb5f7e8b75bd51 100644 --- a/lib/private/Collaboration/Resources/ProviderManager.php +++ b/lib/private/Collaboration/Resources/ProviderManager.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2019 Daniel Kesselberg * * @author Daniel Kesselberg + * @author Joas Schilling * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Collaboration\Resources; use OCP\AppFramework\QueryException; diff --git a/lib/private/Collaboration/Resources/Resource.php b/lib/private/Collaboration/Resources/Resource.php index 702bc2faf46c83a66e4d7a725c2eb029b2394fdb..f138204403cb27d7343f393e2e6b7d3744bbaedc 100644 --- a/lib/private/Collaboration/Resources/Resource.php +++ b/lib/private/Collaboration/Resources/Resource.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Collaboration\Resources; use OCP\Collaboration\Resources\ICollection; diff --git a/lib/private/Color.php b/lib/private/Color.php index 34ae487bfa7f232372711a34d2d59b1d9cdb34c7..91b9b63c0098a0c15a4d0f5ababb15ce873bd9dd 100644 --- a/lib/private/Color.php +++ b/lib/private/Color.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC; class Color { diff --git a/lib/private/Command/AsyncBus.php b/lib/private/Command/AsyncBus.php index 6577d755c0ea05aed87f288e7e67aae50a7db3c2..ec6fbc91f68a22bc10673a7e6338460f0e2e7a26 100644 --- a/lib/private/Command/AsyncBus.php +++ b/lib/private/Command/AsyncBus.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Command; use OCP\Command\IBus; diff --git a/lib/private/Command/CallableJob.php b/lib/private/Command/CallableJob.php index 4445310ff01abf7e39ccafc0e0501765935e4dd7..8bb3c76c9afad9098fb2374713c5c09529a31b00 100644 --- a/lib/private/Command/CallableJob.php +++ b/lib/private/Command/CallableJob.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Command; use OC\BackgroundJob\QueuedJob; diff --git a/lib/private/Command/ClosureJob.php b/lib/private/Command/ClosureJob.php index c92fd304f911e2535de188310fa4d8d77505784a..498fe6d1d96314c086ba733ccddcbc0bdff5a0cf 100644 --- a/lib/private/Command/ClosureJob.php +++ b/lib/private/Command/ClosureJob.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Command; use OC\BackgroundJob\QueuedJob; diff --git a/lib/private/Command/CommandJob.php b/lib/private/Command/CommandJob.php index ed251b841ed4c0236307ad763a80fe51425f6a28..6fa0c6d7ceb485a126a267866ca4e5f4d36078e8 100644 --- a/lib/private/Command/CommandJob.php +++ b/lib/private/Command/CommandJob.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Command; use OC\BackgroundJob\QueuedJob; diff --git a/lib/private/Command/CronBus.php b/lib/private/Command/CronBus.php index 86aa239bddebdf28204e569df87f4ba84310e600..89a739617d0aa936607dea17fb8fe5903f7db910 100644 --- a/lib/private/Command/CronBus.php +++ b/lib/private/Command/CronBus.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Command; use OCP\Command\ICommand; diff --git a/lib/private/Command/FileAccess.php b/lib/private/Command/FileAccess.php index b6bfa47e98b9d2d2b14bf249874a62ee3451a947..584e61696c377dc4ef6d22cb4983f093abb20e4c 100644 --- a/lib/private/Command/FileAccess.php +++ b/lib/private/Command/FileAccess.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Command; use OCP\IUser; diff --git a/lib/private/Command/QueueBus.php b/lib/private/Command/QueueBus.php index 1955da70fd9c5a2c2e42e078a5ce763b13487bf6..b2ceea744bcb26c33516b9950521f208dcb2bbf5 100644 --- a/lib/private/Command/QueueBus.php +++ b/lib/private/Command/QueueBus.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Command; use OCP\Command\IBus; diff --git a/lib/private/Comments/Comment.php b/lib/private/Comments/Comment.php index 8517bef58936a86c455685040e96695fa1d73b6b..b15776312dba51d30968039308349dd3c8925ad0 100644 --- a/lib/private/Comments/Comment.php +++ b/lib/private/Comments/Comment.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Comments; use OCP\Comments\IComment; diff --git a/lib/private/Comments/Manager.php b/lib/private/Comments/Manager.php index 93b5ed4cc42aedb7301fcfc56baa5f85dd02f912..b20e028dcabea13d47f69fdc1f4bd632cb3d8561 100644 --- a/lib/private/Comments/Manager.php +++ b/lib/private/Comments/Manager.php @@ -4,10 +4,11 @@ * * @author Arthur Schiwon * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma + * @author Simounet * @author Thomas Müller * * @license AGPL-3.0 @@ -25,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\Comments; use Doctrine\DBAL\Exception\DriverException; diff --git a/lib/private/Comments/ManagerFactory.php b/lib/private/Comments/ManagerFactory.php index ec2cb1e69a154b460f09f97e874ffd94ca65aacc..c2fb3d37ab7ffba0e4a7ae4cb284f3fa20b061ff 100644 --- a/lib/private/Comments/ManagerFactory.php +++ b/lib/private/Comments/ManagerFactory.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Comments; use OCP\Comments\ICommentsManager; diff --git a/lib/private/Config.php b/lib/private/Config.php index a6c4acb7d969895fd4f1775e5a535cbfd704263e..e3ace96c359873b8cae7e3e36eb111d4f695021e 100644 --- a/lib/private/Config.php +++ b/lib/private/Config.php @@ -12,7 +12,7 @@ * @author Jakob Sack * @author Jan-Christoph Borchardt * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Michael Gapczynski * @author Morris Jobke @@ -36,7 +36,6 @@ * along with this program. If not, see * */ - namespace OC; /** diff --git a/lib/private/Console/Application.php b/lib/private/Console/Application.php index 06edf62147e2d03c77d880712690b0091a2d2b30..58a6b2f9ac791de3148b25fb600cdb3acfdb7619 100644 --- a/lib/private/Console/Application.php +++ b/lib/private/Console/Application.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OC\Console; use OC\MemoryInfo; diff --git a/lib/private/Console/TimestampFormatter.php b/lib/private/Console/TimestampFormatter.php index 7f8250a9f3db9fabc5d62f4fe2c18932108f7842..fcaa6ebfbf1f791de9f6b49a2efd9a25c960da69 100644 --- a/lib/private/Console/TimestampFormatter.php +++ b/lib/private/Console/TimestampFormatter.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Console; use OCP\IConfig; diff --git a/lib/private/Contacts/ContactsMenu/ActionFactory.php b/lib/private/Contacts/ContactsMenu/ActionFactory.php index 0cdd1245b3135c6307b790b70e4021d9889c91df..8e139f6486ca35e1462670f5b2e1989adf3eee31 100644 --- a/lib/private/Contacts/ContactsMenu/ActionFactory.php +++ b/lib/private/Contacts/ContactsMenu/ActionFactory.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Contacts\ContactsMenu; use OC\Contacts\ContactsMenu\Actions\LinkAction; diff --git a/lib/private/Contacts/ContactsMenu/ActionProviderStore.php b/lib/private/Contacts/ContactsMenu/ActionProviderStore.php index 10b83adf92dfb6bccc1b77527929341917e8769e..a984f9d6dfb7433d44ce96e48e9ee05599b54135 100644 --- a/lib/private/Contacts/ContactsMenu/ActionProviderStore.php +++ b/lib/private/Contacts/ContactsMenu/ActionProviderStore.php @@ -1,10 +1,12 @@ * * @author Christoph Wurst + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Contacts\ContactsMenu; use Exception; diff --git a/lib/private/Contacts/ContactsMenu/Actions/LinkAction.php b/lib/private/Contacts/ContactsMenu/Actions/LinkAction.php index eac169afb77d0b3ede2d21420758540400f012cc..a50318903acf8d4227f3e76181301d3d8903ddf7 100644 --- a/lib/private/Contacts/ContactsMenu/Actions/LinkAction.php +++ b/lib/private/Contacts/ContactsMenu/Actions/LinkAction.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Contacts\ContactsMenu\Actions; use OCP\Contacts\ContactsMenu\ILinkAction; diff --git a/lib/private/Contacts/ContactsMenu/ContactsStore.php b/lib/private/Contacts/ContactsMenu/ContactsStore.php index 69f26c7969fb854997322071ad86c2697c1d2ea0..31e13bbe8f2292a8040da7334cc5b84e5abe69d5 100644 --- a/lib/private/Contacts/ContactsMenu/ContactsStore.php +++ b/lib/private/Contacts/ContactsMenu/ContactsStore.php @@ -5,9 +5,8 @@ * * @author Arthur Schiwon * @author Christoph Wurst - * @author Daniel Calviño Sánchez * @author Georg Ehrke - * @author Julius Härtl + * @author Joas Schilling * @author Lukas Reschke * @author Roeland Jago Douma * @author Tobia De Koninck @@ -21,14 +20,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Contacts\ContactsMenu; use OC\KnownUser\KnownUserService; diff --git a/lib/private/Contacts/ContactsMenu/Entry.php b/lib/private/Contacts/ContactsMenu/Entry.php index f70a40bb2ba97cad175e8b5e651b74604df4a6ac..2c0b7de6ef64f76105591dbf8ae3211b88cfa0a3 100644 --- a/lib/private/Contacts/ContactsMenu/Entry.php +++ b/lib/private/Contacts/ContactsMenu/Entry.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright 2017 Christoph Wurst * * @author Christoph Wurst + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Contacts\ContactsMenu; use OCP\Contacts\ContactsMenu\IAction; diff --git a/lib/private/Contacts/ContactsMenu/Manager.php b/lib/private/Contacts/ContactsMenu/Manager.php index d08db5775e532c3342f7014558d4e15b3a79fd26..cea67735da56fe18c20bead7c2b9ca63ce3edb15 100644 --- a/lib/private/Contacts/ContactsMenu/Manager.php +++ b/lib/private/Contacts/ContactsMenu/Manager.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Contacts\ContactsMenu; use OCP\App\IAppManager; diff --git a/lib/private/Contacts/ContactsMenu/Providers/EMailProvider.php b/lib/private/Contacts/ContactsMenu/Providers/EMailProvider.php index bb5e64d15aa76980fe02503fd8dd287d5b8900cc..9ae323c18c34655728c589ea99384a8a1e840fb9 100644 --- a/lib/private/Contacts/ContactsMenu/Providers/EMailProvider.php +++ b/lib/private/Contacts/ContactsMenu/Providers/EMailProvider.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Contacts\ContactsMenu\Providers; use OCP\Contacts\ContactsMenu\IActionFactory; diff --git a/lib/private/ContactsManager.php b/lib/private/ContactsManager.php index 4cdc3d48fffd1c041539c93b13919b5c37e88523..e702a4391538f16c1a0ea3da0813850142a28df5 100644 --- a/lib/private/ContactsManager.php +++ b/lib/private/ContactsManager.php @@ -4,7 +4,7 @@ * * @author Bart Visscher * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Thomas Müller * @author Tobia De Koninck @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC; use OCP\Constants; diff --git a/lib/private/DB/Adapter.php b/lib/private/DB/Adapter.php index 62514e7d83a17ecdcf383a52d1aa4f817a93be31..4d9b43d078789fa56ab8acf067acb7f4fbd2f108 100644 --- a/lib/private/DB/Adapter.php +++ b/lib/private/DB/Adapter.php @@ -10,7 +10,6 @@ * @author Ole Ostergaard * @author Ole Ostergaard * @author Robin Appelman - * @author Thomas Müller * * @license AGPL-3.0 * @@ -27,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\DB; use Doctrine\DBAL\Exception; diff --git a/lib/private/DB/AdapterMySQL.php b/lib/private/DB/AdapterMySQL.php index c925f9362f581ede7dd5bda2d9e3dfaeb3936b72..43da88b4b74bf7ad04733bcd408655e04296383b 100644 --- a/lib/private/DB/AdapterMySQL.php +++ b/lib/private/DB/AdapterMySQL.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Joas Schilling - * @author Morris Jobke * @author Robin Appelman * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\DB; class AdapterMySQL extends Adapter { diff --git a/lib/private/DB/AdapterOCI8.php b/lib/private/DB/AdapterOCI8.php index 553945691a69ab5af2882e4c372d9cc6df72edd6..d8e6fabe74545a1e2f5a35169718cbd1d1bc2b16 100644 --- a/lib/private/DB/AdapterOCI8.php +++ b/lib/private/DB/AdapterOCI8.php @@ -4,7 +4,6 @@ * * @author Bart Visscher * @author Christoph Wurst - * @author Morris Jobke * @author Robin Appelman * @author Thomas Müller * @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\DB; class AdapterOCI8 extends Adapter { diff --git a/lib/private/DB/AdapterPgSql.php b/lib/private/DB/AdapterPgSql.php index 0d8794d59aca95947c49e5de8842f1107019590c..1262fd4f1ab577f83d13884886bb1139ee18f75b 100644 --- a/lib/private/DB/AdapterPgSql.php +++ b/lib/private/DB/AdapterPgSql.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\DB; class AdapterPgSql extends Adapter { diff --git a/lib/private/DB/AdapterSqlite.php b/lib/private/DB/AdapterSqlite.php index a62960bae1a947345a4d368281cbaca25268e107..bed7194ac39ca60c4ce430c7479f04e61f6541d0 100644 --- a/lib/private/DB/AdapterSqlite.php +++ b/lib/private/DB/AdapterSqlite.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\DB; use Doctrine\DBAL\Exception\UniqueConstraintViolationException; diff --git a/lib/private/DB/Connection.php b/lib/private/DB/Connection.php index 941d8628ca0f83140d2069968704b8730123b40a..58d8d11470558282a090183d7c6bec4831261117 100644 --- a/lib/private/DB/Connection.php +++ b/lib/private/DB/Connection.php @@ -33,7 +33,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\DB; use Doctrine\Common\EventManager; diff --git a/lib/private/DB/ConnectionAdapter.php b/lib/private/DB/ConnectionAdapter.php index 62c013e4dcf2d7a29fb2e1d8bac3787e7e459d8d..b21bce490f465df852da1c9bab2716e59ec04cc7 100644 --- a/lib/private/DB/ConnectionAdapter.php +++ b/lib/private/DB/ConnectionAdapter.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OC\DB; use Doctrine\DBAL\Exception; diff --git a/lib/private/DB/ConnectionFactory.php b/lib/private/DB/ConnectionFactory.php index 441e4567dbd43fdc08b20a7bf1ebc6e54d0f6c0e..53e488b5f0925814b86afc93a0209a845d487626 100644 --- a/lib/private/DB/ConnectionFactory.php +++ b/lib/private/DB/ConnectionFactory.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\DB; use Doctrine\Common\EventManager; diff --git a/lib/private/DB/Exceptions/DbalException.php b/lib/private/DB/Exceptions/DbalException.php index bdb4d3147ae866371fae23becc5eb0c51f2d5ba5..ca0119a576cb19bcb785fcf97da3e6c01ada7fa5 100644 --- a/lib/private/DB/Exceptions/DbalException.php +++ b/lib/private/DB/Exceptions/DbalException.php @@ -2,10 +2,11 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst + * @author Daniel Kesselberg * * @license GNU AGPL version 3 or any later version * @@ -16,13 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OC\DB\Exceptions; use Doctrine\DBAL\ConnectionException; diff --git a/lib/private/DB/MigrationException.php b/lib/private/DB/MigrationException.php index 76d769e08be7827611c06ebbb77611aee3c4ac60..5b08ab9cac2c8bd494b1b5e393bc6830d9247520 100644 --- a/lib/private/DB/MigrationException.php +++ b/lib/private/DB/MigrationException.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Morris Jobke * @author Robin Appelman * * @license AGPL-3.0 @@ -20,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\DB; class MigrationException extends \Exception { diff --git a/lib/private/DB/MigrationService.php b/lib/private/DB/MigrationService.php index 44b6bfa28886e92fdd22c4f5952d9c9ff268d8b6..6ad74a5859168da6ecf82de808d4c1a957e578d1 100644 --- a/lib/private/DB/MigrationService.php +++ b/lib/private/DB/MigrationService.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\DB; use Doctrine\DBAL\Exception\DriverException; diff --git a/lib/private/DB/Migrator.php b/lib/private/DB/Migrator.php index d7bd9115c6fb3b551abbb84827a08f62b37aca54..9ca37d7180a5e2114a58e76e41500d4c343c5344 100644 --- a/lib/private/DB/Migrator.php +++ b/lib/private/DB/Migrator.php @@ -3,15 +3,12 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst + * @author Daniel Kesselberg * @author Joas Schilling - * @author martin-rueegg * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma - * @author tbelau666 * @author Thomas Müller - * @author Victor Dubiniuk - * @author Vincent Petry * * @license AGPL-3.0 * @@ -28,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\DB; use Doctrine\DBAL\Exception; diff --git a/lib/private/DB/MissingColumnInformation.php b/lib/private/DB/MissingColumnInformation.php index d1c81c2e199dada47fc8f610bb26028a9f79f7a5..f651546b4b374f7e7de615b62873fe7af0060aac 100644 --- a/lib/private/DB/MissingColumnInformation.php +++ b/lib/private/DB/MissingColumnInformation.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\DB; class MissingColumnInformation { diff --git a/lib/private/DB/MissingIndexInformation.php b/lib/private/DB/MissingIndexInformation.php index 04853dcac2daaaf35cd4d1792ab0771e7d59a964..74498668349d8ae911c007dde7de340083902162 100644 --- a/lib/private/DB/MissingIndexInformation.php +++ b/lib/private/DB/MissingIndexInformation.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\DB; class MissingIndexInformation { diff --git a/lib/private/DB/MissingPrimaryKeyInformation.php b/lib/private/DB/MissingPrimaryKeyInformation.php index 62b5dd2c631fa2fe2a016b7da1e29de6deb2aa19..f28c8cfb35215f86e621df070177671c1bfe7d0e 100644 --- a/lib/private/DB/MissingPrimaryKeyInformation.php +++ b/lib/private/DB/MissingPrimaryKeyInformation.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\DB; class MissingPrimaryKeyInformation { diff --git a/lib/private/DB/MySQLMigrator.php b/lib/private/DB/MySQLMigrator.php index 00c29d7a6f66e334f1ce1a452cceda1e8f28edd0..0f8cbb309f38ed744c08db4437bb15e11bc65263 100644 --- a/lib/private/DB/MySQLMigrator.php +++ b/lib/private/DB/MySQLMigrator.php @@ -2,11 +2,8 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Christoph Wurst - * @author Morris Jobke * @author Robin Appelman * @author Thomas Müller - * @author Victor Dubiniuk * * @license AGPL-3.0 * @@ -23,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\DB; use Doctrine\DBAL\Schema\Schema; diff --git a/lib/private/DB/MySqlTools.php b/lib/private/DB/MySqlTools.php index e738a2bd94a2111be932b2993216299a18dc0b07..a4bf728881fad56d612920002470532a44ab443b 100644 --- a/lib/private/DB/MySqlTools.php +++ b/lib/private/DB/MySqlTools.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\DB; use OCP\IDBConnection; diff --git a/lib/private/DB/OCSqlitePlatform.php b/lib/private/DB/OCSqlitePlatform.php index be33629e88538df0c6b08789b1dee8d9e9fa4bc9..059cb21fdaf3a474601e2a529f83ddd97c1b04dc 100644 --- a/lib/private/DB/OCSqlitePlatform.php +++ b/lib/private/DB/OCSqlitePlatform.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\DB; class OCSqlitePlatform extends \Doctrine\DBAL\Platforms\SqlitePlatform { diff --git a/lib/private/DB/OracleConnection.php b/lib/private/DB/OracleConnection.php index 8198f3bd5e5c876b39ea4ff4097b811039076c4b..b7e040965eef444592ddb26f85682bc6f4341c74 100644 --- a/lib/private/DB/OracleConnection.php +++ b/lib/private/DB/OracleConnection.php @@ -6,7 +6,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Lukas Reschke - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\DB; class OracleConnection extends Connection { diff --git a/lib/private/DB/OracleMigrator.php b/lib/private/DB/OracleMigrator.php index e1c0c79ef5122be3f16d504b47e8b8475cee5454..df331230f4726b466edca43847f8e6e323b0dcb2 100644 --- a/lib/private/DB/OracleMigrator.php +++ b/lib/private/DB/OracleMigrator.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Jörn Friedrich Dreyer - * @author Morris Jobke * @author Piotr Mrowczynski * @author Robin Appelman * @author Roeland Jago Douma @@ -27,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\DB; use Doctrine\DBAL\Exception; diff --git a/lib/private/DB/PgSqlTools.php b/lib/private/DB/PgSqlTools.php index d555bfb391b6c2c7ae38b55ef4279551b17815dc..a150e9475d3dd25667947ea54aa2996604ae0169 100644 --- a/lib/private/DB/PgSqlTools.php +++ b/lib/private/DB/PgSqlTools.php @@ -6,7 +6,6 @@ * @author Christoph Wurst * @author Morris Jobke * @author tbelau666 - * @author Thomas Müller * * @license AGPL-3.0 * @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\DB; use Doctrine\DBAL\Schema\AbstractAsset; diff --git a/lib/private/DB/PostgreSqlMigrator.php b/lib/private/DB/PostgreSqlMigrator.php index 0c3b7956f47edbf0b2284747a7c1ffc5f6335b11..73e295705dafb037e5b4cd1bea4327c5c8255428 100644 --- a/lib/private/DB/PostgreSqlMigrator.php +++ b/lib/private/DB/PostgreSqlMigrator.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\DB; use Doctrine\DBAL\Schema\Schema; diff --git a/lib/private/DB/PreparedStatement.php b/lib/private/DB/PreparedStatement.php index f679576a42867de80a321b7f1a9253e62c46ef4d..0debc762c872e3ccd71497ca4a18f8d0f8681650 100644 --- a/lib/private/DB/PreparedStatement.php +++ b/lib/private/DB/PreparedStatement.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OC\DB; use Doctrine\DBAL\Exception; diff --git a/lib/private/DB/QueryBuilder/CompositeExpression.php b/lib/private/DB/QueryBuilder/CompositeExpression.php index ae9e654d5bbe03e4cc582a39f3fb5b6bd37e8e23..0c958a96d68b82b9ef81fd196ac6eac1536095cd 100644 --- a/lib/private/DB/QueryBuilder/CompositeExpression.php +++ b/lib/private/DB/QueryBuilder/CompositeExpression.php @@ -2,8 +2,8 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Christoph Wurst * @author Joas Schilling + * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\DB\QueryBuilder; use OCP\DB\QueryBuilder\ICompositeExpression; diff --git a/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php b/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php index ebc7f9fb77bc051fa98e8eea5b7608b35f54d8b9..a837c1ad752ba026047412ac058baa14610afab2 100644 --- a/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php +++ b/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling * @author Robin Appelman @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\DB\QueryBuilder\ExpressionBuilder; use Doctrine\DBAL\Query\Expression\ExpressionBuilder as DoctrineExpressionBuilder; diff --git a/lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php b/lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php index 86f7cf4350875059dcb4a47f3df518e113e448b8..3a0f45bcde7573a94a9c7f1eba5dceb0751505cb 100644 --- a/lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php +++ b/lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php @@ -2,8 +2,10 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Christoph Wurst * @author Joas Schilling * @author Robin Appelman + * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -21,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\DB\QueryBuilder\ExpressionBuilder; use OC\DB\ConnectionAdapter; diff --git a/lib/private/DB/QueryBuilder/ExpressionBuilder/OCIExpressionBuilder.php b/lib/private/DB/QueryBuilder/ExpressionBuilder/OCIExpressionBuilder.php index 86212c577a7967e0fcc827263a5b78cd30a5822e..2a13562d00a1214973c671aedaf4fce482463ab7 100644 --- a/lib/private/DB/QueryBuilder/ExpressionBuilder/OCIExpressionBuilder.php +++ b/lib/private/DB/QueryBuilder/ExpressionBuilder/OCIExpressionBuilder.php @@ -4,6 +4,7 @@ * * @author Joas Schilling * @author Robin Appelman + * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -21,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\DB\QueryBuilder\ExpressionBuilder; use OC\DB\QueryBuilder\QueryFunction; diff --git a/lib/private/DB/QueryBuilder/ExpressionBuilder/PgSqlExpressionBuilder.php b/lib/private/DB/QueryBuilder/ExpressionBuilder/PgSqlExpressionBuilder.php index 3e8cdd698b488d2b66aa97bc6336da6b4228ba0a..5df2f407411498a645dc7c03a06106f6e41b1e2d 100644 --- a/lib/private/DB/QueryBuilder/ExpressionBuilder/PgSqlExpressionBuilder.php +++ b/lib/private/DB/QueryBuilder/ExpressionBuilder/PgSqlExpressionBuilder.php @@ -4,6 +4,7 @@ * * @author Joas Schilling * @author Robin Appelman + * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -21,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\DB\QueryBuilder\ExpressionBuilder; use OC\DB\QueryBuilder\QueryFunction; diff --git a/lib/private/DB/QueryBuilder/ExpressionBuilder/SqliteExpressionBuilder.php b/lib/private/DB/QueryBuilder/ExpressionBuilder/SqliteExpressionBuilder.php index 92f1d9ed3b618fcb0c2c734eb05c2eebe7c9f61f..289aa09b0039f2176063f7a499be5c47dd2dc438 100644 --- a/lib/private/DB/QueryBuilder/ExpressionBuilder/SqliteExpressionBuilder.php +++ b/lib/private/DB/QueryBuilder/ExpressionBuilder/SqliteExpressionBuilder.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2017 Robin Appelman * * @author Robin Appelman + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -13,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\DB\QueryBuilder\ExpressionBuilder; class SqliteExpressionBuilder extends ExpressionBuilder { diff --git a/lib/private/DB/QueryBuilder/FunctionBuilder/FunctionBuilder.php b/lib/private/DB/QueryBuilder/FunctionBuilder/FunctionBuilder.php index b8c54546b78902fbb0651c868a495a60f00ad708..dfc0d0a6d6129563555f1d839169e4897d607df6 100644 --- a/lib/private/DB/QueryBuilder/FunctionBuilder/FunctionBuilder.php +++ b/lib/private/DB/QueryBuilder/FunctionBuilder/FunctionBuilder.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\DB\QueryBuilder\FunctionBuilder; use OC\DB\QueryBuilder\QueryFunction; diff --git a/lib/private/DB/QueryBuilder/FunctionBuilder/OCIFunctionBuilder.php b/lib/private/DB/QueryBuilder/FunctionBuilder/OCIFunctionBuilder.php index c269fc03c8a4255dae2764c8bd53abb98f7a8578..5581207a166d427b66ad4c7fef7789508ff4ec76 100644 --- a/lib/private/DB/QueryBuilder/FunctionBuilder/OCIFunctionBuilder.php +++ b/lib/private/DB/QueryBuilder/FunctionBuilder/OCIFunctionBuilder.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\DB\QueryBuilder\FunctionBuilder; use OC\DB\QueryBuilder\QueryFunction; diff --git a/lib/private/DB/QueryBuilder/FunctionBuilder/PgSqlFunctionBuilder.php b/lib/private/DB/QueryBuilder/FunctionBuilder/PgSqlFunctionBuilder.php index a44b80bbaafc0e2a958c3ca6a397db068ea8df8e..853c65ac32a13a0b593b276fe861b3355d2b3732 100644 --- a/lib/private/DB/QueryBuilder/FunctionBuilder/PgSqlFunctionBuilder.php +++ b/lib/private/DB/QueryBuilder/FunctionBuilder/PgSqlFunctionBuilder.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\DB\QueryBuilder\FunctionBuilder; use OC\DB\QueryBuilder\QueryFunction; diff --git a/lib/private/DB/QueryBuilder/FunctionBuilder/SqliteFunctionBuilder.php b/lib/private/DB/QueryBuilder/FunctionBuilder/SqliteFunctionBuilder.php index 8e490c15a3c6323e2777642e6413ae7b2d5eaf10..19cff52546bcc7a6ebe5ee88b39e23ae1b9b766e 100644 --- a/lib/private/DB/QueryBuilder/FunctionBuilder/SqliteFunctionBuilder.php +++ b/lib/private/DB/QueryBuilder/FunctionBuilder/SqliteFunctionBuilder.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\DB\QueryBuilder\FunctionBuilder; use OC\DB\QueryBuilder\QueryFunction; diff --git a/lib/private/DB/QueryBuilder/Literal.php b/lib/private/DB/QueryBuilder/Literal.php index 02fd232ff0b49524b1c612c89dcd0f2e83c4bb92..b4e8a36b86fca5ac4cd2824283d06c21ccde79f8 100644 --- a/lib/private/DB/QueryBuilder/Literal.php +++ b/lib/private/DB/QueryBuilder/Literal.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\DB\QueryBuilder; use OCP\DB\QueryBuilder\ILiteral; diff --git a/lib/private/DB/QueryBuilder/Parameter.php b/lib/private/DB/QueryBuilder/Parameter.php index b64b0cf5fccde9e5a4685a73301a3df296960950..b6cfa844e01ac2ca05cc3af33007861c13975daf 100644 --- a/lib/private/DB/QueryBuilder/Parameter.php +++ b/lib/private/DB/QueryBuilder/Parameter.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\DB\QueryBuilder; use OCP\DB\QueryBuilder\IParameter; diff --git a/lib/private/DB/QueryBuilder/QueryBuilder.php b/lib/private/DB/QueryBuilder/QueryBuilder.php index ec2c3667fd636a9bed4d9e9a4dbb3820ed3ba57d..3b1c48306a67859cf873cafdd5020254cb791409 100644 --- a/lib/private/DB/QueryBuilder/QueryBuilder.php +++ b/lib/private/DB/QueryBuilder/QueryBuilder.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Arthur Schiwon * @author Christoph Wurst * @author Daniel Kesselberg * @author J0WI @@ -27,7 +28,6 @@ * along with this program. If not, see * */ - namespace OC\DB\QueryBuilder; use Doctrine\DBAL\Platforms\MySQLPlatform; diff --git a/lib/private/DB/QueryBuilder/QueryFunction.php b/lib/private/DB/QueryBuilder/QueryFunction.php index 60f2bf123834ed7d58910e341721abd8fe14b44d..41798f233cde9147f8bc8abdce4d181801ce3ff2 100644 --- a/lib/private/DB/QueryBuilder/QueryFunction.php +++ b/lib/private/DB/QueryBuilder/QueryFunction.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\DB\QueryBuilder; use OCP\DB\QueryBuilder\IQueryFunction; diff --git a/lib/private/DB/QueryBuilder/QuoteHelper.php b/lib/private/DB/QueryBuilder/QuoteHelper.php index b50ff554a689d38ae14234f107bfde54cda7f492..727bb923d9c0a1a8474623c4826cfda69e8c4744 100644 --- a/lib/private/DB/QueryBuilder/QuoteHelper.php +++ b/lib/private/DB/QueryBuilder/QuoteHelper.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\DB\QueryBuilder; use OCP\DB\QueryBuilder\ILiteral; diff --git a/lib/private/DB/ResultAdapter.php b/lib/private/DB/ResultAdapter.php index 176de5b45eafde6e03f4c094ec853261245e6718..989839a473d5ab9ecf06dc270487e9c86241bb3f 100644 --- a/lib/private/DB/ResultAdapter.php +++ b/lib/private/DB/ResultAdapter.php @@ -1,8 +1,11 @@ * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -13,15 +16,13 @@ * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - -declare(strict_types=1); - namespace OC\DB; use Doctrine\DBAL\Result; diff --git a/lib/private/DB/SQLiteMigrator.php b/lib/private/DB/SQLiteMigrator.php index 24b6c02b31cbd35898f09c06c4a65d42f3508a1b..76138fee54521d86fc1e8c7784e46354994de861 100644 --- a/lib/private/DB/SQLiteMigrator.php +++ b/lib/private/DB/SQLiteMigrator.php @@ -2,8 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Christoph Wurst - * @author Morris Jobke * @author Robin Appelman * @author Thomas Müller * @author Victor Dubiniuk @@ -23,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\DB; use Doctrine\DBAL\Schema\Schema; diff --git a/lib/private/DB/SQLiteSessionInit.php b/lib/private/DB/SQLiteSessionInit.php index 924a3b2758cf0ff30705ae636adbae7f9d54f87a..89f7e03c5f2da8ae6705b79ac6e6e73197dfbf1d 100644 --- a/lib/private/DB/SQLiteSessionInit.php +++ b/lib/private/DB/SQLiteSessionInit.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\DB; use Doctrine\Common\EventSubscriber; diff --git a/lib/private/DB/SchemaWrapper.php b/lib/private/DB/SchemaWrapper.php index 20ae5b6faa6b3d7e039d2f92e80769e2d9f59279..e5f4656c9bedac0a222ce91d9cd083be4c071100 100644 --- a/lib/private/DB/SchemaWrapper.php +++ b/lib/private/DB/SchemaWrapper.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\DB; use Doctrine\DBAL\Schema\Schema; diff --git a/lib/private/DB/SetTransactionIsolationLevel.php b/lib/private/DB/SetTransactionIsolationLevel.php index eb15bf11fbee1021edaf3ebc9b56cc4240de1c58..b067edde441dbb50cb29286ac04514f8136605ef 100644 --- a/lib/private/DB/SetTransactionIsolationLevel.php +++ b/lib/private/DB/SetTransactionIsolationLevel.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\DB; use Doctrine\Common\EventSubscriber; diff --git a/lib/private/Dashboard/DashboardManager.php b/lib/private/Dashboard/DashboardManager.php index 4501e3cc544230c07742820943b5ebe8ada10db5..abeb74eef30b68d6b31b919df0f92fefe28164a4 100644 --- a/lib/private/Dashboard/DashboardManager.php +++ b/lib/private/Dashboard/DashboardManager.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Dashboard; use OCP\Dashboard\Exceptions\DashboardAppNotAvailableException; diff --git a/lib/private/Dashboard/Manager.php b/lib/private/Dashboard/Manager.php index 9f703bb14adb47c5dee01662a9ad02a334b8ace5..a77c389cdebb2fa5c80b81f1290b5035b7fd89fe 100644 --- a/lib/private/Dashboard/Manager.php +++ b/lib/private/Dashboard/Manager.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Dashboard; use InvalidArgumentException; diff --git a/lib/private/DatabaseException.php b/lib/private/DatabaseException.php index 6338bd16cc8c39d1d98a28a03ec0607b1f50340b..88287003af98ed37dcd4e78f0db056aae9899e89 100644 --- a/lib/private/DatabaseException.php +++ b/lib/private/DatabaseException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC; class DatabaseException extends \Exception { diff --git a/lib/private/DatabaseSetupException.php b/lib/private/DatabaseSetupException.php index 2fefb9209947b659ff2ece18e51eb6c5d04e7b37..b1b4956db41f149745be5c99f33369aea2ded4db 100644 --- a/lib/private/DatabaseSetupException.php +++ b/lib/private/DatabaseSetupException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC; class DatabaseSetupException extends HintException { diff --git a/lib/private/DateTimeFormatter.php b/lib/private/DateTimeFormatter.php index 45a1cbdb8f22fa827aac945d9df2299afaac9904..1c8b4f6d3abb958e58a53afb68e45b91b1fad8a3 100644 --- a/lib/private/DateTimeFormatter.php +++ b/lib/private/DateTimeFormatter.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC; class DateTimeFormatter implements \OCP\IDateTimeFormatter { diff --git a/lib/private/DateTimeZone.php b/lib/private/DateTimeZone.php index 7bb4a861b15b1ae2e65e5a9c2550201f32f38806..49e255c75c8c14dd27a6e63ff6ecf8b7b6cc5fc0 100644 --- a/lib/private/DateTimeZone.php +++ b/lib/private/DateTimeZone.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC; use OCP\IConfig; diff --git a/lib/private/Diagnostics/Event.php b/lib/private/Diagnostics/Event.php index 97da22b12a3ccb1dbdb6db5700758b1d94938179..95b737155dc377215d9e56afed6cc000d78bffec 100644 --- a/lib/private/Diagnostics/Event.php +++ b/lib/private/Diagnostics/Event.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Diagnostics; use OCP\Diagnostics\IEvent; diff --git a/lib/private/Diagnostics/EventLogger.php b/lib/private/Diagnostics/EventLogger.php index 115a8ebba923a40470cea5dd6e2778738870accc..4f3343ec625ae651ecf03be03a126a9344cdc0e4 100644 --- a/lib/private/Diagnostics/EventLogger.php +++ b/lib/private/Diagnostics/EventLogger.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Diagnostics; use OCP\Diagnostics\IEventLogger; diff --git a/lib/private/Diagnostics/Query.php b/lib/private/Diagnostics/Query.php index a5fb32e0d90a9a413f8d4dc6dfd56db630cd6f73..6a26e57be0e3152ef624c9b602fe24495880af7d 100644 --- a/lib/private/Diagnostics/Query.php +++ b/lib/private/Diagnostics/Query.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Diagnostics; use OCP\Diagnostics\IQuery; diff --git a/lib/private/Diagnostics/QueryLogger.php b/lib/private/Diagnostics/QueryLogger.php index 6093603a57603215ebd724fd50f76eb9156f7a03..499947178a31f77fd7f3ff73ae221aacff05ba70 100644 --- a/lib/private/Diagnostics/QueryLogger.php +++ b/lib/private/Diagnostics/QueryLogger.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Diagnostics; use OC\Cache\CappedMemoryCache; diff --git a/lib/private/DirectEditing/Manager.php b/lib/private/DirectEditing/Manager.php index 1ea09e74d5943ebb79f4b383ccbacc358d7f970d..543f1e5adb7da910d0474d1f6dd8adcb7b52c3b0 100644 --- a/lib/private/DirectEditing/Manager.php +++ b/lib/private/DirectEditing/Manager.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\DirectEditing; use Doctrine\DBAL\FetchMode; diff --git a/lib/private/DirectEditing/Token.php b/lib/private/DirectEditing/Token.php index eb98f3c712325d6233f91d6d5393d4b059a0449c..5f98ef51386fe06229059d1c55f9dbb0bd2bc50c 100644 --- a/lib/private/DirectEditing/Token.php +++ b/lib/private/DirectEditing/Token.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\DirectEditing; use OCP\DirectEditing\IToken; diff --git a/lib/private/Encryption/DecryptAll.php b/lib/private/Encryption/DecryptAll.php index fa913d3655b8022335484cbc30fd0bcd7accc606..6d604e38d4b2943195c8687ce0e519a1330b3852 100644 --- a/lib/private/Encryption/DecryptAll.php +++ b/lib/private/Encryption/DecryptAll.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption; use OC\Encryption\Exceptions\DecryptionFailedException; diff --git a/lib/private/Encryption/EncryptionWrapper.php b/lib/private/Encryption/EncryptionWrapper.php index 596b90e7872c2c70545c425e9d8e9b35e1f92dc8..e3dc539dd0019508e0dda4ecf7e1d5bd229ba1d9 100644 --- a/lib/private/Encryption/EncryptionWrapper.php +++ b/lib/private/Encryption/EncryptionWrapper.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Björn Schießle + * @author Julius Härtl * @author Robin Appelman * @author Roeland Jago Douma * @@ -21,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption; use OC\Files\Filesystem; diff --git a/lib/private/Encryption/Exceptions/DecryptionFailedException.php b/lib/private/Encryption/Exceptions/DecryptionFailedException.php index 048732d62a98aa738028cb05924a86cfd5658093..c67edabd0ce21d101f8591a7a368363e1a84cde7 100644 --- a/lib/private/Encryption/Exceptions/DecryptionFailedException.php +++ b/lib/private/Encryption/Exceptions/DecryptionFailedException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/lib/private/Encryption/Exceptions/EmptyEncryptionDataException.php b/lib/private/Encryption/Exceptions/EmptyEncryptionDataException.php index a421914dcb271e63df2be6a3f6282ee0a8f871f5..9a86d876d6a26be056b44208221af39591f93c13 100644 --- a/lib/private/Encryption/Exceptions/EmptyEncryptionDataException.php +++ b/lib/private/Encryption/Exceptions/EmptyEncryptionDataException.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/lib/private/Encryption/Exceptions/EncryptionFailedException.php b/lib/private/Encryption/Exceptions/EncryptionFailedException.php index 405e2d5bb239e7c72be8f88eaca05dc82a766b5e..8797df51e8e96e72dde3836577e30d8ec4e75cd5 100644 --- a/lib/private/Encryption/Exceptions/EncryptionFailedException.php +++ b/lib/private/Encryption/Exceptions/EncryptionFailedException.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/lib/private/Encryption/Exceptions/EncryptionHeaderKeyExistsException.php b/lib/private/Encryption/Exceptions/EncryptionHeaderKeyExistsException.php index bb55e298ffa86bfe26acacc259faf37d5f0df2f0..7c9e70b4958ba6d972f917e526c837e090a71608 100644 --- a/lib/private/Encryption/Exceptions/EncryptionHeaderKeyExistsException.php +++ b/lib/private/Encryption/Exceptions/EncryptionHeaderKeyExistsException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/lib/private/Encryption/Exceptions/EncryptionHeaderToLargeException.php b/lib/private/Encryption/Exceptions/EncryptionHeaderToLargeException.php index c44ea9d7db0ea029dd2eecd99f8f4e4ffe3650e0..45d70dd5f8fb800743591f65f9b620d36ca936ed 100644 --- a/lib/private/Encryption/Exceptions/EncryptionHeaderToLargeException.php +++ b/lib/private/Encryption/Exceptions/EncryptionHeaderToLargeException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/lib/private/Encryption/Exceptions/ModuleAlreadyExistsException.php b/lib/private/Encryption/Exceptions/ModuleAlreadyExistsException.php index 824dce480075da1547038384cffc1fe27c11c8a3..64b34e1b883b39382f0e3675cdfb79dc58d6a01c 100644 --- a/lib/private/Encryption/Exceptions/ModuleAlreadyExistsException.php +++ b/lib/private/Encryption/Exceptions/ModuleAlreadyExistsException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/lib/private/Encryption/Exceptions/ModuleDoesNotExistsException.php b/lib/private/Encryption/Exceptions/ModuleDoesNotExistsException.php index 24192e6e8d6c6b1667fba1b21379e37b81c856b0..e0ce861643270ca611b1e072c61292ab60e852c3 100644 --- a/lib/private/Encryption/Exceptions/ModuleDoesNotExistsException.php +++ b/lib/private/Encryption/Exceptions/ModuleDoesNotExistsException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/lib/private/Encryption/Exceptions/UnknownCipherException.php b/lib/private/Encryption/Exceptions/UnknownCipherException.php index 7a8bd76d936de9b9fbc487b923733f82898a69de..fbb923ce521eae97cb69106efe4de793e6a96c4c 100644 --- a/lib/private/Encryption/Exceptions/UnknownCipherException.php +++ b/lib/private/Encryption/Exceptions/UnknownCipherException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/lib/private/Encryption/File.php b/lib/private/Encryption/File.php index d4832d7caa253e3ef1ba650f8870b23595acd2cf..76d8900a40eb1fbeddac4283d46bd6bc050d1e77 100644 --- a/lib/private/Encryption/File.php +++ b/lib/private/Encryption/File.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption; use OC\Cache\CappedMemoryCache; diff --git a/lib/private/Encryption/HookManager.php b/lib/private/Encryption/HookManager.php index 16d45556b2f6891ce13fd0f87335fee3e0121f3c..a2d6b990a88a0bf2316d5872044b91814a709048 100644 --- a/lib/private/Encryption/HookManager.php +++ b/lib/private/Encryption/HookManager.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Björn Schießle + * @author Julius Härtl * @author Thomas Müller * * @license AGPL-3.0 @@ -20,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption; use OC\Files\Filesystem; diff --git a/lib/private/Encryption/Keys/Storage.php b/lib/private/Encryption/Keys/Storage.php index 6d43813b0f122053c09fa5ec0909cc5d377091ee..a3772af5878e092195f2756a863eea2ed4a74a10 100644 --- a/lib/private/Encryption/Keys/Storage.php +++ b/lib/private/Encryption/Keys/Storage.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption\Keys; use OC\Encryption\Util; diff --git a/lib/private/Encryption/Manager.php b/lib/private/Encryption/Manager.php index f160a16a995ffe3852b78d9026e0e78284a2dbc2..20ac9b41bfdecfd81b6bf7db33a39f5d9963cfff 100644 --- a/lib/private/Encryption/Manager.php +++ b/lib/private/Encryption/Manager.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption; use OC\Encryption\Keys\Storage; diff --git a/lib/private/Encryption/Update.php b/lib/private/Encryption/Update.php index 2b8bfe383191790d36828ad4104a13ca2860159e..9996d6e077c9621f9662e795edecf396697a73de 100644 --- a/lib/private/Encryption/Update.php +++ b/lib/private/Encryption/Update.php @@ -5,6 +5,7 @@ * @author Bjoern Schiessle * @author Björn Schießle * @author Christoph Wurst + * @author Julius Härtl * @author Roeland Jago Douma * @author Thomas Müller * @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption; use InvalidArgumentException; diff --git a/lib/private/Encryption/Util.php b/lib/private/Encryption/Util.php index f5107d2ec435457fc8655a1680ac15ed20627bfd..e1f03e2fff19d6db28bd0b9d87278e36d419fb24 100644 --- a/lib/private/Encryption/Util.php +++ b/lib/private/Encryption/Util.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Encryption; use OC\Encryption\Exceptions\EncryptionHeaderKeyExistsException; diff --git a/lib/private/EventDispatcher/EventDispatcher.php b/lib/private/EventDispatcher/EventDispatcher.php index 4e1fba67663f5ddd05cae431dbe8dbc99404443a..7de1f68d8d77dd236226b454eb2ae97c513ea9c4 100644 --- a/lib/private/EventDispatcher/EventDispatcher.php +++ b/lib/private/EventDispatcher/EventDispatcher.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\EventDispatcher; use Psr\Log\LoggerInterface; diff --git a/lib/private/EventDispatcher/GenericEventWrapper.php b/lib/private/EventDispatcher/GenericEventWrapper.php index 1935c675812d0dfcd36e35115ec7d1d00f337637..55e23d2ff7fa714581ed395354df827451b9270f 100644 --- a/lib/private/EventDispatcher/GenericEventWrapper.php +++ b/lib/private/EventDispatcher/GenericEventWrapper.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\EventDispatcher; use OCP\ILogger; diff --git a/lib/private/EventDispatcher/ServiceEventListener.php b/lib/private/EventDispatcher/ServiceEventListener.php index 301531f89316bbdad6478b262c17764811d0dfdc..045d7391ac1bde0b402e2c60c0f9733dd0478f96 100644 --- a/lib/private/EventDispatcher/ServiceEventListener.php +++ b/lib/private/EventDispatcher/ServiceEventListener.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\EventDispatcher; use OCP\AppFramework\QueryException; diff --git a/lib/private/EventDispatcher/SymfonyAdapter.php b/lib/private/EventDispatcher/SymfonyAdapter.php index 39985cb112cf63f2238ea8e11dffd1d957500223..6cd636afc55dded55a2dc92e30de9050186b0fd3 100644 --- a/lib/private/EventDispatcher/SymfonyAdapter.php +++ b/lib/private/EventDispatcher/SymfonyAdapter.php @@ -7,7 +7,6 @@ declare(strict_types=1); * * @author Arthur Schiwon * @author Christoph Wurst - * @author Joas Schilling * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -19,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\EventDispatcher; use Symfony\Component\EventDispatcher\GenericEvent; diff --git a/lib/private/Federation/CloudFederationFactory.php b/lib/private/Federation/CloudFederationFactory.php index f1bae28523464bc288f4c94036376b2572ec2f8a..010ffdafe47f497d16900c9f137a0b6e8f32713d 100644 --- a/lib/private/Federation/CloudFederationFactory.php +++ b/lib/private/Federation/CloudFederationFactory.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Federation; use OCP\Federation\ICloudFederationFactory; diff --git a/lib/private/Federation/CloudFederationNotification.php b/lib/private/Federation/CloudFederationNotification.php index ad1d689dcd04d94760337b2dba8088300bfb420e..aa1c3dc9e657f1ad53a911f960b183b829020049 100644 --- a/lib/private/Federation/CloudFederationNotification.php +++ b/lib/private/Federation/CloudFederationNotification.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Federation; use OCP\Federation\ICloudFederationNotification; diff --git a/lib/private/Federation/CloudFederationProviderManager.php b/lib/private/Federation/CloudFederationProviderManager.php index 597227533f942bdf98aff93e0ea5702cac335bf2..206b0ae5635cb2ce8d67292ee770fa50f1c8a25c 100644 --- a/lib/private/Federation/CloudFederationProviderManager.php +++ b/lib/private/Federation/CloudFederationProviderManager.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Federation; use OC\AppFramework\Http; diff --git a/lib/private/Federation/CloudFederationShare.php b/lib/private/Federation/CloudFederationShare.php index 52acee5a24edbd3f85f81a76b33bea4acced66dc..0f79ba521eab65f09e3dee03c143892f985411b7 100644 --- a/lib/private/Federation/CloudFederationShare.php +++ b/lib/private/Federation/CloudFederationShare.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Federation; use OCP\Federation\ICloudFederationShare; diff --git a/lib/private/Federation/CloudId.php b/lib/private/Federation/CloudId.php index 27a222c0583f380b4d883f054cfeeaa578287a48..50e974831a6fea1cc29e53822a73445e77b710f0 100644 --- a/lib/private/Federation/CloudId.php +++ b/lib/private/Federation/CloudId.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Federation; use OCP\Federation\ICloudId; diff --git a/lib/private/Federation/CloudIdManager.php b/lib/private/Federation/CloudIdManager.php index 0671a0bfa02298d66f4ffabd543e9e16a689728a..694f48eb1cc90f7b8e5b7b1d91b0f8f0e081a71d 100644 --- a/lib/private/Federation/CloudIdManager.php +++ b/lib/private/Federation/CloudIdManager.php @@ -21,14 +21,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Federation; use OCP\Contacts\IManager; diff --git a/lib/private/Files/AppData/AppData.php b/lib/private/Files/AppData/AppData.php index 5f917afe2077a1e506d9653dcc3b92877fe1a2a1..df72978a1422324244ae735ee3f20972d0dd963e 100644 --- a/lib/private/Files/AppData/AppData.php +++ b/lib/private/Files/AppData/AppData.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\AppData; use OC\Cache\CappedMemoryCache; diff --git a/lib/private/Files/AppData/Factory.php b/lib/private/Files/AppData/Factory.php index 4801b241c0b1c812a2ee3295a2ce8b2cfe22a532..6d7483158f6df310c4c5a9ef5703f5e6b5562012 100644 --- a/lib/private/Files/AppData/Factory.php +++ b/lib/private/Files/AppData/Factory.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\AppData; use OC\SystemConfig; diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php index b851076e2c16412fd2ebd15ac9f63bafbd76fd4c..0e677e8a5b9b3ec298df11e159374bfaa5be7779 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -12,6 +12,7 @@ * @author Frédéric Fortier * @author Jens-Christian Fischer * @author Joas Schilling + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Lukas Reschke * @author Michael Gapczynski @@ -36,7 +37,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Cache; use Doctrine\DBAL\Exception\UniqueConstraintViolationException; diff --git a/lib/private/Files/Cache/CacheEntry.php b/lib/private/Files/Cache/CacheEntry.php index a9d2a1acbf014baf268b9a9f0a6a01c0c3f552c7..bdefddab00ab7a92d8587eb2e0f242bd79fad9e0 100644 --- a/lib/private/Files/Cache/CacheEntry.php +++ b/lib/private/Files/Cache/CacheEntry.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Cache; use OCP\Files\Cache\ICacheEntry; diff --git a/lib/private/Files/Cache/CacheQueryBuilder.php b/lib/private/Files/Cache/CacheQueryBuilder.php index ac17cfaffb2343de5cc332646bd3cdbe25b71826..1fd5119f3ff46425fd8bd0870df81553196b3af6 100644 --- a/lib/private/Files/Cache/CacheQueryBuilder.php +++ b/lib/private/Files/Cache/CacheQueryBuilder.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Cache; use OC\DB\QueryBuilder\QueryBuilder; diff --git a/lib/private/Files/Cache/FailedCache.php b/lib/private/Files/Cache/FailedCache.php index d9315ec50d506112e0ec475b21ae2ad52213527b..0195958554793cd5413004b7bd55f7609a93897f 100644 --- a/lib/private/Files/Cache/FailedCache.php +++ b/lib/private/Files/Cache/FailedCache.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Cache; use OCP\Constants; diff --git a/lib/private/Files/Cache/HomeCache.php b/lib/private/Files/Cache/HomeCache.php index d2e8a1f301f16628f2b9b38cb27a1a7586ef84bd..6b6b94c3f20340c9201525820f7f127a914fa344 100644 --- a/lib/private/Files/Cache/HomeCache.php +++ b/lib/private/Files/Cache/HomeCache.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Cache; use OCP\Files\Cache\ICacheEntry; diff --git a/lib/private/Files/Cache/HomePropagator.php b/lib/private/Files/Cache/HomePropagator.php index 87e5018f9ab04b57701267f405671cccaab4db56..6dba09d756b87a7de664175790de758182d71d68 100644 --- a/lib/private/Files/Cache/HomePropagator.php +++ b/lib/private/Files/Cache/HomePropagator.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Cache; use OCP\IDBConnection; diff --git a/lib/private/Files/Cache/LocalRootScanner.php b/lib/private/Files/Cache/LocalRootScanner.php index a10f51150e1a81633af9bb304e1e569ac4081cf2..0b6bc497ea36d4fdd030aa19789f2b9cceb1add3 100644 --- a/lib/private/Files/Cache/LocalRootScanner.php +++ b/lib/private/Files/Cache/LocalRootScanner.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Cache; class LocalRootScanner extends Scanner { diff --git a/lib/private/Files/Cache/MoveFromCacheTrait.php b/lib/private/Files/Cache/MoveFromCacheTrait.php index 2f5bbfb7eeaaac426252429683a56947b0b7bc97..77cd7ea6d8ccc86ece07477d884d479bdf66d90b 100644 --- a/lib/private/Files/Cache/MoveFromCacheTrait.php +++ b/lib/private/Files/Cache/MoveFromCacheTrait.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Robin Appelman - * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -20,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Cache; use OCP\Files\Cache\ICache; diff --git a/lib/private/Files/Cache/NullWatcher.php b/lib/private/Files/Cache/NullWatcher.php index 146961d1c51d536c0ed758b55ea034c84561b0e2..2e83c1006bb502f5177a71cb426460820731ee76 100644 --- a/lib/private/Files/Cache/NullWatcher.php +++ b/lib/private/Files/Cache/NullWatcher.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Cache; class NullWatcher extends Watcher { diff --git a/lib/private/Files/Cache/Propagator.php b/lib/private/Files/Cache/Propagator.php index cdbe8b60175a7b36814717d897f36297664c5fa1..f8b2548a747de8f1077399b8559d41547090812a 100644 --- a/lib/private/Files/Cache/Propagator.php +++ b/lib/private/Files/Cache/Propagator.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Cache; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/private/Files/Cache/QuerySearchHelper.php b/lib/private/Files/Cache/QuerySearchHelper.php index fc4b582cbce7ed3bd43c073218ec578eab2cb2b0..fe0f1aae083b7080b78459819785f18495b61469 100644 --- a/lib/private/Files/Cache/QuerySearchHelper.php +++ b/lib/private/Files/Cache/QuerySearchHelper.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Cache; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/private/Files/Cache/Scanner.php b/lib/private/Files/Cache/Scanner.php index 7bb0341e20105d1ba49b947e03cdedc673dd3bf2..8baab8746fcf5366347288a78720005b00e78658 100644 --- a/lib/private/Files/Cache/Scanner.php +++ b/lib/private/Files/Cache/Scanner.php @@ -33,7 +33,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Cache; use Doctrine\DBAL\Exception; diff --git a/lib/private/Files/Cache/Storage.php b/lib/private/Files/Cache/Storage.php index 48313c96560ed54cd27f6653142bf0cd9ff1c17c..33785607ef767d7b7e4253eec97434b27f7c89d4 100644 --- a/lib/private/Files/Cache/Storage.php +++ b/lib/private/Files/Cache/Storage.php @@ -8,6 +8,7 @@ * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell + * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry * @@ -26,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Cache; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/private/Files/Cache/StorageGlobal.php b/lib/private/Files/Cache/StorageGlobal.php index 23d6035084de0e8a506b58291509cc96a91d0100..7162f8e49082a97d7bb68e7a312222f7fae16660 100644 --- a/lib/private/Files/Cache/StorageGlobal.php +++ b/lib/private/Files/Cache/StorageGlobal.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Cache; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/private/Files/Cache/Updater.php b/lib/private/Files/Cache/Updater.php index 04179ba0aafe0e214f9d9280f4013a172144dc61..98fb51fe2643874ba92a5f147b4c0367e452a011 100644 --- a/lib/private/Files/Cache/Updater.php +++ b/lib/private/Files/Cache/Updater.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Cache; use OC\Files\FileInfo; diff --git a/lib/private/Files/Cache/Watcher.php b/lib/private/Files/Cache/Watcher.php index 19e17e6095986be84c2673209c422dc837f440c7..1c1ce6d777bb27758f848fac46bb8d9314f74283 100644 --- a/lib/private/Files/Cache/Watcher.php +++ b/lib/private/Files/Cache/Watcher.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Cache; use OCP\Files\Cache\ICacheEntry; diff --git a/lib/private/Files/Cache/Wrapper/CacheJail.php b/lib/private/Files/Cache/Wrapper/CacheJail.php index 0d8b776fa30db08f1160db31ce71f8cc9a1275db..9b88591e1d100608453e287dd9b62835b6a2af0f 100644 --- a/lib/private/Files/Cache/Wrapper/CacheJail.php +++ b/lib/private/Files/Cache/Wrapper/CacheJail.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Cache\Wrapper; use OC\Files\Cache\Cache; diff --git a/lib/private/Files/Cache/Wrapper/CachePermissionsMask.php b/lib/private/Files/Cache/Wrapper/CachePermissionsMask.php index 706f5d832f4a01215e3a5bcf5c60e73b3c5fbf30..cbf16a909ff73a0d391183713f2d0d895ceafd0d 100644 --- a/lib/private/Files/Cache/Wrapper/CachePermissionsMask.php +++ b/lib/private/Files/Cache/Wrapper/CachePermissionsMask.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Cache\Wrapper; class CachePermissionsMask extends CacheWrapper { diff --git a/lib/private/Files/Cache/Wrapper/CacheWrapper.php b/lib/private/Files/Cache/Wrapper/CacheWrapper.php index cac6cfed87e0e009f781875918d458fdbc9859fa..01fbdd3bf42c5dc533f6c8db5935ca9fd3d89373 100644 --- a/lib/private/Files/Cache/Wrapper/CacheWrapper.php +++ b/lib/private/Files/Cache/Wrapper/CacheWrapper.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Cache\Wrapper; use OC\Files\Cache\Cache; diff --git a/lib/private/Files/Cache/Wrapper/JailPropagator.php b/lib/private/Files/Cache/Wrapper/JailPropagator.php index d18de7c2d1d65fe74cf29b55c7077a6c7d51255d..25e53ded39d720d5ab7ed88f78ef8a8b33531153 100644 --- a/lib/private/Files/Cache/Wrapper/JailPropagator.php +++ b/lib/private/Files/Cache/Wrapper/JailPropagator.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2017 Robin Appelman * * @author Robin Appelman - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -14,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Cache\Wrapper; use OC\Files\Cache\Propagator; diff --git a/lib/private/Files/Config/CachedMountFileInfo.php b/lib/private/Files/Config/CachedMountFileInfo.php index 7bae52bb65d1a0cd4642401209ab3dfdb6e51837..a179b9aef8bc87bd813341a2f1fa95186f9ab569 100644 --- a/lib/private/Files/Config/CachedMountFileInfo.php +++ b/lib/private/Files/Config/CachedMountFileInfo.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Config; use OCP\Files\Config\ICachedMountFileInfo; diff --git a/lib/private/Files/Config/CachedMountInfo.php b/lib/private/Files/Config/CachedMountInfo.php index 38919020ee41149af9e45d5d49f9f1a191938e92..e7e10cfe2af7d9da52c74c26c1b271210628c43c 100644 --- a/lib/private/Files/Config/CachedMountInfo.php +++ b/lib/private/Files/Config/CachedMountInfo.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Config; use OC\Files\Filesystem; diff --git a/lib/private/Files/Config/LazyStorageMountInfo.php b/lib/private/Files/Config/LazyStorageMountInfo.php index 8d183d44e8479c3e245b7be805591558039e0e37..bfd632c5f6e88f40a6857c0d5326443ce36e4ba6 100644 --- a/lib/private/Files/Config/LazyStorageMountInfo.php +++ b/lib/private/Files/Config/LazyStorageMountInfo.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Config; use OCP\Files\Mount\IMountPoint; diff --git a/lib/private/Files/Config/MountProviderCollection.php b/lib/private/Files/Config/MountProviderCollection.php index 3900e9870bdf520a090a8bcd37874186e890f2fe..ba70e29ab8dca45d47d34d210d5523ebd5e920bf 100644 --- a/lib/private/Files/Config/MountProviderCollection.php +++ b/lib/private/Files/Config/MountProviderCollection.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Config; use OC\Hooks\Emitter; diff --git a/lib/private/Files/Config/UserMountCache.php b/lib/private/Files/Config/UserMountCache.php index 29d3256d61bbb16c7a0348ee7f037bf8542ba269..71eb918a58c356cd0e7778946a5174e318552d86 100644 --- a/lib/private/Files/Config/UserMountCache.php +++ b/lib/private/Files/Config/UserMountCache.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Config; use OC\Cache\CappedMemoryCache; diff --git a/lib/private/Files/Config/UserMountCacheListener.php b/lib/private/Files/Config/UserMountCacheListener.php index bacd5728957fe2f449137f1681c811bb2784cd38..eef91a03853633ad6ee192e21bfeea92013e48f5 100644 --- a/lib/private/Files/Config/UserMountCacheListener.php +++ b/lib/private/Files/Config/UserMountCacheListener.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Config; use OC\User\Manager; diff --git a/lib/private/Files/FileInfo.php b/lib/private/Files/FileInfo.php index d4cc6ffe4b2a35a03778a8eb19c73d4b6d310049..8a8de6e4c19bc9871cc066f4279213f80df74390 100644 --- a/lib/private/Files/FileInfo.php +++ b/lib/private/Files/FileInfo.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OC\Files; use OCP\Files\Cache\ICacheEntry; diff --git a/lib/private/Files/Filesystem.php b/lib/private/Files/Filesystem.php index fade3b69fbb1e86dddeffa78387a0949535c6d27..0b7e96bbba374c027444eb325eaa82ba88735d6c 100644 --- a/lib/private/Files/Filesystem.php +++ b/lib/private/Files/Filesystem.php @@ -35,29 +35,6 @@ * along with this program. If not, see * */ - -/** - * Class for abstraction of filesystem functions - * This class won't call any filesystem functions for itself but will pass them to the correct OC_Filestorage object - * this class should also handle all the file permission related stuff - * - * Hooks provided: - * read(path) - * write(path, &run) - * post_write(path) - * create(path, &run) (when a file is created, both create and write will be emitted in that order) - * post_create(path) - * delete(path, &run) - * post_delete(path) - * rename(oldpath,newpath, &run) - * post_rename(oldpath,newpath) - * copy(oldpath,newpath, &run) (if the newpath doesn't exists yes, copy, create and write will be emitted in that order) - * post_rename(oldpath,newpath) - * post_initMountPoints(user, user_dir) - * - * the &run parameter can be set to false to prevent the operation from occurring - */ - namespace OC\Files; use OC\Cache\CappedMemoryCache; diff --git a/lib/private/Files/Mount/CacheMountProvider.php b/lib/private/Files/Mount/CacheMountProvider.php index 8e632642a7583a3b9ddb48ee7ee241140592d0e7..16ecefb0dac412497e4f1f082e3c10d22aa1ab84 100644 --- a/lib/private/Files/Mount/CacheMountProvider.php +++ b/lib/private/Files/Mount/CacheMountProvider.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Mount; use OCP\Files\Config\IMountProvider; diff --git a/lib/private/Files/Mount/LocalHomeMountProvider.php b/lib/private/Files/Mount/LocalHomeMountProvider.php index 68c69cc8cdc2fdf91aa56862a782558371bb708d..c7b2296c4a824616b0bdf038f2a1ddefe1c3c61f 100644 --- a/lib/private/Files/Mount/LocalHomeMountProvider.php +++ b/lib/private/Files/Mount/LocalHomeMountProvider.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Mount; use OCP\Files\Config\IHomeMountProvider; diff --git a/lib/private/Files/Mount/Manager.php b/lib/private/Files/Mount/Manager.php index f3fa77a394c45288866a0b3044b5d4ddb735ca45..d9abab8997ad622bb37e7cc6c5e1e4690f7f207f 100644 --- a/lib/private/Files/Mount/Manager.php +++ b/lib/private/Files/Mount/Manager.php @@ -26,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Files\Mount; use OC\Cache\CappedMemoryCache; diff --git a/lib/private/Files/Mount/MountPoint.php b/lib/private/Files/Mount/MountPoint.php index 891bbc41c36806f9b00bd656f7c33466b961ad5b..886c137bbcc03433291eaee163f915472a5ecd7b 100644 --- a/lib/private/Files/Mount/MountPoint.php +++ b/lib/private/Files/Mount/MountPoint.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Mount; use OC\Files\Filesystem; diff --git a/lib/private/Files/Mount/MoveableMount.php b/lib/private/Files/Mount/MoveableMount.php index 2c9cfc91dad51b7c3dfa849c65accdcaa23a4789..7ebb7fa2c8727ab5ad00a7789cb8fbb70541b591 100644 --- a/lib/private/Files/Mount/MoveableMount.php +++ b/lib/private/Files/Mount/MoveableMount.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Mount; /** diff --git a/lib/private/Files/Mount/ObjectHomeMountProvider.php b/lib/private/Files/Mount/ObjectHomeMountProvider.php index 9b243d7f8f2fffad96743d4e346469d03e44169c..441f7a2957e664ade273b436e654943b995713ba 100644 --- a/lib/private/Files/Mount/ObjectHomeMountProvider.php +++ b/lib/private/Files/Mount/ObjectHomeMountProvider.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Mount; use OCP\Files\Config\IHomeMountProvider; diff --git a/lib/private/Files/Mount/ObjectStorePreviewCacheMountProvider.php b/lib/private/Files/Mount/ObjectStorePreviewCacheMountProvider.php index 4185c9b86a70425cd997cf24e99f3cb490528f74..2830e37ded32c04573a088d995b6b182cb0ce82d 100644 --- a/lib/private/Files/Mount/ObjectStorePreviewCacheMountProvider.php +++ b/lib/private/Files/Mount/ObjectStorePreviewCacheMountProvider.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Mount; use OC\Files\ObjectStore\AppdataPreviewObjectStoreStorage; diff --git a/lib/private/Files/Node/File.php b/lib/private/Files/Node/File.php index c140c3e977bc67c7cff086b456d4b4d8d2a1e626..e125715e6a87d284c379888f4243f7823a0388ac 100644 --- a/lib/private/Files/Node/File.php +++ b/lib/private/Files/Node/File.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Node; use OCP\Files\GenericFileException; diff --git a/lib/private/Files/Node/Folder.php b/lib/private/Files/Node/Folder.php index f77c90b65a970da3bcec5d8c7cc71429525f50e5..7198c576fd98f4ab6ac121e86af2444c63f6ff00 100644 --- a/lib/private/Files/Node/Folder.php +++ b/lib/private/Files/Node/Folder.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Node; use OC\Files\Search\SearchBinaryOperator; diff --git a/lib/private/Files/Node/HookConnector.php b/lib/private/Files/Node/HookConnector.php index 2f2641868af65b71dd2832280abffc59372bf0ab..149ffafd46b5db7c5c091dfe75c65bf7d7c8adfc 100644 --- a/lib/private/Files/Node/HookConnector.php +++ b/lib/private/Files/Node/HookConnector.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Node; use OC\Files\Filesystem; diff --git a/lib/private/Files/Node/LazyFolder.php b/lib/private/Files/Node/LazyFolder.php index 52dfb3c20a410051b71071c92f3db48af2443ea1..55421257886cf091213ecbaf4490393af04efe85 100644 --- a/lib/private/Files/Node/LazyFolder.php +++ b/lib/private/Files/Node/LazyFolder.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Node; /** diff --git a/lib/private/Files/Node/LazyRoot.php b/lib/private/Files/Node/LazyRoot.php index 899fd13065586cb3d33c1f25c2c4f55b2532d5a3..c4d61f653e4e03a7210a5892728718484bfa6f0b 100644 --- a/lib/private/Files/Node/LazyRoot.php +++ b/lib/private/Files/Node/LazyRoot.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Node; use OCP\Files\IRootFolder; diff --git a/lib/private/Files/Node/Node.php b/lib/private/Files/Node/Node.php index 4077a7f4d727be24ed2ececf12e47d0571ae1b47..b939bfce94549e9def34d42cffbd9557d6ba1638 100644 --- a/lib/private/Files/Node/Node.php +++ b/lib/private/Files/Node/Node.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Node; use OC\Files\Filesystem; diff --git a/lib/private/Files/Node/NonExistingFile.php b/lib/private/Files/Node/NonExistingFile.php index dc6a6f8c0c02f97c94c1b08b093a84dfdcd5d710..e1d706006ba0e9949b4bc36b91a9f0b42f5d0640 100644 --- a/lib/private/Files/Node/NonExistingFile.php +++ b/lib/private/Files/Node/NonExistingFile.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Node; use OCP\Files\NotFoundException; diff --git a/lib/private/Files/Node/NonExistingFolder.php b/lib/private/Files/Node/NonExistingFolder.php index eaf7963eb9bc7969b80a28daeda88494082f52e2..d99446e8ff81c696ed5082b7e30195b9f0bc0720 100644 --- a/lib/private/Files/Node/NonExistingFolder.php +++ b/lib/private/Files/Node/NonExistingFolder.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Node; use OCP\Files\NotFoundException; diff --git a/lib/private/Files/Node/Root.php b/lib/private/Files/Node/Root.php index 8d8c91f66dc750c335749181998f46a39d9e9703..4a86207f25a811621f7816e0cad9a3d09ccc660b 100644 --- a/lib/private/Files/Node/Root.php +++ b/lib/private/Files/Node/Root.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Node; use OC\Cache\CappedMemoryCache; diff --git a/lib/private/Files/Notify/Change.php b/lib/private/Files/Notify/Change.php index 3cabbec94f0498014c30cbce4f2fa2a81b0cd135..decb0db96b1ff880d8a0ee0ca90e8460d34677ed 100644 --- a/lib/private/Files/Notify/Change.php +++ b/lib/private/Files/Notify/Change.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Notify; use OCP\Files\Notify\IChange; diff --git a/lib/private/Files/Notify/RenameChange.php b/lib/private/Files/Notify/RenameChange.php index 225e41bc483c51009e42292fa5eac54f4039b5cb..e581278c504718c8e8228832a972fff491b954de 100644 --- a/lib/private/Files/Notify/RenameChange.php +++ b/lib/private/Files/Notify/RenameChange.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Notify; use OCP\Files\Notify\IRenameChange; diff --git a/lib/private/Files/ObjectStore/AppdataPreviewObjectStoreStorage.php b/lib/private/Files/ObjectStore/AppdataPreviewObjectStoreStorage.php index bdc41f9ed9521921242c69783263eb5b007b993b..1e10c3ad593b0814b232a6f687741cf7265d9e3c 100644 --- a/lib/private/Files/ObjectStore/AppdataPreviewObjectStoreStorage.php +++ b/lib/private/Files/ObjectStore/AppdataPreviewObjectStoreStorage.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\ObjectStore; class AppdataPreviewObjectStoreStorage extends ObjectStoreStorage { diff --git a/lib/private/Files/ObjectStore/Azure.php b/lib/private/Files/ObjectStore/Azure.php index 9faaf385bd84231441013fd3436d02df0d4b43c3..553f593b2991996cb33ba8ff176ae8f50c4870c0 100644 --- a/lib/private/Files/ObjectStore/Azure.php +++ b/lib/private/Files/ObjectStore/Azure.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\ObjectStore; use MicrosoftAzure\Storage\Blob\BlobRestProxy; diff --git a/lib/private/Files/ObjectStore/HomeObjectStoreStorage.php b/lib/private/Files/ObjectStore/HomeObjectStoreStorage.php index 7a95665b10d57db522e490e4bfae05b7d539b7fa..afc0ac96abc8087dbceeefe4992be9d889342641 100644 --- a/lib/private/Files/ObjectStore/HomeObjectStoreStorage.php +++ b/lib/private/Files/ObjectStore/HomeObjectStoreStorage.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Files\ObjectStore; use OC\User\User; diff --git a/lib/private/Files/ObjectStore/Mapper.php b/lib/private/Files/ObjectStore/Mapper.php index a5186877738a9a0c7d48fe8cdaddb3622979aa69..74d65454b12ff8c09c0b402727d4d11a709864f3 100644 --- a/lib/private/Files/ObjectStore/Mapper.php +++ b/lib/private/Files/ObjectStore/Mapper.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Files\ObjectStore; use OCP\IUser; diff --git a/lib/private/Files/ObjectStore/NoopScanner.php b/lib/private/Files/ObjectStore/NoopScanner.php index 9195e7f8d9fed88fc579750f082b25f7102dbcbc..42e212271d58ccc16a8c91d28b7f79a9c285b2fe 100644 --- a/lib/private/Files/ObjectStore/NoopScanner.php +++ b/lib/private/Files/ObjectStore/NoopScanner.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Files\ObjectStore; use OC\Files\Cache\Scanner; diff --git a/lib/private/Files/ObjectStore/ObjectStoreStorage.php b/lib/private/Files/ObjectStore/ObjectStoreStorage.php index 5c792e59a3fb108837557c4c8a3a8f76816eced0..0328b728563a4bb70342d1221cd0dd8e351c1fbe 100644 --- a/lib/private/Files/ObjectStore/ObjectStoreStorage.php +++ b/lib/private/Files/ObjectStore/ObjectStoreStorage.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Files\ObjectStore; use Icewind\Streams\CallbackWrapper; diff --git a/lib/private/Files/ObjectStore/S3.php b/lib/private/Files/ObjectStore/S3.php index 3d1a658eb9f839ca57647560e2241b3aaa20ce0a..074f3a1df918202eebc4fa8a5d6a42aff2c252db 100644 --- a/lib/private/Files/ObjectStore/S3.php +++ b/lib/private/Files/ObjectStore/S3.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\ObjectStore; use OCP\Files\ObjectStore\IObjectStore; diff --git a/lib/private/Files/ObjectStore/S3ConnectionTrait.php b/lib/private/Files/ObjectStore/S3ConnectionTrait.php index 9e0b12ec1770e89ec946437347224d5928386409..c72fa48d247be77bcc1169684b5ee9a028ff2097 100644 --- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php +++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php @@ -5,6 +5,7 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Florent + * @author James Letendre * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma @@ -20,14 +21,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\ObjectStore; use Aws\ClientResolver; diff --git a/lib/private/Files/ObjectStore/S3ObjectTrait.php b/lib/private/Files/ObjectStore/S3ObjectTrait.php index 250f8fd1edd01c7936b32dfd7357fc3b8df5ad82..b57e4d9846f72a0b9c5232c35c06d63cec0117d1 100644 --- a/lib/private/Files/ObjectStore/S3ObjectTrait.php +++ b/lib/private/Files/ObjectStore/S3ObjectTrait.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\ObjectStore; use Aws\S3\Exception\S3MultipartUploadException; diff --git a/lib/private/Files/ObjectStore/S3Signature.php b/lib/private/Files/ObjectStore/S3Signature.php index ab8854849fa1d2bce1f0275cc30361519f5353a0..ec2e6bbe3ac07e9917d1e1fc7459a4458aedce08 100644 --- a/lib/private/Files/ObjectStore/S3Signature.php +++ b/lib/private/Files/ObjectStore/S3Signature.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Daniel Kesselberg @@ -15,7 +15,7 @@ * * 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 + * 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 diff --git a/lib/private/Files/ObjectStore/StorageObjectStore.php b/lib/private/Files/ObjectStore/StorageObjectStore.php index a3fbc3cec7461a09bad6c982fa7879066b97f983..85926be897e1c9a7b137100efcf3434c3e36f33a 100644 --- a/lib/private/Files/ObjectStore/StorageObjectStore.php +++ b/lib/private/Files/ObjectStore/StorageObjectStore.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\ObjectStore; use OCP\Files\ObjectStore\IObjectStore; diff --git a/lib/private/Files/ObjectStore/Swift.php b/lib/private/Files/ObjectStore/Swift.php index f9cccd0e20592bfb751d12a3d3a7e297c721256e..3607eff5b2974f4241a6f3251adf9a0de3a713a1 100644 --- a/lib/private/Files/ObjectStore/Swift.php +++ b/lib/private/Files/ObjectStore/Swift.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Files\ObjectStore; use GuzzleHttp\Client; diff --git a/lib/private/Files/ObjectStore/SwiftFactory.php b/lib/private/Files/ObjectStore/SwiftFactory.php index 8a4f3fcd90596eb9d3b541c8409a6821855d53ed..df4b5a936782114f88f4df6e55c9b61fb029ddb2 100644 --- a/lib/private/Files/ObjectStore/SwiftFactory.php +++ b/lib/private/Files/ObjectStore/SwiftFactory.php @@ -23,14 +23,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\ObjectStore; use GuzzleHttp\Client; diff --git a/lib/private/Files/ObjectStore/SwiftV2CachingAuthService.php b/lib/private/Files/ObjectStore/SwiftV2CachingAuthService.php index 635d0908c9a433136013f363e18e872037ad4f4e..b1478762550f4e2de78df824ccb68ae1fd75f081 100644 --- a/lib/private/Files/ObjectStore/SwiftV2CachingAuthService.php +++ b/lib/private/Files/ObjectStore/SwiftV2CachingAuthService.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\ObjectStore; use OpenStack\Identity\v2\Service; diff --git a/lib/private/Files/Search/SearchBinaryOperator.php b/lib/private/Files/Search/SearchBinaryOperator.php index 523ac0eba33d1a84c5e03d67987fde43d03b44c1..3ebbae06e3e23197006a11334ff27060ed5ad288 100644 --- a/lib/private/Files/Search/SearchBinaryOperator.php +++ b/lib/private/Files/Search/SearchBinaryOperator.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Search; use OCP\Files\Search\ISearchBinaryOperator; diff --git a/lib/private/Files/Search/SearchComparison.php b/lib/private/Files/Search/SearchComparison.php index 32a18810db9ed0c24dbdbf48067c074b2195290f..83d8904776a13990ccdc8b09a44ee85d294dc095 100644 --- a/lib/private/Files/Search/SearchComparison.php +++ b/lib/private/Files/Search/SearchComparison.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Search; use OCP\Files\Search\ISearchComparison; diff --git a/lib/private/Files/Search/SearchOrder.php b/lib/private/Files/Search/SearchOrder.php index deb73baa4c002db67dc63173b64e2da7ea635539..1395a87ac72199573fcf587a464e709c6d0f98f1 100644 --- a/lib/private/Files/Search/SearchOrder.php +++ b/lib/private/Files/Search/SearchOrder.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Search; use OCP\Files\FileInfo; diff --git a/lib/private/Files/Search/SearchQuery.php b/lib/private/Files/Search/SearchQuery.php index 091fe57d21be71c7bbb285719711e7fa337281f8..7c76bdff97833229cc382f86cff5ffa54ef8fa13 100644 --- a/lib/private/Files/Search/SearchQuery.php +++ b/lib/private/Files/Search/SearchQuery.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Search; use OCP\Files\Search\ISearchOperator; diff --git a/lib/private/Files/SimpleFS/NewSimpleFile.php b/lib/private/Files/SimpleFS/NewSimpleFile.php index 381948a744042ecf422094d49078dbbf257e25ca..f805403fd879c37ba76b6ce79cda3d5f4d0ae9a4 100644 --- a/lib/private/Files/SimpleFS/NewSimpleFile.php +++ b/lib/private/Files/SimpleFS/NewSimpleFile.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\SimpleFS; use Icewind\Streams\CallbackWrapper; diff --git a/lib/private/Files/SimpleFS/SimpleFile.php b/lib/private/Files/SimpleFS/SimpleFile.php index 0d3cbc7b7431815478d25657c82b3ce4ce65a369..baf9b24e02039c96b2f1fb9d6894ddb8ca248cf8 100644 --- a/lib/private/Files/SimpleFS/SimpleFile.php +++ b/lib/private/Files/SimpleFS/SimpleFile.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\SimpleFS; use OCP\Files\File; diff --git a/lib/private/Files/SimpleFS/SimpleFolder.php b/lib/private/Files/SimpleFS/SimpleFolder.php index dc8d6554e7284cf5263dd34b5b256af8e46a510c..cd2a712019e73c1091e33924d0e068f3466eee4b 100644 --- a/lib/private/Files/SimpleFS/SimpleFolder.php +++ b/lib/private/Files/SimpleFS/SimpleFolder.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\SimpleFS; use OCP\Files\File; diff --git a/lib/private/Files/Storage/Common.php b/lib/private/Files/Storage/Common.php index 21baea1b78f59018e36dbb591e6b448670250133..5a9cbe7c0081f62666f0c6c31049aca417939f23 100644 --- a/lib/private/Files/Storage/Common.php +++ b/lib/private/Files/Storage/Common.php @@ -9,6 +9,7 @@ * @author hkjolhede * @author Joas Schilling * @author Jörn Friedrich Dreyer + * @author Julius Härtl * @author Lukas Reschke * @author Martin Mattel * @author Michael Gapczynski @@ -39,7 +40,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage; use OC\Files\Cache\Cache; diff --git a/lib/private/Files/Storage/CommonTest.php b/lib/private/Files/Storage/CommonTest.php index 43a87f8d704d17990f22b832f5aad2a324201179..3800bba2b52701c3a355c72a2ea3b7b6de1964a7 100644 --- a/lib/private/Files/Storage/CommonTest.php +++ b/lib/private/Files/Storage/CommonTest.php @@ -26,11 +26,6 @@ * along with this program. If not, see * */ - -/** - * test implementation for \OC\Files\Storage\Common with \OC\Files\Storage\Local - */ - namespace OC\Files\Storage; class CommonTest extends \OC\Files\Storage\Common { diff --git a/lib/private/Files/Storage/DAV.php b/lib/private/Files/Storage/DAV.php index 8f09452e1fb65d804762f2abadf239dcb5c1b5f9..161f346e52f39211d60da661fc8ddbfe134d12b0 100644 --- a/lib/private/Files/Storage/DAV.php +++ b/lib/private/Files/Storage/DAV.php @@ -35,7 +35,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage; use Exception; diff --git a/lib/private/Files/Storage/FailedStorage.php b/lib/private/Files/Storage/FailedStorage.php index bb97fe73875b36415dad81e82a14b2720fc2c7b8..18a2c9c2bb506161f96d531ebc1814e1614fb99f 100644 --- a/lib/private/Files/Storage/FailedStorage.php +++ b/lib/private/Files/Storage/FailedStorage.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage; use OC\Files\Cache\FailedCache; diff --git a/lib/private/Files/Storage/Flysystem.php b/lib/private/Files/Storage/Flysystem.php index c5105187652cfe853187b95dc8982975360b2a0b..d31d0a469d2af7d099b2e52c56b97d223386ae4c 100644 --- a/lib/private/Files/Storage/Flysystem.php +++ b/lib/private/Files/Storage/Flysystem.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage; use Icewind\Streams\CallbackWrapper; diff --git a/lib/private/Files/Storage/Home.php b/lib/private/Files/Storage/Home.php index 5c35c93bfc86ca823dfff5b967534856621c340d..5427bc425c2622d812be2873787324af5b2b5199 100644 --- a/lib/private/Files/Storage/Home.php +++ b/lib/private/Files/Storage/Home.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage; use OC\Files\Cache\HomePropagator; diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php index a29fc6c02dec33e2ff21fc7f2079750e58ede264..d116d2e0fb138d9991634495f155426b28b2ff60 100644 --- a/lib/private/Files/Storage/Local.php +++ b/lib/private/Files/Storage/Local.php @@ -11,6 +11,7 @@ * @author J0WI * @author Jakob Sack * @author Joas Schilling + * @author Johannes Leuker * @author Jörn Friedrich Dreyer * @author Klaas Freitag * @author Lukas Reschke @@ -39,7 +40,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage; use OC\Files\Filesystem; diff --git a/lib/private/Files/Storage/LocalRootStorage.php b/lib/private/Files/Storage/LocalRootStorage.php index 6f954212484b9171b6cd46ea4c7fb98732c4ac94..71584afef0883835bc7d113c5325eeb26397fb77 100644 --- a/lib/private/Files/Storage/LocalRootStorage.php +++ b/lib/private/Files/Storage/LocalRootStorage.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Storage; use OC\Files\Cache\LocalRootScanner; diff --git a/lib/private/Files/Storage/LocalTempFileTrait.php b/lib/private/Files/Storage/LocalTempFileTrait.php index 0a3785d92dde5f7a0f6893364cc2c8c57023b428..2a1338148f57127844a10bf88ad68c47ca61932e 100644 --- a/lib/private/Files/Storage/LocalTempFileTrait.php +++ b/lib/private/Files/Storage/LocalTempFileTrait.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage; /** diff --git a/lib/private/Files/Storage/PolyFill/CopyDirectory.php b/lib/private/Files/Storage/PolyFill/CopyDirectory.php index 6a12089c70a7976f3501e68e18c121551fc10ed3..ff05eecb134ce712a5b2bb2f64511953ae953505 100644 --- a/lib/private/Files/Storage/PolyFill/CopyDirectory.php +++ b/lib/private/Files/Storage/PolyFill/CopyDirectory.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage\PolyFill; trait CopyDirectory { diff --git a/lib/private/Files/Storage/Storage.php b/lib/private/Files/Storage/Storage.php index 73793aa31fbcf4143107059f835963e1ba957af8..75f8295caa006eaf173870fd4e0db47d0a73f4e1 100644 --- a/lib/private/Files/Storage/Storage.php +++ b/lib/private/Files/Storage/Storage.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage; use OCP\Lock\ILockingProvider; diff --git a/lib/private/Files/Storage/StorageFactory.php b/lib/private/Files/Storage/StorageFactory.php index 2e7dd732edda64168f67150621efac1d146ee887..cab739c4a811e8537ef32bb514263a84ba8657c6 100644 --- a/lib/private/Files/Storage/StorageFactory.php +++ b/lib/private/Files/Storage/StorageFactory.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage; use OCP\Files\Mount\IMountPoint; diff --git a/lib/private/Files/Storage/Temporary.php b/lib/private/Files/Storage/Temporary.php index 686600e5d21dbdddb7f561094286cfb9a9127b95..393a37f834a0a24b0a0eab7a2cb50434fceaee08 100644 --- a/lib/private/Files/Storage/Temporary.php +++ b/lib/private/Files/Storage/Temporary.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage; /** diff --git a/lib/private/Files/Storage/Wrapper/Availability.php b/lib/private/Files/Storage/Wrapper/Availability.php index 61814a0d087fb49832774e0688e1e484431f0a87..b6d1ba2178ba06b4711aa572beb21276b8e7dca4 100644 --- a/lib/private/Files/Storage/Wrapper/Availability.php +++ b/lib/private/Files/Storage/Wrapper/Availability.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage\Wrapper; use OCP\Files\Storage\IStorage; diff --git a/lib/private/Files/Storage/Wrapper/Encoding.php b/lib/private/Files/Storage/Wrapper/Encoding.php index e2b486546afa9b4aca4d8d716b1a5e31a8af8a0c..ac27697e68c977709b1e447ca0f4ad69c8ce618f 100644 --- a/lib/private/Files/Storage/Wrapper/Encoding.php +++ b/lib/private/Files/Storage/Wrapper/Encoding.php @@ -5,6 +5,7 @@ * @author Christoph Wurst * @author J0WI * @author Lukas Reschke + * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Tigran Mkrtchyan @@ -25,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage\Wrapper; use OC\Cache\CappedMemoryCache; diff --git a/lib/private/Files/Storage/Wrapper/Encryption.php b/lib/private/Files/Storage/Wrapper/Encryption.php index 64c9b0a4a66dea051f7e083c5a7da95a2ae703e9..3c65cdbc8f6605c44671263afbf6a7e7ee0b65cd 100644 --- a/lib/private/Files/Storage/Wrapper/Encryption.php +++ b/lib/private/Files/Storage/Wrapper/Encryption.php @@ -7,6 +7,7 @@ * @author Björn Schießle * @author Christoph Wurst * @author J0WI + * @author jknockaert * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke @@ -32,7 +33,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage\Wrapper; use OC\Encryption\Exceptions\ModuleDoesNotExistsException; diff --git a/lib/private/Files/Storage/Wrapper/Jail.php b/lib/private/Files/Storage/Wrapper/Jail.php index 276f00af33cd608e21a669a34b60c42f32a7b71c..4d254b34d4663260930395862e0ce41a6f0cd9c3 100644 --- a/lib/private/Files/Storage/Wrapper/Jail.php +++ b/lib/private/Files/Storage/Wrapper/Jail.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage\Wrapper; use OC\Files\Cache\Wrapper\CacheJail; diff --git a/lib/private/Files/Storage/Wrapper/PermissionsMask.php b/lib/private/Files/Storage/Wrapper/PermissionsMask.php index 9c2d123b7bfdaf0678c89e1ba6298248f01f12a2..e54d3bb721af9c65f67e4e898657cd125b0e5911 100644 --- a/lib/private/Files/Storage/Wrapper/PermissionsMask.php +++ b/lib/private/Files/Storage/Wrapper/PermissionsMask.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage\Wrapper; use OC\Files\Cache\Wrapper\CachePermissionsMask; diff --git a/lib/private/Files/Storage/Wrapper/Quota.php b/lib/private/Files/Storage/Wrapper/Quota.php index d631dae7747d0d9d60260238babb6b287c59d3fb..4cd0a5e0b4a9cec37137b159698172230bd05b9c 100644 --- a/lib/private/Files/Storage/Wrapper/Quota.php +++ b/lib/private/Files/Storage/Wrapper/Quota.php @@ -4,7 +4,7 @@ * * @author Christoph Wurst * @author J0WI - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Julius Härtl * @author Lukas Reschke @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage\Wrapper; use OC\Files\Filesystem; diff --git a/lib/private/Files/Storage/Wrapper/Wrapper.php b/lib/private/Files/Storage/Wrapper/Wrapper.php index cffe610c6c26ac32f86847fca7bad40b42d5a115..ec1da92f3171d70242eb56bfb00a54940aff944b 100644 --- a/lib/private/Files/Storage/Wrapper/Wrapper.php +++ b/lib/private/Files/Storage/Wrapper/Wrapper.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Storage\Wrapper; use OCP\Files\InvalidPathException; diff --git a/lib/private/Files/Stream/Encryption.php b/lib/private/Files/Stream/Encryption.php index 16d2ca3ce97f693c18a53316a518ac52dd00c168..023ae8a414c56eddffbbeb72c7a4dcc3bbfadd13 100644 --- a/lib/private/Files/Stream/Encryption.php +++ b/lib/private/Files/Stream/Encryption.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Stream; use Icewind\Streams\Wrapper; diff --git a/lib/private/Files/Stream/HashWrapper.php b/lib/private/Files/Stream/HashWrapper.php index 059dd11755552c568df60785e3b8488c992bedae..fd9bb3cdd0b84c515516673b1aaec6c972365a75 100644 --- a/lib/private/Files/Stream/HashWrapper.php +++ b/lib/private/Files/Stream/HashWrapper.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Stream; use Icewind\Streams\Wrapper; diff --git a/lib/private/Files/Stream/Quota.php b/lib/private/Files/Stream/Quota.php index f5db662a0aee23d1ad0671b05079a15970a98a59..1549d95eba8dd84403a938fcaf08b3e60719c9ab 100644 --- a/lib/private/Files/Stream/Quota.php +++ b/lib/private/Files/Stream/Quota.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Stream; use Icewind\Streams\Wrapper; diff --git a/lib/private/Files/Stream/SeekableHttpStream.php b/lib/private/Files/Stream/SeekableHttpStream.php index efbfd293ad5fc017b301b79c557099f8de0e2e3d..c6d34e67cc973cbd642010ad1814b6c19c672aa9 100644 --- a/lib/private/Files/Stream/SeekableHttpStream.php +++ b/lib/private/Files/Stream/SeekableHttpStream.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Files\Stream; use Icewind\Streams\File; diff --git a/lib/private/Files/Template/TemplateManager.php b/lib/private/Files/Template/TemplateManager.php index c10c13c35b08cf63634d3bcd7b5570a3db717514..dde224e5eadb1c59dea1be3782eb92cb3d21b006 100644 --- a/lib/private/Files/Template/TemplateManager.php +++ b/lib/private/Files/Template/TemplateManager.php @@ -1,7 +1,12 @@ * + * @author Christoph Wurst + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -20,10 +25,6 @@ * along with this program. If not, see . * */ - -declare(strict_types=1); - - namespace OC\Files\Template; use OC\AppFramework\Bootstrap\Coordinator; diff --git a/lib/private/Files/Type/Detection.php b/lib/private/Files/Type/Detection.php index 247f6005e57d3a1ac3f0eee4d8816edc198017fe..bd2bfb5f9399f82bdd24fa48b64cdf6706ce3c96 100644 --- a/lib/private/Files/Type/Detection.php +++ b/lib/private/Files/Type/Detection.php @@ -39,7 +39,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Files\Type; use OCP\Files\IMimeTypeDetector; diff --git a/lib/private/Files/Type/Loader.php b/lib/private/Files/Type/Loader.php index 489ed65c228034119bf850cfdc5c2e2ab7594365..8193a3f7b0350ca9545e6f9d3aa52cffe0c43244 100644 --- a/lib/private/Files/Type/Loader.php +++ b/lib/private/Files/Type/Loader.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Type; use OCP\Files\IMimeTypeLoader; diff --git a/lib/private/Files/Type/TemplateManager.php b/lib/private/Files/Type/TemplateManager.php index 5cd6b61f82301a4777ab3f338b0d94b78e582b42..6210edaaf05e982288a6c978d3e02bbbda74444a 100644 --- a/lib/private/Files/Type/TemplateManager.php +++ b/lib/private/Files/Type/TemplateManager.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Type; /** diff --git a/lib/private/Files/Utils/Scanner.php b/lib/private/Files/Utils/Scanner.php index 5509a49941b197b8b82029590ab0ac4d5035ce27..72a7084f40d3f53bd3761e486a27960712d7fb81 100644 --- a/lib/private/Files/Utils/Scanner.php +++ b/lib/private/Files/Utils/Scanner.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Files\Utils; use OC\Files\Cache\Cache; diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index a59f735c102231f3fdd7ee2596504e6f24110dc4..e11b9be9fed12b9e57b642be681c7fbe147477ed 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -44,7 +44,6 @@ * along with this program. If not, see * */ - namespace OC\Files; use Icewind\Streams\CallbackWrapper; diff --git a/lib/private/ForbiddenException.php b/lib/private/ForbiddenException.php index 8a00b78291a270caec2c44320045364dd3d5d437..8cc9a698253e6751f0254fbd5e28635befa008dd 100644 --- a/lib/private/ForbiddenException.php +++ b/lib/private/ForbiddenException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC; /** diff --git a/lib/private/FullTextSearch/FullTextSearchManager.php b/lib/private/FullTextSearch/FullTextSearchManager.php index 119c97fa95b7bf427ea660da4eabab8010ce7a64..6265c6dc94d9c4d8a72e6172d3006349c5cd1056 100644 --- a/lib/private/FullTextSearch/FullTextSearchManager.php +++ b/lib/private/FullTextSearch/FullTextSearchManager.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\FullTextSearch; use OCP\FullTextSearch\Exceptions\FullTextSearchAppNotAvailableException; diff --git a/lib/private/FullTextSearch/Model/DocumentAccess.php b/lib/private/FullTextSearch/Model/DocumentAccess.php index d4c7a06d07948b32f2b555579f83fe4b92148688..3fe08dfcc083c76a76226ddaae66c0c8ec8cabb6 100644 --- a/lib/private/FullTextSearch/Model/DocumentAccess.php +++ b/lib/private/FullTextSearch/Model/DocumentAccess.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\FullTextSearch\Model; use JsonSerializable; diff --git a/lib/private/FullTextSearch/Model/IndexDocument.php b/lib/private/FullTextSearch/Model/IndexDocument.php index 44bd7a23a1cc8ba934cf23d9455979d9d8740fe8..a1648ab6e2ab1326cc392d3f707ff6fd17f1033a 100644 --- a/lib/private/FullTextSearch/Model/IndexDocument.php +++ b/lib/private/FullTextSearch/Model/IndexDocument.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\FullTextSearch\Model; use JsonSerializable; diff --git a/lib/private/FullTextSearch/Model/SearchOption.php b/lib/private/FullTextSearch/Model/SearchOption.php index 1ff3fbba27285513c4ff4cb40126da50083e6170..c4c63a801a3b74b5c0cd84f35b7304ce6d5ee49c 100644 --- a/lib/private/FullTextSearch/Model/SearchOption.php +++ b/lib/private/FullTextSearch/Model/SearchOption.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\FullTextSearch\Model; use JsonSerializable; diff --git a/lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php b/lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php index f6241938f82969fb3209bcfcafb17d7fb17b49c3..9c9ac71efa95c3ac30aeea9b12e5654454046b04 100644 --- a/lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php +++ b/lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\FullTextSearch\Model; use JsonSerializable; diff --git a/lib/private/FullTextSearch/Model/SearchTemplate.php b/lib/private/FullTextSearch/Model/SearchTemplate.php index 4940e57c2818ca6ac4284b6d1769510abbc02d4b..eb1ab8ead84bef6d926355bb4adc6a81d8a6b722 100644 --- a/lib/private/FullTextSearch/Model/SearchTemplate.php +++ b/lib/private/FullTextSearch/Model/SearchTemplate.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\FullTextSearch\Model; use JsonSerializable; diff --git a/lib/private/GlobalScale/Config.php b/lib/private/GlobalScale/Config.php index d4bde44a5faf3ee3584e14a57887e2420934e15d..71bcbbc4a1eaf6ecc7293630aec3dd35900562ae 100644 --- a/lib/private/GlobalScale/Config.php +++ b/lib/private/GlobalScale/Config.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\GlobalScale; use OCP\IConfig; diff --git a/lib/private/Group/Backend.php b/lib/private/Group/Backend.php index e041254bd5af526e08089f939209b226b06712e3..037cdacf4453e2ffd9d2474b61a86cd413909509 100644 --- a/lib/private/Group/Backend.php +++ b/lib/private/Group/Backend.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Group; /** diff --git a/lib/private/Group/Database.php b/lib/private/Group/Database.php index fb557eafbbd0485b52d8c4177bba3abcd0344cb8..7b7ee41def9b2705c6b5fa491cf9097742159698 100644 --- a/lib/private/Group/Database.php +++ b/lib/private/Group/Database.php @@ -4,10 +4,13 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author Johannes Leuker + * @author John Molakvoæ * @author Loki3000 * @author Morris Jobke * @author Roeland Jago Douma + * @author tgrant + * @author Tom Grant * * @license AGPL-3.0 * @@ -24,23 +27,6 @@ * along with this program. If not, see * */ -/* - * - * The following SQL statement is just a help for developers and will not be - * executed! - * - * CREATE TABLE `groups` ( - * `gid` varchar(64) COLLATE utf8_unicode_ci NOT NULL, - * PRIMARY KEY (`gid`) - * ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; - * - * CREATE TABLE `group_user` ( - * `gid` varchar(64) COLLATE utf8_unicode_ci NOT NULL, - * `uid` varchar(64) COLLATE utf8_unicode_ci NOT NULL - * ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; - * - */ - namespace OC\Group; use Doctrine\DBAL\Exception\UniqueConstraintViolationException; diff --git a/lib/private/Group/Group.php b/lib/private/Group/Group.php index bb9a65de012ec96e45b08a347937d5884cccbe00..9a9996f7f608aaefc04712b46613271cea4b00aa 100644 --- a/lib/private/Group/Group.php +++ b/lib/private/Group/Group.php @@ -6,7 +6,8 @@ * @author Bart Visscher * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author Johannes Leuker + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman @@ -29,7 +30,6 @@ * along with this program. If not, see * */ - namespace OC\Group; use OC\Hooks\PublicEmitter; diff --git a/lib/private/Group/Manager.php b/lib/private/Group/Manager.php index 145b363120643514d1ae18c0fcdac566f445c567..e1bd009e79cd1459758309ce59836608750868ad 100644 --- a/lib/private/Group/Manager.php +++ b/lib/private/Group/Manager.php @@ -7,7 +7,7 @@ * @author Bernhard Posselt * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Knut Ahlers * @author Lukas Reschke @@ -37,7 +37,6 @@ * along with this program. If not, see * */ - namespace OC\Group; use OC\Hooks\PublicEmitter; diff --git a/lib/private/Group/MetaData.php b/lib/private/Group/MetaData.php index 5449cdbe29ad8ec6ccbc53f601c73b37a970c3bb..fb10caa86ea494babf55cf5a736aa0714cb198cb 100644 --- a/lib/private/Group/MetaData.php +++ b/lib/private/Group/MetaData.php @@ -6,9 +6,8 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * @author Stephan Peijnik * @author Thomas Müller @@ -28,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Group; use OC\Group\Manager as GroupManager; diff --git a/lib/private/HintException.php b/lib/private/HintException.php index acb8df414a31a64892fc2d14845fef4e77b16db8..e3173ba79fdb3809d51a73281c29467e1d9bdd7a 100644 --- a/lib/private/HintException.php +++ b/lib/private/HintException.php @@ -6,7 +6,6 @@ * @author Bart Visscher * @author Lukas Reschke * @author Michael Gapczynski - * @author Morris Jobke * @author Thomas Müller * * @license AGPL-3.0 @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC; /** diff --git a/lib/private/Hooks/BasicEmitter.php b/lib/private/Hooks/BasicEmitter.php index ce15dcb3db20aa56e6118364990be73ae9c1afba..61b5184a804290db7159c5db70fa9b7a541ff91a 100644 --- a/lib/private/Hooks/BasicEmitter.php +++ b/lib/private/Hooks/BasicEmitter.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Morris Jobke * @author Robin Appelman * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Hooks; /** diff --git a/lib/private/Hooks/Emitter.php b/lib/private/Hooks/Emitter.php index 4240cef520ba4f5e41c977c237659b3b62ebd9a7..bc5af2b60a286227e105e9b5b79dc73f8fb40731 100644 --- a/lib/private/Hooks/Emitter.php +++ b/lib/private/Hooks/Emitter.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Hooks; /** diff --git a/lib/private/Hooks/EmitterTrait.php b/lib/private/Hooks/EmitterTrait.php index 1cbfe0f5a0629d576135303735f7470193dcbf1f..de012cca0449816e7e0a38b48e946e696fd5a937 100644 --- a/lib/private/Hooks/EmitterTrait.php +++ b/lib/private/Hooks/EmitterTrait.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Hooks; /** diff --git a/lib/private/Hooks/PublicEmitter.php b/lib/private/Hooks/PublicEmitter.php index e698b3221804cd4eaba18b9f5fdbd44797d7f048..b72b12dbbbf63d9b0ea730113f6de18da9c08669 100644 --- a/lib/private/Hooks/PublicEmitter.php +++ b/lib/private/Hooks/PublicEmitter.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Hooks; /** diff --git a/lib/private/Http/Client/Client.php b/lib/private/Http/Client/Client.php index c1426d141d1700348c75440978316b2bf1f919f5..55a44eb41ba3c7eea1dbf62e19f66d5f068f061d 100644 --- a/lib/private/Http/Client/Client.php +++ b/lib/private/Http/Client/Client.php @@ -31,7 +31,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Http\Client; use GuzzleHttp\Client as GuzzleClient; diff --git a/lib/private/Http/Client/ClientService.php b/lib/private/Http/Client/ClientService.php index 231436004ba8a316eea942e58ec3167044fc4949..d1aed2d7883deb10d9f342acf4ea31f5bdc5ccfb 100644 --- a/lib/private/Http/Client/ClientService.php +++ b/lib/private/Http/Client/ClientService.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Http\Client; use GuzzleHttp\Client as GuzzleClient; diff --git a/lib/private/Http/Client/DnsPinMiddleware.php b/lib/private/Http/Client/DnsPinMiddleware.php index 0406405c43072bf8a9625d398a98e2cef4db9258..019fde23723c17fb665cffec5a4c49aeab3ec8a4 100644 --- a/lib/private/Http/Client/DnsPinMiddleware.php +++ b/lib/private/Http/Client/DnsPinMiddleware.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Http\Client; use Psr\Http\Message\RequestInterface; diff --git a/lib/private/Http/Client/LocalAddressChecker.php b/lib/private/Http/Client/LocalAddressChecker.php index e9c92da4a5c208595f4a1cf582610d2ab4836b77..c534c5971d160293312b1095c19ad69710c27d8b 100644 --- a/lib/private/Http/Client/LocalAddressChecker.php +++ b/lib/private/Http/Client/LocalAddressChecker.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Http\Client; use OCP\ILogger; diff --git a/lib/private/Http/Client/NegativeDnsCache.php b/lib/private/Http/Client/NegativeDnsCache.php index 631fa19c90f96f3056542a7684f32062979c4931..6c7585b11e31b3d0940850bc42c8d698b3770859 100644 --- a/lib/private/Http/Client/NegativeDnsCache.php +++ b/lib/private/Http/Client/NegativeDnsCache.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2021, Lukas Reschke * + * @author Arthur Schiwon * @author Lukas Reschke * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Http\Client; use OCP\ICache; diff --git a/lib/private/Http/Client/Response.php b/lib/private/Http/Client/Response.php index 722fc40c04af57960fc4a4c7f40cfba4199435af..054c902fcc5ca92f928eafed0e759281cd3bd87a 100644 --- a/lib/private/Http/Client/Response.php +++ b/lib/private/Http/Client/Response.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Http\Client; use OCP\Http\Client\IResponse; diff --git a/lib/private/Http/CookieHelper.php b/lib/private/Http/CookieHelper.php index 122f4907b2acf8d40b98ac3de1efc8a74a810142..720a1e9185d5ec9572493dbb37cb2d6cc955435d 100644 --- a/lib/private/Http/CookieHelper.php +++ b/lib/private/Http/CookieHelper.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2018, Roeland Jago Douma * * @author Christoph Wurst + * @author Marco Ziech * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Http; class CookieHelper { diff --git a/lib/private/Http/WellKnown/RequestManager.php b/lib/private/Http/WellKnown/RequestManager.php index 052e2d38ea7a46077c95c3572720d36656f67724..17e2ed658a602cdc796ed81bbc1fb93297eac5a9 100644 --- a/lib/private/Http/WellKnown/RequestManager.php +++ b/lib/private/Http/WellKnown/RequestManager.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Http\WellKnown; use OC\AppFramework\Bootstrap\Coordinator; diff --git a/lib/private/InitialStateService.php b/lib/private/InitialStateService.php index 38de49b47805766910d40a10b3b10d1fedf20511..4920e1bf40e023dfd2c972633587f40e2198921f 100644 --- a/lib/private/InitialStateService.php +++ b/lib/private/InitialStateService.php @@ -7,6 +7,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -18,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC; use Closure; diff --git a/lib/private/Installer.php b/lib/private/Installer.php index 432f5c526adc79c4d1cf330fe0cbae33dc0e6f9d..d1e903424ed5c3e13f0af12730a0a866d1b40633 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * @copyright Copyright (c) 2016, Lukas Reschke * + * @author acsfer * @author Arthur Schiwon * @author Brice Maron * @author Christoph Wurst @@ -10,11 +11,10 @@ * @author Frank Karlitschek * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Kamil Domanski * @author Lukas Reschke - * @author Markus Staab * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma @@ -37,7 +37,6 @@ * along with this program. If not, see * */ - namespace OC; use Doctrine\DBAL\Exception\TableExistsException; diff --git a/lib/private/IntegrityCheck/Checker.php b/lib/private/IntegrityCheck/Checker.php index 122fac8927fc5c2fe8c42ee09edbf020b225b006..273eba35446dcd9b4ed6fc027ad40e2c73965a27 100644 --- a/lib/private/IntegrityCheck/Checker.php +++ b/lib/private/IntegrityCheck/Checker.php @@ -29,7 +29,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\IntegrityCheck; use OC\Core\Command\Maintenance\Mimetype\GenerateMimetypeFileBuilder; diff --git a/lib/private/IntegrityCheck/Exceptions/InvalidSignatureException.php b/lib/private/IntegrityCheck/Exceptions/InvalidSignatureException.php index daef60ac1fcf666ebf1b985a915a571cfae0155e..18a4ba40e1aeacf045420124ead1b269d1b2c67a 100644 --- a/lib/private/IntegrityCheck/Exceptions/InvalidSignatureException.php +++ b/lib/private/IntegrityCheck/Exceptions/InvalidSignatureException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\IntegrityCheck\Exceptions; /** diff --git a/lib/private/IntegrityCheck/Helpers/AppLocator.php b/lib/private/IntegrityCheck/Helpers/AppLocator.php index fdfc81de8592684f9beb50948c178b895658ad90..a789a55ccf01af1a8d6a51f942b2047eb16b92a8 100644 --- a/lib/private/IntegrityCheck/Helpers/AppLocator.php +++ b/lib/private/IntegrityCheck/Helpers/AppLocator.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\IntegrityCheck\Helpers; /** diff --git a/lib/private/IntegrityCheck/Helpers/EnvironmentHelper.php b/lib/private/IntegrityCheck/Helpers/EnvironmentHelper.php index 814410331ecc3f46b53987da49ef04e5a4794877..5b6d04487032929cb7ed1d2a1e37c8776832353d 100644 --- a/lib/private/IntegrityCheck/Helpers/EnvironmentHelper.php +++ b/lib/private/IntegrityCheck/Helpers/EnvironmentHelper.php @@ -23,7 +23,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\IntegrityCheck\Helpers; /** diff --git a/lib/private/IntegrityCheck/Helpers/FileAccessHelper.php b/lib/private/IntegrityCheck/Helpers/FileAccessHelper.php index 2a0c0dd20172b4d2966e85a05c3199c1c99c5eb6..cd16a619915ae46a9b410e827d6ffc1d661c81f7 100644 --- a/lib/private/IntegrityCheck/Helpers/FileAccessHelper.php +++ b/lib/private/IntegrityCheck/Helpers/FileAccessHelper.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\IntegrityCheck\Helpers; /** diff --git a/lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php b/lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php index 016c244794610c9379b4e16f444689c60708b3df..aea1ad6c3e9de9c8cfe3d6bea1b62a5d8388a82b 100644 --- a/lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php +++ b/lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\IntegrityCheck\Iterator; /** diff --git a/lib/private/IntegrityCheck/Iterator/ExcludeFoldersByPathFilterIterator.php b/lib/private/IntegrityCheck/Iterator/ExcludeFoldersByPathFilterIterator.php index 51b134059d589d0497adb235085fc269875b6b23..fcdd3e3067ce78d85b3c60f8b6da568a00051dc5 100644 --- a/lib/private/IntegrityCheck/Iterator/ExcludeFoldersByPathFilterIterator.php +++ b/lib/private/IntegrityCheck/Iterator/ExcludeFoldersByPathFilterIterator.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\IntegrityCheck\Iterator; class ExcludeFoldersByPathFilterIterator extends \RecursiveFilterIterator { diff --git a/lib/private/KnownUser/KnownUser.php b/lib/private/KnownUser/KnownUser.php index 939c9199c7930d41a97e64cba1e780c19250cafc..fa0453e03294af0479f265f89197ffd2b5b6f53e 100644 --- a/lib/private/KnownUser/KnownUser.php +++ b/lib/private/KnownUser/KnownUser.php @@ -1,9 +1,12 @@ * + * @author Joas Schilling + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OC\KnownUser; use OCP\AppFramework\Db\Entity; diff --git a/lib/private/KnownUser/KnownUserMapper.php b/lib/private/KnownUser/KnownUserMapper.php index e77e47527025e55cbde87931291dd2498bc19155..864ece36345db2fad63d55b08434de65450cc585 100644 --- a/lib/private/KnownUser/KnownUserMapper.php +++ b/lib/private/KnownUser/KnownUserMapper.php @@ -1,9 +1,12 @@ * + * @author Joas Schilling + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OC\KnownUser; use OCP\AppFramework\Db\QBMapper; diff --git a/lib/private/KnownUser/KnownUserService.php b/lib/private/KnownUser/KnownUserService.php index 1f300a9f8e4c2db54722f1ea3d2c9613ce6be73b..fec24542007430ab08140e5cb8f61b6aad3c6ad2 100644 --- a/lib/private/KnownUser/KnownUserService.php +++ b/lib/private/KnownUser/KnownUserService.php @@ -1,9 +1,13 @@ * + * @author Joas Schilling + * @author Vincent Petry + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OC\KnownUser; class KnownUserService { diff --git a/lib/private/L10N/Factory.php b/lib/private/L10N/Factory.php index 6640e596ab1ac496b8a5c6166baffd164456ff54..37599c21d8f5fdaf0b79a83edebbeb5c017eb5e7 100644 --- a/lib/private/L10N/Factory.php +++ b/lib/private/L10N/Factory.php @@ -11,7 +11,7 @@ * @author Georg Ehrke * @author GretaD * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman @@ -34,7 +34,6 @@ * along with this program. If not, see * */ - namespace OC\L10N; use OCP\IConfig; diff --git a/lib/private/L10N/L10N.php b/lib/private/L10N/L10N.php index 72f124f7754a3199c9abc6f0ecf50849a3dd956e..09c0f1cdb354cebde0b366349002b2dd6b5d6741 100644 --- a/lib/private/L10N/L10N.php +++ b/lib/private/L10N/L10N.php @@ -26,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\L10N; use OCP\IL10N; diff --git a/lib/private/L10N/L10NString.php b/lib/private/L10N/L10NString.php index 9d219ea1772ac740068dcec88bbbce2029f624a8..33ccc4b140964ab2db2fdeb4f777298d6c4665e1 100644 --- a/lib/private/L10N/L10NString.php +++ b/lib/private/L10N/L10NString.php @@ -4,12 +4,9 @@ * * @author Bart Visscher * @author Bernhard Posselt - * @author Christoph Wurst * @author Jakob Sack * @author Joas Schilling * @author Jörn Friedrich Dreyer - * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @@ -28,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\L10N; class L10NString implements \JsonSerializable { diff --git a/lib/private/L10N/LanguageIterator.php b/lib/private/L10N/LanguageIterator.php index cbbafde92ff2bcc77ec858ddbbdf1cc26780a42d..c48a27fb6ce09369a123f1ec88fa5b05ccb48179 100644 --- a/lib/private/L10N/LanguageIterator.php +++ b/lib/private/L10N/LanguageIterator.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\L10N; use OCP\IConfig; diff --git a/lib/private/L10N/LanguageNotFoundException.php b/lib/private/L10N/LanguageNotFoundException.php index 20b22a8b5ec336bf87bc3a67b005e6d7486be731..d483fd799ddf74a527f72f17ea4ce392105c8ab4 100644 --- a/lib/private/L10N/LanguageNotFoundException.php +++ b/lib/private/L10N/LanguageNotFoundException.php @@ -1,6 +1,6 @@ * * @author Roeland Jago Douma * @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\L10N; class LanguageNotFoundException extends \Exception { diff --git a/lib/private/L10N/LazyL10N.php b/lib/private/L10N/LazyL10N.php index 9ffcb4df98ffd7ce1dbccd1c2911c3b68042e89d..f56761799b32119c5d0f3f058ef9caa26852f8dd 100644 --- a/lib/private/L10N/LazyL10N.php +++ b/lib/private/L10N/LazyL10N.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\L10N; use OCP\IL10N; diff --git a/lib/private/LDAP/NullLDAPProviderFactory.php b/lib/private/LDAP/NullLDAPProviderFactory.php index b0c6192b17e6738933c2ad84d9aea8ce1187fa68..23dfe78952ce6f4672a9135b8b5c0b3794ff6381 100644 --- a/lib/private/LDAP/NullLDAPProviderFactory.php +++ b/lib/private/LDAP/NullLDAPProviderFactory.php @@ -1,9 +1,12 @@ * + * @author Robin Appelman + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OC\LDAP; use OCP\IServerContainer; diff --git a/lib/private/LargeFileHelper.php b/lib/private/LargeFileHelper.php index b07d77a02fa5c96b0866b9be415c37126677ebb8..e2984b4bacf22779d5f7ce7ff64833b90f1fadf5 100755 --- a/lib/private/LargeFileHelper.php +++ b/lib/private/LargeFileHelper.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC; use bantu\IniGetWrapper\IniGetWrapper; diff --git a/lib/private/Lock/AbstractLockingProvider.php b/lib/private/Lock/AbstractLockingProvider.php index e23e8566c134aa4fef2697805ca16d659c62bc50..f4899bbb2b2c96b51066f9b8d7733c54bd568ebb 100644 --- a/lib/private/Lock/AbstractLockingProvider.php +++ b/lib/private/Lock/AbstractLockingProvider.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Lock; use OCP\Lock\ILockingProvider; diff --git a/lib/private/Lock/DBLockingProvider.php b/lib/private/Lock/DBLockingProvider.php index 30566c7b25317ecdd1c840e8b0aaa9d203087f3d..1ea78d047d2e1de348b6c50e64bf77de2a234b00 100644 --- a/lib/private/Lock/DBLockingProvider.php +++ b/lib/private/Lock/DBLockingProvider.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Lock; use OC\DB\QueryBuilder\Literal; diff --git a/lib/private/Lock/MemcacheLockingProvider.php b/lib/private/Lock/MemcacheLockingProvider.php index 439894e901f796368a929c681492d247a019d2f7..008a7875d7e1ade0eb46ce9d8f73a4c49ce8fe8b 100644 --- a/lib/private/Lock/MemcacheLockingProvider.php +++ b/lib/private/Lock/MemcacheLockingProvider.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Lock; use OCP\IMemcache; diff --git a/lib/private/Lock/NoopLockingProvider.php b/lib/private/Lock/NoopLockingProvider.php index 728ad26de682c7038469e37c33f50ef95b13547a..95ae8cf0cdaf82993b4cfdb8ebb6cc824f0c71c6 100644 --- a/lib/private/Lock/NoopLockingProvider.php +++ b/lib/private/Lock/NoopLockingProvider.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Lock; use OCP\Lock\ILockingProvider; diff --git a/lib/private/Lockdown/Filesystem/NullCache.php b/lib/private/Lockdown/Filesystem/NullCache.php index 267b76ab8fb935a5044958282752dd26221dadda..0d1cc9985e10f278cd2d814d3a94017b25c45479 100644 --- a/lib/private/Lockdown/Filesystem/NullCache.php +++ b/lib/private/Lockdown/Filesystem/NullCache.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Lockdown\Filesystem; use OC\Files\Cache\CacheEntry; diff --git a/lib/private/Lockdown/Filesystem/NullStorage.php b/lib/private/Lockdown/Filesystem/NullStorage.php index 72bdeebcd0c48b446b35c58d8a78a064f174b342..ac8c30418bdab675c46b8e89ddfbafab2c3f6471 100644 --- a/lib/private/Lockdown/Filesystem/NullStorage.php +++ b/lib/private/Lockdown/Filesystem/NullStorage.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Lockdown\Filesystem; use Icewind\Streams\IteratorDirectory; diff --git a/lib/private/Lockdown/LockdownManager.php b/lib/private/Lockdown/LockdownManager.php index 2883ee0e1ef019e51a75a99e8e7ef0c8b10b0a25..bb76d801725a2a7f891be596295ff16ccd9cc101 100644 --- a/lib/private/Lockdown/LockdownManager.php +++ b/lib/private/Lockdown/LockdownManager.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Lockdown; use OC\Authentication\Token\IToken; diff --git a/lib/private/Log.php b/lib/private/Log.php index db86aa8bfe3d5e97f47464a561b933d9def7fac5..9c6a1b614c64265fc3cabe2041c62b60c62d7727 100644 --- a/lib/private/Log.php +++ b/lib/private/Log.php @@ -33,7 +33,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC; use Nextcloud\LogNormalizer\Normalizer; diff --git a/lib/private/Log/ErrorHandler.php b/lib/private/Log/ErrorHandler.php index c293c5db83d6edaf52df7e96cb370e1c52d51b5f..1d2376befbf5027e62baf402ac1d90580e6208f0 100644 --- a/lib/private/Log/ErrorHandler.php +++ b/lib/private/Log/ErrorHandler.php @@ -5,6 +5,7 @@ * @author Bart Visscher * @author Björn Schießle * @author Christoph Wurst + * @author Joas Schilling * @author Julius Härtl * @author Morris Jobke * @author Thomas Müller @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Log; use OCP\ILogger; diff --git a/lib/private/Log/ExceptionSerializer.php b/lib/private/Log/ExceptionSerializer.php index b62293946d004f129abf63ce0d892c988490bc15..aba5586297ae6c4d8766012e04f0fc60d0932ea4 100644 --- a/lib/private/Log/ExceptionSerializer.php +++ b/lib/private/Log/ExceptionSerializer.php @@ -19,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Log; use OC\Core\Controller\SetupController; diff --git a/lib/private/Log/File.php b/lib/private/Log/File.php index afeab1b8fd764bee75e4cf9815fe1ffbdbcc8d36..a33667c9b68f7dc59d61f042d7aa9f6163075cd7 100644 --- a/lib/private/Log/File.php +++ b/lib/private/Log/File.php @@ -34,7 +34,6 @@ * along with this program. If not, see * */ - namespace OC\Log; use OC\SystemConfig; diff --git a/lib/private/Log/LogDetails.php b/lib/private/Log/LogDetails.php index 1175b4753026c526078016ef3385c3b9c355657d..7674837e28c2739511ea8fe4d32a982300c664fd 100644 --- a/lib/private/Log/LogDetails.php +++ b/lib/private/Log/LogDetails.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Log; use OC\SystemConfig; diff --git a/lib/private/Log/LogFactory.php b/lib/private/Log/LogFactory.php index 6e6ded3758b521dc71ed1a16e1efeff362bfca40..f0f804cd51c2cf4ecfee905c16ed1a5e54bc13cc 100644 --- a/lib/private/Log/LogFactory.php +++ b/lib/private/Log/LogFactory.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Log; use OC\Log; diff --git a/lib/private/Log/PsrLoggerAdapter.php b/lib/private/Log/PsrLoggerAdapter.php index 8cd64bfe903ae9ac4d5ddf140dd2afba6885f2de..1cf81c49a69a7cdaeeea1ae8adf18faa84e460f3 100644 --- a/lib/private/Log/PsrLoggerAdapter.php +++ b/lib/private/Log/PsrLoggerAdapter.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Log; use OC\Log; diff --git a/lib/private/Log/Rotate.php b/lib/private/Log/Rotate.php index 76d026bc854d7d52567b45b75ead051e105da043..58b2932b417c46949715bbb43757451701227730 100644 --- a/lib/private/Log/Rotate.php +++ b/lib/private/Log/Rotate.php @@ -5,7 +5,6 @@ * @author Arthur Schiwon * @author Bart Visscher * @author Christoph Wurst - * @author Morris Jobke * @author Robin Appelman * * @license AGPL-3.0 @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Log; use OCP\Log\RotationTrait; diff --git a/lib/private/Log/Syslog.php b/lib/private/Log/Syslog.php index 02cffe066b1b5e6dcfdea595db1336a498fd55ba..7c3d1a54b7853f0506034e005f56e11382f2522a 100644 --- a/lib/private/Log/Syslog.php +++ b/lib/private/Log/Syslog.php @@ -5,7 +5,6 @@ * @author Arthur Schiwon * @author Bart Visscher * @author Julius Härtl - * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Log; use OC\SystemConfig; diff --git a/lib/private/Log/Systemdlog.php b/lib/private/Log/Systemdlog.php index 979befbdae1591ebf05894e68cac424cad7a36ac..17778891efe5f9ee1b0c4285bcd2dedac888365b 100644 --- a/lib/private/Log/Systemdlog.php +++ b/lib/private/Log/Systemdlog.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Log; use OC\HintException; diff --git a/lib/private/Mail/Attachment.php b/lib/private/Mail/Attachment.php index 1f88c8755655a1fcbc016f471e4e61d0848833ac..bebcd19e107ed9d520240d76afea514b0f5534a9 100644 --- a/lib/private/Mail/Attachment.php +++ b/lib/private/Mail/Attachment.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Mail; use OCP\Mail\IAttachment; diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php index d5bd27007dfe1874ef8355b7c5f6b0e9e3e61ef1..b04fa903ba8c4c5ff813c5eb46d033c3fb47642d 100644 --- a/lib/private/Mail/EMailTemplate.php +++ b/lib/private/Mail/EMailTemplate.php @@ -29,14 +29,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Mail; use OCP\Defaults; diff --git a/lib/private/Mail/Mailer.php b/lib/private/Mail/Mailer.php index e31784db5870467850a03b254441df806e6835fe..893a3f0be91e754fa6689271c495b0f017647907 100644 --- a/lib/private/Mail/Mailer.php +++ b/lib/private/Mail/Mailer.php @@ -33,7 +33,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Mail; use Egulias\EmailValidator\EmailValidator; diff --git a/lib/private/Mail/Message.php b/lib/private/Mail/Message.php index a158c573eaf1dd8a27687a0239793f40625d48ba..c1b08b4e231d2865d36c0936a5e0ec6c87e7eb7e 100644 --- a/lib/private/Mail/Message.php +++ b/lib/private/Mail/Message.php @@ -29,7 +29,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Mail; use OCP\Mail\IAttachment; diff --git a/lib/private/Memcache/APCu.php b/lib/private/Memcache/APCu.php index ed3c81b70d7cf76be77b95d39bc51f3b05e58745..56345890bf27ff4da2092b1182743d502437bc4c 100644 --- a/lib/private/Memcache/APCu.php +++ b/lib/private/Memcache/APCu.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Memcache; use bantu\IniGetWrapper\IniGetWrapper; diff --git a/lib/private/Memcache/ArrayCache.php b/lib/private/Memcache/ArrayCache.php index 8c91d9fcbbb7e05486a21c912e281027d2eba65b..b89aff0b7ed0e0106db8fbf36dc39fc934d699b5 100644 --- a/lib/private/Memcache/ArrayCache.php +++ b/lib/private/Memcache/ArrayCache.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Memcache; use OCP\IMemcache; diff --git a/lib/private/Memcache/CADTrait.php b/lib/private/Memcache/CADTrait.php index 4c02c3356aba39aed470ab28736a0153fc05330b..a0843fc77317718929e78474ae8af6662673b3e2 100644 --- a/lib/private/Memcache/CADTrait.php +++ b/lib/private/Memcache/CADTrait.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Memcache; trait CADTrait { diff --git a/lib/private/Memcache/CASTrait.php b/lib/private/Memcache/CASTrait.php index 163afa2c3d4bf2ad599e77598858109a112a41f7..136886510434c6fd151e77aaec68d66497e5321e 100644 --- a/lib/private/Memcache/CASTrait.php +++ b/lib/private/Memcache/CASTrait.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Memcache; trait CASTrait { diff --git a/lib/private/Memcache/Cache.php b/lib/private/Memcache/Cache.php index fe141b7bf195a5caabf62cda146531d6a3b3f817..95213c16849724d5e50bacf55fa399f0e7a8708e 100644 --- a/lib/private/Memcache/Cache.php +++ b/lib/private/Memcache/Cache.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Memcache; abstract class Cache implements \ArrayAccess, \OCP\ICache { diff --git a/lib/private/Memcache/Factory.php b/lib/private/Memcache/Factory.php index 83a05e20a597d8ecb280a05950d9779e5538e0fa..9810f0681489cfc02f83c6daaeb66ea8d8cdbdc5 100644 --- a/lib/private/Memcache/Factory.php +++ b/lib/private/Memcache/Factory.php @@ -7,6 +7,7 @@ * @author Lukas Reschke * @author Markus Goetz * @author Morris Jobke + * @author Richard Steinmetz * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma @@ -28,7 +29,6 @@ * along with this program. If not, see * */ - namespace OC\Memcache; use OCP\ICache; diff --git a/lib/private/Memcache/Memcached.php b/lib/private/Memcache/Memcached.php index 7b852a418e17ccab51bb7de9513679dbe157c5cb..cd1af031d8a001b47ed4952caf54a52645beb6ee 100644 --- a/lib/private/Memcache/Memcached.php +++ b/lib/private/Memcache/Memcached.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OC\Memcache; use OC\HintException; diff --git a/lib/private/Memcache/NullCache.php b/lib/private/Memcache/NullCache.php index 5ad3cb22201c2d40811ed36af016bb5c7d911914..7b56ec932f42e25e64ed1d3903601eefe689cc1e 100644 --- a/lib/private/Memcache/NullCache.php +++ b/lib/private/Memcache/NullCache.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Memcache; class NullCache extends Cache implements \OCP\IMemcache { diff --git a/lib/private/Memcache/Redis.php b/lib/private/Memcache/Redis.php index 303b3afb67ea52446486b850872c9f3df097fc44..aee1773d565ea0f976b1dff44dbb19efcdbc3780 100644 --- a/lib/private/Memcache/Redis.php +++ b/lib/private/Memcache/Redis.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling * @author Jörn Friedrich Dreyer @@ -26,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Memcache; use OCP\IMemcacheTTL; diff --git a/lib/private/MemoryInfo.php b/lib/private/MemoryInfo.php index f227d38df9f2b20883c3d49668d3ccf69eb37e93..074e9f915fe8f5a8ce3e4393302108867232620d 100644 --- a/lib/private/MemoryInfo.php +++ b/lib/private/MemoryInfo.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC; /** diff --git a/lib/private/Migration/BackgroundRepair.php b/lib/private/Migration/BackgroundRepair.php index 749a1a1bc69c413bd230685fd645ada2034bfe02..25026575d385717dbc95a2639e0b8beed6e91bd4 100644 --- a/lib/private/Migration/BackgroundRepair.php +++ b/lib/private/Migration/BackgroundRepair.php @@ -5,6 +5,7 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Lukas Reschke + * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller * @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Migration; use OC\BackgroundJob\JobList; diff --git a/lib/private/Migration/ConsoleOutput.php b/lib/private/Migration/ConsoleOutput.php index 2ad42843dbae6af785b7c76f31742e4989dd048b..cf4362d314440fda0f8f494f82b6be8fa88bc0df 100644 --- a/lib/private/Migration/ConsoleOutput.php +++ b/lib/private/Migration/ConsoleOutput.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Migration; use OCP\Migration\IOutput; diff --git a/lib/private/Migration/SimpleOutput.php b/lib/private/Migration/SimpleOutput.php index 11f2ed2837c999e3b1b550a08e6a9bf76475ffd8..5024fdac58596ea749420e820e817053ba5ba3bd 100644 --- a/lib/private/Migration/SimpleOutput.php +++ b/lib/private/Migration/SimpleOutput.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Migration; use OCP\ILogger; diff --git a/lib/private/NaturalSort.php b/lib/private/NaturalSort.php index d328ad0f3590ada55a1c1d54ad43997887f73084..d38c4622796a1e658ff748555b01a710ea67a767 100644 --- a/lib/private/NaturalSort.php +++ b/lib/private/NaturalSort.php @@ -6,7 +6,6 @@ * @author AW-UC * @author Christoph Wurst * @author Lukas Reschke - * @author Morris Jobke * @author Robin McCorkell * @author Vincent Petry * @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC; use OCP\ILogger; diff --git a/lib/private/NaturalSort_DefaultCollator.php b/lib/private/NaturalSort_DefaultCollator.php index f19b8218939219b1e3408d5026fa14cbcd724a20..35bed8a37c747eeacf4ac474085d65dd4b5c24f7 100644 --- a/lib/private/NaturalSort_DefaultCollator.php +++ b/lib/private/NaturalSort_DefaultCollator.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC; class NaturalSort_DefaultCollator { diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php index e250523b98ff5e9e1aaa8f7c51e57db03ec2c79e..97bb8f8589482d9fd1fdc35900b7d4bc8b0f0bf8 100644 --- a/lib/private/NavigationManager.php +++ b/lib/private/NavigationManager.php @@ -8,7 +8,7 @@ * @author Daniel Kesselberg * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OC; use OC\App\AppManager; diff --git a/lib/private/NeedsUpdateException.php b/lib/private/NeedsUpdateException.php index 0b9d323d96abf2ee30988fa7670ef4e3ccc85f0e..fcf63a6b373996d786d7b3a47a3dbec19ec85e8d 100644 --- a/lib/private/NeedsUpdateException.php +++ b/lib/private/NeedsUpdateException.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Morris Jobke * @author Robin Appelman * * @license AGPL-3.0 @@ -20,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC; class NeedsUpdateException extends ServiceUnavailableException { diff --git a/lib/private/NotSquareException.php b/lib/private/NotSquareException.php index a67fac7c20e274f375cc8f98be6f85ca37085ce7..40957e7d92464055ed48af99a4b9e19feb9c68ee 100644 --- a/lib/private/NotSquareException.php +++ b/lib/private/NotSquareException.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christopher Schäpers - * @author Morris Jobke * * @license AGPL-3.0 * @@ -20,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC; class NotSquareException extends \Exception { diff --git a/lib/private/Notification/Action.php b/lib/private/Notification/Action.php index a04f622c3cbdb334e5b97df82de935ea7c66d2d9..6d1375a611b96e265bcf5743cc155b4073405eb0 100644 --- a/lib/private/Notification/Action.php +++ b/lib/private/Notification/Action.php @@ -22,7 +22,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Notification; use OCP\Notification\IAction; diff --git a/lib/private/Notification/Manager.php b/lib/private/Notification/Manager.php index fd10a006e50ebb39505015d0a54589c4a9691545..fb3a46d5f5d021f45768af2ac417b7e6cf94824c 100644 --- a/lib/private/Notification/Manager.php +++ b/lib/private/Notification/Manager.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Notification; use OC\AppFramework\Bootstrap\Coordinator; diff --git a/lib/private/Notification/Notification.php b/lib/private/Notification/Notification.php index c0848817361b4b626459a802b6d1d070003a7783..3e5cf1d69349a4ddd3a051bfe66e2f28b44d9feb 100644 --- a/lib/private/Notification/Notification.php +++ b/lib/private/Notification/Notification.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Notification; use OCP\Notification\IAction; diff --git a/lib/private/OCS/CoreCapabilities.php b/lib/private/OCS/CoreCapabilities.php index 81c7bf93da5c194aa4b897b15816adce6aafa0df..ab06b04cc911528f08a7f680826e5129f663c51d 100644 --- a/lib/private/OCS/CoreCapabilities.php +++ b/lib/private/OCS/CoreCapabilities.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\OCS; use OCP\Capabilities\ICapability; diff --git a/lib/private/OCS/DiscoveryService.php b/lib/private/OCS/DiscoveryService.php index 0a28b09fda1caa6e18307bb3f07d4c125c9ccc9e..1d10bbac8702aa3abc391b1fad7b9ba9de67d87e 100644 --- a/lib/private/OCS/DiscoveryService.php +++ b/lib/private/OCS/DiscoveryService.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\OCS; use OCP\AppFramework\Http; diff --git a/lib/private/OCS/Exception.php b/lib/private/OCS/Exception.php index 63a7bdb54ea34159ed09486cdfa5d829b7c0bbc3..981c138b385a40d1b2bb784e7e66988c02afa3ff 100644 --- a/lib/private/OCS/Exception.php +++ b/lib/private/OCS/Exception.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\OCS; class Exception extends \Exception { diff --git a/lib/private/OCS/Provider.php b/lib/private/OCS/Provider.php index 68100c648198b1f8dfd0fae630e45d2a5b3b829a..5e7a86a134118c111ac27cf2ccd5a52b557f3202 100644 --- a/lib/private/OCS/Provider.php +++ b/lib/private/OCS/Provider.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\OCS; class Provider extends \OCP\AppFramework\Controller { diff --git a/lib/private/OCS/Result.php b/lib/private/OCS/Result.php index be2e6259309ec7e0e20525a2563e05e331a5e840..73c2bf982723c6d200eea03077be58213f2a309e 100644 --- a/lib/private/OCS/Result.php +++ b/lib/private/OCS/Result.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OC\OCS; class Result { diff --git a/lib/private/Preview/BMP.php b/lib/private/Preview/BMP.php index 7c69d555051285bcd7e0167c7b67c4a22a06bba5..c429f31f0e227ced1f23f0e1241fcc646a97bac4 100644 --- a/lib/private/Preview/BMP.php +++ b/lib/private/Preview/BMP.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; class BMP extends Image { diff --git a/lib/private/Preview/BackgroundCleanupJob.php b/lib/private/Preview/BackgroundCleanupJob.php index e0546c4a11c7adcbf71e3787fda0c14b11b3f408..c78ef7d725714595a8625dddfa22bf2dcdd0cd88 100644 --- a/lib/private/Preview/BackgroundCleanupJob.php +++ b/lib/private/Preview/BackgroundCleanupJob.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Preview; use OC\BackgroundJob\TimedJob; diff --git a/lib/private/Preview/Bitmap.php b/lib/private/Preview/Bitmap.php index e8d8c7a3fa50155d42bbd372a9186ca9adb7b158..969fb948d942f185cbe7843ec0790d3ee02c87d5 100644 --- a/lib/private/Preview/Bitmap.php +++ b/lib/private/Preview/Bitmap.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; use Imagick; diff --git a/lib/private/Preview/Bundled.php b/lib/private/Preview/Bundled.php index f3441b5211c6695aaa43d7bb72beea4662a14708..f026d3259f514e8a53c0d1aebd08735b6a022824 100644 --- a/lib/private/Preview/Bundled.php +++ b/lib/private/Preview/Bundled.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Preview; use OC\Archive\ZIP; diff --git a/lib/private/Preview/Font.php b/lib/private/Preview/Font.php index 7f34dc04b15766625214d95c6f5e2b3e0a852429..baf29e1defcfa6c1071c0d4efa5cb84ecdb7dd2d 100644 --- a/lib/private/Preview/Font.php +++ b/lib/private/Preview/Font.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; // .otf, .ttf and .pfb diff --git a/lib/private/Preview/GIF.php b/lib/private/Preview/GIF.php index bd9e569920d8d04230b76f8be3b7efe419171cac..482f014e3dcaba09583bb66c442fad184930322e 100644 --- a/lib/private/Preview/GIF.php +++ b/lib/private/Preview/GIF.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; class GIF extends Image { diff --git a/lib/private/Preview/Generator.php b/lib/private/Preview/Generator.php index e8d60739b1d67ea0d6be737270ad477bcdba6ed8..454439a6f653ab4ae4265c668610f6636ecb6200 100644 --- a/lib/private/Preview/Generator.php +++ b/lib/private/Preview/Generator.php @@ -4,7 +4,8 @@ * * @author Christoph Wurst * @author Elijah Martin-Merrill - * @author John Molakvoæ (skjnldsv) + * @author J0WI + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma @@ -19,14 +20,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Preview; use OCP\Files\File; diff --git a/lib/private/Preview/GeneratorHelper.php b/lib/private/Preview/GeneratorHelper.php index 843aa0ed420731a778b59c82f1cf1ac7a97b43da..a5a9dacf63bb2568db919c8cb93affb536872414 100644 --- a/lib/private/Preview/GeneratorHelper.php +++ b/lib/private/Preview/GeneratorHelper.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Preview; use OCP\Files\File; diff --git a/lib/private/Preview/HEIC.php b/lib/private/Preview/HEIC.php index 872db6f2ec9b11cb8333df52fc3b618621137d21..68c83fad97d395f2df10fd6aa3817a9064f37540 100644 --- a/lib/private/Preview/HEIC.php +++ b/lib/private/Preview/HEIC.php @@ -27,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Preview; use OCP\Files\File; diff --git a/lib/private/Preview/Illustrator.php b/lib/private/Preview/Illustrator.php index 20c35522dcc2f79f6d56b07db8da72e7b43710e7..3d926c304c549e7ce448a9ec55db9e3a051d9119 100644 --- a/lib/private/Preview/Illustrator.php +++ b/lib/private/Preview/Illustrator.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; //.ai diff --git a/lib/private/Preview/Image.php b/lib/private/Preview/Image.php index 9ed76439d01c7ae59f5f708aee0a2019aeacd890..4bf0cb7a3d4e40eb5f1690f68f7be6ed97e6547f 100644 --- a/lib/private/Preview/Image.php +++ b/lib/private/Preview/Image.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Georg Ehrke + * @author J0WI * @author Joas Schilling * @author josh4trunks * @author Olivier Paroz @@ -26,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; use OCP\Files\File; diff --git a/lib/private/Preview/JPEG.php b/lib/private/Preview/JPEG.php index abdb6b661fccb4e41bb9f02db8e2d49fadb46432..14ae95690c01067795c0d1882fcb0653bc8d953d 100644 --- a/lib/private/Preview/JPEG.php +++ b/lib/private/Preview/JPEG.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; class JPEG extends Image { diff --git a/lib/private/Preview/Krita.php b/lib/private/Preview/Krita.php index b14d1a3f17b56df55ffd589d6d172e14be10a7fa..ec7be4b82cf2df332039c805c74079a6cba9d3c4 100644 --- a/lib/private/Preview/Krita.php +++ b/lib/private/Preview/Krita.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Preview; use OCP\Files\File; diff --git a/lib/private/Preview/MP3.php b/lib/private/Preview/MP3.php index 868078aa0121d096120f34713e65b8e8f9119c83..dec838b6e5a0c482d283890b674043505c1edd46 100644 --- a/lib/private/Preview/MP3.php +++ b/lib/private/Preview/MP3.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; use ID3Parser\ID3Parser; diff --git a/lib/private/Preview/MSOffice2003.php b/lib/private/Preview/MSOffice2003.php index 76781e1249a9989d67b35b99dbbc1ac29c1ce55f..34cee499ff8c258e6b771f67f10164401a579d12 100644 --- a/lib/private/Preview/MSOffice2003.php +++ b/lib/private/Preview/MSOffice2003.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; //.docm, .dotm, .xls(m), .xlt(m), .xla(m), .ppt(m), .pot(m), .pps(m), .ppa(m) diff --git a/lib/private/Preview/MSOffice2007.php b/lib/private/Preview/MSOffice2007.php index bd1e53dd27f3ab7fec2f551619d5855aadd07129..3d3049e1c12efafeb26d638e05161bcc767817d1 100644 --- a/lib/private/Preview/MSOffice2007.php +++ b/lib/private/Preview/MSOffice2007.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; //.docx, .dotx, .xlsx, .xltx, .pptx, .potx, .ppsx diff --git a/lib/private/Preview/MSOfficeDoc.php b/lib/private/Preview/MSOfficeDoc.php index 2068de6f8f5d1dcfad3c4b5ee303158aa271f3eb..e04503629e1eabad0e476a666e408aa8dbb7926c 100644 --- a/lib/private/Preview/MSOfficeDoc.php +++ b/lib/private/Preview/MSOfficeDoc.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; //.doc, .dot diff --git a/lib/private/Preview/MarkDown.php b/lib/private/Preview/MarkDown.php index d900c2b3ac23e60d87cbf524a2d3017abfa1c722..e24bdb5959bb7098ae3caafa31eb38949cb070f2 100644 --- a/lib/private/Preview/MarkDown.php +++ b/lib/private/Preview/MarkDown.php @@ -3,6 +3,8 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Joas Schilling + * @author Julius Härtl + * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @@ -21,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; use OCP\Files\File; diff --git a/lib/private/Preview/Movie.php b/lib/private/Preview/Movie.php index 68157f1a87ff5347c4191454c3b2d424b658a63c..80f2b5eb7636614251f67ebdce8bf1d2c9e29fe5 100644 --- a/lib/private/Preview/Movie.php +++ b/lib/private/Preview/Movie.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; use OCP\Files\File; diff --git a/lib/private/Preview/Office.php b/lib/private/Preview/Office.php index d6f9ac3dfd7044020a5d56c6f050d921d4bc2f88..fef218823e21d42e30dc4c63e38069ecbb443c78 100644 --- a/lib/private/Preview/Office.php +++ b/lib/private/Preview/Office.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; use OCP\Files\File; diff --git a/lib/private/Preview/OpenDocument.php b/lib/private/Preview/OpenDocument.php index 01e191c27895890cfc42ed7f6c66a3946b65854e..8deb9fd0a1eb5a63cfee05e4d35b5218f74cdc81 100644 --- a/lib/private/Preview/OpenDocument.php +++ b/lib/private/Preview/OpenDocument.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; //.odt, .ott, .oth, .odm, .odg, .otg, .odp, .otp, .ods, .ots, .odc, .odf, .odb, .odi, .oxt diff --git a/lib/private/Preview/PDF.php b/lib/private/Preview/PDF.php index cc341be46a0d2bf3067517a7a0a580d0b0f4d485..405fd1545f9671f4e44b7be23d9a48921977f99a 100644 --- a/lib/private/Preview/PDF.php +++ b/lib/private/Preview/PDF.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; //.pdf diff --git a/lib/private/Preview/PNG.php b/lib/private/Preview/PNG.php index a10a17094014b30351bffd615ed4969eecd9b845..5a3f2136575c65889b598dd87a7139a8a39f5dce 100644 --- a/lib/private/Preview/PNG.php +++ b/lib/private/Preview/PNG.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; class PNG extends Image { diff --git a/lib/private/Preview/Photoshop.php b/lib/private/Preview/Photoshop.php index 2f2eb5f42d8bf4dc72261fb56a439dc3ec9afc54..9d79abf8191c2fe4430d25c8f70d69f95018ec59 100644 --- a/lib/private/Preview/Photoshop.php +++ b/lib/private/Preview/Photoshop.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; //.psd diff --git a/lib/private/Preview/Postscript.php b/lib/private/Preview/Postscript.php index e651048744ce353bbad27778ba8ba2a8dbea7830..06ea7fc8037578928b171e3ec5c57ca51b3b88f4 100644 --- a/lib/private/Preview/Postscript.php +++ b/lib/private/Preview/Postscript.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; //.eps diff --git a/lib/private/Preview/Provider.php b/lib/private/Preview/Provider.php index b8490fb089471eb96bb4bbcf2bb1c7d45301fda5..e87aded4786611eec6dfcde539343dbd5062cd94 100644 --- a/lib/private/Preview/Provider.php +++ b/lib/private/Preview/Provider.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; use OCP\Preview\IProvider; diff --git a/lib/private/Preview/ProviderV1Adapter.php b/lib/private/Preview/ProviderV1Adapter.php index 6f5242a52048c406e5cf6715e0953c6a281b9380..22db380d30dda497b06b9c41b396e3a20b023b36 100644 --- a/lib/private/Preview/ProviderV1Adapter.php +++ b/lib/private/Preview/ProviderV1Adapter.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Preview; use OC\Files\View; diff --git a/lib/private/Preview/ProviderV2.php b/lib/private/Preview/ProviderV2.php index 5a369639892b4aa15133cd38111026d016f9c211..e7cabd103379e6c3706c5e91115dd3ea41570926 100644 --- a/lib/private/Preview/ProviderV2.php +++ b/lib/private/Preview/ProviderV2.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Preview; use OCP\Files\File; diff --git a/lib/private/Preview/SGI.php b/lib/private/Preview/SGI.php index 2e198362670979f6ddfc0c15e2575cc471a3f0d1..9f392d2252f259377c9af3f5fa8fbfa7faab3388 100644 --- a/lib/private/Preview/SGI.php +++ b/lib/private/Preview/SGI.php @@ -13,7 +13,7 @@ * * 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 + * 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 diff --git a/lib/private/Preview/SVG.php b/lib/private/Preview/SVG.php index 6630dc2697876414c0aaeed3d3b1f6c34962e653..cee0f341716c6a3ef9ee6d8823a7a5cf4eb5c1d6 100644 --- a/lib/private/Preview/SVG.php +++ b/lib/private/Preview/SVG.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; use OCP\Files\File; diff --git a/lib/private/Preview/StarOffice.php b/lib/private/Preview/StarOffice.php index fd176858a84d5855810a8f8508d1be3faaec5972..58f210d2ff663e1ce1886c4618559981529b9475 100644 --- a/lib/private/Preview/StarOffice.php +++ b/lib/private/Preview/StarOffice.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; //.sxw, .stw, .sxc, .stc, .sxd, .std, .sxi, .sti, .sxg, .sxm diff --git a/lib/private/Preview/Storage/Root.php b/lib/private/Preview/Storage/Root.php index 675263fdd509d178a83ff36d4a82449c784761cc..0eac3ce206418d05c9fab04673844d89a00fd7bd 100644 --- a/lib/private/Preview/Storage/Root.php +++ b/lib/private/Preview/Storage/Root.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Preview\Storage; use OC\Files\AppData\AppData; diff --git a/lib/private/Preview/TGA.php b/lib/private/Preview/TGA.php index d29cb3e2c10b24b803c02efeab05483d11035608..cb591be22319f1ccffa56b09b77b1c68ec6292c1 100644 --- a/lib/private/Preview/TGA.php +++ b/lib/private/Preview/TGA.php @@ -13,7 +13,7 @@ * * 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 + * 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 diff --git a/lib/private/Preview/TIFF.php b/lib/private/Preview/TIFF.php index 20d5552432b73802902f842fe035bc5fded1fa4a..1a5d957d3ee4bdf438a19f5ea23193b6e4a04145 100644 --- a/lib/private/Preview/TIFF.php +++ b/lib/private/Preview/TIFF.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; //.tiff diff --git a/lib/private/Preview/TXT.php b/lib/private/Preview/TXT.php index 9c5b7aa144033fb412756aa47e808cd96a655aae..0ae35fb3eec13f2e8087673f54fac6bec97c0091 100644 --- a/lib/private/Preview/TXT.php +++ b/lib/private/Preview/TXT.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; use OCP\Files\File; diff --git a/lib/private/Preview/Watcher.php b/lib/private/Preview/Watcher.php index c686b8e0e43948c1cbc419ff55952bcd6ba6ed91..7f4593f9fe3c9a2a4c2717a4a7369157334e9740 100644 --- a/lib/private/Preview/Watcher.php +++ b/lib/private/Preview/Watcher.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Preview; use OCP\Files\Folder; diff --git a/lib/private/Preview/WatcherConnector.php b/lib/private/Preview/WatcherConnector.php index 4d2d4676d918dcf0c3660f484e2943109fa574df..4d038c9a2b7dca9161fef7338fc6c481630b3ff0 100644 --- a/lib/private/Preview/WatcherConnector.php +++ b/lib/private/Preview/WatcherConnector.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Preview; use OC\SystemConfig; diff --git a/lib/private/Preview/WebP.php b/lib/private/Preview/WebP.php index d2172b1242c4ab12ec870e6b06e1cb465a785070..c8f8d11c39399643ff2df9c4c760dbc782aa46bf 100644 --- a/lib/private/Preview/WebP.php +++ b/lib/private/Preview/WebP.php @@ -1,11 +1,11 @@ * * @author Roeland Jago Douma - * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OC\Preview; use OCP\Files\FileInfo; diff --git a/lib/private/Preview/XBitmap.php b/lib/private/Preview/XBitmap.php index f549841d837d448db20429db4d2ecf02d34e4d55..e0adb48b88152ab1aa50542b6371c72a2737498b 100644 --- a/lib/private/Preview/XBitmap.php +++ b/lib/private/Preview/XBitmap.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Preview; class XBitmap extends Image { diff --git a/lib/private/PreviewManager.php b/lib/private/PreviewManager.php index d6dc700e4a2ab23c6f025ed038231bb94a995304..92766f116a1f89ade668f4834a76ddcb6c4e2675 100644 --- a/lib/private/PreviewManager.php +++ b/lib/private/PreviewManager.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OC; use OC\Preview\Generator; diff --git a/lib/private/PreviewNotAvailableException.php b/lib/private/PreviewNotAvailableException.php index eb411182746ce83dc76e8c897d059b401062f5d6..f4564546ea8c162e5600bc186057ac974a15fad4 100644 --- a/lib/private/PreviewNotAvailableException.php +++ b/lib/private/PreviewNotAvailableException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC; class PreviewNotAvailableException extends \Exception { diff --git a/lib/private/RedisFactory.php b/lib/private/RedisFactory.php index 52e69a1877839e1611289993f96e89b32843a2bb..61168c3dd867fe420b9cd4beb7ca11913afbb99f 100644 --- a/lib/private/RedisFactory.php +++ b/lib/private/RedisFactory.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC; class RedisFactory { diff --git a/lib/private/Remote/Api/ApiBase.php b/lib/private/Remote/Api/ApiBase.php index 1da2d004e1de7d62d3c9f42b185e6f5273d2afa0..af114bd949801a12e8e6afd588629d6ca630508e 100644 --- a/lib/private/Remote/Api/ApiBase.php +++ b/lib/private/Remote/Api/ApiBase.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Remote\Api; use OCP\Http\Client\IClientService; diff --git a/lib/private/Remote/Api/ApiCollection.php b/lib/private/Remote/Api/ApiCollection.php index 9ce4c7d0661a5d7d1e3b94b0c6e1d1c41e140dcf..261f7e6c9b07f5edae474c53741e056545be1090 100644 --- a/lib/private/Remote/Api/ApiCollection.php +++ b/lib/private/Remote/Api/ApiCollection.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Remote\Api; use OCP\Http\Client\IClientService; diff --git a/lib/private/Remote/Api/ApiFactory.php b/lib/private/Remote/Api/ApiFactory.php index 81bc41f9269206f80220aa43d84d5d509d455a30..27eaa163496bdceb0fe9410516e608a387bf0a2e 100644 --- a/lib/private/Remote/Api/ApiFactory.php +++ b/lib/private/Remote/Api/ApiFactory.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Remote\Api; use OCP\Http\Client\IClientService; diff --git a/lib/private/Remote/Api/NotFoundException.php b/lib/private/Remote/Api/NotFoundException.php index fadf4a4d3245df1ded405831f45ca863148d38a8..8d226b001206e4bc3e2f4cbd2a0ed90dd78d5eb6 100644 --- a/lib/private/Remote/Api/NotFoundException.php +++ b/lib/private/Remote/Api/NotFoundException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Remote\Api; class NotFoundException extends \Exception { diff --git a/lib/private/Remote/Api/OCS.php b/lib/private/Remote/Api/OCS.php index d6bed57f561a895a244047b4226e246915c12d75..e6ee65378c445a0a8e5110f5e4fd0a199e38ddba 100644 --- a/lib/private/Remote/Api/OCS.php +++ b/lib/private/Remote/Api/OCS.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Robin Appelman + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Remote\Api; use GuzzleHttp\Exception\ClientException; diff --git a/lib/private/Remote/Credentials.php b/lib/private/Remote/Credentials.php index 09f5e1cda78a05e1e4cb50784c6993d14a0b8aaf..56cf745c34c80040129ac3b54e53b0223f88e391 100644 --- a/lib/private/Remote/Credentials.php +++ b/lib/private/Remote/Credentials.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Remote; use OCP\Remote\ICredentials; diff --git a/lib/private/Remote/Instance.php b/lib/private/Remote/Instance.php index 3b04e17527ec72374cc0031b64ac84c8ec7545a1..591bc3d6ae018f9b5936c29fc470adddd355d5d5 100644 --- a/lib/private/Remote/Instance.php +++ b/lib/private/Remote/Instance.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Remote; use OC\Remote\Api\NotFoundException; diff --git a/lib/private/Remote/InstanceFactory.php b/lib/private/Remote/InstanceFactory.php index a4445a8306b7d2e6f1c4152c0747f133671f8827..6941d06cb2ee388452589c3877aa8f14c9124e4c 100644 --- a/lib/private/Remote/InstanceFactory.php +++ b/lib/private/Remote/InstanceFactory.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Remote; use OCP\Http\Client\IClientService; diff --git a/lib/private/Remote/User.php b/lib/private/Remote/User.php index fbf30b384cd3c82d604b861327b6b81e3a0665f8..5590fcfba3814701a41f0ee28f403478e970f520 100644 --- a/lib/private/Remote/User.php +++ b/lib/private/Remote/User.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Remote; use OCP\Remote\IUser; diff --git a/lib/private/Repair.php b/lib/private/Repair.php index 57ccfc5037ee2347b60cf7ec3fef13ae22016bdc..688b053fa121fbb66de72c5a6bf46095ccd42a53 100644 --- a/lib/private/Repair.php +++ b/lib/private/Repair.php @@ -2,11 +2,12 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Arthur Schiwon * @author Christoph Wurst * @author Daniel Kesselberg * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Michael Weimann @@ -31,7 +32,6 @@ * along with this program. If not, see * */ - namespace OC; use OC\App\AppStore\Bundles\BundleFetcher; diff --git a/lib/private/Repair/AddBruteForceCleanupJob.php b/lib/private/Repair/AddBruteForceCleanupJob.php index b287b4baa2f1193064005c3babdd7530821a3f5a..5a82c7c9176ebe63c67577067d0aee61e419e58e 100644 --- a/lib/private/Repair/AddBruteForceCleanupJob.php +++ b/lib/private/Repair/AddBruteForceCleanupJob.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair; use OC\Security\Bruteforce\CleanupJob; diff --git a/lib/private/Repair/AddCleanupUpdaterBackupsJob.php b/lib/private/Repair/AddCleanupUpdaterBackupsJob.php index 44c1942ec5d2666035cc4e82e69626ba80faed4a..b9e20186fc832c4ad364159ba429e2014c41ee5d 100644 --- a/lib/private/Repair/AddCleanupUpdaterBackupsJob.php +++ b/lib/private/Repair/AddCleanupUpdaterBackupsJob.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair; use OC\Core\BackgroundJobs\BackgroundCleanupUpdaterBackupsJob; diff --git a/lib/private/Repair/CleanTags.php b/lib/private/Repair/CleanTags.php index 5b8e44f37b6ebabb86966460d2ef62ad95e1ae33..0dd7011298411ee036ffbb098f5072fb7cecf89d 100644 --- a/lib/private/Repair/CleanTags.php +++ b/lib/private/Repair/CleanTags.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Repair; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/private/Repair/ClearFrontendCaches.php b/lib/private/Repair/ClearFrontendCaches.php index 523a1fc6be543e45e030ac5435c77ba89ac6df73..96a7833fecc269be6d0bb4fb28a8157765cdbfb4 100644 --- a/lib/private/Repair/ClearFrontendCaches.php +++ b/lib/private/Repair/ClearFrontendCaches.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair; use OC\Template\JSCombiner; diff --git a/lib/private/Repair/ClearGeneratedAvatarCache.php b/lib/private/Repair/ClearGeneratedAvatarCache.php index 26d436451bf81593d68c66e3ce18528cb5f047c3..314299a0528171f4acdefa23ce365e2cd7c099bb 100644 --- a/lib/private/Repair/ClearGeneratedAvatarCache.php +++ b/lib/private/Repair/ClearGeneratedAvatarCache.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2018 John Molakvoæ * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Michael Weimann * * @license GNU AGPL version 3 or any later version @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair; use OC\Avatar\AvatarManager; diff --git a/lib/private/Repair/Collation.php b/lib/private/Repair/Collation.php index d2974c1680a56fb63bcf8960472b01adf405d6d1..01773f7e69ff820bdf2308ccc60b2c666b3f6670 100644 --- a/lib/private/Repair/Collation.php +++ b/lib/private/Repair/Collation.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Repair; use Doctrine\DBAL\Exception\DriverException; diff --git a/lib/private/Repair/MoveUpdaterStepFile.php b/lib/private/Repair/MoveUpdaterStepFile.php index e912838f50a67414738ebd2fa88aecdfe90e4043..bc7430d7a7f02de9816cab44678b3f59bbb08a57 100644 --- a/lib/private/Repair/MoveUpdaterStepFile.php +++ b/lib/private/Repair/MoveUpdaterStepFile.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair; use OCP\Migration\IOutput; diff --git a/lib/private/Repair/NC11/FixMountStorages.php b/lib/private/Repair/NC11/FixMountStorages.php index 199b504fa35a089032173927d3489229a17767ab..6552ea4bde909511d12eda80f572818370bb5635 100644 --- a/lib/private/Repair/NC11/FixMountStorages.php +++ b/lib/private/Repair/NC11/FixMountStorages.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\NC11; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/private/Repair/NC13/AddLogRotateJob.php b/lib/private/Repair/NC13/AddLogRotateJob.php index 7bd290894a480b2fe49d8457e2c78730653223cf..0b5f3d10e707bcc61bbe4c2f9a8fc7d930e1a97c 100644 --- a/lib/private/Repair/NC13/AddLogRotateJob.php +++ b/lib/private/Repair/NC13/AddLogRotateJob.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\NC13; use OC\Log\Rotate; diff --git a/lib/private/Repair/NC14/AddPreviewBackgroundCleanupJob.php b/lib/private/Repair/NC14/AddPreviewBackgroundCleanupJob.php index f2958de5b96533bdf5bc0731fd7136c1c6104a1d..afd442a18b5a25d6c4399cd011356013e8826b22 100644 --- a/lib/private/Repair/NC14/AddPreviewBackgroundCleanupJob.php +++ b/lib/private/Repair/NC14/AddPreviewBackgroundCleanupJob.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\NC14; use OC\Preview\BackgroundCleanupJob; diff --git a/lib/private/Repair/NC16/AddClenupLoginFlowV2BackgroundJob.php b/lib/private/Repair/NC16/AddClenupLoginFlowV2BackgroundJob.php index 34afd5dea60223cc52d210d4ef0502872a6cb77b..70c73fbf9a6abf0126048b03227588f999875c58 100644 --- a/lib/private/Repair/NC16/AddClenupLoginFlowV2BackgroundJob.php +++ b/lib/private/Repair/NC16/AddClenupLoginFlowV2BackgroundJob.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\NC16; use OC\Core\BackgroundJobs\CleanupLoginFlowV2; diff --git a/lib/private/Repair/NC16/CleanupCardDAVPhotoCache.php b/lib/private/Repair/NC16/CleanupCardDAVPhotoCache.php index fb09097f6efba165f89e7158df2d1fac1e1005f7..39b485627910353abdf24b606171d4a763830b15 100644 --- a/lib/private/Repair/NC16/CleanupCardDAVPhotoCache.php +++ b/lib/private/Repair/NC16/CleanupCardDAVPhotoCache.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\NC16; use OCP\Files\IAppData; diff --git a/lib/private/Repair/NC16/ClearCollectionsAccessCache.php b/lib/private/Repair/NC16/ClearCollectionsAccessCache.php index 6d13a8f13a0b7df64c4fce46b67b14e1518440a3..44cb4b050ad67c5722f8ac93a665ac913adf2d75 100644 --- a/lib/private/Repair/NC16/ClearCollectionsAccessCache.php +++ b/lib/private/Repair/NC16/ClearCollectionsAccessCache.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\NC16; use OC\Collaboration\Resources\Manager; diff --git a/lib/private/Repair/NC18/ResetGeneratedAvatarFlag.php b/lib/private/Repair/NC18/ResetGeneratedAvatarFlag.php index 1a86b8706ae20f5584b1bf9f950115fc94ef1c38..95839823a8241576e6162bf0bc6f67bd79bdfdd4 100644 --- a/lib/private/Repair/NC18/ResetGeneratedAvatarFlag.php +++ b/lib/private/Repair/NC18/ResetGeneratedAvatarFlag.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\NC18; use OCP\IConfig; diff --git a/lib/private/Repair/NC20/EncryptionLegacyCipher.php b/lib/private/Repair/NC20/EncryptionLegacyCipher.php index e60a24353494691231dbb0c134a0c1e10c43dffb..d9ac1bcad4bdefbf4a44a563e9f3dad737751701 100644 --- a/lib/private/Repair/NC20/EncryptionLegacyCipher.php +++ b/lib/private/Repair/NC20/EncryptionLegacyCipher.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\NC20; use OCP\Encryption\IManager; diff --git a/lib/private/Repair/NC20/EncryptionMigration.php b/lib/private/Repair/NC20/EncryptionMigration.php index 45789d2317b6617d8aa1dacb510fb8ebfd07febd..60b5032955c5fb29dd2e6ef2f78f96a4977e82be 100644 --- a/lib/private/Repair/NC20/EncryptionMigration.php +++ b/lib/private/Repair/NC20/EncryptionMigration.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\NC20; use OCP\Encryption\IManager; diff --git a/lib/private/Repair/NC20/ShippedDashboardEnable.php b/lib/private/Repair/NC20/ShippedDashboardEnable.php index b8900373b2ada1c660bf0dd79089b19faeef6810..61f402f1af4d1791af179fd1bad0e80acc3b9ca6 100644 --- a/lib/private/Repair/NC20/ShippedDashboardEnable.php +++ b/lib/private/Repair/NC20/ShippedDashboardEnable.php @@ -1,4 +1,7 @@ * @@ -13,17 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - -declare(strict_types=1); - - namespace OC\Repair\NC20; use OCP\IConfig; diff --git a/lib/private/Repair/NC21/AddCheckForUserCertificatesJob.php b/lib/private/Repair/NC21/AddCheckForUserCertificatesJob.php index df6637e394879fe4ca5c3fb09f9bbc8d0abb4a70..3a98f6bab3c862f447b58ea9b9c4bacedcfb0d54 100644 --- a/lib/private/Repair/NC21/AddCheckForUserCertificatesJob.php +++ b/lib/private/Repair/NC21/AddCheckForUserCertificatesJob.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\NC21; use OC\Core\BackgroundJobs\CheckForUserCertificates; diff --git a/lib/private/Repair/NC21/ValidatePhoneNumber.php b/lib/private/Repair/NC21/ValidatePhoneNumber.php index ca79786f9091e35b3dfda1fc7f5ec989cea202c6..3217a1f082c5320b008090b9ddcfa74dd9e6a2af 100644 --- a/lib/private/Repair/NC21/ValidatePhoneNumber.php +++ b/lib/private/Repair/NC21/ValidatePhoneNumber.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling * + * @author Arthur Schiwon * @author Joas Schilling * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\NC21; use OCP\Accounts\IAccountManager; diff --git a/lib/private/Repair/NC22/LookupServerSendCheck.php b/lib/private/Repair/NC22/LookupServerSendCheck.php index de419c7857c7e8e69d1204cae2f33ca5b12ba78f..c68a608ed25028b1859fcecbea7ea1059c9469ad 100644 --- a/lib/private/Repair/NC22/LookupServerSendCheck.php +++ b/lib/private/Repair/NC22/LookupServerSendCheck.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2021 Roeland Jago Douma * + * @author Morris Jobke * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\NC22; use OC\Core\BackgroundJobs\LookupServerSendCheckBackgroundJob; diff --git a/lib/private/Repair/OldGroupMembershipShares.php b/lib/private/Repair/OldGroupMembershipShares.php index d991ef82ac9ea3120cf66dd82f770a68a115372f..1cee4077731e019985c5745199c5737117c23a77 100644 --- a/lib/private/Repair/OldGroupMembershipShares.php +++ b/lib/private/Repair/OldGroupMembershipShares.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Repair; use OCP\IDBConnection; diff --git a/lib/private/Repair/Owncloud/CleanPreviews.php b/lib/private/Repair/Owncloud/CleanPreviews.php index 267a1be798528d5867d2b635d3c727430842bb4f..b9146b772494313455b0e7702aeca4ff955af3aa 100644 --- a/lib/private/Repair/Owncloud/CleanPreviews.php +++ b/lib/private/Repair/Owncloud/CleanPreviews.php @@ -13,7 +13,7 @@ * * 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 + * 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 diff --git a/lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php b/lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php index 90aa59b2950b98dee331a876108700ad84fe56b2..67f9d6912d9f538e450738566fe990be282c1646 100644 --- a/lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php +++ b/lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php @@ -13,7 +13,7 @@ * * 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 + * 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 diff --git a/lib/private/Repair/Owncloud/DropAccountTermsTable.php b/lib/private/Repair/Owncloud/DropAccountTermsTable.php index c6e8a9d4645fc69d0c385b8307988112cafefc3a..e0c6a4f17ac091681a76859eacb14081254019f2 100644 --- a/lib/private/Repair/Owncloud/DropAccountTermsTable.php +++ b/lib/private/Repair/Owncloud/DropAccountTermsTable.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\Owncloud; use OCP\IDBConnection; diff --git a/lib/private/Repair/Owncloud/InstallCoreBundle.php b/lib/private/Repair/Owncloud/InstallCoreBundle.php index 10d5357e5d882362e465c0e19b8ad59b7356283a..a733bc43923a3966fb22f1a7c20831dcbac53af4 100644 --- a/lib/private/Repair/Owncloud/InstallCoreBundle.php +++ b/lib/private/Repair/Owncloud/InstallCoreBundle.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\Owncloud; use OC\App\AppStore\Bundles\BundleFetcher; diff --git a/lib/private/Repair/Owncloud/MoveAvatars.php b/lib/private/Repair/Owncloud/MoveAvatars.php index 37c79de22ab3b87a48ff602ca27274b4e27b94f6..ab48731ecb08d74a1f6e354d7f09f67d89d50d05 100644 --- a/lib/private/Repair/Owncloud/MoveAvatars.php +++ b/lib/private/Repair/Owncloud/MoveAvatars.php @@ -13,7 +13,7 @@ * * 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 + * 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 diff --git a/lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php b/lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php index 6cda94246960233898946cdcc363d708cb30e0fd..280426fb9c176ae165922ac4ec522d3165ac2ff8 100644 --- a/lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php +++ b/lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php @@ -14,7 +14,7 @@ * * 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 + * 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 diff --git a/lib/private/Repair/Owncloud/SaveAccountsTableData.php b/lib/private/Repair/Owncloud/SaveAccountsTableData.php index f11397d7ae531123163257919faa71e5a4b9285e..13677d80de0ad27e8ba711a8995fc82b354d5ee0 100644 --- a/lib/private/Repair/Owncloud/SaveAccountsTableData.php +++ b/lib/private/Repair/Owncloud/SaveAccountsTableData.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\Owncloud; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/private/Repair/Owncloud/UpdateLanguageCodes.php b/lib/private/Repair/Owncloud/UpdateLanguageCodes.php index cd923b4e8022e1771e211b3ca0c613f444fe1c91..cb4525b6c1dd3569db7241ad41650adb13a29046 100644 --- a/lib/private/Repair/Owncloud/UpdateLanguageCodes.php +++ b/lib/private/Repair/Owncloud/UpdateLanguageCodes.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair\Owncloud; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/private/Repair/RemoveLinkShares.php b/lib/private/Repair/RemoveLinkShares.php index 32cbd1f73f85f578806450499c492bea2542da94..1b0270e928dcf008e329a3e8b3ea2bbcad16a248 100644 --- a/lib/private/Repair/RemoveLinkShares.php +++ b/lib/private/Repair/RemoveLinkShares.php @@ -8,7 +8,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Repair; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/lib/private/Repair/RepairDavShares.php b/lib/private/Repair/RepairDavShares.php index 8c53eaad43b6161effd9e90e8c0449bd3a80c08a..9c0bce66ae870b09516623eae2664061f6701fa2 100644 --- a/lib/private/Repair/RepairDavShares.php +++ b/lib/private/Repair/RepairDavShares.php @@ -1,6 +1,7 @@ * @@ -15,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OC\Repair; use OCP\DB\Exception; diff --git a/lib/private/Repair/RepairInvalidShares.php b/lib/private/Repair/RepairInvalidShares.php index bc03374ff9807029a399e440525f698520abdbf9..c34d5d9e005796beb576d43f627b9088e3ee2b2a 100644 --- a/lib/private/Repair/RepairInvalidShares.php +++ b/lib/private/Repair/RepairInvalidShares.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Repair; use OCP\Migration\IOutput; diff --git a/lib/private/Repair/RepairMimeTypes.php b/lib/private/Repair/RepairMimeTypes.php index d0e3bbff70737fc0bb33a9583501cd5f0e8a2787..b5c17e851476181a40303af5fc7912c27170765d 100644 --- a/lib/private/Repair/RepairMimeTypes.php +++ b/lib/private/Repair/RepairMimeTypes.php @@ -31,7 +31,6 @@ * along with this program. If not, see * */ - namespace OC\Repair; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/private/Repair/SqliteAutoincrement.php b/lib/private/Repair/SqliteAutoincrement.php index 651a3c144f34027c5a8bca4b3707e0baaaf587da..9bd8fa36deba6361f970d5ac1552af9a8b56ee39 100644 --- a/lib/private/Repair/SqliteAutoincrement.php +++ b/lib/private/Repair/SqliteAutoincrement.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Repair; use Doctrine\DBAL\Platforms\SqlitePlatform; diff --git a/lib/private/RepairException.php b/lib/private/RepairException.php index c06fcc91f6e3d94c2a9e0d079d4636b44529e22f..6cce3b0e0d62dbc7c848ad335ec64411351500a7 100644 --- a/lib/private/RepairException.php +++ b/lib/private/RepairException.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Morris Jobke * @author Vincent Petry * * @license AGPL-3.0 @@ -20,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC; /** diff --git a/lib/private/RichObjectStrings/Validator.php b/lib/private/RichObjectStrings/Validator.php index c80da2914a4ae991fa76dffdbcc387feb934301d..23ca2a6a0fa329a239655b9c9e8e86901712ca69 100644 --- a/lib/private/RichObjectStrings/Validator.php +++ b/lib/private/RichObjectStrings/Validator.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\RichObjectStrings; use OCP\RichObjectStrings\Definitions; diff --git a/lib/private/Route/CachingRouter.php b/lib/private/Route/CachingRouter.php index e94039cce1a4935ded0b4a40a1402e9e5b868723..553ea285fd4b085ef5e1c1c095369e40cb23111b 100644 --- a/lib/private/Route/CachingRouter.php +++ b/lib/private/Route/CachingRouter.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\Route; use OCP\ILogger; diff --git a/lib/private/Route/Route.php b/lib/private/Route/Route.php index 8e4193448819ea98fd2e33381a81ee3ca4ed82f7..ad440a001afc855a0fac5d7c10e519a989b5766c 100644 --- a/lib/private/Route/Route.php +++ b/lib/private/Route/Route.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\Route; use OCP\Route\IRoute; diff --git a/lib/private/Route/Router.php b/lib/private/Route/Router.php index ac9508b30691e876e8b381d0ab0d9e9e3c0821dc..fddd64a7d485a75ef3ac08c7204eec43dc3e6104 100644 --- a/lib/private/Route/Router.php +++ b/lib/private/Route/Router.php @@ -7,13 +7,13 @@ * @author Christoph Wurst * @author Joas Schilling * @author Jörn Friedrich Dreyer + * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma * @author Thomas Müller - * @author Vincent Petry * * @license AGPL-3.0 * @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OC\Route; use OC\AppFramework\Routing\RouteParser; diff --git a/lib/private/Search.php b/lib/private/Search.php index 9ecf34aef545d26114c8329415f60fa2486514c7..b1e39843e494a6d9f740d6a55c87287a507c272b 100644 --- a/lib/private/Search.php +++ b/lib/private/Search.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC; use OCP\ISearch; diff --git a/lib/private/Search/Provider/File.php b/lib/private/Search/Provider/File.php index d42d57b80035d3c93d8b3cc297983eb54c9dfad1..fba8e6db05fe1f2b6427a95136c40750d6f51e19 100644 --- a/lib/private/Search/Provider/File.php +++ b/lib/private/Search/Provider/File.php @@ -6,10 +6,9 @@ * @author Bart Visscher * @author Christoph Wurst * @author Jakob Sack - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer - * @author Morris Jobke - * @author Roeland Jago Douma + * @author Robin Appelman * * @license AGPL-3.0 * @@ -26,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Search\Provider; use OC\Files\Search\SearchComparison; diff --git a/lib/private/Search/Result/Audio.php b/lib/private/Search/Result/Audio.php index e3917b7e4b3e310b262b600f86a2e2034be44087..0a734767df07f447ee7e1b3dce1901218a522e24 100644 --- a/lib/private/Search/Result/Audio.php +++ b/lib/private/Search/Result/Audio.php @@ -5,7 +5,6 @@ * @author Andrew Brown * @author Christoph Wurst * @author Jörn Friedrich Dreyer - * @author Morris Jobke * * @license AGPL-3.0 * @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Search\Result; /** diff --git a/lib/private/Search/Result/File.php b/lib/private/Search/Result/File.php index f8779f8ccbd61797813267ffa61cdb1f1cfeab50..dc10cab09e98547b352abb496256001af999bf40 100644 --- a/lib/private/Search/Result/File.php +++ b/lib/private/Search/Result/File.php @@ -4,10 +4,10 @@ * * @author Andrew Brown * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Lukas Reschke - * @author Morris Jobke + * @author Robin Appelman * * @license AGPL-3.0 * @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Search\Result; use OCP\Files\FileInfo; diff --git a/lib/private/Search/Result/Folder.php b/lib/private/Search/Result/Folder.php index 1268b1379b23e93bc085fb2072e391416b7997b2..590943fb941f1786a3690cc5f56cf91262d08580 100644 --- a/lib/private/Search/Result/Folder.php +++ b/lib/private/Search/Result/Folder.php @@ -5,7 +5,6 @@ * @author Andrew Brown * @author Christoph Wurst * @author Jörn Friedrich Dreyer - * @author Morris Jobke * * @license AGPL-3.0 * @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Search\Result; /** diff --git a/lib/private/Search/Result/Image.php b/lib/private/Search/Result/Image.php index 5a46138f59488200d84ecc631f30c03984339628..9870e316a795448223ba0149e0ac69ba9e75f4bd 100644 --- a/lib/private/Search/Result/Image.php +++ b/lib/private/Search/Result/Image.php @@ -5,7 +5,6 @@ * @author Andrew Brown * @author Christoph Wurst * @author Jörn Friedrich Dreyer - * @author Morris Jobke * * @license AGPL-3.0 * @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Search\Result; /** diff --git a/lib/private/Search/SearchComposer.php b/lib/private/Search/SearchComposer.php index 09355f3aa0e9134a67ece1c28ffe08fb42f66ad0..d5f35f504e06a047bfd64241d959d4c8c357276e 100644 --- a/lib/private/Search/SearchComposer.php +++ b/lib/private/Search/SearchComposer.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Search; use InvalidArgumentException; diff --git a/lib/private/Search/SearchQuery.php b/lib/private/Search/SearchQuery.php index 728802b6e809311e9f4decc47796cb6d1d3947a7..c89446d59703b0eaee4490240b863fc7a6c8305d 100644 --- a/lib/private/Search/SearchQuery.php +++ b/lib/private/Search/SearchQuery.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Search; use OCP\Search\ISearchQuery; diff --git a/lib/private/Security/Bruteforce/Capabilities.php b/lib/private/Security/Bruteforce/Capabilities.php index 7c4c2a13671e3b4ea767a300175a82d08eb0a79d..3b494d5bf49cc2693f572df0665326128c207530 100644 --- a/lib/private/Security/Bruteforce/Capabilities.php +++ b/lib/private/Security/Bruteforce/Capabilities.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2017 Roeland Jago Douma * + * @author J0WI * @author Julius Härtl * @author Roeland Jago Douma * @@ -17,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Security\Bruteforce; use OCP\Capabilities\IPublicCapability; diff --git a/lib/private/Security/Bruteforce/CleanupJob.php b/lib/private/Security/Bruteforce/CleanupJob.php index edf59cdcdc5698f8151cbd39da85fe5afc85b0ec..1e5f83360d5a4bcad7d9c9037414f26653b96745 100644 --- a/lib/private/Security/Bruteforce/CleanupJob.php +++ b/lib/private/Security/Bruteforce/CleanupJob.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Security\Bruteforce; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/lib/private/Security/Bruteforce/Throttler.php b/lib/private/Security/Bruteforce/Throttler.php index e1d9127a7bbd49af7c9a4a8c0e8851adc05f1c6a..6c898cdf7e6c493c24e605a3b54ec80638c9fef7 100644 --- a/lib/private/Security/Bruteforce/Throttler.php +++ b/lib/private/Security/Bruteforce/Throttler.php @@ -23,14 +23,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Security\Bruteforce; use OC\Security\Normalizer\IpAddress; diff --git a/lib/private/Security/CSP/ContentSecurityPolicy.php b/lib/private/Security/CSP/ContentSecurityPolicy.php index 4d41bd56206b44ca07a0dcac5aaae3f52a7a659f..78517f639a762dd33edcb509eb79833ccf6ceb50 100644 --- a/lib/private/Security/CSP/ContentSecurityPolicy.php +++ b/lib/private/Security/CSP/ContentSecurityPolicy.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Security\CSP; /** diff --git a/lib/private/Security/CSP/ContentSecurityPolicyManager.php b/lib/private/Security/CSP/ContentSecurityPolicyManager.php index 60a176cbd8b1eea320070eccf6a9c7596b6c908d..ff770435edab2020cd84ec3058666877c08606bc 100644 --- a/lib/private/Security/CSP/ContentSecurityPolicyManager.php +++ b/lib/private/Security/CSP/ContentSecurityPolicyManager.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Security\CSP; use OCP\AppFramework\Http\ContentSecurityPolicy; diff --git a/lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php b/lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php index cc5a3c2d8fb23649574c523af34478b3ae33f40b..f332913572707bb07d09cdf92f3e4aaadda33a9e 100644 --- a/lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php +++ b/lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php @@ -21,14 +21,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Security\CSP; use OC\AppFramework\Http\Request; diff --git a/lib/private/Security/CSRF/CsrfToken.php b/lib/private/Security/CSRF/CsrfToken.php index 25ec8572a66416bbdb384b441ce40e3ed4f5d9d3..a76e169e5b9e9a672aa373e85d5c39dabbcbaed1 100644 --- a/lib/private/Security/CSRF/CsrfToken.php +++ b/lib/private/Security/CSRF/CsrfToken.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Security\CSRF; /** diff --git a/lib/private/Security/CSRF/CsrfTokenGenerator.php b/lib/private/Security/CSRF/CsrfTokenGenerator.php index 721c427c8c7ef4844b2245fd9f0535fb00d635d3..0576fda9e067f218c0ae3db5bb4215f1804edf4a 100644 --- a/lib/private/Security/CSRF/CsrfTokenGenerator.php +++ b/lib/private/Security/CSRF/CsrfTokenGenerator.php @@ -23,7 +23,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Security\CSRF; use OCP\Security\ISecureRandom; diff --git a/lib/private/Security/CSRF/CsrfTokenManager.php b/lib/private/Security/CSRF/CsrfTokenManager.php index f0536c770b505c0548bb01301fc1edf263ea7173..2c6dd45866d8614008a227755d58ace2c7682833 100644 --- a/lib/private/Security/CSRF/CsrfTokenManager.php +++ b/lib/private/Security/CSRF/CsrfTokenManager.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Security\CSRF; use OC\Security\CSRF\TokenStorage\SessionStorage; diff --git a/lib/private/Security/CSRF/TokenStorage/SessionStorage.php b/lib/private/Security/CSRF/TokenStorage/SessionStorage.php index ed9b068faa24bf42137dc60ba7166772bde54071..ab05d5b1493022b9f10725ccfaac43eeac11cf95 100644 --- a/lib/private/Security/CSRF/TokenStorage/SessionStorage.php +++ b/lib/private/Security/CSRF/TokenStorage/SessionStorage.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Security\CSRF\TokenStorage; use OCP\ISession; diff --git a/lib/private/Security/Certificate.php b/lib/private/Security/Certificate.php index e299f9d2b8f748db6b4ef3015acbe26c4b513eb4..fb5b9aa8a937142c4da21db8b58c04055ab3a445 100644 --- a/lib/private/Security/Certificate.php +++ b/lib/private/Security/Certificate.php @@ -6,8 +6,8 @@ declare(strict_types=1); * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst + * @author J0WI * @author Lukas Reschke - * @author Morris Jobke * @author Robin Appelman * * @license AGPL-3.0 @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Security; use OCP\ICertificate; diff --git a/lib/private/Security/CertificateManager.php b/lib/private/Security/CertificateManager.php index 9734f9b64465e7a321536f7f696b6e2d8eae7ddf..0c6791163c2009751969f8ab06f71c174007e0d4 100644 --- a/lib/private/Security/CertificateManager.php +++ b/lib/private/Security/CertificateManager.php @@ -8,6 +8,7 @@ declare(strict_types=1); * @author Bjoern Schiessle * @author Björn Schießle * @author Christoph Wurst + * @author J0WI * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke @@ -29,7 +30,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Security; use OC\Files\Filesystem; diff --git a/lib/private/Security/CredentialsManager.php b/lib/private/Security/CredentialsManager.php index 4688bea8dcf69e9e619d968b68e7f91626572dd4..0bddaeda1b0d94d4aec3c99ee77f5aa0deea9a64 100644 --- a/lib/private/Security/CredentialsManager.php +++ b/lib/private/Security/CredentialsManager.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Arthur Schiwon + * @author J0WI * @author Joas Schilling * @author Robin McCorkell * @author Roeland Jago Douma @@ -25,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Security; use OCP\IDBConnection; diff --git a/lib/private/Security/Crypto.php b/lib/private/Security/Crypto.php index 85591eb62f3454db5a37318acb60b065d889b328..7a4b9f2ee2887782908a342029c7a0306da8257c 100644 --- a/lib/private/Security/Crypto.php +++ b/lib/private/Security/Crypto.php @@ -27,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Security; use OCP\IConfig; diff --git a/lib/private/Security/FeaturePolicy/FeaturePolicy.php b/lib/private/Security/FeaturePolicy/FeaturePolicy.php index 9355670878938350ee88225e379dc2e5c38114fe..a0ab2065ece35989c73a377ec7eb8f5e174c5755 100644 --- a/lib/private/Security/FeaturePolicy/FeaturePolicy.php +++ b/lib/private/Security/FeaturePolicy/FeaturePolicy.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Security\FeaturePolicy; class FeaturePolicy extends \OCP\AppFramework\Http\FeaturePolicy { diff --git a/lib/private/Security/FeaturePolicy/FeaturePolicyManager.php b/lib/private/Security/FeaturePolicy/FeaturePolicyManager.php index b2959c310c8f88b7a8df6a7b309aa9437dd05b6e..3aa93ac3da48fa5e9ba033a252abebc0ab22a38a 100644 --- a/lib/private/Security/FeaturePolicy/FeaturePolicyManager.php +++ b/lib/private/Security/FeaturePolicy/FeaturePolicyManager.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Security\FeaturePolicy; use OCP\AppFramework\Http\EmptyFeaturePolicy; diff --git a/lib/private/Security/Hasher.php b/lib/private/Security/Hasher.php index 4b068ce0110fd29b37d73a3e1e1a76d1c865b7d4..5b3fc2b47a94d398a2579ae4cd0b9175191f44fe 100644 --- a/lib/private/Security/Hasher.php +++ b/lib/private/Security/Hasher.php @@ -9,7 +9,6 @@ declare(strict_types=1); * @author Christoph Wurst * @author Lukas Reschke * @author MichaIng - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -27,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Security; use OCP\IConfig; diff --git a/lib/private/Security/IdentityProof/Key.php b/lib/private/Security/IdentityProof/Key.php index 342d44b4a3bc7c79987f86f3e7fba95a3f339b0d..349ffd3c15a19cfd3def305c25ecf889301a9e59 100644 --- a/lib/private/Security/IdentityProof/Key.php +++ b/lib/private/Security/IdentityProof/Key.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Security\IdentityProof; class Key { diff --git a/lib/private/Security/IdentityProof/Manager.php b/lib/private/Security/IdentityProof/Manager.php index 6c54f1fa2de9697818307387f839e5bdac13c960..0878efeebc7a21afef93ae6b4956da3091300e19 100644 --- a/lib/private/Security/IdentityProof/Manager.php +++ b/lib/private/Security/IdentityProof/Manager.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Security\IdentityProof; use OC\Files\AppData\Factory; diff --git a/lib/private/Security/IdentityProof/Signer.php b/lib/private/Security/IdentityProof/Signer.php index 26293a5ec4af91e774debc327bcb1b26a5faa687..7431bfe815f14a6988e30bb2ad6e7198dbeda211 100644 --- a/lib/private/Security/IdentityProof/Signer.php +++ b/lib/private/Security/IdentityProof/Signer.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Security\IdentityProof; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/lib/private/Security/Normalizer/IpAddress.php b/lib/private/Security/Normalizer/IpAddress.php index 0a3606de28a6c10346c4dfecb9402c1cdd6359a0..705235413e499487f44c8ced24a07ad75f67b09e 100644 --- a/lib/private/Security/Normalizer/IpAddress.php +++ b/lib/private/Security/Normalizer/IpAddress.php @@ -8,6 +8,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Konrad Bucheli * @author Lukas Reschke + * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Citharel * @@ -20,14 +21,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Security\Normalizer; /** diff --git a/lib/private/Security/RateLimiting/Backend/IBackend.php b/lib/private/Security/RateLimiting/Backend/IBackend.php index 57dd4e3cc6d15fb8a6bbeceb81c882a84e7ec03b..d87f53311b2e3edc0814638e05d548eb3f7f2270 100644 --- a/lib/private/Security/RateLimiting/Backend/IBackend.php +++ b/lib/private/Security/RateLimiting/Backend/IBackend.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Security\RateLimiting\Backend; /** diff --git a/lib/private/Security/RateLimiting/Backend/MemoryCache.php b/lib/private/Security/RateLimiting/Backend/MemoryCache.php index 2893d31ece2d811bcacff0ddd4430cf97a004aa2..0dab25e4048bce2333391ef8aa669ad420b7fc35 100644 --- a/lib/private/Security/RateLimiting/Backend/MemoryCache.php +++ b/lib/private/Security/RateLimiting/Backend/MemoryCache.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Security\RateLimiting\Backend; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/lib/private/Security/RateLimiting/Exception/RateLimitExceededException.php b/lib/private/Security/RateLimiting/Exception/RateLimitExceededException.php index 000056a322c7baf96acf40464a3b72d7c5f8321f..08091e997ca8ae86f9d664756768edf1f3562adc 100644 --- a/lib/private/Security/RateLimiting/Exception/RateLimitExceededException.php +++ b/lib/private/Security/RateLimiting/Exception/RateLimitExceededException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Security\RateLimiting\Exception; use OC\AppFramework\Middleware\Security\Exceptions\SecurityException; diff --git a/lib/private/Security/RateLimiting/Limiter.php b/lib/private/Security/RateLimiting/Limiter.php index 26671f5230146a7b82132ef470e94acebee39404..ede72e887fcb17c17e150c2c0ca6347973ee63ea 100644 --- a/lib/private/Security/RateLimiting/Limiter.php +++ b/lib/private/Security/RateLimiting/Limiter.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Security\RateLimiting; use OC\Security\Normalizer\IpAddress; diff --git a/lib/private/Security/SecureRandom.php b/lib/private/Security/SecureRandom.php index 815b70caa03028ecaf3346981ddcc4fb8f619a39..4bf8995d737d3a2990394d4c3b94a9286ba24890 100644 --- a/lib/private/Security/SecureRandom.php +++ b/lib/private/Security/SecureRandom.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Security; use OCP\Security\ISecureRandom; diff --git a/lib/private/Security/TrustedDomainHelper.php b/lib/private/Security/TrustedDomainHelper.php index f99b505157aef9b935b9d047126ee698e64ddb78..49f4194d77fdcd03974728f51e51ea42203e7a56 100644 --- a/lib/private/Security/TrustedDomainHelper.php +++ b/lib/private/Security/TrustedDomainHelper.php @@ -6,10 +6,10 @@ declare(strict_types=1); * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst + * @author J0WI * @author Johannes Ernst * @author Julius Härtl * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -27,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Security; use OC\AppFramework\Http\Request; diff --git a/lib/private/Server.php b/lib/private/Server.php index 9047a7c454dca2e37db8470215782b81b258d320..207c53bdae372ad4a1617c1c5d7df66012e11018 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -16,7 +16,7 @@ * @author Daniel Kesselberg * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Julius Haertl * @author Julius Härtl @@ -50,7 +50,6 @@ * along with this program. If not, see * */ - namespace OC; use bantu\IniGetWrapper\IniGetWrapper; diff --git a/lib/private/ServerContainer.php b/lib/private/ServerContainer.php index 50592f36ada20b1446d3a23d91ee24fec03c508f..d6bec7526b7312171beefd207583b8805ecc94be 100644 --- a/lib/private/ServerContainer.php +++ b/lib/private/ServerContainer.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC; use OC\AppFramework\App; diff --git a/lib/private/ServerNotAvailableException.php b/lib/private/ServerNotAvailableException.php index d06188831072dcbd58f3906828fc41c3ae101ec5..89a9300e50efa1534fb3f379d940ad4175d00fae 100644 --- a/lib/private/ServerNotAvailableException.php +++ b/lib/private/ServerNotAvailableException.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC; class ServerNotAvailableException extends \Exception { diff --git a/lib/private/ServiceUnavailableException.php b/lib/private/ServiceUnavailableException.php index 0598ca43d1174293b1af8db57506fb3066170cec..8c52dd9b74c97e77dfccca6e00ed6c71d6940875 100644 --- a/lib/private/ServiceUnavailableException.php +++ b/lib/private/ServiceUnavailableException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC; class ServiceUnavailableException extends \Exception { diff --git a/lib/private/Session/CryptoSessionData.php b/lib/private/Session/CryptoSessionData.php index 2b5b5c7b5e7e9f015f7226aff4de92e8b4552f8e..94ad8f90dcfda462c4a41dfe2bfd645dedea0b48 100644 --- a/lib/private/Session/CryptoSessionData.php +++ b/lib/private/Session/CryptoSessionData.php @@ -27,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Session; use OCP\ISession; diff --git a/lib/private/Session/CryptoWrapper.php b/lib/private/Session/CryptoWrapper.php index 0f791a865d86685e187f245eb7eca622cbdff765..e98aac3b8bf21e4fe012b7fb013e53cde84e73ef 100644 --- a/lib/private/Session/CryptoWrapper.php +++ b/lib/private/Session/CryptoWrapper.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Session; use OCP\IConfig; diff --git a/lib/private/Session/Internal.php b/lib/private/Session/Internal.php index b7e1c7b7bf87e7409fba2e561af60f03ea75f443..f02f1c2541ccdf91c3d4e7b8b3ae2a49ef7c31e6 100644 --- a/lib/private/Session/Internal.php +++ b/lib/private/Session/Internal.php @@ -31,7 +31,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Session; use OC\Authentication\Exceptions\InvalidTokenException; diff --git a/lib/private/Session/Memory.php b/lib/private/Session/Memory.php index abbf026899b826592f29d663db92198bb17d64de..0afd370336609e797af2f651eb3ead1d1229f6b3 100644 --- a/lib/private/Session/Memory.php +++ b/lib/private/Session/Memory.php @@ -28,7 +28,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Session; use Exception; diff --git a/lib/private/Session/Session.php b/lib/private/Session/Session.php index fd6edd5183c155f57debc5257ac001a010231fb9..b9497983fbb07b96a49746fcab7eafe0b6ee9db1 100644 --- a/lib/private/Session/Session.php +++ b/lib/private/Session/Session.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\Session; use OCP\ISession; diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php index 37a87a40725fb33eb5effc4b9010285aaa470676..d6b4ce7c0800d6a254237cb423831f5b88f8644c 100644 --- a/lib/private/Settings/Manager.php +++ b/lib/private/Settings/Manager.php @@ -21,14 +21,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Settings; use Closure; diff --git a/lib/private/Settings/Section.php b/lib/private/Settings/Section.php index 5e0c772cb8d111bc626e6cf95e4d42b11b32739a..6ec0d5ee04ac61e7ef7a9f8f80888f384eb755a4 100644 --- a/lib/private/Settings/Section.php +++ b/lib/private/Settings/Section.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Settings; use OCP\Settings\IIconSection; diff --git a/lib/private/Setup.php b/lib/private/Setup.php index 43bc430486b45427d87845a3d803c68b9b22f166..3475ee3e65bc9c0ac7d56c8bef02a12eedc5b9ed 100644 --- a/lib/private/Setup.php +++ b/lib/private/Setup.php @@ -28,6 +28,7 @@ * @author Serge Martin * @author Simounet * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * @author Vincent Petry * * @license AGPL-3.0 @@ -45,7 +46,6 @@ * along with this program. If not, see * */ - namespace OC; use bantu\IniGetWrapper\IniGetWrapper; diff --git a/lib/private/Setup/AbstractDatabase.php b/lib/private/Setup/AbstractDatabase.php index 5b975bcfcca4fc33da68e09d31e15052e7e3a108..8690e7c1c667003e6032ec2bd08cf17fd447d26e 100644 --- a/lib/private/Setup/AbstractDatabase.php +++ b/lib/private/Setup/AbstractDatabase.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\Setup; use OC\DB\Connection; diff --git a/lib/private/Setup/MySQL.php b/lib/private/Setup/MySQL.php index c5c921cecd881d8509696c279b55da634cf2af8b..d1ca790adda2916a96250ecd1743e9afed351aef 100644 --- a/lib/private/Setup/MySQL.php +++ b/lib/private/Setup/MySQL.php @@ -9,7 +9,6 @@ * @author Joas Schilling * @author Michael Göhler * @author Morris Jobke - * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry * @@ -28,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Setup; use OC\DB\ConnectionAdapter; diff --git a/lib/private/Setup/OCI.php b/lib/private/Setup/OCI.php index ed05e0bf14c9ec916d67549687c6bf6170baebd7..2348aa8d47d0548fdaedd4e7289842bee0df336b 100644 --- a/lib/private/Setup/OCI.php +++ b/lib/private/Setup/OCI.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Setup; class OCI extends AbstractDatabase { diff --git a/lib/private/Setup/PostgreSQL.php b/lib/private/Setup/PostgreSQL.php index 403866663413d11f381116f4c3275374f5f211e9..bd4ef63d0abebfacfaedc80064839df0d5da9d3a 100644 --- a/lib/private/Setup/PostgreSQL.php +++ b/lib/private/Setup/PostgreSQL.php @@ -3,12 +3,12 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Bart Visscher + * @author Christoph Wurst * @author eduardo * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman - * @author Roeland Jago Douma * @author Vitor Mattos * * @license AGPL-3.0 @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC\Setup; use OC\DatabaseException; diff --git a/lib/private/Setup/Sqlite.php b/lib/private/Setup/Sqlite.php index b7d985786a39704528c9be11b161378654ff220b..8ed432b039a80665fd66e9e6675047f004aedb3a 100644 --- a/lib/private/Setup/Sqlite.php +++ b/lib/private/Setup/Sqlite.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Setup; use OC\DB\ConnectionFactory; diff --git a/lib/private/Share/Constants.php b/lib/private/Share/Constants.php index 0a70536628396bd4aea9039d4078537e0b4f000a..31c734f94aa7d6276cf54f2ed59349b943333326 100644 --- a/lib/private/Share/Constants.php +++ b/lib/private/Share/Constants.php @@ -8,7 +8,6 @@ * @author Daniel Calviño Sánchez * @author Joas Schilling * @author Julius Härtl - * @author Morris Jobke * * @license AGPL-3.0 * @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Share; use OCP\Share\IShare; diff --git a/lib/private/Share/Helper.php b/lib/private/Share/Helper.php index 6c92661fa76295b754b2697e8ce5511457985e90..8f2cfa4e197bc7fa48bd7554a4355b73cd4db9b9 100644 --- a/lib/private/Share/Helper.php +++ b/lib/private/Share/Helper.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Share; class Helper extends \OC\Share\Constants { diff --git a/lib/private/Share/SearchResultSorter.php b/lib/private/Share/SearchResultSorter.php index a23e20b802d39f03ab93a595d1fb3cda8835570a..edea3b59f2f05b0170bc5912fcc4441cc52edf8c 100644 --- a/lib/private/Share/SearchResultSorter.php +++ b/lib/private/Share/SearchResultSorter.php @@ -7,7 +7,6 @@ * @author J0WI * @author Morris Jobke * @author Robin McCorkell - * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Share; use OCP\ILogger; diff --git a/lib/private/Share/Share.php b/lib/private/Share/Share.php index 703bc282972cb87c9a2ca88855f4f216bc3f396e..a857a850f9b7bff1a960280c5b4437ab769e71ae 100644 --- a/lib/private/Share/Share.php +++ b/lib/private/Share/Share.php @@ -32,7 +32,6 @@ * along with this program. If not, see * */ - namespace OC\Share; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/private/Share20/DefaultShareProvider.php b/lib/private/Share20/DefaultShareProvider.php index 00ef7e2426b9b90725552a20875bf340f0369295..96958a32a63a41dbe2c0a24946bc072dc9c2bf42 100644 --- a/lib/private/Share20/DefaultShareProvider.php +++ b/lib/private/Share20/DefaultShareProvider.php @@ -32,7 +32,6 @@ * along with this program. If not, see * */ - namespace OC\Share20; use OC\Files\Cache\Cache; diff --git a/lib/private/Share20/Exception/BackendError.php b/lib/private/Share20/Exception/BackendError.php index 5ba17b7a4588eb624a1b620c5544f8fdda10f894..b3e07495378e1a0450f94ad853ecbf5354886d69 100644 --- a/lib/private/Share20/Exception/BackendError.php +++ b/lib/private/Share20/Exception/BackendError.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Share20\Exception; class BackendError extends \Exception { diff --git a/lib/private/Share20/Exception/InvalidShare.php b/lib/private/Share20/Exception/InvalidShare.php index 1216bfa9aeabe48f2934490a92d265815c63251f..464dc15a9f1e30c4614d070e8b2f69094064e999 100644 --- a/lib/private/Share20/Exception/InvalidShare.php +++ b/lib/private/Share20/Exception/InvalidShare.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Share20\Exception; class InvalidShare extends \Exception { diff --git a/lib/private/Share20/Exception/ProviderException.php b/lib/private/Share20/Exception/ProviderException.php index f60f5a8f3851df231202b48e49b3d7f28424aa04..b8e15dd9db8c0819c2cff47f34592aedaa18932c 100644 --- a/lib/private/Share20/Exception/ProviderException.php +++ b/lib/private/Share20/Exception/ProviderException.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Share20\Exception; class ProviderException extends \Exception { diff --git a/lib/private/Share20/Hooks.php b/lib/private/Share20/Hooks.php index b596123bbe0cc9e0366db9471ff2bce46ea77c35..ae08b20fde6b7401aa9489b03c66c3dd69b59f46 100644 --- a/lib/private/Share20/Hooks.php +++ b/lib/private/Share20/Hooks.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\Share20; class Hooks { diff --git a/lib/private/Share20/LegacyHooks.php b/lib/private/Share20/LegacyHooks.php index f657b832b5afb8fca9b7c9de3aa34a9c5d899377..a1f856318c9a475c389daa4dd4758b13a1ab3bfd 100644 --- a/lib/private/Share20/LegacyHooks.php +++ b/lib/private/Share20/LegacyHooks.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Share20; use OCP\Files\File; diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index 3915da76fea75d1741e135bfbf6927bc0c1a60f9..b9ed2f4c39a40a418364be0305a5a7dbad5381da 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -10,7 +10,7 @@ * @author Daniel Kesselberg * @author Jan-Christoph Borchardt * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Maxence Lange @@ -19,6 +19,9 @@ * @author Pauli Järvinen * @author Robin Appelman * @author Roeland Jago Douma + * @author Samuel + * @author szaimen + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * @author Vincent Petry * * @license AGPL-3.0 @@ -36,7 +39,6 @@ * along with this program. If not, see * */ - namespace OC\Share20; use OC\Cache\CappedMemoryCache; diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php index 0c59d39d6bca38e6dd502f10cce997cc48cf3e6d..42677d6bcf7f17607c150385c1fe1faf3e25ce03 100644 --- a/lib/private/Share20/ProviderFactory.php +++ b/lib/private/Share20/ProviderFactory.php @@ -6,14 +6,15 @@ * @author Björn Schießle * @author Christoph Wurst * @author Daniel Calviño Sánchez - * @author Daniel Kesselberg * @author Joas Schilling + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Maxence Lange * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma + * @author Samuel * * @license AGPL-3.0 * @@ -30,7 +31,6 @@ * along with this program. If not, see * */ - namespace OC\Share20; use OC\Share20\Exception\ProviderException; diff --git a/lib/private/Share20/Share.php b/lib/private/Share20/Share.php index 2add82c43535f312354fe81fd4951e45c4fca137..f1df71b1143f4e6b84a1393d9e50d6e47066af54 100644 --- a/lib/private/Share20/Share.php +++ b/lib/private/Share20/Share.php @@ -7,7 +7,7 @@ * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Maxence Lange * @author Robin Appelman * @author Roeland Jago Douma @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Share20; use OCP\Files\File; diff --git a/lib/private/Share20/ShareHelper.php b/lib/private/Share20/ShareHelper.php index c7f1600e1568c3d5365e83910e82215346552364..329e4470cb43f0e3312c03a3e1219c33bd460d02 100644 --- a/lib/private/Share20/ShareHelper.php +++ b/lib/private/Share20/ShareHelper.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Share20; use OCP\Files\InvalidPathException; diff --git a/lib/private/Share20/UserRemovedListener.php b/lib/private/Share20/UserRemovedListener.php index 0a81d049494af134c5cd56edabed6bcc12a23add..6bf184a9309d4c0c317b126223b9ac1e9cf3e1db 100644 --- a/lib/private/Share20/UserRemovedListener.php +++ b/lib/private/Share20/UserRemovedListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Share20; use OCP\EventDispatcher\Event; diff --git a/lib/private/Streamer.php b/lib/private/Streamer.php index e76ad2afee338ea86270f07082942b4ff9a1c960..176334b971df40cbe38a82c70283e6436d7bac68 100644 --- a/lib/private/Streamer.php +++ b/lib/private/Streamer.php @@ -7,6 +7,7 @@ * @author Daniel Calviño Sánchez * @author Joas Schilling * @author Roeland Jago Douma + * @author szaimen * @author Thomas Müller * @author Victor Dubiniuk * @@ -25,7 +26,6 @@ * along with this program. If not, see * */ - namespace OC; use OC\Files\Filesystem; diff --git a/lib/private/SubAdmin.php b/lib/private/SubAdmin.php index a8769f28023f2203443bb97c648ba4b180481541..10eff9ffad572ed01b104d7c5eb176171f4227e0 100644 --- a/lib/private/SubAdmin.php +++ b/lib/private/SubAdmin.php @@ -7,7 +7,7 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Mikael Hammarin * @author Morris Jobke @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OC; use OC\Hooks\PublicEmitter; diff --git a/lib/private/Support/CrashReport/Registry.php b/lib/private/Support/CrashReport/Registry.php index bff62705cebcb159b5bee37c6393c2e2737c3094..a5c39de98f006080d5b9260ef699af8e3ccd1df8 100644 --- a/lib/private/Support/CrashReport/Registry.php +++ b/lib/private/Support/CrashReport/Registry.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Christoph Wurst * * @author Christoph Wurst * @author Morris Jobke @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Support\CrashReport; use Exception; diff --git a/lib/private/Support/Subscription/Registry.php b/lib/private/Support/Subscription/Registry.php index 72bae2adc8ecb6c8162bbc6449c6686518cf06b3..e64eaac1fa231f27982a271ebfd9c4ebb0d88095 100644 --- a/lib/private/Support/Subscription/Registry.php +++ b/lib/private/Support/Subscription/Registry.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Morris Jobke * * @author Julius Härtl * @author Morris Jobke @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Support\Subscription; use OC\User\Backend; diff --git a/lib/private/SystemConfig.php b/lib/private/SystemConfig.php index 7f0114ec82111e280a7e3a6c0157c8e7782b616b..be231e1a7e99ee9e76593e8d3821414ec954303b 100644 --- a/lib/private/SystemConfig.php +++ b/lib/private/SystemConfig.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC; use OCP\IConfig; diff --git a/lib/private/SystemTag/ManagerFactory.php b/lib/private/SystemTag/ManagerFactory.php index f894a8fe3ed5684fe9129aca1160f496b0236947..f878cbf07c38b3746c0c0ef970296e2a1430b225 100644 --- a/lib/private/SystemTag/ManagerFactory.php +++ b/lib/private/SystemTag/ManagerFactory.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\SystemTag; use OCP\IServerContainer; diff --git a/lib/private/SystemTag/SystemTag.php b/lib/private/SystemTag/SystemTag.php index a33fadd99060e166e1eeb78f9d90c334f2f5710d..e6b84c9916eb363d340c68fbaa07886b79028d71 100644 --- a/lib/private/SystemTag/SystemTag.php +++ b/lib/private/SystemTag/SystemTag.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Joas Schilling + * @author Johannes Leuker * @author Roeland Jago Douma * @author Vincent Petry * @@ -24,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\SystemTag; use OCP\SystemTag\ISystemTag; diff --git a/lib/private/SystemTag/SystemTagManager.php b/lib/private/SystemTag/SystemTagManager.php index 0f700a834902d9480b2f20529b7e3514264410d3..4524aeaf7bce4cee412ec8d17c20d92ec4cb2d36 100644 --- a/lib/private/SystemTag/SystemTagManager.php +++ b/lib/private/SystemTag/SystemTagManager.php @@ -27,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\SystemTag; use Doctrine\DBAL\Exception\UniqueConstraintViolationException; diff --git a/lib/private/SystemTag/SystemTagObjectMapper.php b/lib/private/SystemTag/SystemTagObjectMapper.php index c07b1726c68c21985ec5d7026cafc5fcf21965aa..5a09a1754f27a086f94b03c284a09c2bed5469e5 100644 --- a/lib/private/SystemTag/SystemTagObjectMapper.php +++ b/lib/private/SystemTag/SystemTagObjectMapper.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC\SystemTag; use Doctrine\DBAL\Exception\UniqueConstraintViolationException; diff --git a/lib/private/TagManager.php b/lib/private/TagManager.php index f283a5d5ada76c632aa3d8c8977f695288ab2179..8c9dca98c92eb1bd832136b3a0c10726d189e978 100644 --- a/lib/private/TagManager.php +++ b/lib/private/TagManager.php @@ -24,18 +24,6 @@ * along with this program. If not, see * */ - -/** - * Factory class creating instances of \OCP\ITags - * - * A tag can be e.g. 'Family', 'Work', 'Chore', 'Special Occation' or - * anything else that is either parsed from a vobject or that the user chooses - * to add. - * Tag names are not case-sensitive, but will be saved with the case they - * are entered in. If a user already has a tag 'family' for a type, and - * tries to add a tag named 'Family' it will be silently ignored. - */ - namespace OC; use OC\Tagging\TagMapper; diff --git a/lib/private/Tagging/Tag.php b/lib/private/Tagging/Tag.php index 55fa996013c980bc96817722ddef142fc7ee688c..17af385418d60c5c94996c1e367014529f2be759 100644 --- a/lib/private/Tagging/Tag.php +++ b/lib/private/Tagging/Tag.php @@ -4,7 +4,6 @@ * * @author Bernhard Reiter * @author Christoph Wurst - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OC\Tagging; use OCP\AppFramework\Db\Entity; diff --git a/lib/private/Tagging/TagMapper.php b/lib/private/Tagging/TagMapper.php index cf1d93e3d2690913e4ae4c750efba7230e8cd6b3..f6179331e114bb4554d20af7fe49d009196de377 100644 --- a/lib/private/Tagging/TagMapper.php +++ b/lib/private/Tagging/TagMapper.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Tagging; use OCP\AppFramework\Db\DoesNotExistException; diff --git a/lib/private/Tags.php b/lib/private/Tags.php index 8e32f3925e3154ca45d93b2ef3d78222fe789476..c11d83e41cff33dbfee6e202a121c1415d705e7c 100644 --- a/lib/private/Tags.php +++ b/lib/private/Tags.php @@ -6,7 +6,6 @@ * @author Bernhard Reiter * @author Christoph Wurst * @author Daniel Kesselberg - * @author derkostka * @author Joas Schilling * @author Morris Jobke * @author Robin Appelman @@ -29,18 +28,6 @@ * along with this program. If not, see * */ - -/** - * Class for easily tagging objects by their id - * - * A tag can be e.g. 'Family', 'Work', 'Chore', 'Special Occation' or - * anything else that is either parsed from a vobject or that the user chooses - * to add. - * Tag names are not case-sensitive, but will be saved with the case they - * are entered in. If a user already has a tag 'family' for a type, and - * tries to add a tag named 'Family' it will be silently ignored. - */ - namespace OC; use OC\Tagging\Tag; diff --git a/lib/private/TempManager.php b/lib/private/TempManager.php index e49955622c8a69fbefad9d6f75134cc9b7e4401a..0df31dce3fff1bb8711de431067e765b3e0ca16d 100644 --- a/lib/private/TempManager.php +++ b/lib/private/TempManager.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OC; use bantu\IniGetWrapper\IniGetWrapper; diff --git a/lib/private/Template/Base.php b/lib/private/Template/Base.php index 65d0ad469ff3d96e2467ec4c5791e4ddf0ff547d..2087f5f8ed9afac6e83909304659269d3e5de325 100644 --- a/lib/private/Template/Base.php +++ b/lib/private/Template/Base.php @@ -5,6 +5,7 @@ * @author Bart Visscher * @author Björn Schießle * @author Christoph Wurst + * @author Joas Schilling * @author Jörn Friedrich Dreyer * @author Julius Härtl * @author Lukas Reschke @@ -26,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Template; use OCP\Defaults; diff --git a/lib/private/Template/CSSResourceLocator.php b/lib/private/Template/CSSResourceLocator.php index 7b33e181f76509fa5dd43df4c3de23a0b38f1b0b..9ee11e723e50b139de67d33ed5a4fa042763238e 100644 --- a/lib/private/Template/CSSResourceLocator.php +++ b/lib/private/Template/CSSResourceLocator.php @@ -6,7 +6,7 @@ * @author Bart Visscher * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Kyle Fazzari * @author Morris Jobke * @author Robin Appelman @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OC\Template; use OCP\ILogger; diff --git a/lib/private/Template/IconsCacher.php b/lib/private/Template/IconsCacher.php index 25f990beff14d441455b6d8b71597c54e8f6c6a3..e379a8ed92de3e1b327c2de613bfa90dab720bee 100644 --- a/lib/private/Template/IconsCacher.php +++ b/lib/private/Template/IconsCacher.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Robin Appelman * @author Roeland Jago Douma @@ -21,14 +21,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Template; use OC\Files\AppData\Factory; diff --git a/lib/private/Template/JSCombiner.php b/lib/private/Template/JSCombiner.php index 89ef9787f17b9c07935a9031864b0c6c4a30f3b5..d2073fbbb83d8392a22411a1bc9651887b251ad1 100644 --- a/lib/private/Template/JSCombiner.php +++ b/lib/private/Template/JSCombiner.php @@ -17,14 +17,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Template; use OC\SystemConfig; diff --git a/lib/private/Template/JSConfigHelper.php b/lib/private/Template/JSConfigHelper.php index c8f5fc63b70ab3e2181f921ed5105bb1817b29ca..1452ccc463f809da07ecbd2f66e12c8285387cc4 100644 --- a/lib/private/Template/JSConfigHelper.php +++ b/lib/private/Template/JSConfigHelper.php @@ -11,6 +11,7 @@ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -21,14 +22,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Template; use bantu\IniGetWrapper\IniGetWrapper; diff --git a/lib/private/Template/JSResourceLocator.php b/lib/private/Template/JSResourceLocator.php index 2f0fe16f4914d33b9591ce1484a722753b324d5f..3f6b2b49e10093b3459d62acfbafd7283ff60fae 100644 --- a/lib/private/Template/JSResourceLocator.php +++ b/lib/private/Template/JSResourceLocator.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OC\Template; class JSResourceLocator extends ResourceLocator { diff --git a/lib/private/Template/ResourceLocator.php b/lib/private/Template/ResourceLocator.php index 1d9f60cf5dd38505c4aa6a357e618997c0d87e17..3f3299e2e8446ca7c858b4a2c767b809f54a7739 100755 --- a/lib/private/Template/ResourceLocator.php +++ b/lib/private/Template/ResourceLocator.php @@ -5,7 +5,7 @@ * @author Bart Visscher * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Morris Jobke * @author Robin Appelman @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OC\Template; abstract class ResourceLocator { diff --git a/lib/private/Template/ResourceNotFoundException.php b/lib/private/Template/ResourceNotFoundException.php index 4de9a6b40ceeb7a9373630d08d938a931d8a5d3d..c8ed33f569c823733c1f6b9874ed3eddb547e25d 100644 --- a/lib/private/Template/ResourceNotFoundException.php +++ b/lib/private/Template/ResourceNotFoundException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\Template; class ResourceNotFoundException extends \LogicException { diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php index 72685a5117c179f222b1b3c0725c61cfb28e4633..0543427f9979693f3cdba38a1255686fd6109b80 100644 --- a/lib/private/Template/SCSSCacher.php +++ b/lib/private/Template/SCSSCacher.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2016, John Molakvoæ (skjnldsv@protonmail.com) * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Haertl * @author Julius Härtl * @author Morris Jobke @@ -20,14 +20,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OC\Template; use OC\AppConfig; diff --git a/lib/private/Template/TemplateFileLocator.php b/lib/private/Template/TemplateFileLocator.php index ae73b4d0ddef5b55455855f6bc122a3f32e07a95..027144e2f43648edb7be6b15261f4fa2736e860b 100644 --- a/lib/private/Template/TemplateFileLocator.php +++ b/lib/private/Template/TemplateFileLocator.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OC\Template; class TemplateFileLocator { diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index 17627f81369d4a8b66e7b4f3f29f085e57845b65..82bd0fd22e70338012d4bd775391c66fde8be568 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -10,7 +10,7 @@ * @author Guillaume COMPAGNON * @author Hendrik Leppelsack * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Julius Haertl * @author Julius Härtl @@ -40,7 +40,6 @@ * along with this program. If not, see * */ - namespace OC; use bantu\IniGetWrapper\IniGetWrapper; diff --git a/lib/private/URLGenerator.php b/lib/private/URLGenerator.php index 6c68f5d805f60556aa1ef76b1a12ba95a7044a66..34bb65cd0e6b4bf58f1c4474ca3ac6092c4dc80a 100644 --- a/lib/private/URLGenerator.php +++ b/lib/private/URLGenerator.php @@ -16,6 +16,7 @@ declare(strict_types=1); * @author Lukas Reschke * @author mmccarn * @author Morris Jobke + * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma * @author Thomas Müller @@ -36,7 +37,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC; use OC\Route\Router; diff --git a/lib/private/Updater.php b/lib/private/Updater.php index 8d21161b1f19b48628f312555e8a3cba0d815099..5fa41e48c0cb103fdd2880a901aa6d4f5ed5a0dd 100644 --- a/lib/private/Updater.php +++ b/lib/private/Updater.php @@ -11,6 +11,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Frank Karlitschek * @author Georg Ehrke + * @author J0WI * @author Joas Schilling * @author Julius Härtl * @author Lukas Reschke @@ -37,7 +38,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OC; use OC\DB\Connection; diff --git a/lib/private/Updater/ChangesCheck.php b/lib/private/Updater/ChangesCheck.php index 62b1e04aae857bf8170f8bbe2a41361c2ee49939..600c8db9a3c2c03643455a4e9c5864b98e53e659 100644 --- a/lib/private/Updater/ChangesCheck.php +++ b/lib/private/Updater/ChangesCheck.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Updater; use OCP\AppFramework\Db\DoesNotExistException; diff --git a/lib/private/Updater/ChangesMapper.php b/lib/private/Updater/ChangesMapper.php index 83a695b571f64fedfa280d26a548ba7452210351..03e1ae3c2c19d502de8fca121848c8358f212596 100644 --- a/lib/private/Updater/ChangesMapper.php +++ b/lib/private/Updater/ChangesMapper.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Updater; use OCP\AppFramework\Db\DoesNotExistException; diff --git a/lib/private/Updater/ChangesResult.php b/lib/private/Updater/ChangesResult.php index dfd3aaa1cd8e290c8051e1e1e288673016595b9f..db2f730aa6a52f82b75437f1e944fb98f03cd7d6 100644 --- a/lib/private/Updater/ChangesResult.php +++ b/lib/private/Updater/ChangesResult.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\Updater; use OCP\AppFramework\Db\Entity; diff --git a/lib/private/Updater/VersionCheck.php b/lib/private/Updater/VersionCheck.php index 7b1f1344e66eced59b8fa5b417a760fc2b840c78..ffa707d899093c57dcf7ac2a9750e49a2de459c1 100644 --- a/lib/private/Updater/VersionCheck.php +++ b/lib/private/Updater/VersionCheck.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OC\Updater; use OCP\Http\Client\IClientService; diff --git a/lib/private/User/Backend.php b/lib/private/User/Backend.php index d70d13673cb604aae3e6ba06afc3554f9411b61f..b68e4c2e541eeb07a122ddfedd255a2dad399753 100644 --- a/lib/private/User/Backend.php +++ b/lib/private/User/Backend.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst + * @author Joas Schilling * @author Jörn Friedrich Dreyer * @author Roeland Jago Douma * @@ -21,7 +22,6 @@ * along with this program. If not, see * */ - namespace OC\User; use OCP\UserInterface; diff --git a/lib/private/User/Database.php b/lib/private/User/Database.php index 6c04a1b900eaa1136f7d1b21290371643821ba87..5dfc74163a795292cc3a60af201221fdef0e96d3 100644 --- a/lib/private/User/Database.php +++ b/lib/private/User/Database.php @@ -43,20 +43,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - -/* - * - * The following SQL statement is just a help for developers and will not be - * executed! - * - * CREATE TABLE `users` ( - * `uid` varchar(64) COLLATE utf8_unicode_ci NOT NULL, - * `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL, - * PRIMARY KEY (`uid`) - * ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; - * - */ - namespace OC\User; use OC\Cache\CappedMemoryCache; diff --git a/lib/private/User/LoginException.php b/lib/private/User/LoginException.php index 77e70d07075c19ab62ba2e5cf32a61aa36cfaa0b..7133b7b76dca92d66ed8d3d9cbcae74a1317b52a 100644 --- a/lib/private/User/LoginException.php +++ b/lib/private/User/LoginException.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Morris Jobke * @author Robin Appelman * * @license AGPL-3.0 @@ -20,7 +19,6 @@ * along with this program. If not, see * */ - namespace OC\User; class LoginException extends \Exception { diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php index 59c007b6b59a36c02ad027155d6cdfb9cf35fca3..07a599cf017ab7a326c146cfca6744f55ba85168 100644 --- a/lib/private/User/Manager.php +++ b/lib/private/User/Manager.php @@ -7,7 +7,7 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Lukas Reschke * @author Morris Jobke @@ -31,7 +31,6 @@ * along with this program. If not, see * */ - namespace OC\User; use OC\HintException; diff --git a/lib/private/User/NoUserException.php b/lib/private/User/NoUserException.php index 57bb47109f18462b9a5027b9277454b140507a42..d91493184676553042352b6c16fce5c095725570 100644 --- a/lib/private/User/NoUserException.php +++ b/lib/private/User/NoUserException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OC\User; class NoUserException extends \Exception { diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index 5e6501f9045f241838f370dc79e7b040195d08e0..4ce9951204090b2e57c67cafe5f8b6d82d52f026 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -36,7 +36,6 @@ * along with this program. If not, see * */ - namespace OC\User; use OC; diff --git a/lib/private/User/User.php b/lib/private/User/User.php index 771cb431cbda3d59f33480e798627814ea1fc698..cae698300d9c6f215635d0f2bdf68770be1d3fca 100644 --- a/lib/private/User/User.php +++ b/lib/private/User/User.php @@ -7,7 +7,7 @@ * @author Björn Schießle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Julius Härtl * @author Leon Klingele @@ -16,7 +16,6 @@ * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller - * @author Vincent Petry * * @license AGPL-3.0 * @@ -33,7 +32,6 @@ * along with this program. If not, see * */ - namespace OC\User; use OC\Accounts\AccountManager; diff --git a/lib/private/UserStatus/Manager.php b/lib/private/UserStatus/Manager.php index aeef8df27f9ef3accad30d5e148e2e50da09e636..9e48b284e924949241f97edc003a3d41ea03307d 100644 --- a/lib/private/UserStatus/Manager.php +++ b/lib/private/UserStatus/Manager.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OC\UserStatus; use OCP\ILogger; diff --git a/lib/private/legacy/OC_DB.php b/lib/private/legacy/OC_DB.php index a3919fd1f17044a8a91ca58c3c1725d198aca217..1fbc233f53524b948700e95f3b3d339152dcbf9b 100644 --- a/lib/private/legacy/OC_DB.php +++ b/lib/private/legacy/OC_DB.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Andreas Fischer - * @author Arthur Schiwon * @author Bart Visscher * @author Christoph Wurst * @author Joas Schilling @@ -29,11 +28,6 @@ * along with this program. If not, see * */ - -/** - * This class manages the access to the database. It basically is a wrapper for - * Doctrine with some adaptions. - */ class OC_DB { /** diff --git a/lib/private/legacy/OC_DB_StatementWrapper.php b/lib/private/legacy/OC_DB_StatementWrapper.php index cc2320015a30fc2a57b7a47f697a5ee57f4ce804..d8e8f0ae37ffb6ccd9b52d73e412eef74c028cc5 100644 --- a/lib/private/legacy/OC_DB_StatementWrapper.php +++ b/lib/private/legacy/OC_DB_StatementWrapper.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Arthur Schiwon * @author Bart Visscher * @author Christoph Wurst * @author Joas Schilling @@ -27,7 +26,6 @@ * along with this program. If not, see * */ - use OCP\DB\IPreparedStatement; /** diff --git a/lib/private/legacy/OC_Defaults.php b/lib/private/legacy/OC_Defaults.php index a9f588eb6e9d817c0783ea16d8c0eeb5cd177a8c..f3c1763b9ad7cdfba6698e48937082eeae6cc8a7 100644 --- a/lib/private/legacy/OC_Defaults.php +++ b/lib/private/legacy/OC_Defaults.php @@ -36,6 +36,7 @@ * along with this program. If not, see * */ + class OC_Defaults { private $theme; diff --git a/lib/private/legacy/OC_EventSource.php b/lib/private/legacy/OC_EventSource.php index 2d29f3109cf8ccdd817a08da96dcaf6ebe742dd1..c733316050f49b4794f267ae7a56b10709379126 100644 --- a/lib/private/legacy/OC_EventSource.php +++ b/lib/private/legacy/OC_EventSource.php @@ -26,13 +26,6 @@ * along with this program. If not, see * */ - -/** - * wrapper for server side events (https://en.wikipedia.org/wiki/Server-sent_events) - * includes a fallback for older browsers and IE - * - * use server side events with caution, to many open requests can hang the server - */ class OC_EventSource implements \OCP\IEventSource { /** * @var bool diff --git a/lib/private/legacy/OC_FileChunking.php b/lib/private/legacy/OC_FileChunking.php index 1c24f0d8067cba8a6364f4ec6f0b79ae8f2a7e5c..e3782cabb4a72bd41f7c1cd2613da1ba0393426a 100644 --- a/lib/private/legacy/OC_FileChunking.php +++ b/lib/private/legacy/OC_FileChunking.php @@ -28,8 +28,6 @@ * along with this program. If not, see * */ - - class OC_FileChunking { protected $info; protected $cache; diff --git a/lib/private/legacy/OC_Files.php b/lib/private/legacy/OC_Files.php index b46fc8c3768cab02a932562792d85c2cf2f37d43..d1af5b24bdd48169d2456a4560e01b3d6eb522ab 100644 --- a/lib/private/legacy/OC_Files.php +++ b/lib/private/legacy/OC_Files.php @@ -21,6 +21,7 @@ * @author Roeland Jago Douma * @author Thibaut GRIDEL * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * @author Victor Dubiniuk * @author Vincent Petry * @@ -39,7 +40,6 @@ * along with this program. If not, see * */ - use bantu\IniGetWrapper\IniGetWrapper; use OC\Files\View; use OC\Streamer; diff --git a/lib/private/legacy/OC_Helper.php b/lib/private/legacy/OC_Helper.php index 7193f9c4b704fc438a222c6a61721fb1661b9b5b..52c49f1d795399f8dc0af08328d81612855645ec 100644 --- a/lib/private/legacy/OC_Helper.php +++ b/lib/private/legacy/OC_Helper.php @@ -43,7 +43,6 @@ * along with this program. If not, see * */ - use bantu\IniGetWrapper\IniGetWrapper; use OCP\Files\Mount\IMountPoint; use OCP\IUser; diff --git a/lib/private/legacy/OC_Hook.php b/lib/private/legacy/OC_Hook.php index cf0e9881e4cb0ab88c45373df1f9042be63ebe41..d9e4c99e498a024f3762ed7317600a7ca2b29bde 100644 --- a/lib/private/legacy/OC_Hook.php +++ b/lib/private/legacy/OC_Hook.php @@ -28,10 +28,6 @@ * along with this program. If not, see * */ - -/** - * @deprecated 18.0.0 use events and the \OCP\EventDispatcher\IEventDispatcher service - */ class OC_Hook { public static $thrownExceptions = []; diff --git a/lib/private/legacy/OC_Image.php b/lib/private/legacy/OC_Image.php index f1b9101045adeaed2073d8355c19d5ff51baabf2..59d517735286b4134c5e83fc90d48b140ee44934 100644 --- a/lib/private/legacy/OC_Image.php +++ b/lib/private/legacy/OC_Image.php @@ -39,7 +39,6 @@ * along with this program. If not, see * */ - use OCP\IImage; /** diff --git a/lib/private/legacy/OC_JSON.php b/lib/private/legacy/OC_JSON.php index 3094879af385fec1c7806fb1db3045a55b7ac515..7734e29c545161a655182c1e2f4766eda2e93bef 100644 --- a/lib/private/legacy/OC_JSON.php +++ b/lib/private/legacy/OC_JSON.php @@ -27,11 +27,6 @@ * along with this program. If not, see * */ - -/** - * Class OC_JSON - * @deprecated Use a AppFramework JSONResponse instead - */ class OC_JSON { /** diff --git a/lib/private/legacy/OC_Response.php b/lib/private/legacy/OC_Response.php index f4c2356aecd3f38787276b47b53b0e4f2882a2f5..6cfd53d26510911dd653b7ed7226e636cfc3db1a 100644 --- a/lib/private/legacy/OC_Response.php +++ b/lib/private/legacy/OC_Response.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - class OC_Response { /** * Sets the content disposition header (with possible workarounds) diff --git a/lib/private/legacy/OC_Template.php b/lib/private/legacy/OC_Template.php index 468f6acad44bc8197d209fa09e87aacf0b53da34..b4bc290429a9be8a8ab1953a58f8b90ac0fa8b82 100644 --- a/lib/private/legacy/OC_Template.php +++ b/lib/private/legacy/OC_Template.php @@ -10,7 +10,7 @@ * @author Jakob Sack * @author Jan-Christoph Borchardt * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Julius Härtl * @author Lukas Reschke @@ -37,7 +37,6 @@ * along with this program. If not, see * */ - use OC\TemplateLayout; use OCP\AppFramework\Http\TemplateResponse; diff --git a/lib/private/legacy/OC_User.php b/lib/private/legacy/OC_User.php index 3638a32589db1b9059eb280241dac333e0caf962..dd97fb63e335cc38ac87a6cfe6d5d1ceb2d0eb43 100644 --- a/lib/private/legacy/OC_User.php +++ b/lib/private/legacy/OC_User.php @@ -35,7 +35,6 @@ * along with this program. If not, see * */ - use OCP\EventDispatcher\IEventDispatcher; use OCP\ILogger; use OCP\IUserManager; diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php index 05ecd61b3a842a3f11d9043a3bf01339532b5547..87964f98374ac81eb4d0e7a7e75979faca5d6aca 100644 --- a/lib/private/legacy/OC_Util.php +++ b/lib/private/legacy/OC_Util.php @@ -23,7 +23,7 @@ * @author Individual IT Services * @author Jakob Sack * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Julius Härtl * @author Kawohl @@ -43,6 +43,7 @@ * @author Stefan Weil * @author Thomas Müller * @author Thomas Tanghus + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * @author Victor Dubiniuk * @author Vincent Petry * @author Volkan Gezer @@ -62,7 +63,6 @@ * along with this program. If not, see * */ - use bantu\IniGetWrapper\IniGetWrapper; use OC\AppFramework\Http\Request; use OC\Files\Storage\LocalRootStorage; diff --git a/lib/private/legacy/template/functions.php b/lib/private/legacy/template/functions.php index 4613e36f9f2c2e6d8e86cd1bb2443b76cdf24774..6b18c9476b473dcc51f622774278fae4123f38b0 100644 --- a/lib/private/legacy/template/functions.php +++ b/lib/private/legacy/template/functions.php @@ -31,11 +31,6 @@ * along with this program. If not, see * */ - -/** - * Prints a sanitized string - * @param string $string the string which will be escaped and printed - */ function p($string) { print(\OCP\Util::sanitizeHTML($string)); } diff --git a/lib/public/Accounts/IAccount.php b/lib/public/Accounts/IAccount.php index 7397eb4fea8ede2a5505ecd90e08458f5bf26f7f..02c50259b13c078a46d9112d65b10a2d532eb760 100644 --- a/lib/public/Accounts/IAccount.php +++ b/lib/public/Accounts/IAccount.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018 Julius Härtl * + * @author Arthur Schiwon * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Accounts; use OCP\IUser; diff --git a/lib/public/Accounts/IAccountManager.php b/lib/public/Accounts/IAccountManager.php index 63fbc9ba312eecd29c7ce6d7b42ec7e9e8943c29..dc085b44b8404176dcc57ef37cd11caa598488e0 100644 --- a/lib/public/Accounts/IAccountManager.php +++ b/lib/public/Accounts/IAccountManager.php @@ -8,6 +8,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Joas Schilling * @author Julius Härtl + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -18,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Accounts; use OCP\IUser; diff --git a/lib/public/Accounts/IAccountProperty.php b/lib/public/Accounts/IAccountProperty.php index dcc81f02cac720a945ccd57c79ce378d5767585f..20505f299ddaa806f2b622ce6dc860935c53f3b3 100644 --- a/lib/public/Accounts/IAccountProperty.php +++ b/lib/public/Accounts/IAccountProperty.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018 Julius Härtl * + * @author Arthur Schiwon * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Accounts; use InvalidArgumentException; diff --git a/lib/public/Accounts/PropertyDoesNotExistException.php b/lib/public/Accounts/PropertyDoesNotExistException.php index c38487ea928e38eaa5624e29820b691c23cd8b50..17c629fdc3ec50bbb004c1b8cc77af03ccc5b794 100644 --- a/lib/public/Accounts/PropertyDoesNotExistException.php +++ b/lib/public/Accounts/PropertyDoesNotExistException.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Accounts; /** diff --git a/lib/public/Activity/ActivitySettings.php b/lib/public/Activity/ActivitySettings.php index 852f96fe003d30a85599d4d26ea95e177e4cb75c..44e20c5396a2f486add8ea8d57c8dee086a2ed07 100644 --- a/lib/public/Activity/ActivitySettings.php +++ b/lib/public/Activity/ActivitySettings.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Activity; /** diff --git a/lib/public/Activity/IConsumer.php b/lib/public/Activity/IConsumer.php index 00a56a87dcd89d4753c578d1a982817ccbe1a2ce..69261d7e3ada7b5be0c44fed0d9a364cc2bb985d 100644 --- a/lib/public/Activity/IConsumer.php +++ b/lib/public/Activity/IConsumer.php @@ -22,12 +22,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Activity/IConsumer interface - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Activity/IEvent.php b/lib/public/Activity/IEvent.php index 3fbdc4e7dde4a6048e994ab1a79b298b6ca9830f..1e3c1deef26f20dd6e6e33d3653357ee06433484 100644 --- a/lib/public/Activity/IEvent.php +++ b/lib/public/Activity/IEvent.php @@ -25,12 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Activity/IEvent interface - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Activity/IEventMerger.php b/lib/public/Activity/IEventMerger.php index 52037abcddf85c458ba40b719de421b0049ab29e..a093a52744c5b26dbf9df2735e8866ef7efde9dc 100644 --- a/lib/public/Activity/IEventMerger.php +++ b/lib/public/Activity/IEventMerger.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Activity; /** diff --git a/lib/public/Activity/IExtension.php b/lib/public/Activity/IExtension.php index 4cddbc734b50e0164299668383142a2f9b5459d4..e02347f0373822e299ec0d0cd4e135a1e37bb0a6 100644 --- a/lib/public/Activity/IExtension.php +++ b/lib/public/Activity/IExtension.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP\Activity; /** diff --git a/lib/public/Activity/IFilter.php b/lib/public/Activity/IFilter.php index d6bc6ba2ec745e84381560be8c8059eca9f76ad9..967a739726cf6a36d9f60c881a4cc48e456f7535 100644 --- a/lib/public/Activity/IFilter.php +++ b/lib/public/Activity/IFilter.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Activity; /** diff --git a/lib/public/Activity/IManager.php b/lib/public/Activity/IManager.php index 63cf606da3dce68074c5adbe585a32ba5ab455c4..9130c6b6b902e58af218095f2b31bfc736d23e9e 100644 --- a/lib/public/Activity/IManager.php +++ b/lib/public/Activity/IManager.php @@ -26,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Activity; /** diff --git a/lib/public/Activity/IProvider.php b/lib/public/Activity/IProvider.php index b9dd7733605be315044116f887cce44be67d0d17..657ffdeadbc83ff759c136a609a2ceb2590aa8f2 100644 --- a/lib/public/Activity/IProvider.php +++ b/lib/public/Activity/IProvider.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Activity; /** diff --git a/lib/public/Activity/ISetting.php b/lib/public/Activity/ISetting.php index c21d52c1648e370e25d7a60e936c043cab1ec237..53e01d42868008b3182ddc3470af365ac090ec00 100644 --- a/lib/public/Activity/ISetting.php +++ b/lib/public/Activity/ISetting.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Activity; /** diff --git a/lib/public/App.php b/lib/public/App.php index 5c9254a59ed1768dc07dc2a6f11c3b5a4bf1841a..5103e624316fa90b8f8504e503cbdb0897c3baa3 100644 --- a/lib/public/App.php +++ b/lib/public/App.php @@ -29,13 +29,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * App Class - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/App/AppPathNotFoundException.php b/lib/public/App/AppPathNotFoundException.php index 828e0f851fd65031f6405f949009c2c20223f652..29475fce21667b4da0d8c883a7a561a84b4ebe0f 100644 --- a/lib/public/App/AppPathNotFoundException.php +++ b/lib/public/App/AppPathNotFoundException.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\App; /** diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php index 9ead8089c7d1f4ddfcd593f8dfe55c15113b13bf..645d5ffd97c9a4cb508d981c1f21e22b5fd58c55 100644 --- a/lib/public/App/IAppManager.php +++ b/lib/public/App/IAppManager.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCP\App; use OCP\IGroup; diff --git a/lib/public/App/ManagerEvent.php b/lib/public/App/ManagerEvent.php index 58cbdc3d117a6a3cca4144eb242a133bdcf1b008..0069e57db426a9a055119a323d537832392ff35d 100644 --- a/lib/public/App/ManagerEvent.php +++ b/lib/public/App/ManagerEvent.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\App; use OCP\EventDispatcher\Event; diff --git a/lib/public/AppFramework/ApiController.php b/lib/public/AppFramework/ApiController.php index 67f0d1fe38e5349e0c7399f67ec84bc46c32a9bf..83dfaf93bc635f7516d42447eb6c9e847dc1f4f1 100644 --- a/lib/public/AppFramework/ApiController.php +++ b/lib/public/AppFramework/ApiController.php @@ -21,12 +21,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * AppFramework\Controller class - */ - namespace OCP\AppFramework; use OCP\AppFramework\Http\Response; diff --git a/lib/public/AppFramework/App.php b/lib/public/AppFramework/App.php index 4cbd1f8d32c3192cc169ba7ce0b156c50f2c1ebd..88045c73df5027fe0efaef2a9e72f69632be4cc1 100644 --- a/lib/public/AppFramework/App.php +++ b/lib/public/AppFramework/App.php @@ -32,12 +32,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * AppFramework/App class - */ - namespace OCP\AppFramework; use OC\AppFramework\Routing\RouteConfig; diff --git a/lib/public/AppFramework/AuthPublicShareController.php b/lib/public/AppFramework/AuthPublicShareController.php index 0ee8e7a75705d49c887a98c764bcd017613a2cab..33adf7b5fe42ac423406805d4c15a69a6d376b7f 100644 --- a/lib/public/AppFramework/AuthPublicShareController.php +++ b/lib/public/AppFramework/AuthPublicShareController.php @@ -1,4 +1,7 @@ * @@ -16,15 +19,13 @@ * * 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 + * 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 program. If not, see . * */ -declare(strict_types=1); - namespace OCP\AppFramework; use OCP\AppFramework\Http\RedirectResponse; diff --git a/lib/public/AppFramework/Bootstrap/IBootContext.php b/lib/public/AppFramework/Bootstrap/IBootContext.php index 14a18501082567d76d7bc70cc05350ba312afbf6..a69c9423a98fc375a6122f65d9c19b93689d8a72 100644 --- a/lib/public/AppFramework/Bootstrap/IBootContext.php +++ b/lib/public/AppFramework/Bootstrap/IBootContext.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Bootstrap; use OCP\AppFramework\IAppContainer; diff --git a/lib/public/AppFramework/Bootstrap/IBootstrap.php b/lib/public/AppFramework/Bootstrap/IBootstrap.php index 1c509876bfe8666b7061847b0a1402868dc3b55c..bdb739e0cfa93ee01835bcb474afd0ed5c491f4f 100644 --- a/lib/public/AppFramework/Bootstrap/IBootstrap.php +++ b/lib/public/AppFramework/Bootstrap/IBootstrap.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Bootstrap; /** diff --git a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php index 4819d4e2119f02c9eaf7d7b4293291a772834d69..589140d3eddd89265c17947d9420ab7734cc122c 100644 --- a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php +++ b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Bootstrap; use OCP\AppFramework\IAppContainer; diff --git a/lib/public/AppFramework/Controller.php b/lib/public/AppFramework/Controller.php index 31b5ed6a4a25fd47b0674f2ad19ebd1dbec9bd36..12a6a75cf0f9a8acb665ec4778f781249302ba57 100644 --- a/lib/public/AppFramework/Controller.php +++ b/lib/public/AppFramework/Controller.php @@ -26,12 +26,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * AppFramework\Controller class - */ - namespace OCP\AppFramework; use OCP\AppFramework\Http\DataResponse; diff --git a/lib/public/AppFramework/Db/DoesNotExistException.php b/lib/public/AppFramework/Db/DoesNotExistException.php index 6969e1016c5f322875d78756b75245a5ecee8889..eb0a8437a64c229b09308c0539426e9bc8057bd3 100644 --- a/lib/public/AppFramework/Db/DoesNotExistException.php +++ b/lib/public/AppFramework/Db/DoesNotExistException.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\AppFramework\Db; /** diff --git a/lib/public/AppFramework/Db/Entity.php b/lib/public/AppFramework/Db/Entity.php index 374a1fd4d2caae42c08a20961312ee2d3e5745ff..b7ddc6dc5f7048f12d09af2fc95a0e8f0fabeca0 100644 --- a/lib/public/AppFramework/Db/Entity.php +++ b/lib/public/AppFramework/Db/Entity.php @@ -5,6 +5,7 @@ * @author Bernhard Posselt * @author Christoph Wurst * @author Daniel Kesselberg + * @author Joas Schilling * @author Morris Jobke * * @license AGPL-3.0 @@ -22,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP\AppFramework\Db; use function lcfirst; diff --git a/lib/public/AppFramework/Db/IMapperException.php b/lib/public/AppFramework/Db/IMapperException.php index 591bfda2e66ea63e48697910d7800bdaf18570e3..a4af3cfa9258e2e4bc13d8f2b6974026b059258f 100644 --- a/lib/public/AppFramework/Db/IMapperException.php +++ b/lib/public/AppFramework/Db/IMapperException.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Db; /** diff --git a/lib/public/AppFramework/Db/Mapper.php b/lib/public/AppFramework/Db/Mapper.php index 1ee4fe80ca2a1367ca191a0748e44112bef5f59b..2d0dc87ebb3096cb5d06551d78b0299dc807544d 100644 --- a/lib/public/AppFramework/Db/Mapper.php +++ b/lib/public/AppFramework/Db/Mapper.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCP\AppFramework\Db; use OCP\IDBConnection; diff --git a/lib/public/AppFramework/Db/MultipleObjectsReturnedException.php b/lib/public/AppFramework/Db/MultipleObjectsReturnedException.php index e82f7cb8effc2689b268e961541fed90b8e39b30..9281db75961f88c55326a0a35766e0d5f112faff 100644 --- a/lib/public/AppFramework/Db/MultipleObjectsReturnedException.php +++ b/lib/public/AppFramework/Db/MultipleObjectsReturnedException.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\AppFramework\Db; /** diff --git a/lib/public/AppFramework/Db/QBMapper.php b/lib/public/AppFramework/Db/QBMapper.php index 4547b092c0a8046ad9489a67ef1484644dc90863..5124650bc193a5c9ca451a2a1eddfd00fa0e4ef2 100644 --- a/lib/public/AppFramework/Db/QBMapper.php +++ b/lib/public/AppFramework/Db/QBMapper.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2018, Roeland Jago Douma * + * @author Anna Larch * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling @@ -20,14 +21,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Db; use OCP\DB\Exception; diff --git a/lib/public/AppFramework/Http.php b/lib/public/AppFramework/Http.php index 1e501c872990f7716b64968267c6a14d984dbfb7..8b3cde6875e35f2574ef5046e200e3fc72f2c240 100644 --- a/lib/public/AppFramework/Http.php +++ b/lib/public/AppFramework/Http.php @@ -22,12 +22,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * AppFramework\HTTP class - */ - namespace OCP\AppFramework; /** diff --git a/lib/public/AppFramework/Http/ContentSecurityPolicy.php b/lib/public/AppFramework/Http/ContentSecurityPolicy.php index 20263769630642c277f1ba052d9301e682fe82ff..d30e3b50c7f7961be9abb0afd3061b61cfbe74f8 100644 --- a/lib/public/AppFramework/Http/ContentSecurityPolicy.php +++ b/lib/public/AppFramework/Http/ContentSecurityPolicy.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/DataDisplayResponse.php b/lib/public/AppFramework/Http/DataDisplayResponse.php index c0c304e0f4aa5a5b480cee98982d823a5d64551c..32c8d09b6648cbe1e7e72bf9854bdbfc26d8566e 100644 --- a/lib/public/AppFramework/Http/DataDisplayResponse.php +++ b/lib/public/AppFramework/Http/DataDisplayResponse.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP\AppFramework\Http; use OCP\AppFramework\Http; diff --git a/lib/public/AppFramework/Http/DataDownloadResponse.php b/lib/public/AppFramework/Http/DataDownloadResponse.php index 98ee48a4b071e215fabf458835cd1d97e0eba4d2..7f2bc73f6e2e8f77d3ac0789ea209bbf3bc8068e 100644 --- a/lib/public/AppFramework/Http/DataDownloadResponse.php +++ b/lib/public/AppFramework/Http/DataDownloadResponse.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/DataResponse.php b/lib/public/AppFramework/Http/DataResponse.php index d1b5a989221ecc828be3ea3806d8c630beeba7d1..ca0392e521c129f6a6c29595b347a5ba308f50e6 100644 --- a/lib/public/AppFramework/Http/DataResponse.php +++ b/lib/public/AppFramework/Http/DataResponse.php @@ -22,12 +22,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * AppFramework\HTTP\DataResponse class - */ - namespace OCP\AppFramework\Http; use OCP\AppFramework\Http; diff --git a/lib/public/AppFramework/Http/DownloadResponse.php b/lib/public/AppFramework/Http/DownloadResponse.php index a7516fc6b851d595142f27056758846cade3eadc..b80f03958c0e8fd2ea11af44f3dbced47a30f2dd 100644 --- a/lib/public/AppFramework/Http/DownloadResponse.php +++ b/lib/public/AppFramework/Http/DownloadResponse.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Bernhard Posselt + * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller @@ -22,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php b/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php index d4c3a022c13c794ba631e5f9b5bb0fa5f786af3b..2f14f9b63e15066648548df961049b5ab38b4d3e 100644 --- a/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php +++ b/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/EmptyFeaturePolicy.php b/lib/public/AppFramework/Http/EmptyFeaturePolicy.php index 2e33d9ff31bb6ef6b2d5304580c736952e7aa0dc..1cc6034963a1c594db14f257866e56ad4ec61d65 100644 --- a/lib/public/AppFramework/Http/EmptyFeaturePolicy.php +++ b/lib/public/AppFramework/Http/EmptyFeaturePolicy.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/Events/BeforeTemplateRenderedEvent.php b/lib/public/AppFramework/Http/Events/BeforeTemplateRenderedEvent.php index 96a9f00e8e3eb609f541782257dfb3f14f3edd0e..65549eaf8df282d587277c8d755340b5c81987e9 100644 --- a/lib/public/AppFramework/Http/Events/BeforeTemplateRenderedEvent.php +++ b/lib/public/AppFramework/Http/Events/BeforeTemplateRenderedEvent.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http\Events; use OCP\AppFramework\Http\TemplateResponse; diff --git a/lib/public/AppFramework/Http/FeaturePolicy.php b/lib/public/AppFramework/Http/FeaturePolicy.php index 36315620ffee5ad06a7e474df175151d971a2fa5..d193dda546be023825c2d3f9cb14f698d480c3fd 100644 --- a/lib/public/AppFramework/Http/FeaturePolicy.php +++ b/lib/public/AppFramework/Http/FeaturePolicy.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/FileDisplayResponse.php b/lib/public/AppFramework/Http/FileDisplayResponse.php index 86deb1cb7f75c7821fa7074a8e3d4029be148ee6..90c18e85546e7c11e5d4599fb9df6e6bcd98e44b 100644 --- a/lib/public/AppFramework/Http/FileDisplayResponse.php +++ b/lib/public/AppFramework/Http/FileDisplayResponse.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http; use OCP\AppFramework\Http; diff --git a/lib/public/AppFramework/Http/ICallbackResponse.php b/lib/public/AppFramework/Http/ICallbackResponse.php index 767ec990c59963943da0f60629a45f79c5b81e2a..8bb32de4d58d3eeb4c0b1c02fa3ce598d642d874 100644 --- a/lib/public/AppFramework/Http/ICallbackResponse.php +++ b/lib/public/AppFramework/Http/ICallbackResponse.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/IOutput.php b/lib/public/AppFramework/Http/IOutput.php index 749e666b578977f2311fd3bd91257161b56b7125..f9c0b7898d9a30174d75bb7188af2bc897044e22 100644 --- a/lib/public/AppFramework/Http/IOutput.php +++ b/lib/public/AppFramework/Http/IOutput.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/JSONResponse.php b/lib/public/AppFramework/Http/JSONResponse.php index 647033e5fa18ed759c404a542a0799ac29abe543..f4b936435c8a5c0acce6c3640d3284c036f0650b 100644 --- a/lib/public/AppFramework/Http/JSONResponse.php +++ b/lib/public/AppFramework/Http/JSONResponse.php @@ -25,12 +25,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * AppFramework\HTTP\JSONResponse class - */ - namespace OCP\AppFramework\Http; use OCP\AppFramework\Http; diff --git a/lib/public/AppFramework/Http/NotFoundResponse.php b/lib/public/AppFramework/Http/NotFoundResponse.php index 885776d1b2052c96ec959d775e5f0171c3125efc..651e41735b9c007cddbf024fcd9fbed658e809dd 100644 --- a/lib/public/AppFramework/Http/NotFoundResponse.php +++ b/lib/public/AppFramework/Http/NotFoundResponse.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/RedirectResponse.php b/lib/public/AppFramework/Http/RedirectResponse.php index 28344866c03d74209e351c81d0ecbe159f4f1612..87853391e863f4c3ad0a663d899f7ea973ab61a2 100644 --- a/lib/public/AppFramework/Http/RedirectResponse.php +++ b/lib/public/AppFramework/Http/RedirectResponse.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP\AppFramework\Http; use OCP\AppFramework\Http; diff --git a/lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php b/lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php index f4b8f54f89238b5316d49163bf6e283eb946e5f7..36e629d634263aad08b8fa0b6fb973c3efb135f6 100644 --- a/lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php +++ b/lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/Response.php b/lib/public/AppFramework/Http/Response.php index 45ae874301269fef1c02df154d3eb89232889783..e28fa0b2c8162ebcc22736988055de0d4c9654dd 100644 --- a/lib/public/AppFramework/Http/Response.php +++ b/lib/public/AppFramework/Http/Response.php @@ -28,12 +28,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * AppFramework\HTTP\Response class - */ - namespace OCP\AppFramework\Http; use OCP\AppFramework\Http; diff --git a/lib/public/AppFramework/Http/StandaloneTemplateResponse.php b/lib/public/AppFramework/Http/StandaloneTemplateResponse.php index f07e82fc92847892a1ec10975f86b35f6b868a97..35a48481333bec3b716fa1903c685cf27b41825b 100644 --- a/lib/public/AppFramework/Http/StandaloneTemplateResponse.php +++ b/lib/public/AppFramework/Http/StandaloneTemplateResponse.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/StreamResponse.php b/lib/public/AppFramework/Http/StreamResponse.php index d77d6586b714b3de9161c49eed2b35f01c2b8e7d..25ad37e5d9a22e2dfb95408ddf32cedf790fd801 100644 --- a/lib/public/AppFramework/Http/StreamResponse.php +++ b/lib/public/AppFramework/Http/StreamResponse.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCP\AppFramework\Http; use OCP\AppFramework\Http; diff --git a/lib/public/AppFramework/Http/StrictContentSecurityPolicy.php b/lib/public/AppFramework/Http/StrictContentSecurityPolicy.php index 7e458eebeab97db16a52d8c2d9c8cc955af33c7b..c62f79e8801343b15e440639b5258832ca96a31e 100644 --- a/lib/public/AppFramework/Http/StrictContentSecurityPolicy.php +++ b/lib/public/AppFramework/Http/StrictContentSecurityPolicy.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php b/lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php index 1bd1b14f2bcc7df52dade50183fe9b77789261e1..b0eb482f9f7c0a89d262398bc890ef2ce7f20787 100644 --- a/lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php +++ b/lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php b/lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php index 4d9217e617137ba5de4644c3e9ce003e89eedeb6..7010862dc125404ff47a76f7c35a0e8c9d11c63b 100644 --- a/lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php +++ b/lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php b/lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php index aaadfd59fe3ae4412f52d20e3b4afd57757bb99a..d4114c51c090dbbf774f2b65a2b1722ef6f49f7e 100644 --- a/lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php +++ b/lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2018 Julius Härtl * * @author Daniel Calviño Sánchez - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Roeland Jago Douma * @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http\Template; use OCP\Util; diff --git a/lib/public/AppFramework/Http/Template/IMenuAction.php b/lib/public/AppFramework/Http/Template/IMenuAction.php index 0da955c13089210aa05904b056986af766c789c2..970211952b0992211d56020cc9b555f31893f8a8 100644 --- a/lib/public/AppFramework/Http/Template/IMenuAction.php +++ b/lib/public/AppFramework/Http/Template/IMenuAction.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http\Template; /** diff --git a/lib/public/AppFramework/Http/Template/LinkMenuAction.php b/lib/public/AppFramework/Http/Template/LinkMenuAction.php index b4e71d5e710071e763f54c9feddbd75169f6a821..61398f99374c7a98b6c4832f0d45ff8d276b3912 100644 --- a/lib/public/AppFramework/Http/Template/LinkMenuAction.php +++ b/lib/public/AppFramework/Http/Template/LinkMenuAction.php @@ -2,7 +2,7 @@ /** * @copyright Copyright (c) 2018 Julius Härtl * - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http\Template; use OCP\Util; diff --git a/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php b/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php index 84c940d4229f99078f49643428695a90b2e6b9c3..70bec65b096dca9192cdffb0314dc1242650437e 100644 --- a/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php +++ b/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http\Template; use InvalidArgumentException; diff --git a/lib/public/AppFramework/Http/Template/SimpleMenuAction.php b/lib/public/AppFramework/Http/Template/SimpleMenuAction.php index 9646c08f920ddb4ffc7fa585a9bbd2e87d400ae9..f8492eb298901a878ad1c661cc024212a7ca0a02 100644 --- a/lib/public/AppFramework/Http/Template/SimpleMenuAction.php +++ b/lib/public/AppFramework/Http/Template/SimpleMenuAction.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http\Template; use OCP\Util; diff --git a/lib/public/AppFramework/Http/TemplateResponse.php b/lib/public/AppFramework/Http/TemplateResponse.php index 837ada337b88c90423dd2f851acb2a9046723e1d..9b010d38bae553ca965eb7a0f1f68b742eed64bc 100644 --- a/lib/public/AppFramework/Http/TemplateResponse.php +++ b/lib/public/AppFramework/Http/TemplateResponse.php @@ -26,12 +26,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * AppFramework\HTTP\TemplateResponse class - */ - namespace OCP\AppFramework\Http; /** diff --git a/lib/public/AppFramework/Http/TooManyRequestsResponse.php b/lib/public/AppFramework/Http/TooManyRequestsResponse.php index db771d0ac4a843d752b4b38a7ad40381cb3cfcca..908a9c60fd8b0438af69353870dc935679cf858a 100644 --- a/lib/public/AppFramework/Http/TooManyRequestsResponse.php +++ b/lib/public/AppFramework/Http/TooManyRequestsResponse.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http; use OCP\Template; diff --git a/lib/public/AppFramework/Http/ZipResponse.php b/lib/public/AppFramework/Http/ZipResponse.php index a5cc82ebad86003ce56f9ace26d431a925ec6ee4..c3a7e089bdc1cd0189e1ed4c1c94c925d56ee561 100644 --- a/lib/public/AppFramework/Http/ZipResponse.php +++ b/lib/public/AppFramework/Http/ZipResponse.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018 Roeland Jago Douma * + * @author Christoph Wurst * @author Jakob Sack * @author Morris Jobke * @author Roeland Jago Douma @@ -18,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Http; use OC\Streamer; diff --git a/lib/public/AppFramework/IAppContainer.php b/lib/public/AppFramework/IAppContainer.php index f3497a6e0e1d67b116444ef5d1482455593d8b81..626481de0e0920febcaaad2a95dc30fb2d1e6471 100644 --- a/lib/public/AppFramework/IAppContainer.php +++ b/lib/public/AppFramework/IAppContainer.php @@ -26,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\AppFramework; use OCP\IContainer; diff --git a/lib/public/AppFramework/Middleware.php b/lib/public/AppFramework/Middleware.php index d737c5e37fde7ab8bc82292235ea48892cf68590..1e8e92964b00b1d01de0a8dfd8c9e6358af035c2 100644 --- a/lib/public/AppFramework/Middleware.php +++ b/lib/public/AppFramework/Middleware.php @@ -23,12 +23,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * AppFramework\Middleware class - */ - namespace OCP\AppFramework; use OCP\AppFramework\Http\Response; diff --git a/lib/public/AppFramework/OCS/OCSBadRequestException.php b/lib/public/AppFramework/OCS/OCSBadRequestException.php index c6f523b89c6049755a282b58ed2c67ab90b05a98..db146076f2ae4afd5439f5078a7c186287762367 100644 --- a/lib/public/AppFramework/OCS/OCSBadRequestException.php +++ b/lib/public/AppFramework/OCS/OCSBadRequestException.php @@ -1,6 +1,6 @@ * * @author Roeland Jago Douma * @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\OCS; use Exception; diff --git a/lib/public/AppFramework/OCS/OCSException.php b/lib/public/AppFramework/OCS/OCSException.php index 0e4c5548dcfcd071a82fafeb68f4b5f9deb93310..b5dfdef35718707cf5aca9e4356ea326fb64f601 100644 --- a/lib/public/AppFramework/OCS/OCSException.php +++ b/lib/public/AppFramework/OCS/OCSException.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Roeland Jago Douma @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\OCS; use Exception; diff --git a/lib/public/AppFramework/OCS/OCSForbiddenException.php b/lib/public/AppFramework/OCS/OCSForbiddenException.php index 6b12c4dfa93afae05d9116067f5f1155ed525d19..ecdccb05a6ff037fa0e8f4103404085be0aa8de9 100644 --- a/lib/public/AppFramework/OCS/OCSForbiddenException.php +++ b/lib/public/AppFramework/OCS/OCSForbiddenException.php @@ -1,6 +1,6 @@ * * @author Roeland Jago Douma * @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\OCS; use Exception; diff --git a/lib/public/AppFramework/OCS/OCSNotFoundException.php b/lib/public/AppFramework/OCS/OCSNotFoundException.php index 01ba7ffbbf757c983b4d940fc60f6429c39574c5..7a2ffb5de9166e68c7977831128d3bbbb3817340 100644 --- a/lib/public/AppFramework/OCS/OCSNotFoundException.php +++ b/lib/public/AppFramework/OCS/OCSNotFoundException.php @@ -1,6 +1,6 @@ * * @author Roeland Jago Douma * @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\OCS; use Exception; diff --git a/lib/public/AppFramework/OCSController.php b/lib/public/AppFramework/OCSController.php index 422195f6b2421c4eb5170407c19fd619f7b2a1d6..09c28667dcda39464ba992933a820baa61203a2a 100644 --- a/lib/public/AppFramework/OCSController.php +++ b/lib/public/AppFramework/OCSController.php @@ -25,12 +25,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * AppFramework\Controller class - */ - namespace OCP\AppFramework; use OCP\AppFramework\Http\DataResponse; diff --git a/lib/public/AppFramework/PublicShareController.php b/lib/public/AppFramework/PublicShareController.php index c7e0e75d0e256bf06eeec65469dbe81ec855ba67..ec3e8500d61ae867f97c99341b5f584efd41670c 100644 --- a/lib/public/AppFramework/PublicShareController.php +++ b/lib/public/AppFramework/PublicShareController.php @@ -1,4 +1,7 @@ * @@ -13,15 +16,13 @@ * * 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 + * 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 program. If not, see . * */ -declare(strict_types=1); - namespace OCP\AppFramework; use OCP\IRequest; diff --git a/lib/public/AppFramework/QueryException.php b/lib/public/AppFramework/QueryException.php index dd7ff16af135d223c8bb735214f3969ad36ffd95..3b73c92e7be517ac09b6e1dc464b6bae57d30e85 100644 --- a/lib/public/AppFramework/QueryException.php +++ b/lib/public/AppFramework/QueryException.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\AppFramework; use Exception; diff --git a/lib/public/AppFramework/Services/IAppConfig.php b/lib/public/AppFramework/Services/IAppConfig.php index 0af937b7c6f2d62055d32e082bf00e6b7c6f2b75..baac2946e3c39e5b7bb3d9d6a57632c696cf22e2 100644 --- a/lib/public/AppFramework/Services/IAppConfig.php +++ b/lib/public/AppFramework/Services/IAppConfig.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Services; /** diff --git a/lib/public/AppFramework/Services/IInitialState.php b/lib/public/AppFramework/Services/IInitialState.php index 9195fedd171a7d4ba294a520fcf9490f19f8517a..c0c363792fc8ec4e75d54175b25d3cbd29838355 100644 --- a/lib/public/AppFramework/Services/IInitialState.php +++ b/lib/public/AppFramework/Services/IInitialState.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Services; use Closure; diff --git a/lib/public/AppFramework/Services/InitialStateProvider.php b/lib/public/AppFramework/Services/InitialStateProvider.php index b9dbd399d6b24321032c19829825777c1450f953..c317fad3f5de3ac41524fd77ccdc113f66abb2b3 100644 --- a/lib/public/AppFramework/Services/InitialStateProvider.php +++ b/lib/public/AppFramework/Services/InitialStateProvider.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\AppFramework\Services; /** diff --git a/lib/public/AppFramework/Utility/IControllerMethodReflector.php b/lib/public/AppFramework/Utility/IControllerMethodReflector.php index 05851ad668f2512a146d2b77aa3bbb07f451735b..ef51be0688c40ab260ab4d59cf178e4755d28d9f 100644 --- a/lib/public/AppFramework/Utility/IControllerMethodReflector.php +++ b/lib/public/AppFramework/Utility/IControllerMethodReflector.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\AppFramework\Utility; /** diff --git a/lib/public/AppFramework/Utility/ITimeFactory.php b/lib/public/AppFramework/Utility/ITimeFactory.php index ce09f10160f6466cc1c8614daebbaa1d85844045..63a87cf1b16a075d037d5a6bd45a507b385dd809 100644 --- a/lib/public/AppFramework/Utility/ITimeFactory.php +++ b/lib/public/AppFramework/Utility/ITimeFactory.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\AppFramework\Utility; /** diff --git a/lib/public/Authentication/Events/LoginFailedEvent.php b/lib/public/Authentication/Events/LoginFailedEvent.php index f6380d209664e1d5fb85f4bfef7e97919aa14be4..b1a70e4dd55c6f5ce36d1330a1148ea2195ce2a9 100644 --- a/lib/public/Authentication/Events/LoginFailedEvent.php +++ b/lib/public/Authentication/Events/LoginFailedEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Authentication/Exceptions/CredentialsUnavailableException.php b/lib/public/Authentication/Exceptions/CredentialsUnavailableException.php index d2a7d505767a436992c87eddc5849c617a492db2..7446c30d5008b4429e79ac28babd0f34a8bda797 100644 --- a/lib/public/Authentication/Exceptions/CredentialsUnavailableException.php +++ b/lib/public/Authentication/Exceptions/CredentialsUnavailableException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\Exceptions; use Exception; diff --git a/lib/public/Authentication/Exceptions/PasswordUnavailableException.php b/lib/public/Authentication/Exceptions/PasswordUnavailableException.php index 6b826966c8774c8c33af7ab88565dcba669a532b..d7c87ee28e984dbef7fded6cc3150185d8d8d486 100644 --- a/lib/public/Authentication/Exceptions/PasswordUnavailableException.php +++ b/lib/public/Authentication/Exceptions/PasswordUnavailableException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\Exceptions; use Exception; diff --git a/lib/public/Authentication/IAlternativeLogin.php b/lib/public/Authentication/IAlternativeLogin.php index d568cb6b5b533165f34f54df1d1f0ef32ff73996..837487f057ef89843cb03a31b269c5324a0e0260 100644 --- a/lib/public/Authentication/IAlternativeLogin.php +++ b/lib/public/Authentication/IAlternativeLogin.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication; /** diff --git a/lib/public/Authentication/IApacheBackend.php b/lib/public/Authentication/IApacheBackend.php index 806c71835a8dd0dfd81197a722b77739aa900cb9..4528bef3479196ae180b84254d8002cf38d41577 100644 --- a/lib/public/Authentication/IApacheBackend.php +++ b/lib/public/Authentication/IApacheBackend.php @@ -22,12 +22,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Authentication/IApacheBackend interface - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Authentication/LoginCredentials/ICredentials.php b/lib/public/Authentication/LoginCredentials/ICredentials.php index a47e91f68023de73eeaa872916e5d965e3ea8a86..9f708c37c37aea3e8c2310205555ecf5c55b648e 100644 --- a/lib/public/Authentication/LoginCredentials/ICredentials.php +++ b/lib/public/Authentication/LoginCredentials/ICredentials.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\LoginCredentials; use OCP\Authentication\Exceptions\PasswordUnavailableException; diff --git a/lib/public/Authentication/LoginCredentials/IStore.php b/lib/public/Authentication/LoginCredentials/IStore.php index 22562103a72dff76ad89d40946cdd3bd25a8225c..33ffefe2344fe64c6ea9d84f21e7429f2af25c14 100644 --- a/lib/public/Authentication/LoginCredentials/IStore.php +++ b/lib/public/Authentication/LoginCredentials/IStore.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\LoginCredentials; use OCP\Authentication\Exceptions\CredentialsUnavailableException; diff --git a/lib/public/Authentication/TwoFactorAuth/ALoginSetupController.php b/lib/public/Authentication/TwoFactorAuth/ALoginSetupController.php index d71150b3451a3ef8d72d511bd3dfbcd91df46e36..0ac23cc8915190c937146f505ce2f557b74ff3e0 100644 --- a/lib/public/Authentication/TwoFactorAuth/ALoginSetupController.php +++ b/lib/public/Authentication/TwoFactorAuth/ALoginSetupController.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\TwoFactorAuth; use OCP\AppFramework\Controller; diff --git a/lib/public/Authentication/TwoFactorAuth/IActivatableAtLogin.php b/lib/public/Authentication/TwoFactorAuth/IActivatableAtLogin.php index f1f67f3a4dc7fb97be6dbefe78ce7c81ee0a5b08..e3ef7c62f40849b2345bacf455f9d23172214e5b 100644 --- a/lib/public/Authentication/TwoFactorAuth/IActivatableAtLogin.php +++ b/lib/public/Authentication/TwoFactorAuth/IActivatableAtLogin.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\TwoFactorAuth; use OCP\IUser; diff --git a/lib/public/Authentication/TwoFactorAuth/IActivatableByAdmin.php b/lib/public/Authentication/TwoFactorAuth/IActivatableByAdmin.php index 98160d9464729f0942871e92a60f869a8a3873dd..d9fd80992356b7fb25cb9025c2180da784041414 100644 --- a/lib/public/Authentication/TwoFactorAuth/IActivatableByAdmin.php +++ b/lib/public/Authentication/TwoFactorAuth/IActivatableByAdmin.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\TwoFactorAuth; use OCP\IUser; diff --git a/lib/public/Authentication/TwoFactorAuth/IDeactivatableByAdmin.php b/lib/public/Authentication/TwoFactorAuth/IDeactivatableByAdmin.php index 0f8b527e34a14d6e1e0a36324e2418b511e7291c..1acf3e575d8d7d621f30b4c64a40950a43274ec5 100644 --- a/lib/public/Authentication/TwoFactorAuth/IDeactivatableByAdmin.php +++ b/lib/public/Authentication/TwoFactorAuth/IDeactivatableByAdmin.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\TwoFactorAuth; use OCP\IUser; diff --git a/lib/public/Authentication/TwoFactorAuth/ILoginSetupProvider.php b/lib/public/Authentication/TwoFactorAuth/ILoginSetupProvider.php index 7165588566aeca4c58cae9bd2d92d2c797afa916..9d07b11ebedcea4dfa9d6abb7e69eabd9198f1f9 100644 --- a/lib/public/Authentication/TwoFactorAuth/ILoginSetupProvider.php +++ b/lib/public/Authentication/TwoFactorAuth/ILoginSetupProvider.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\TwoFactorAuth; use OCP\Template; diff --git a/lib/public/Authentication/TwoFactorAuth/IPersonalProviderSettings.php b/lib/public/Authentication/TwoFactorAuth/IPersonalProviderSettings.php index 5178792b3aecf092becac7743114bd29c7156f16..23913b761b24a31c2c837dfaec5c52a64bdd4d1d 100644 --- a/lib/public/Authentication/TwoFactorAuth/IPersonalProviderSettings.php +++ b/lib/public/Authentication/TwoFactorAuth/IPersonalProviderSettings.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Christoph Wurst * * @author Christoph Wurst * @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\TwoFactorAuth; use OCP\Template; diff --git a/lib/public/Authentication/TwoFactorAuth/IProvider.php b/lib/public/Authentication/TwoFactorAuth/IProvider.php index 83545fa4f6c1cd5cd248979fd05748dc01fa2016..8f1c4ae28025e251d61a6a3d0d6c0c5f2d811ee9 100644 --- a/lib/public/Authentication/TwoFactorAuth/IProvider.php +++ b/lib/public/Authentication/TwoFactorAuth/IProvider.php @@ -23,7 +23,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Authentication\TwoFactorAuth; use OCP\IUser; diff --git a/lib/public/Authentication/TwoFactorAuth/IProvidesCustomCSP.php b/lib/public/Authentication/TwoFactorAuth/IProvidesCustomCSP.php index 1611e0da73cd4c8488bb606b734b228fb853d3ab..5d4c010fbdc5bdcce92575b29d811b58c8c00cd5 100644 --- a/lib/public/Authentication/TwoFactorAuth/IProvidesCustomCSP.php +++ b/lib/public/Authentication/TwoFactorAuth/IProvidesCustomCSP.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Christoph Wurst * * @author Christoph Wurst * @author Roeland Jago Douma @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\TwoFactorAuth; use OCP\AppFramework\Http\ContentSecurityPolicy; diff --git a/lib/public/Authentication/TwoFactorAuth/IProvidesIcons.php b/lib/public/Authentication/TwoFactorAuth/IProvidesIcons.php index 60315dc80308c44cdd3ec929734fc397cdff42b7..cd5205e54168cc09b951cc9b769452ab767b2e67 100644 --- a/lib/public/Authentication/TwoFactorAuth/IProvidesIcons.php +++ b/lib/public/Authentication/TwoFactorAuth/IProvidesIcons.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\TwoFactorAuth; /** diff --git a/lib/public/Authentication/TwoFactorAuth/IProvidesPersonalSettings.php b/lib/public/Authentication/TwoFactorAuth/IProvidesPersonalSettings.php index 3668e60cd50c86791cc60bb9633a6513715ab5be..3a101764c94f17fa5598543a022983bfc7dbe7d1 100644 --- a/lib/public/Authentication/TwoFactorAuth/IProvidesPersonalSettings.php +++ b/lib/public/Authentication/TwoFactorAuth/IProvidesPersonalSettings.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Christoph Wurst * * @author Christoph Wurst * @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\TwoFactorAuth; use OCP\IUser; diff --git a/lib/public/Authentication/TwoFactorAuth/IRegistry.php b/lib/public/Authentication/TwoFactorAuth/IRegistry.php index 2e5951aaf2d88e844503079c23cfa95af3277ce2..1f1b82a4426c495c94dcb846b73de35bb755950d 100644 --- a/lib/public/Authentication/TwoFactorAuth/IRegistry.php +++ b/lib/public/Authentication/TwoFactorAuth/IRegistry.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\TwoFactorAuth; use OCP\IUser; diff --git a/lib/public/Authentication/TwoFactorAuth/RegistryEvent.php b/lib/public/Authentication/TwoFactorAuth/RegistryEvent.php index 570998b0ad4366244841c28306984232cbb0f21f..830ce8e1c3bebc399a725a0b9d73240c5ee02cf7 100644 --- a/lib/public/Authentication/TwoFactorAuth/RegistryEvent.php +++ b/lib/public/Authentication/TwoFactorAuth/RegistryEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\TwoFactorAuth; use OCP\EventDispatcher\Event; diff --git a/lib/public/Authentication/TwoFactorAuth/TwoFactorException.php b/lib/public/Authentication/TwoFactorAuth/TwoFactorException.php index 95ec88de99ae967fbab413dfb66f4cec61dab095..e601f6c33d98e9c7f1f1af5729424653af68dc2e 100644 --- a/lib/public/Authentication/TwoFactorAuth/TwoFactorException.php +++ b/lib/public/Authentication/TwoFactorAuth/TwoFactorException.php @@ -23,7 +23,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Authentication\TwoFactorAuth; use Exception; diff --git a/lib/public/Authentication/TwoFactorAuth/TwoFactorProviderDisabled.php b/lib/public/Authentication/TwoFactorAuth/TwoFactorProviderDisabled.php index 925bd6914ba053b607225fa37da50da9cbc15138..539c5716bbd4478326b0d41456862983cd814371 100644 --- a/lib/public/Authentication/TwoFactorAuth/TwoFactorProviderDisabled.php +++ b/lib/public/Authentication/TwoFactorAuth/TwoFactorProviderDisabled.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\TwoFactorAuth; use OCP\EventDispatcher\Event; diff --git a/lib/public/Authentication/TwoFactorAuth/TwoFactorProviderForUserDisabled.php b/lib/public/Authentication/TwoFactorAuth/TwoFactorProviderForUserDisabled.php index a0d20c3e39b3a412382f4cada2064d88acc1f5fb..5a56adc3cc998cd5d73fabd0d8f5847b3f7acfb4 100644 --- a/lib/public/Authentication/TwoFactorAuth/TwoFactorProviderForUserDisabled.php +++ b/lib/public/Authentication/TwoFactorAuth/TwoFactorProviderForUserDisabled.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\TwoFactorAuth; use OCP\EventDispatcher\Event; diff --git a/lib/public/Authentication/TwoFactorAuth/TwoFactorProviderForUserEnabled.php b/lib/public/Authentication/TwoFactorAuth/TwoFactorProviderForUserEnabled.php index c79669d6eb3afda631407a87de00126814dacce5..c577d1484a384fb673414bf36a3eed1f89feb2ef 100644 --- a/lib/public/Authentication/TwoFactorAuth/TwoFactorProviderForUserEnabled.php +++ b/lib/public/Authentication/TwoFactorAuth/TwoFactorProviderForUserEnabled.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Authentication\TwoFactorAuth; use OCP\EventDispatcher\Event; diff --git a/lib/public/AutoloadNotAllowedException.php b/lib/public/AutoloadNotAllowedException.php index 6608e1739ce4839debf7d10c9356ee2fd372be9d..110362ab6082aa633cb5fdfb644c97eaa260be10 100644 --- a/lib/public/AutoloadNotAllowedException.php +++ b/lib/public/AutoloadNotAllowedException.php @@ -22,7 +22,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/BackgroundJob.php b/lib/public/BackgroundJob.php index a698896fe1bf79cdc867559a1c386ee21d527ba4..2be11ab0a6e47f9a016d460361ce86fc49bab11e 100644 --- a/lib/public/BackgroundJob.php +++ b/lib/public/BackgroundJob.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/BackgroundJob/IJob.php b/lib/public/BackgroundJob/IJob.php index 8e61c527e7d84111e2980acad155b03d0490ce95..341ae2ac545e0cdc64985d50b9f947540fa65391 100644 --- a/lib/public/BackgroundJob/IJob.php +++ b/lib/public/BackgroundJob/IJob.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCP\BackgroundJob; use OCP\ILogger; diff --git a/lib/public/BackgroundJob/IJobList.php b/lib/public/BackgroundJob/IJobList.php index 36f8cd68feace5be67f88746d74790e0ffb783c6..299d6725229f81b62ebc09ff6c3ef1f0337e5130 100644 --- a/lib/public/BackgroundJob/IJobList.php +++ b/lib/public/BackgroundJob/IJobList.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP\BackgroundJob; /** diff --git a/lib/public/BackgroundJob/Job.php b/lib/public/BackgroundJob/Job.php index 62b136c0cfbd349e16a798e9f2dfd05837704cc8..5b20ac8268447a215aba4b15491e03ca00191044 100644 --- a/lib/public/BackgroundJob/Job.php +++ b/lib/public/BackgroundJob/Job.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\BackgroundJob; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/lib/public/BackgroundJob/QueuedJob.php b/lib/public/BackgroundJob/QueuedJob.php index 593065affbf554b9adc4be4ed67e7de9e14c027c..e7e6e9a2939bf558bef9a5f7060ca5c52ff86a99 100644 --- a/lib/public/BackgroundJob/QueuedJob.php +++ b/lib/public/BackgroundJob/QueuedJob.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\BackgroundJob; use OCP\ILogger; diff --git a/lib/public/BackgroundJob/TimedJob.php b/lib/public/BackgroundJob/TimedJob.php index 01eecd4337959cb72db9af5d3e4714ee201fe2e3..2cc9ea8e293734480cc01e9cabe7d06c217ed913 100644 --- a/lib/public/BackgroundJob/TimedJob.php +++ b/lib/public/BackgroundJob/TimedJob.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018, Roeland Jago Douma * + * @author Christoph Wurst * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\BackgroundJob; use OC\BackgroundJob\JobList; diff --git a/lib/public/Broadcast/Events/IBroadcastEvent.php b/lib/public/Broadcast/Events/IBroadcastEvent.php index 95d52c5af8bd12fec174a213147bb88ca6c8a306..e7a0e70ba0a6a03b7517b9bac9d42bf2175644d7 100644 --- a/lib/public/Broadcast/Events/IBroadcastEvent.php +++ b/lib/public/Broadcast/Events/IBroadcastEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Broadcast\Events; use JsonSerializable; diff --git a/lib/public/Calendar/BackendTemporarilyUnavailableException.php b/lib/public/Calendar/BackendTemporarilyUnavailableException.php index 2655eea87de80adb2a52e45ed863cfc58ca6b98a..5485c9e9e4eaf478c5eb670237306a9fb6d2eb10 100644 --- a/lib/public/Calendar/BackendTemporarilyUnavailableException.php +++ b/lib/public/Calendar/BackendTemporarilyUnavailableException.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Calendar; /** diff --git a/lib/public/Calendar/ICalendar.php b/lib/public/Calendar/ICalendar.php index 93f5e572cf62461a4f236305cdb6c43acef2a202..ebaa7c50f84757bc2c8056ee11eab49dec4a5493 100644 --- a/lib/public/Calendar/ICalendar.php +++ b/lib/public/Calendar/ICalendar.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Calendar; /** diff --git a/lib/public/Calendar/IManager.php b/lib/public/Calendar/IManager.php index 67762acdf9a187cfb38ae6db7559287fef1778e6..df4c993b2b572cf683bbe16b82a6c80d83525cfb 100644 --- a/lib/public/Calendar/IManager.php +++ b/lib/public/Calendar/IManager.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Calendar; /** diff --git a/lib/public/Calendar/IMetadataProvider.php b/lib/public/Calendar/IMetadataProvider.php index 2e1986e7a9559d89b9eeb11157381875688a6d0c..5d0770caabde93d595e24bc3dcaefa524833edf3 100644 --- a/lib/public/Calendar/IMetadataProvider.php +++ b/lib/public/Calendar/IMetadataProvider.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Calendar; /** diff --git a/lib/public/Calendar/Resource/IBackend.php b/lib/public/Calendar/Resource/IBackend.php index 261e2dda03ac24067f1bf4751579de2cb1e76691..a1e050df60ad351affcb866c1e9357604a5541d8 100644 --- a/lib/public/Calendar/Resource/IBackend.php +++ b/lib/public/Calendar/Resource/IBackend.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Calendar\Resource; use OCP\Calendar\BackendTemporarilyUnavailableException; diff --git a/lib/public/Calendar/Resource/IManager.php b/lib/public/Calendar/Resource/IManager.php index 095e72e2490d1dc55202e67191cddcbb75f1a342..6910ecb164cbf5344b63f85188b186cc195cd37c 100644 --- a/lib/public/Calendar/Resource/IManager.php +++ b/lib/public/Calendar/Resource/IManager.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Calendar\Resource; /** diff --git a/lib/public/Calendar/Resource/IResource.php b/lib/public/Calendar/Resource/IResource.php index 00ce98d64e0a27e73810fc76e3011bb16ec4884d..f2c3d0a06f00564648e8d3f786ff2e74c1e64098 100644 --- a/lib/public/Calendar/Resource/IResource.php +++ b/lib/public/Calendar/Resource/IResource.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Calendar\Resource; /** diff --git a/lib/public/Calendar/Resource/IResourceMetadata.php b/lib/public/Calendar/Resource/IResourceMetadata.php index 51ee659fb0d9a95c8b4d8a9d4302bd0c061a8539..4d2eaf7248807457a9d48ab691756edcb3abd7af 100644 --- a/lib/public/Calendar/Resource/IResourceMetadata.php +++ b/lib/public/Calendar/Resource/IResourceMetadata.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Calendar\Resource; /** diff --git a/lib/public/Calendar/Room/IBackend.php b/lib/public/Calendar/Room/IBackend.php index f40c1fcf662b57a0ee3e7056048b604740399f26..095240202bfaa312df1b52e20ca833306e7cdb88 100644 --- a/lib/public/Calendar/Room/IBackend.php +++ b/lib/public/Calendar/Room/IBackend.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Calendar\Room; use OCP\Calendar\BackendTemporarilyUnavailableException; diff --git a/lib/public/Calendar/Room/IManager.php b/lib/public/Calendar/Room/IManager.php index 925b48a8e4fe1f00afb2180f416156a78e11eae4..6529ad265b68e9b8abc3fc52491a736965c53cc6 100644 --- a/lib/public/Calendar/Room/IManager.php +++ b/lib/public/Calendar/Room/IManager.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Calendar\Room; /** diff --git a/lib/public/Calendar/Room/IRoom.php b/lib/public/Calendar/Room/IRoom.php index f1be218aba5b93eefa3ccf03d07bd2aa83d559a6..6402c02319bd3d7a5dab3c2c622ff2cfe85a0e5e 100644 --- a/lib/public/Calendar/Room/IRoom.php +++ b/lib/public/Calendar/Room/IRoom.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Calendar\Room; /** diff --git a/lib/public/Calendar/Room/IRoomMetadata.php b/lib/public/Calendar/Room/IRoomMetadata.php index b6233a486f2b8e6a971016d0a9abfa5ba4d587f6..9186e4f49316e6189550e90ed7b57a9c4df0cd87 100644 --- a/lib/public/Calendar/Room/IRoomMetadata.php +++ b/lib/public/Calendar/Room/IRoomMetadata.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Calendar\Room; /** diff --git a/lib/public/Capabilities/ICapability.php b/lib/public/Capabilities/ICapability.php index 00f3f10a1bd5eaecf969e6634f4f29a1f29be85a..34cbe63973e00368171dd96f36aa6676d05182db 100644 --- a/lib/public/Capabilities/ICapability.php +++ b/lib/public/Capabilities/ICapability.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCP\Capabilities; /** diff --git a/lib/public/Capabilities/IPublicCapability.php b/lib/public/Capabilities/IPublicCapability.php index 0dcb45d0198da5be8dac14411c769aa74229fdb2..2c632a8ed9b99f5a194a3204da3f4763e5b9c1d4 100644 --- a/lib/public/Capabilities/IPublicCapability.php +++ b/lib/public/Capabilities/IPublicCapability.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Capabilities; /** diff --git a/lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php b/lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php index 73128f618f0bbb98f4b794731d1d2e10de88c1c3..503f31bfffbaa2b206cf9e1f838601688f302f1b 100644 --- a/lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php +++ b/lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Collaboration\AutoComplete; use OCP\EventDispatcher\GenericEvent; diff --git a/lib/public/Collaboration/AutoComplete/IManager.php b/lib/public/Collaboration/AutoComplete/IManager.php index cec703edc998fe7dca1c1cf3116fad3d6394f1a0..c4ca499b618e3231196d958df37ee6b79fe6b0fb 100644 --- a/lib/public/Collaboration/AutoComplete/IManager.php +++ b/lib/public/Collaboration/AutoComplete/IManager.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Collaboration\AutoComplete; /** diff --git a/lib/public/Collaboration/AutoComplete/ISorter.php b/lib/public/Collaboration/AutoComplete/ISorter.php index 770bc4e0bf66446c679c57d0e712282eac39a7b5..ddf39671d874b5725b33f89f0ba25e14d68165aa 100644 --- a/lib/public/Collaboration/AutoComplete/ISorter.php +++ b/lib/public/Collaboration/AutoComplete/ISorter.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Collaboration\AutoComplete; /** diff --git a/lib/public/Collaboration/Collaborators/ISearch.php b/lib/public/Collaboration/Collaborators/ISearch.php index fbdeecff0971c437b0a6d2865838bcf26dce9d6a..e6ef5ec894ea6e652128cc61ea5f3decc8e712f9 100644 --- a/lib/public/Collaboration/Collaborators/ISearch.php +++ b/lib/public/Collaboration/Collaborators/ISearch.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Collaboration\Collaborators; /** diff --git a/lib/public/Collaboration/Collaborators/ISearchPlugin.php b/lib/public/Collaboration/Collaborators/ISearchPlugin.php index b240c270f5e90f783e2a32da367fca709d14b9a0..1965ef7d368c443cbe4bb30ea08474497e354049 100644 --- a/lib/public/Collaboration/Collaborators/ISearchPlugin.php +++ b/lib/public/Collaboration/Collaborators/ISearchPlugin.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Collaboration\Collaborators; /** diff --git a/lib/public/Collaboration/Collaborators/ISearchResult.php b/lib/public/Collaboration/Collaborators/ISearchResult.php index a559892bb47bc1760dc34e78d37280f27ff2f918..15d14d656ede84a5649b37724ecead426a8b0344 100644 --- a/lib/public/Collaboration/Collaborators/ISearchResult.php +++ b/lib/public/Collaboration/Collaborators/ISearchResult.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Collaboration\Collaborators; /** diff --git a/lib/public/Collaboration/Collaborators/SearchResultType.php b/lib/public/Collaboration/Collaborators/SearchResultType.php index d224942368cc054e8496eeca1b990b71b4aef148..74d10b0289576754c0b2457502f60e016a2524ca 100644 --- a/lib/public/Collaboration/Collaborators/SearchResultType.php +++ b/lib/public/Collaboration/Collaborators/SearchResultType.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Collaboration\Collaborators; /** diff --git a/lib/public/Collaboration/Resources/CollectionException.php b/lib/public/Collaboration/Resources/CollectionException.php index a7f05cdc9394f8c26595c242ca7695b15d03777e..e5fd8fd4d22481fa29a5590f1b988ed0fc8955ae 100644 --- a/lib/public/Collaboration/Resources/CollectionException.php +++ b/lib/public/Collaboration/Resources/CollectionException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Collaboration\Resources; /** diff --git a/lib/public/Collaboration/Resources/ICollection.php b/lib/public/Collaboration/Resources/ICollection.php index 55f8014ca6a8c05cddf74ac9264faa86d6a4a963..5efae755f4d02b7cc20b32d4a722dfc27e38f944 100644 --- a/lib/public/Collaboration/Resources/ICollection.php +++ b/lib/public/Collaboration/Resources/ICollection.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Collaboration\Resources; use OCP\IUser; diff --git a/lib/public/Collaboration/Resources/IManager.php b/lib/public/Collaboration/Resources/IManager.php index eba4c7beceaed40984a7e13a6bcb2350459b155e..f220a9c489f64d2890e02fd88fded1193bd5c191 100644 --- a/lib/public/Collaboration/Resources/IManager.php +++ b/lib/public/Collaboration/Resources/IManager.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Collaboration\Resources; use OCP\IUser; diff --git a/lib/public/Collaboration/Resources/IProvider.php b/lib/public/Collaboration/Resources/IProvider.php index 28bb06d2b85fc1e63c93188642f6a2ea9ffbddcd..88a74496e55902502d3589ae56c21697db23f27f 100644 --- a/lib/public/Collaboration/Resources/IProvider.php +++ b/lib/public/Collaboration/Resources/IProvider.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Collaboration\Resources; use OCP\IUser; diff --git a/lib/public/Collaboration/Resources/IProviderManager.php b/lib/public/Collaboration/Resources/IProviderManager.php index 894d4b8df98f8d192585bc46afbe1cc88c3214ee..5dcb3eeaca94e835fcb3581d9131156dd0abaf0c 100644 --- a/lib/public/Collaboration/Resources/IProviderManager.php +++ b/lib/public/Collaboration/Resources/IProviderManager.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Collaboration\Resources; /** diff --git a/lib/public/Collaboration/Resources/IResource.php b/lib/public/Collaboration/Resources/IResource.php index 7505bd69d864ddcceba47c194e1627644f15e8ba..20148090d641443ae379977335c6b6a713ffc7a8 100644 --- a/lib/public/Collaboration/Resources/IResource.php +++ b/lib/public/Collaboration/Resources/IResource.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Collaboration\Resources; use OCP\IUser; diff --git a/lib/public/Collaboration/Resources/ResourceException.php b/lib/public/Collaboration/Resources/ResourceException.php index 562207f8e7b11c8e84660cf04306450e001d0528..6dd154853b4862b25242d9f9da6485ea7a5d3234 100644 --- a/lib/public/Collaboration/Resources/ResourceException.php +++ b/lib/public/Collaboration/Resources/ResourceException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Collaboration\Resources; /** diff --git a/lib/public/Command/IBus.php b/lib/public/Command/IBus.php index 9de5dd8e4b3028017b723b3073bd294f28422ffe..54b57b0477ca77ce3fd2abd2dd9c138e30889795 100644 --- a/lib/public/Command/IBus.php +++ b/lib/public/Command/IBus.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP\Command; /** diff --git a/lib/public/Command/ICommand.php b/lib/public/Command/ICommand.php index cfe4b1348c95af4b9f03d767e20455fd5b4616bf..119778c15d7a2c50b8e291eea075df26db181bf1 100644 --- a/lib/public/Command/ICommand.php +++ b/lib/public/Command/ICommand.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP\Command; /** diff --git a/lib/public/Comments/CommentsEntityEvent.php b/lib/public/Comments/CommentsEntityEvent.php index 7ae2968ead87605e1bb581adc981fd110e6b10f6..e4b4c78f03c07a919514d3c4b12d96841cfed199 100644 --- a/lib/public/Comments/CommentsEntityEvent.php +++ b/lib/public/Comments/CommentsEntityEvent.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\Comments; use OCP\EventDispatcher\Event; diff --git a/lib/public/Comments/CommentsEvent.php b/lib/public/Comments/CommentsEvent.php index 9090425aae5b07326306b0541b1030902cecda56..244df0243f7dc5629fbc44a6e8be37394de1559d 100644 --- a/lib/public/Comments/CommentsEvent.php +++ b/lib/public/Comments/CommentsEvent.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\Comments; use OCP\EventDispatcher\Event; diff --git a/lib/public/Comments/IComment.php b/lib/public/Comments/IComment.php index fb8c1facfddb28d4207a2ed75e3260131d6315e2..b9747aefb5bb639ac4e373b9d84c5ed503d91807 100644 --- a/lib/public/Comments/IComment.php +++ b/lib/public/Comments/IComment.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP\Comments; /** diff --git a/lib/public/Comments/ICommentsEventHandler.php b/lib/public/Comments/ICommentsEventHandler.php index 38939fefd5b7ec6f692b20a35ef326a973e5599d..4e19a3aaadc6b2191aec84ff9d6bcc8b2ad5714b 100644 --- a/lib/public/Comments/ICommentsEventHandler.php +++ b/lib/public/Comments/ICommentsEventHandler.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Comments; /** diff --git a/lib/public/Comments/ICommentsManager.php b/lib/public/Comments/ICommentsManager.php index aabacec9202922e107fe951a4a51e29df2ec0ba9..64bb98db478b3f79ac4d5e2d6d933bb47853e2e7 100644 --- a/lib/public/Comments/ICommentsManager.php +++ b/lib/public/Comments/ICommentsManager.php @@ -5,7 +5,7 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Robin Appelman * @author Roeland Jago Douma @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCP\Comments; use OCP\IUser; diff --git a/lib/public/Comments/ICommentsManagerFactory.php b/lib/public/Comments/ICommentsManagerFactory.php index 3b939297573ff815064e5315ea4368feb98bd1c8..e6f69807b054521f8c81f1404a259a2db1dc4229 100644 --- a/lib/public/Comments/ICommentsManagerFactory.php +++ b/lib/public/Comments/ICommentsManagerFactory.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP\Comments; use OCP\IServerContainer; diff --git a/lib/public/Comments/IllegalIDChangeException.php b/lib/public/Comments/IllegalIDChangeException.php index f20120bd2072e53eba817b08e9755d5451841a40..76b0ced6bc6967d70cbddbeea4b4ff46a75140eb 100644 --- a/lib/public/Comments/IllegalIDChangeException.php +++ b/lib/public/Comments/IllegalIDChangeException.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP\Comments; /** diff --git a/lib/public/Comments/MessageTooLongException.php b/lib/public/Comments/MessageTooLongException.php index b615229175518520ddf7ff1b925dc9a353fc28d8..39d86881183b28c79774d12f58e4dbb887eb70f5 100644 --- a/lib/public/Comments/MessageTooLongException.php +++ b/lib/public/Comments/MessageTooLongException.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\Comments; /** diff --git a/lib/public/Comments/NotFoundException.php b/lib/public/Comments/NotFoundException.php index 9e86b7ff27ffed80a34286d5ce1583a7fd1c7c47..e9f7a07aa5252f8e9ed28a0494ffffa44409dc28 100644 --- a/lib/public/Comments/NotFoundException.php +++ b/lib/public/Comments/NotFoundException.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP\Comments; /** diff --git a/lib/public/Console/ConsoleEvent.php b/lib/public/Console/ConsoleEvent.php index a12d65c3b159274adddebd1198ec397c2b086188..803cf761c0cf3c0327c063ef725fc9defaa81b58 100644 --- a/lib/public/Console/ConsoleEvent.php +++ b/lib/public/Console/ConsoleEvent.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\Console; use OCP\EventDispatcher\Event; diff --git a/lib/public/Constants.php b/lib/public/Constants.php index 813fbe673d40162b2e6fc1cd6237186fab9d0213..6a38190e1679866921b6def61da22933f9959492 100644 --- a/lib/public/Constants.php +++ b/lib/public/Constants.php @@ -28,9 +28,7 @@ declare(strict_types=1); * */ -/** - * This file defines common constants used in ownCloud - */ +// This file defines common constants used in ownCloud namespace OCP; diff --git a/lib/public/Contacts/ContactsMenu/IAction.php b/lib/public/Contacts/ContactsMenu/IAction.php index ad2780fcf5bd0e5a6ec2e610e64bb8754091090b..1a2bc9b33b54722f406909bf3e4dbded83dd60a5 100644 --- a/lib/public/Contacts/ContactsMenu/IAction.php +++ b/lib/public/Contacts/ContactsMenu/IAction.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Contacts\ContactsMenu; use JsonSerializable; diff --git a/lib/public/Contacts/ContactsMenu/IActionFactory.php b/lib/public/Contacts/ContactsMenu/IActionFactory.php index 18f12359ea1fc3168065d0b8aa03cf935dec0b96..f454ea117d285695405210be5b433c473a04dd32 100644 --- a/lib/public/Contacts/ContactsMenu/IActionFactory.php +++ b/lib/public/Contacts/ContactsMenu/IActionFactory.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Contacts\ContactsMenu; /** diff --git a/lib/public/Contacts/ContactsMenu/IContactsStore.php b/lib/public/Contacts/ContactsMenu/IContactsStore.php index 6fc8d788d9fab922ccddfdc02fc4fc2e31fee5a1..3aa51888450a04dee5a10613795b356421d5eaf6 100644 --- a/lib/public/Contacts/ContactsMenu/IContactsStore.php +++ b/lib/public/Contacts/ContactsMenu/IContactsStore.php @@ -1,6 +1,6 @@ * * @author Arthur Schiwon * @author Christoph Wurst @@ -15,7 +15,7 @@ * * 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 + * 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 diff --git a/lib/public/Contacts/ContactsMenu/IEntry.php b/lib/public/Contacts/ContactsMenu/IEntry.php index 455178855744a1371ce7cad802a6601c2cdbb0be..d4e3e31cf79913ae68237ecfdc1e355202bed359 100644 --- a/lib/public/Contacts/ContactsMenu/IEntry.php +++ b/lib/public/Contacts/ContactsMenu/IEntry.php @@ -3,6 +3,7 @@ * @copyright 2017 Christoph Wurst * * @author Christoph Wurst + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -13,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Contacts\ContactsMenu; use JsonSerializable; diff --git a/lib/public/Contacts/ContactsMenu/ILinkAction.php b/lib/public/Contacts/ContactsMenu/ILinkAction.php index 4febf5486ea17866e0d2c78ff4de4662cd3875f1..63e77f5446f9c785d5f238f5698e6e5c4b0f4bd3 100644 --- a/lib/public/Contacts/ContactsMenu/ILinkAction.php +++ b/lib/public/Contacts/ContactsMenu/ILinkAction.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Contacts\ContactsMenu; /** diff --git a/lib/public/Contacts/ContactsMenu/IProvider.php b/lib/public/Contacts/ContactsMenu/IProvider.php index 07ce602b91736ad162537cbb09bfe9d17773c2bb..c6c695c56986a59de24155b7189981bdccb4b2a6 100644 --- a/lib/public/Contacts/ContactsMenu/IProvider.php +++ b/lib/public/Contacts/ContactsMenu/IProvider.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Contacts\ContactsMenu; /** diff --git a/lib/public/Contacts/Events/ContactInteractedWithEvent.php b/lib/public/Contacts/Events/ContactInteractedWithEvent.php index 1888b7606bfc89ce90958a79e0dffc8dc57d9726..b879c89a730567e4d967811fcef112112a3fe2e4 100644 --- a/lib/public/Contacts/Events/ContactInteractedWithEvent.php +++ b/lib/public/Contacts/Events/ContactInteractedWithEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Contacts\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Contacts/IManager.php b/lib/public/Contacts/IManager.php index eba3d604ca3b210ce53cec5b796b22b7d4e77eb4..8d24249e997064aa584179c12cdbe07b23d3b53d 100644 --- a/lib/public/Contacts/IManager.php +++ b/lib/public/Contacts/IManager.php @@ -2,9 +2,10 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Anna Larch * @author Arne Hamann * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Morris Jobke * @author Roeland Jago Douma @@ -25,13 +26,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Contacts Class - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/DB/Exception.php b/lib/public/DB/Exception.php index 1154530e85d4d58e0bb1f833b8df23800b775ca6..d9d11e308d686fa09ceb1394ca9e5583cb74f074 100644 --- a/lib/public/DB/Exception.php +++ b/lib/public/DB/Exception.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCP\DB; use Exception as BaseException; diff --git a/lib/public/DB/IPreparedStatement.php b/lib/public/DB/IPreparedStatement.php index 6b6617ba5eaf10e86acd8a56819230602211bedd..2fadff5da3ff20162ca8585985ab838bc02dedac 100644 --- a/lib/public/DB/IPreparedStatement.php +++ b/lib/public/DB/IPreparedStatement.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCP\DB; use Doctrine\DBAL\Exception; diff --git a/lib/public/DB/IResult.php b/lib/public/DB/IResult.php index caa3fd8e88de4c4268df975e804ee75224df9350..76f8cf2660109710f2cb7a029a799c4fc8d9b9da 100644 --- a/lib/public/DB/IResult.php +++ b/lib/public/DB/IResult.php @@ -2,10 +2,11 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Arthur Schiwon + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCP\DB; use PDO; diff --git a/lib/public/DB/ISchemaWrapper.php b/lib/public/DB/ISchemaWrapper.php index 3d58a10d2d28e841f394250464597d70c78d50c2..2031f807e76bc9eea121f8f3580895c0a84cdb3e 100644 --- a/lib/public/DB/ISchemaWrapper.php +++ b/lib/public/DB/ISchemaWrapper.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\DB; /** diff --git a/lib/public/DB/QueryBuilder/ICompositeExpression.php b/lib/public/DB/QueryBuilder/ICompositeExpression.php index c50dedf1797a508e93b806ef3901ce9e9ca6acb4..56716c628b0a69d350887c54572cf705cf01e645 100644 --- a/lib/public/DB/QueryBuilder/ICompositeExpression.php +++ b/lib/public/DB/QueryBuilder/ICompositeExpression.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Christoph Wurst * @author Joas Schilling * @author Roeland Jago Douma * @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP\DB\QueryBuilder; /** diff --git a/lib/public/DB/QueryBuilder/IExpressionBuilder.php b/lib/public/DB/QueryBuilder/IExpressionBuilder.php index dcba559a96b3a262cab245ab016184f9af22165b..b3dbf564e3539bb0686d9053270ed3c93ab485bb 100644 --- a/lib/public/DB/QueryBuilder/IExpressionBuilder.php +++ b/lib/public/DB/QueryBuilder/IExpressionBuilder.php @@ -5,7 +5,7 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author Robin Appelman + * @author Lukas Reschke * @author Roeland Jago Douma * @author Thomas Müller * @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCP\DB\QueryBuilder; use Doctrine\DBAL\Query\Expression\ExpressionBuilder; diff --git a/lib/public/DB/QueryBuilder/IFunctionBuilder.php b/lib/public/DB/QueryBuilder/IFunctionBuilder.php index 569bc7485d4aedc1385349c0fd02fccf9a70b6d7..33d0fbe3b1a1442685f8385c86c9e46ef487625e 100644 --- a/lib/public/DB/QueryBuilder/IFunctionBuilder.php +++ b/lib/public/DB/QueryBuilder/IFunctionBuilder.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\DB\QueryBuilder; /** diff --git a/lib/public/DB/QueryBuilder/ILiteral.php b/lib/public/DB/QueryBuilder/ILiteral.php index 8fe5c62d3f8c2b6c36041a0e2697efc8946b9853..fbd175470acea704a15d3228bb952c70b27f9bd9 100644 --- a/lib/public/DB/QueryBuilder/ILiteral.php +++ b/lib/public/DB/QueryBuilder/ILiteral.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\DB\QueryBuilder; /** diff --git a/lib/public/DB/QueryBuilder/IParameter.php b/lib/public/DB/QueryBuilder/IParameter.php index 1636dd8c4384011b1c8f866da42962308ee2a859..3344a9c56ce99f45506b6da3a26e5286398b3fb6 100644 --- a/lib/public/DB/QueryBuilder/IParameter.php +++ b/lib/public/DB/QueryBuilder/IParameter.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\DB\QueryBuilder; /** diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php index 5a8ab9ac9ad672aa1415afe9c4d7dfc1bcc1db67..e3daf4b3b465dce3e818409c92da70db03ebb8e8 100644 --- a/lib/public/DB/QueryBuilder/IQueryBuilder.php +++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCP\DB\QueryBuilder; use Doctrine\DBAL\Connection; diff --git a/lib/public/DB/QueryBuilder/IQueryFunction.php b/lib/public/DB/QueryBuilder/IQueryFunction.php index 22ac6081f1f940c9ca7c98802085632d57ab8f68..d76f964fafd1dfa11b5428caaa35b7233c40a810 100644 --- a/lib/public/DB/QueryBuilder/IQueryFunction.php +++ b/lib/public/DB/QueryBuilder/IQueryFunction.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\DB\QueryBuilder; /** diff --git a/lib/public/DB/Types.php b/lib/public/DB/Types.php index 2fb1c13a529da28d8473273682337a86c12f2475..4636ac3389fca5feb6fe6ecea349e40c0a5acf68 100644 --- a/lib/public/DB/Types.php +++ b/lib/public/DB/Types.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . + * */ - namespace OCP\DB; /** diff --git a/lib/public/Dashboard/Exceptions/DashboardAppNotAvailableException.php b/lib/public/Dashboard/Exceptions/DashboardAppNotAvailableException.php index e42f8b28d070ac6b17d63b6083f2c352d20be34e..854848da5b7802f5baf6c9911806a48eefec6041 100644 --- a/lib/public/Dashboard/Exceptions/DashboardAppNotAvailableException.php +++ b/lib/public/Dashboard/Exceptions/DashboardAppNotAvailableException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Dashboard\Exceptions; /** diff --git a/lib/public/Dashboard/IDashboardManager.php b/lib/public/Dashboard/IDashboardManager.php index eaf5b9936c65b1b917c6f5db14d46b7dd8d11471..46f31cd8ff4d2014c5a5ffed596c7b2c1659c8ba 100644 --- a/lib/public/Dashboard/IDashboardManager.php +++ b/lib/public/Dashboard/IDashboardManager.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Dashboard; use OCP\Dashboard\Exceptions\DashboardAppNotAvailableException; diff --git a/lib/public/Dashboard/IDashboardWidget.php b/lib/public/Dashboard/IDashboardWidget.php index 36886de206981d09be1cf06e483d42ba0f3058f2..fc7de4dae98edbf5eb4489439234f6b26ba7322c 100644 --- a/lib/public/Dashboard/IDashboardWidget.php +++ b/lib/public/Dashboard/IDashboardWidget.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Dashboard; use OCP\Dashboard\Model\IWidgetConfig; diff --git a/lib/public/Dashboard/IManager.php b/lib/public/Dashboard/IManager.php index 065ab128c3c5a3f2db56e605297c247cf91e2232..396624876ef31dbc7b43cba5c515eec8fe5e22eb 100644 --- a/lib/public/Dashboard/IManager.php +++ b/lib/public/Dashboard/IManager.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Dashboard; /** diff --git a/lib/public/Dashboard/IWidget.php b/lib/public/Dashboard/IWidget.php index dbfcb5d08483eb2f455de46e4bf2f17385f7a140..6f3f795f958481d4dec6fa249ed8ee56ff55dded 100644 --- a/lib/public/Dashboard/IWidget.php +++ b/lib/public/Dashboard/IWidget.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Dashboard; /** diff --git a/lib/public/Dashboard/Model/IWidgetConfig.php b/lib/public/Dashboard/Model/IWidgetConfig.php index 995ba083c0299d1a27d6c2879d06c36fa9024cb3..b117660c4417a25d29c58a295d97d5636e558b94 100644 --- a/lib/public/Dashboard/Model/IWidgetConfig.php +++ b/lib/public/Dashboard/Model/IWidgetConfig.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Dashboard\Model; use OCP\Dashboard\IDashboardWidget; diff --git a/lib/public/Dashboard/Model/IWidgetRequest.php b/lib/public/Dashboard/Model/IWidgetRequest.php index ca22c39d3d8a5c0608297b36d82654dade0477a2..73fe5fc5c2c4f2012b42739ace5ccae19eec59c3 100644 --- a/lib/public/Dashboard/Model/IWidgetRequest.php +++ b/lib/public/Dashboard/Model/IWidgetRequest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Dashboard\Model; use OCP\Dashboard\IDashboardWidget; diff --git a/lib/public/Dashboard/Model/WidgetSetting.php b/lib/public/Dashboard/Model/WidgetSetting.php index af7f8c6a720c47aaf31b08249c08cf79e34e4b09..c456c63f4f583464e53feae0ef781da11af128e2 100644 --- a/lib/public/Dashboard/Model/WidgetSetting.php +++ b/lib/public/Dashboard/Model/WidgetSetting.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Dashboard\Model; use JsonSerializable; diff --git a/lib/public/Dashboard/Model/WidgetSetup.php b/lib/public/Dashboard/Model/WidgetSetup.php index 9ef334ede468127c899ad1a388c8bbef4c546a10..1cc8d9ff561bb985f0b89915de6f0c01f295f710 100644 --- a/lib/public/Dashboard/Model/WidgetSetup.php +++ b/lib/public/Dashboard/Model/WidgetSetup.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Dashboard\Model; use JsonSerializable; diff --git a/lib/public/Dashboard/Model/WidgetTemplate.php b/lib/public/Dashboard/Model/WidgetTemplate.php index 4f358984d3e2b92be3adde0d44c1b5fae6342733..e6f9742fed7a1442d714706243b5c524f15bff9b 100644 --- a/lib/public/Dashboard/Model/WidgetTemplate.php +++ b/lib/public/Dashboard/Model/WidgetTemplate.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Dashboard\Model; use JsonSerializable; diff --git a/lib/public/Dashboard/RegisterWidgetEvent.php b/lib/public/Dashboard/RegisterWidgetEvent.php index 962a8657be280833178eaa4fcbc2e880c022c9b9..289de8e965d3b8fff07fb8e01a9246982ac2b2be 100644 --- a/lib/public/Dashboard/RegisterWidgetEvent.php +++ b/lib/public/Dashboard/RegisterWidgetEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Dashboard; use OCP\EventDispatcher\Event; diff --git a/lib/public/Dashboard/Service/IEventsService.php b/lib/public/Dashboard/Service/IEventsService.php index 788d61a4afffd629262361263a0a7ad930617bed..a2a14e8c1c1d54c7da29bfcc56eddd45a993a494 100644 --- a/lib/public/Dashboard/Service/IEventsService.php +++ b/lib/public/Dashboard/Service/IEventsService.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Dashboard\Service; use OCP\Dashboard\IDashboardManager; diff --git a/lib/public/Dashboard/Service/IWidgetsService.php b/lib/public/Dashboard/Service/IWidgetsService.php index 4d90cb83003dad86a8cd4473f06734e9fd4d6b54..9601a1a478e199eedb3774ba95093dee3718046c 100644 --- a/lib/public/Dashboard/Service/IWidgetsService.php +++ b/lib/public/Dashboard/Service/IWidgetsService.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Dashboard\Service; use OCP\Dashboard\Model\IWidgetConfig; diff --git a/lib/public/Defaults.php b/lib/public/Defaults.php index 3173334664e87f03b16ffcc88aab1076516916b1..5c15e73b4051b9e0ae0ed99bf0c8d17fa93500fc 100644 --- a/lib/public/Defaults.php +++ b/lib/public/Defaults.php @@ -6,7 +6,9 @@ declare(strict_types=1); * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Björn Schießle + * @author J0WI * @author Joas Schilling + * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma @@ -27,13 +29,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Defaults Class - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Diagnostics/IEvent.php b/lib/public/Diagnostics/IEvent.php index bfbf5614a1057ecba17cd3dce0d0b4d3cc796d67..f30717bdeca1ddd198c7888d65bc3c7ab383ea73 100644 --- a/lib/public/Diagnostics/IEvent.php +++ b/lib/public/Diagnostics/IEvent.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP\Diagnostics; /** diff --git a/lib/public/Diagnostics/IEventLogger.php b/lib/public/Diagnostics/IEventLogger.php index dcdfcad2574d0f463a3c6df9c9f0678efd3d01f3..aecc0e5faec29aaa163af800b7e544f42f0d362f 100644 --- a/lib/public/Diagnostics/IEventLogger.php +++ b/lib/public/Diagnostics/IEventLogger.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\Diagnostics; /** diff --git a/lib/public/Diagnostics/IQuery.php b/lib/public/Diagnostics/IQuery.php index c33b1b5aa20849056b26b92f16fcc990fc5ba13b..a3e6ec23d58cfdeb832b4e1514e0160b2868d5b9 100644 --- a/lib/public/Diagnostics/IQuery.php +++ b/lib/public/Diagnostics/IQuery.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP\Diagnostics; /** diff --git a/lib/public/Diagnostics/IQueryLogger.php b/lib/public/Diagnostics/IQueryLogger.php index c229837a2af0c7310543a64be5bec4ee274facb1..ba4c97f5b50bdb6b0d342b23f2fa65e70f0ca3f7 100644 --- a/lib/public/Diagnostics/IQueryLogger.php +++ b/lib/public/Diagnostics/IQueryLogger.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP\Diagnostics; use Doctrine\DBAL\Logging\SQLLogger; diff --git a/lib/public/DirectEditing/ACreateEmpty.php b/lib/public/DirectEditing/ACreateEmpty.php index cbb17d5d3e28bc0e132ccc44f1ea32bc9f57b5ef..263663c7907a406c69aedc310b9e944e0c5c0da4 100644 --- a/lib/public/DirectEditing/ACreateEmpty.php +++ b/lib/public/DirectEditing/ACreateEmpty.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\DirectEditing; use OCP\Files\File; diff --git a/lib/public/DirectEditing/ACreateFromTemplate.php b/lib/public/DirectEditing/ACreateFromTemplate.php index 43a21fdf4e96c9d5044f72f13c9f324ca89c0596..0bdebc3e2d1548802d503b1c2b3c34c38a1ef312 100644 --- a/lib/public/DirectEditing/ACreateFromTemplate.php +++ b/lib/public/DirectEditing/ACreateFromTemplate.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\DirectEditing; /** diff --git a/lib/public/DirectEditing/ATemplate.php b/lib/public/DirectEditing/ATemplate.php index 82e86e8730edc880eab09f24eb440400007bc33b..c38fc898dab436ff3ac344bd5c1716bbc3588748 100644 --- a/lib/public/DirectEditing/ATemplate.php +++ b/lib/public/DirectEditing/ATemplate.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\DirectEditing; use JsonSerializable; diff --git a/lib/public/DirectEditing/IEditor.php b/lib/public/DirectEditing/IEditor.php index 22ec130aee01274352634882fe0f38cf062ed63c..f3b0de07e5bc3857c9c78c3e2b9f7694d7e4849e 100644 --- a/lib/public/DirectEditing/IEditor.php +++ b/lib/public/DirectEditing/IEditor.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\DirectEditing; use OCP\AppFramework\Http\Response; diff --git a/lib/public/DirectEditing/IManager.php b/lib/public/DirectEditing/IManager.php index ce39d014193b85b70404f13dbe2be76b1d194dab..90ca94e6535a6826d18202751a40ecb33cc63a0d 100644 --- a/lib/public/DirectEditing/IManager.php +++ b/lib/public/DirectEditing/IManager.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\DirectEditing; use OCP\AppFramework\Http\Response; diff --git a/lib/public/DirectEditing/IToken.php b/lib/public/DirectEditing/IToken.php index 511b12d4aed94be427b3d0afc04c794097ab07a6..502ef7f5032af19cbd7e4c03dd2de87ba20ad987 100644 --- a/lib/public/DirectEditing/IToken.php +++ b/lib/public/DirectEditing/IToken.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\DirectEditing; use OCP\Files\File; diff --git a/lib/public/DirectEditing/RegisterDirectEditorEvent.php b/lib/public/DirectEditing/RegisterDirectEditorEvent.php index cce9649ce0dd78cb46c2c72e539f0de1eab19af3..ed9a450d5e64d61e57e6f38fbf2c4afc47464b7f 100644 --- a/lib/public/DirectEditing/RegisterDirectEditorEvent.php +++ b/lib/public/DirectEditing/RegisterDirectEditorEvent.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\DirectEditing; use OCP\EventDispatcher\Event; diff --git a/lib/public/Encryption/Exceptions/GenericEncryptionException.php b/lib/public/Encryption/Exceptions/GenericEncryptionException.php index 6e50c31d851a14eb48930ffc3687abc52692405a..9f349a28a7632510f9b239d283c19805afcaecb7 100644 --- a/lib/public/Encryption/Exceptions/GenericEncryptionException.php +++ b/lib/public/Encryption/Exceptions/GenericEncryptionException.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCP\Encryption\Exceptions; use OC\HintException; diff --git a/lib/public/Encryption/IEncryptionModule.php b/lib/public/Encryption/IEncryptionModule.php index 050cdf2555b960f426b8e2ab3715c8a53a357684..058256e4850f5b79bd7a8543cf4465dda1684f26 100644 --- a/lib/public/Encryption/IEncryptionModule.php +++ b/lib/public/Encryption/IEncryptionModule.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCP\Encryption; use Symfony\Component\Console\Input\InputInterface; diff --git a/lib/public/Encryption/IFile.php b/lib/public/Encryption/IFile.php index 6819cdcf6427b62896ee4548435f86195663c3c8..ab2b46a5ce46b4428ff55b655a7962ebb9e69cf4 100644 --- a/lib/public/Encryption/IFile.php +++ b/lib/public/Encryption/IFile.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\Encryption; /** diff --git a/lib/public/Encryption/IManager.php b/lib/public/Encryption/IManager.php index 1d824ab6a624dcf8a594601a3a05c9e65c29cb45..1a745716209ccaf2cdeb1d614457f049b1d54ed5 100644 --- a/lib/public/Encryption/IManager.php +++ b/lib/public/Encryption/IManager.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP\Encryption; use OC\Encryption\Exceptions\ModuleAlreadyExistsException; diff --git a/lib/public/Encryption/Keys/IStorage.php b/lib/public/Encryption/Keys/IStorage.php index aa9f3aae3e705b0018cade617e9709fe3c9ccdf0..ae1449c7fdf9e331b10c8eaadef11897f70d5ffb 100644 --- a/lib/public/Encryption/Keys/IStorage.php +++ b/lib/public/Encryption/Keys/IStorage.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP\Encryption\Keys; /** diff --git a/lib/public/EventDispatcher/ABroadcastedEvent.php b/lib/public/EventDispatcher/ABroadcastedEvent.php index 5e6e18a80d42a042b4f00e8dd7fa6a234510bee7..3e41d316b9c00915ee5bd8e274c274a9c7dca4f8 100644 --- a/lib/public/EventDispatcher/ABroadcastedEvent.php +++ b/lib/public/EventDispatcher/ABroadcastedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\EventDispatcher; use JsonSerializable; diff --git a/lib/public/EventDispatcher/Event.php b/lib/public/EventDispatcher/Event.php index b07efba0f19ffcba5985bdcd3c0071dde61b3cb1..92f18a4fa43a00d44bd9abd579465bf0b61cabda 100644 --- a/lib/public/EventDispatcher/Event.php +++ b/lib/public/EventDispatcher/Event.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\EventDispatcher; use Psr\EventDispatcher\StoppableEventInterface; diff --git a/lib/public/EventDispatcher/GenericEvent.php b/lib/public/EventDispatcher/GenericEvent.php index eda7fdf099739bd57f2f84fd0582290e357bfc70..e78ae1827a16c49a4e376713e0363cb49a84f34e 100644 --- a/lib/public/EventDispatcher/GenericEvent.php +++ b/lib/public/EventDispatcher/GenericEvent.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2019 Arthur Schiwon * * @author Arthur Schiwon + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\EventDispatcher; use ArrayAccess; diff --git a/lib/public/EventDispatcher/IEventDispatcher.php b/lib/public/EventDispatcher/IEventDispatcher.php index f38c0828bced14b750af0e440564126506f6c6c5..82505b6a5121666b83603baac41bae650053e565 100644 --- a/lib/public/EventDispatcher/IEventDispatcher.php +++ b/lib/public/EventDispatcher/IEventDispatcher.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\EventDispatcher; /** diff --git a/lib/public/EventDispatcher/IEventListener.php b/lib/public/EventDispatcher/IEventListener.php index fcf44133aff707478be42792a68d415d845727dd..638e0570ca0532fadd93e7f7d28e55dde71fcaf6 100644 --- a/lib/public/EventDispatcher/IEventListener.php +++ b/lib/public/EventDispatcher/IEventListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\EventDispatcher; /** diff --git a/lib/public/Federation/Exceptions/ActionNotSupportedException.php b/lib/public/Federation/Exceptions/ActionNotSupportedException.php index df54ce22f9765ea567647e6f34cc85f4df4ccf5d..3ec729e415a6e1889c28ffd1147435f32e6ca104 100644 --- a/lib/public/Federation/Exceptions/ActionNotSupportedException.php +++ b/lib/public/Federation/Exceptions/ActionNotSupportedException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Federation\Exceptions; use OC\HintException; diff --git a/lib/public/Federation/Exceptions/AuthenticationFailedException.php b/lib/public/Federation/Exceptions/AuthenticationFailedException.php index 5ddac52c130f8116c188777bf790dd6be726b708..61ea080f5d482b160b8d25740b6776fdef4f358e 100644 --- a/lib/public/Federation/Exceptions/AuthenticationFailedException.php +++ b/lib/public/Federation/Exceptions/AuthenticationFailedException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Federation\Exceptions; use OC\HintException; diff --git a/lib/public/Federation/Exceptions/BadRequestException.php b/lib/public/Federation/Exceptions/BadRequestException.php index 850f84f1e902742dda82c0835d1f33f7867353b9..bea6fba2b18e8873a6a5ddc77334438a44099eee 100644 --- a/lib/public/Federation/Exceptions/BadRequestException.php +++ b/lib/public/Federation/Exceptions/BadRequestException.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Federation\Exceptions; use OC\HintException; diff --git a/lib/public/Federation/Exceptions/ProviderAlreadyExistsException.php b/lib/public/Federation/Exceptions/ProviderAlreadyExistsException.php index e7e1d859db0edaf9392cca9a0a73b6b43de90c00..48aa883a028fefb5255eb4fdf0cd136239566cc5 100644 --- a/lib/public/Federation/Exceptions/ProviderAlreadyExistsException.php +++ b/lib/public/Federation/Exceptions/ProviderAlreadyExistsException.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Federation\Exceptions; use OC\HintException; diff --git a/lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php b/lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php index a7d9b403175c205b2369fdab2a4895d78e3d6d9d..c647b2d9c9e0381d3e0542a435a1f1e3571270bb 100644 --- a/lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php +++ b/lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Federation\Exceptions; use OC\HintException; diff --git a/lib/public/Federation/Exceptions/ProviderDoesNotExistsException.php b/lib/public/Federation/Exceptions/ProviderDoesNotExistsException.php index 2f3471f981b3541ad396bd10eacce904edda41b1..b56a6ef8d4c830b447fc9caf509b804520360833 100644 --- a/lib/public/Federation/Exceptions/ProviderDoesNotExistsException.php +++ b/lib/public/Federation/Exceptions/ProviderDoesNotExistsException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Federation\Exceptions; use OC\HintException; diff --git a/lib/public/Federation/ICloudFederationFactory.php b/lib/public/Federation/ICloudFederationFactory.php index 13c2d4cf4797688e4c9e0e8eecf20df04681fcce..d92e9f6b4edbfb01f4b446775d83b702457323e3 100644 --- a/lib/public/Federation/ICloudFederationFactory.php +++ b/lib/public/Federation/ICloudFederationFactory.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Federation; /** diff --git a/lib/public/Federation/ICloudFederationNotification.php b/lib/public/Federation/ICloudFederationNotification.php index 79712ccc7db06a7ada1323fbfc209d9f29df0d8a..b8fec05d6d2e1ba61083ff5ccd8154e9f1205193 100644 --- a/lib/public/Federation/ICloudFederationNotification.php +++ b/lib/public/Federation/ICloudFederationNotification.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Federation; /** diff --git a/lib/public/Federation/ICloudFederationProvider.php b/lib/public/Federation/ICloudFederationProvider.php index f53dff23efd5d3ed37d6b2b0948b092e7c835e8c..2e9d58fcb3ebcb8a2cde64cd191e2cebf0c96e98 100644 --- a/lib/public/Federation/ICloudFederationProvider.php +++ b/lib/public/Federation/ICloudFederationProvider.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Federation; use OCP\Federation\Exceptions\ActionNotSupportedException; diff --git a/lib/public/Federation/ICloudFederationProviderManager.php b/lib/public/Federation/ICloudFederationProviderManager.php index 133683984b82966d4cd27a8b089b191c5306e589..33719687006894c1cdc1b79b3cbd10a34cbef0a2 100644 --- a/lib/public/Federation/ICloudFederationProviderManager.php +++ b/lib/public/Federation/ICloudFederationProviderManager.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Federation; /** diff --git a/lib/public/Federation/ICloudFederationShare.php b/lib/public/Federation/ICloudFederationShare.php index dd8c3258668f9dd241d21e5a821542695de707be..892a47e81860843794cc0dede217eea2f9ddbfed 100644 --- a/lib/public/Federation/ICloudFederationShare.php +++ b/lib/public/Federation/ICloudFederationShare.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Federation; /** diff --git a/lib/public/Federation/ICloudId.php b/lib/public/Federation/ICloudId.php index 1399a08188c3ab463d841a11a26ad6367dc70276..89c978a094009d94e9e3b70fe77f2dc6c6f9804d 100644 --- a/lib/public/Federation/ICloudId.php +++ b/lib/public/Federation/ICloudId.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Federation; /** diff --git a/lib/public/Federation/ICloudIdManager.php b/lib/public/Federation/ICloudIdManager.php index b5821721ff8a06d4ebdae62f7d3be9606bf267e8..df7bd127baf13c905a7bc3cdeaae5ae101fe32a4 100644 --- a/lib/public/Federation/ICloudIdManager.php +++ b/lib/public/Federation/ICloudIdManager.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Federation; /** diff --git a/lib/public/Files.php b/lib/public/Files.php index 0adaeaafd2c1bcedc7a74251ec0567aa26be74d0..c078f57b2c3692c5d2cb156aeb7a6f1f28635678 100644 --- a/lib/public/Files.php +++ b/lib/public/Files.php @@ -30,13 +30,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files Class - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/AlreadyExistsException.php b/lib/public/Files/AlreadyExistsException.php index ede7c446f49de9b9311429e107d7a416f0f0d908..4e4e2cc505d34fb96fdfdd9e67543d295fc31a82 100644 --- a/lib/public/Files/AlreadyExistsException.php +++ b/lib/public/Files/AlreadyExistsException.php @@ -22,12 +22,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/AlreadyExistsException class - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/Cache/AbstractCacheEvent.php b/lib/public/Files/Cache/AbstractCacheEvent.php index 31d316998047837f3914e120284b631fd93d8713..4b2daf6bfc0fede3fb87bf0adfa7e659935122a3 100644 --- a/lib/public/Files/Cache/AbstractCacheEvent.php +++ b/lib/public/Files/Cache/AbstractCacheEvent.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Cache; use OCP\EventDispatcher\Event; diff --git a/lib/public/Files/Cache/CacheEntryInsertedEvent.php b/lib/public/Files/Cache/CacheEntryInsertedEvent.php index 5c57103259eda80090b0159ede894a8a3d4b3565..c3aa5f0a5986d0e1578c99434c8fd1f8abe9a868 100644 --- a/lib/public/Files/Cache/CacheEntryInsertedEvent.php +++ b/lib/public/Files/Cache/CacheEntryInsertedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Cache; /** diff --git a/lib/public/Files/Cache/CacheEntryRemovedEvent.php b/lib/public/Files/Cache/CacheEntryRemovedEvent.php index 92075e4282b9e24e33838c9d97e297627087b153..f4009fde81c9d90fc782274d588ec95c74d0f405 100644 --- a/lib/public/Files/Cache/CacheEntryRemovedEvent.php +++ b/lib/public/Files/Cache/CacheEntryRemovedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Cache; /** diff --git a/lib/public/Files/Cache/CacheEntryUpdatedEvent.php b/lib/public/Files/Cache/CacheEntryUpdatedEvent.php index 94b1dd7a8b3c7b740217e4d7b48aa5affd1e4c96..91f4d17cc6a194284b296455eddeeae8eca8a81c 100644 --- a/lib/public/Files/Cache/CacheEntryUpdatedEvent.php +++ b/lib/public/Files/Cache/CacheEntryUpdatedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Cache; /** diff --git a/lib/public/Files/Cache/CacheInsertEvent.php b/lib/public/Files/Cache/CacheInsertEvent.php index 08ab15f9a2d13b501817a87b942ac2f841f47b81..3c2210c964e01d9b63da0e07cad54c4bfbc6f0de 100644 --- a/lib/public/Files/Cache/CacheInsertEvent.php +++ b/lib/public/Files/Cache/CacheInsertEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Cache; /** diff --git a/lib/public/Files/Cache/CacheUpdateEvent.php b/lib/public/Files/Cache/CacheUpdateEvent.php index 54397045398e136e24ce0d2992327f32647682e9..5903d18f965e04352898fde33d04545ee8b3ece0 100644 --- a/lib/public/Files/Cache/CacheUpdateEvent.php +++ b/lib/public/Files/Cache/CacheUpdateEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Cache; /** diff --git a/lib/public/Files/Cache/ICache.php b/lib/public/Files/Cache/ICache.php index 323359dcf6847c5ca67ca25b1728449e8a97830a..60c59337077f0d51df84499d0e204f3698d75c74 100644 --- a/lib/public/Files/Cache/ICache.php +++ b/lib/public/Files/Cache/ICache.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\Cache; use OCP\Files\Search\ISearchQuery; diff --git a/lib/public/Files/Cache/ICacheEntry.php b/lib/public/Files/Cache/ICacheEntry.php index 7a0e22496e0c859c7eecc3a1b82136dff6fe250a..17eecf89ddb2f534bd283a56b66f5b4009c17304 100644 --- a/lib/public/Files/Cache/ICacheEntry.php +++ b/lib/public/Files/Cache/ICacheEntry.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\Cache; use ArrayAccess; diff --git a/lib/public/Files/Cache/ICacheEvent.php b/lib/public/Files/Cache/ICacheEvent.php index 56f6f46df1c5bf4d6ee7469d8e134382fd8ff7ee..87d9a3a3fe40370bc7a276ddcc3b06e40e195dbd 100644 --- a/lib/public/Files/Cache/ICacheEvent.php +++ b/lib/public/Files/Cache/ICacheEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Cache; use OCP\Files\Storage\IStorage; diff --git a/lib/public/Files/Cache/IPropagator.php b/lib/public/Files/Cache/IPropagator.php index e5fb875453daa3fe52614201e476eeb7a8573500..8be6c878a97ca6425c6e833f72d6f83df2bfcde6 100644 --- a/lib/public/Files/Cache/IPropagator.php +++ b/lib/public/Files/Cache/IPropagator.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\Cache; /** diff --git a/lib/public/Files/Cache/IScanner.php b/lib/public/Files/Cache/IScanner.php index 24281e2903d54b7b87a24626871686e02c20d7c8..8a45bfa6de72e90fd3598fbed0045932b7eeb066 100644 --- a/lib/public/Files/Cache/IScanner.php +++ b/lib/public/Files/Cache/IScanner.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\Cache; /** diff --git a/lib/public/Files/Cache/IUpdater.php b/lib/public/Files/Cache/IUpdater.php index 7211b52a9d25bcf677dfa1748e813e7a7e88e336..5a776d4be7ecbcc23b71649ade8c20ac799477dd 100644 --- a/lib/public/Files/Cache/IUpdater.php +++ b/lib/public/Files/Cache/IUpdater.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\Cache; use OCP\Files\Storage\IStorage; diff --git a/lib/public/Files/Cache/IWatcher.php b/lib/public/Files/Cache/IWatcher.php index 9fc37c9b0baadcff8655812acd6929f21003df6f..f70024247d5bf1dcc6b3ef1761e1d3faecf167ff 100644 --- a/lib/public/Files/Cache/IWatcher.php +++ b/lib/public/Files/Cache/IWatcher.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\Cache; /** diff --git a/lib/public/Files/Config/ICachedMountFileInfo.php b/lib/public/Files/Config/ICachedMountFileInfo.php index 17adf5a420988734b4fdebd5f5d80dfe5e99ffab..4de0a1218b4a90ada5ace82dd662e9e6d3f26fb0 100644 --- a/lib/public/Files/Config/ICachedMountFileInfo.php +++ b/lib/public/Files/Config/ICachedMountFileInfo.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Config; /** diff --git a/lib/public/Files/Config/ICachedMountInfo.php b/lib/public/Files/Config/ICachedMountInfo.php index bf7481e2ebbec0801f811725c424e00ce633871f..ba85e506d0410aa82cd22eedb7ece57d26b28bab 100644 --- a/lib/public/Files/Config/ICachedMountInfo.php +++ b/lib/public/Files/Config/ICachedMountInfo.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\Config; use OCP\Files\Node; diff --git a/lib/public/Files/Config/IHomeMountProvider.php b/lib/public/Files/Config/IHomeMountProvider.php index c0d4b0a80f30a865478f932f11a3ad82c2274ef7..00bcd1dbc9faa2866b1b8f18f104edb273303bf7 100644 --- a/lib/public/Files/Config/IHomeMountProvider.php +++ b/lib/public/Files/Config/IHomeMountProvider.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\Config; use OCP\Files\Storage\IStorageFactory; diff --git a/lib/public/Files/Config/IMountProvider.php b/lib/public/Files/Config/IMountProvider.php index 629b74b4fe6de554f16056648a6db97750fcb154..6ac7c1acd5a40ba5095638b223bef097dfec2654 100644 --- a/lib/public/Files/Config/IMountProvider.php +++ b/lib/public/Files/Config/IMountProvider.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\Config; use OCP\Files\Storage\IStorageFactory; diff --git a/lib/public/Files/Config/IMountProviderCollection.php b/lib/public/Files/Config/IMountProviderCollection.php index a4131514662e90d7c45448f01d1264d0b62259bf..f845d72cee69d4f349bb48874f1710f0132226f0 100644 --- a/lib/public/Files/Config/IMountProviderCollection.php +++ b/lib/public/Files/Config/IMountProviderCollection.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\Config; use OCP\IUser; diff --git a/lib/public/Files/Config/IRootMountProvider.php b/lib/public/Files/Config/IRootMountProvider.php index 48d2e9722d3d6ff6ade93ee2ad35d9c6dd0d145c..bb6147ac691255c00563d9c05bba9232b2ed5e2e 100644 --- a/lib/public/Files/Config/IRootMountProvider.php +++ b/lib/public/Files/Config/IRootMountProvider.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Config; use OCP\Files\Storage\IStorageFactory; diff --git a/lib/public/Files/Config/IUserMountCache.php b/lib/public/Files/Config/IUserMountCache.php index 763dd1edca64a6c2b7fb9354ea73a271e0a0a181..08f95990d3cafd92355dfab002e330dfa5fb3d60 100644 --- a/lib/public/Files/Config/IUserMountCache.php +++ b/lib/public/Files/Config/IUserMountCache.php @@ -5,6 +5,7 @@ * @author Julius Härtl * @author Morris Jobke * @author Robin Appelman + * @author szaimen * * @license AGPL-3.0 * @@ -21,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\Config; use OCP\Files\Mount\IMountPoint; diff --git a/lib/public/Files/EmptyFileNameException.php b/lib/public/Files/EmptyFileNameException.php index 65decb098d597bba3e4cfeee5c6f0b31aab154e7..99708f9afd84114c1e24d7a39f4e5c06e7d657bc 100644 --- a/lib/public/Files/EmptyFileNameException.php +++ b/lib/public/Files/EmptyFileNameException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files; /** diff --git a/lib/public/Files/EntityTooLargeException.php b/lib/public/Files/EntityTooLargeException.php index 66d924cf54a1052a34dd2ea6e45ce340cf593c8b..04322dd01467fb22477227084e433e0b73ae0a9d 100644 --- a/lib/public/Files/EntityTooLargeException.php +++ b/lib/public/Files/EntityTooLargeException.php @@ -22,12 +22,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/EntityTooLargeException class - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/Events/BeforeFileScannedEvent.php b/lib/public/Files/Events/BeforeFileScannedEvent.php index c233c9e4a0e5a17a007b9f77a449ceb8e0977074..10aabc4a143584ee54914a3fb9805086bd3ee32f 100644 --- a/lib/public/Files/Events/BeforeFileScannedEvent.php +++ b/lib/public/Files/Events/BeforeFileScannedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Files/Events/BeforeFolderScannedEvent.php b/lib/public/Files/Events/BeforeFolderScannedEvent.php index 5c8c05e9a21521a059b2cde0c9aa95293cea3191..add86ab719c60c2d1d5f9bcc1849737f6bd1e397 100644 --- a/lib/public/Files/Events/BeforeFolderScannedEvent.php +++ b/lib/public/Files/Events/BeforeFolderScannedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Files/Events/FileCacheUpdated.php b/lib/public/Files/Events/FileCacheUpdated.php index f370aec1cf2ad8d6b6c00961416392b98bd51bd3..28376fc10b9f4c6f3574a3531f1c64c488e74941 100644 --- a/lib/public/Files/Events/FileCacheUpdated.php +++ b/lib/public/Files/Events/FileCacheUpdated.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Files/Events/FileScannedEvent.php b/lib/public/Files/Events/FileScannedEvent.php index 69c0dd3c5386c566d9dbe7d52b53bcc0cea9b893..3d6b3020b946f03224762e79e30682ed79e9f695 100644 --- a/lib/public/Files/Events/FileScannedEvent.php +++ b/lib/public/Files/Events/FileScannedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Files/Events/FolderScannedEvent.php b/lib/public/Files/Events/FolderScannedEvent.php index 642d14b4499e45dd17cc1582878158a4b86709c6..82c408daaba630e71ef426e5d4aba1ec6b531a2a 100644 --- a/lib/public/Files/Events/FolderScannedEvent.php +++ b/lib/public/Files/Events/FolderScannedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Files/Events/Node/AbstractNodeEvent.php b/lib/public/Files/Events/Node/AbstractNodeEvent.php index 2e36e62bb2aa008d6e04d7063fddd66467ee7685..6478d527eee7636bcd3dbeec700c90f706f10e7f 100644 --- a/lib/public/Files/Events/Node/AbstractNodeEvent.php +++ b/lib/public/Files/Events/Node/AbstractNodeEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; use OCP\EventDispatcher\Event; diff --git a/lib/public/Files/Events/Node/AbstractNodesEvent.php b/lib/public/Files/Events/Node/AbstractNodesEvent.php index e27569a6b891ae47fcded61f26e0c059a4be59ed..dd2174f08841215f6b655d93f1dca0d293c9e1db 100644 --- a/lib/public/Files/Events/Node/AbstractNodesEvent.php +++ b/lib/public/Files/Events/Node/AbstractNodesEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; use OCP\EventDispatcher\Event; diff --git a/lib/public/Files/Events/Node/BeforeNodeCopiedEvent.php b/lib/public/Files/Events/Node/BeforeNodeCopiedEvent.php index 23d23d0068d8432b6f358f67722fe6b2b22abe79..07c14838b97a752e3bf0032d401d2ba9879b56ff 100644 --- a/lib/public/Files/Events/Node/BeforeNodeCopiedEvent.php +++ b/lib/public/Files/Events/Node/BeforeNodeCopiedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; /** diff --git a/lib/public/Files/Events/Node/BeforeNodeCreatedEvent.php b/lib/public/Files/Events/Node/BeforeNodeCreatedEvent.php index 30898fd9444d45e3159c140df3f5f6746f151cfd..e213956a05f9aeabaa355eeadc1255ca9c418b24 100644 --- a/lib/public/Files/Events/Node/BeforeNodeCreatedEvent.php +++ b/lib/public/Files/Events/Node/BeforeNodeCreatedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; /** diff --git a/lib/public/Files/Events/Node/BeforeNodeDeletedEvent.php b/lib/public/Files/Events/Node/BeforeNodeDeletedEvent.php index 1d887278beaa7c7c885b5094c82aac270a05aff9..316a30fadd83bb43bd1289642129d78211da49e6 100644 --- a/lib/public/Files/Events/Node/BeforeNodeDeletedEvent.php +++ b/lib/public/Files/Events/Node/BeforeNodeDeletedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; /** diff --git a/lib/public/Files/Events/Node/BeforeNodeReadEvent.php b/lib/public/Files/Events/Node/BeforeNodeReadEvent.php index 98724ba65fd26d7e36583853b69b70bf2c2ac21e..14d0ee7ad8b20dbffa7e9156c5c92b18b813d0f9 100644 --- a/lib/public/Files/Events/Node/BeforeNodeReadEvent.php +++ b/lib/public/Files/Events/Node/BeforeNodeReadEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; /** diff --git a/lib/public/Files/Events/Node/BeforeNodeRenamedEvent.php b/lib/public/Files/Events/Node/BeforeNodeRenamedEvent.php index f65e47415d4917b41cb5afdb50c6fb7fd6050785..efbef03e38387927a18d027ea17387777f3eed72 100644 --- a/lib/public/Files/Events/Node/BeforeNodeRenamedEvent.php +++ b/lib/public/Files/Events/Node/BeforeNodeRenamedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; /** diff --git a/lib/public/Files/Events/Node/BeforeNodeTouchedEvent.php b/lib/public/Files/Events/Node/BeforeNodeTouchedEvent.php index 20d69be9b31ef4094fac15848499ef217731d590..2b9e3df566bca03e273bc2d392bc4c8d1b6dce95 100644 --- a/lib/public/Files/Events/Node/BeforeNodeTouchedEvent.php +++ b/lib/public/Files/Events/Node/BeforeNodeTouchedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; /** diff --git a/lib/public/Files/Events/Node/BeforeNodeWrittenEvent.php b/lib/public/Files/Events/Node/BeforeNodeWrittenEvent.php index d13416498db4bbe47912e06ad1104a1a98502dee..a9c1f00c0ffd2b0bc7a3716956feec4a91256fb8 100644 --- a/lib/public/Files/Events/Node/BeforeNodeWrittenEvent.php +++ b/lib/public/Files/Events/Node/BeforeNodeWrittenEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; /** diff --git a/lib/public/Files/Events/Node/NodeCopiedEvent.php b/lib/public/Files/Events/Node/NodeCopiedEvent.php index 9ce96842a809c3046e7871b419c090fee59e1a2d..ba0f495fd922b6513406e16ded523fb2603069d8 100644 --- a/lib/public/Files/Events/Node/NodeCopiedEvent.php +++ b/lib/public/Files/Events/Node/NodeCopiedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; /** diff --git a/lib/public/Files/Events/Node/NodeCreatedEvent.php b/lib/public/Files/Events/Node/NodeCreatedEvent.php index 3a6a2d56d656cdda69fed106c85aaaa1c2ebf81a..3b19503ac744a7a6dd30764252bb1d66226beec3 100644 --- a/lib/public/Files/Events/Node/NodeCreatedEvent.php +++ b/lib/public/Files/Events/Node/NodeCreatedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; /** diff --git a/lib/public/Files/Events/Node/NodeDeletedEvent.php b/lib/public/Files/Events/Node/NodeDeletedEvent.php index fef6c28651ee58e5cf151413209278ad9ca13b4c..b04cf336aa72b968c1781b7b5f972702b70d58ff 100644 --- a/lib/public/Files/Events/Node/NodeDeletedEvent.php +++ b/lib/public/Files/Events/Node/NodeDeletedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; /** diff --git a/lib/public/Files/Events/Node/NodeRenamedEvent.php b/lib/public/Files/Events/Node/NodeRenamedEvent.php index eb7072f7048e1f49c67f9ac04ca840248cd15cd2..9194a679e3bb0d45621cc4185fab9408e707c3fa 100644 --- a/lib/public/Files/Events/Node/NodeRenamedEvent.php +++ b/lib/public/Files/Events/Node/NodeRenamedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; /** diff --git a/lib/public/Files/Events/Node/NodeTouchedEvent.php b/lib/public/Files/Events/Node/NodeTouchedEvent.php index d82b14396c23df3b1fdb38940beb95dcc003bae1..236bce9a7646ead79ad144e22b402039b0c98929 100644 --- a/lib/public/Files/Events/Node/NodeTouchedEvent.php +++ b/lib/public/Files/Events/Node/NodeTouchedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; /** diff --git a/lib/public/Files/Events/Node/NodeWrittenEvent.php b/lib/public/Files/Events/Node/NodeWrittenEvent.php index 29806c21f4b9734eee615ba0ad4e4df610ea6818..a4862cd80429271c3e52a05cce76c49ba4e9b225 100644 --- a/lib/public/Files/Events/Node/NodeWrittenEvent.php +++ b/lib/public/Files/Events/Node/NodeWrittenEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events\Node; /** diff --git a/lib/public/Files/Events/NodeAddedToCache.php b/lib/public/Files/Events/NodeAddedToCache.php index f1ffd755f68dde80f65053227d304e281eb718fb..8699131d4d42d32f95b156f50f44161a22161b9b 100644 --- a/lib/public/Files/Events/NodeAddedToCache.php +++ b/lib/public/Files/Events/NodeAddedToCache.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Files/Events/NodeRemovedFromCache.php b/lib/public/Files/Events/NodeRemovedFromCache.php index 0437bc001a713d3bc16bbd7b17512e9448d79b72..7c85e5e4586953b0b9a4837dc8b3df3bd9690112 100644 --- a/lib/public/Files/Events/NodeRemovedFromCache.php +++ b/lib/public/Files/Events/NodeRemovedFromCache.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Files/File.php b/lib/public/Files/File.php index 79955bbb84938b282007ac5b4f8e9ecc00318c16..cdb868241b6b465bca04c74f6a9107997e2d8069 100644 --- a/lib/public/Files/File.php +++ b/lib/public/Files/File.php @@ -22,12 +22,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/File interface - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/FileInfo.php b/lib/public/Files/FileInfo.php index bad67269a50345901306d7370068a67cd9f4f8de..00b1e78fbacdfa05fef84a9dfad580afb80b53f8 100644 --- a/lib/public/Files/FileInfo.php +++ b/lib/public/Files/FileInfo.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCP\Files; /** diff --git a/lib/public/Files/FileNameTooLongException.php b/lib/public/Files/FileNameTooLongException.php index d1c6c6f9e04fb70fa5fbb17b14ece2637aa65a4c..f188eca5193e64b8275e71426cd9ffa87044a4a6 100644 --- a/lib/public/Files/FileNameTooLongException.php +++ b/lib/public/Files/FileNameTooLongException.php @@ -21,12 +21,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/ReservedWordException class - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/Folder.php b/lib/public/Files/Folder.php index 292d53d776776a2872a7fdd2770836c4672daa16..912c5472fac5dd265120693683371029e3afe7cd 100644 --- a/lib/public/Files/Folder.php +++ b/lib/public/Files/Folder.php @@ -23,12 +23,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/Folder interface - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/ForbiddenException.php b/lib/public/Files/ForbiddenException.php index d0f0d10eae121f282e40a2bf418bee62dc392b63..4b148dde93b6f8eaaa2404f0b74742fe1be321d3 100644 --- a/lib/public/Files/ForbiddenException.php +++ b/lib/public/Files/ForbiddenException.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/GenericFileException.php b/lib/public/Files/GenericFileException.php index 780db6fc1123a436a7fec8651aaa3593c3b8c5c8..3ee36339c9efb9ee3caea408f2424ed2b6ddbff3 100644 --- a/lib/public/Files/GenericFileException.php +++ b/lib/public/Files/GenericFileException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files; /** diff --git a/lib/public/Files/IAppData.php b/lib/public/Files/IAppData.php index 8cc54a02fd967fae86c065713ab91563e1ab6560..6217f4a263c7c98d293986c30fa69757b968fde9 100644 --- a/lib/public/Files/IAppData.php +++ b/lib/public/Files/IAppData.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files; use OCP\Files\SimpleFS\ISimpleRoot; diff --git a/lib/public/Files/IHomeStorage.php b/lib/public/Files/IHomeStorage.php index 074e7a093012f6ce03a7ce9094cba5da2e955d42..0f10d5991483fff41298c4a012557095c9b5f857 100644 --- a/lib/public/Files/IHomeStorage.php +++ b/lib/public/Files/IHomeStorage.php @@ -21,12 +21,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/Storage interface - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/IMimeTypeDetector.php b/lib/public/Files/IMimeTypeDetector.php index a73b60e19b8210edc918dc8819342fc3357f7668..6017360cab050cd7da974d30bf888eade0f9a0c1 100644 --- a/lib/public/Files/IMimeTypeDetector.php +++ b/lib/public/Files/IMimeTypeDetector.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/IMimeTypeLoader.php b/lib/public/Files/IMimeTypeLoader.php index 5b54b8c7619d1502a1c2d00add513c8a78d1aa91..faed18ed7d9054d19d7668865a5cae42fd50fd4a 100644 --- a/lib/public/Files/IMimeTypeLoader.php +++ b/lib/public/Files/IMimeTypeLoader.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCP\Files; /** diff --git a/lib/public/Files/IRootFolder.php b/lib/public/Files/IRootFolder.php index eb3c19ce664e6d6a19c13ea0ee813695515f1d86..f89a004114698d31ffecaba06e96b51dca7e3820 100644 --- a/lib/public/Files/IRootFolder.php +++ b/lib/public/Files/IRootFolder.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP\Files; use OC\Hooks\Emitter; diff --git a/lib/public/Files/InvalidCharacterInPathException.php b/lib/public/Files/InvalidCharacterInPathException.php index 57fb2134bb0c3f95591e5020a99a6c0698453495..b54269e12eb55e3934911037cb4d571cb6b90cee 100644 --- a/lib/public/Files/InvalidCharacterInPathException.php +++ b/lib/public/Files/InvalidCharacterInPathException.php @@ -21,12 +21,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/InvalidCharacterInPathException class - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/InvalidContentException.php b/lib/public/Files/InvalidContentException.php index 98e79c61fc2c12d44d52cafd85be9e0bd8369f95..7eee0d46780dc358bc2f85801c906ac48e6eed7a 100644 --- a/lib/public/Files/InvalidContentException.php +++ b/lib/public/Files/InvalidContentException.php @@ -22,12 +22,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/InvalidContentException class - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/InvalidDirectoryException.php b/lib/public/Files/InvalidDirectoryException.php index dfb428710ea4018f6760945af9d0e194290b3124..613d12bd5b5b8225020c124ce191b5dde06a280d 100644 --- a/lib/public/Files/InvalidDirectoryException.php +++ b/lib/public/Files/InvalidDirectoryException.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files; /** diff --git a/lib/public/Files/InvalidPathException.php b/lib/public/Files/InvalidPathException.php index 8eaeb2f3bc7ef14e64a12616656e326b6fa94341..98e886d6fa0e6dde65f0a8a1c45dcc782d6ec6c1 100644 --- a/lib/public/Files/InvalidPathException.php +++ b/lib/public/Files/InvalidPathException.php @@ -22,12 +22,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/InvalidPathException class - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/LockNotAcquiredException.php b/lib/public/Files/LockNotAcquiredException.php index 47539c4979f3b759870443853be293f74c349666..4a26878cedf0533c9b921cfd2d094432e49ec05c 100644 --- a/lib/public/Files/LockNotAcquiredException.php +++ b/lib/public/Files/LockNotAcquiredException.php @@ -23,12 +23,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/LockNotAcquiredException class - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/Mount/IMountManager.php b/lib/public/Files/Mount/IMountManager.php index e01e3df88a4ae58509a8842f8a926a5c39477ce3..1e8c674f8f5076807bfdcb74454f3bb788f57824 100644 --- a/lib/public/Files/Mount/IMountManager.php +++ b/lib/public/Files/Mount/IMountManager.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Files\Mount; /** diff --git a/lib/public/Files/Mount/IMountPoint.php b/lib/public/Files/Mount/IMountPoint.php index 4c424d63438fddc19127a6350a51743fc5b26ceb..8419cc781fcf8c6f873f917147ced9984d8c8794 100644 --- a/lib/public/Files/Mount/IMountPoint.php +++ b/lib/public/Files/Mount/IMountPoint.php @@ -4,6 +4,7 @@ * * @author Morris Jobke * @author Robin Appelman + * @author szaimen * * @license AGPL-3.0 * @@ -20,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\Mount; /** diff --git a/lib/public/Files/Node.php b/lib/public/Files/Node.php index 02becc0de34cc02d60e77391843114a6d115dd84..0ccaf9f7012dbbde33df8642697303a976393196 100644 --- a/lib/public/Files/Node.php +++ b/lib/public/Files/Node.php @@ -25,12 +25,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/Node interface - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/NotEnoughSpaceException.php b/lib/public/Files/NotEnoughSpaceException.php index 337b86712e7c27919b8ae1667ac48b7e83322d7d..bf5816448e94c94ceba824c5b6cb8daa0fca4dbf 100644 --- a/lib/public/Files/NotEnoughSpaceException.php +++ b/lib/public/Files/NotEnoughSpaceException.php @@ -22,12 +22,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/NotEnoughSpaceException class - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/NotFoundException.php b/lib/public/Files/NotFoundException.php index 853138b9d5e6f880098be8b8466af11fdf3a0e28..0caf52d42a5c19c33876b3af7baa4fb18effd364 100644 --- a/lib/public/Files/NotFoundException.php +++ b/lib/public/Files/NotFoundException.php @@ -22,12 +22,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/NotFoundException class - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/NotPermittedException.php b/lib/public/Files/NotPermittedException.php index 661f7c2ce442686ba2718b90c641c3b43d6dafc3..e69a9bf4f92fdd2b68d127fae9c0c81108a7a9b0 100644 --- a/lib/public/Files/NotPermittedException.php +++ b/lib/public/Files/NotPermittedException.php @@ -22,12 +22,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/NotPermittedException class - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/Notify/IChange.php b/lib/public/Files/Notify/IChange.php index dd9fbc64beec4e174374369f726863688956ae43..2a4f806be46c5f62092fce79edc8b9f026b6623d 100644 --- a/lib/public/Files/Notify/IChange.php +++ b/lib/public/Files/Notify/IChange.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Notify; /** diff --git a/lib/public/Files/Notify/INotifyHandler.php b/lib/public/Files/Notify/INotifyHandler.php index 80cd3e081655bdcdc0b7199dd0ca78d112ed0e0a..dd819982f9e0f3e554cff250354ff7b52045bc15 100644 --- a/lib/public/Files/Notify/INotifyHandler.php +++ b/lib/public/Files/Notify/INotifyHandler.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Notify; /** diff --git a/lib/public/Files/Notify/IRenameChange.php b/lib/public/Files/Notify/IRenameChange.php index 7630d40aed827f791511a42186df22719086203c..e45880b69f44bf60cabffad1b59cde2258d43608 100644 --- a/lib/public/Files/Notify/IRenameChange.php +++ b/lib/public/Files/Notify/IRenameChange.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Notify; /** diff --git a/lib/public/Files/ObjectStore/IObjectStore.php b/lib/public/Files/ObjectStore/IObjectStore.php index ea97cd7d38407491106fca79344db8467de9527c..924141a3d4bbfcc1b9f3ed64732008a94fec782b 100644 --- a/lib/public/Files/ObjectStore/IObjectStore.php +++ b/lib/public/Files/ObjectStore/IObjectStore.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\ObjectStore; use OCP\Files\NotFoundException; diff --git a/lib/public/Files/ReservedWordException.php b/lib/public/Files/ReservedWordException.php index 81f25fb4366612bf166818683e4d534236143b21..fd4a26808fb0e4f1787296a13b8fd382c0c493d0 100644 --- a/lib/public/Files/ReservedWordException.php +++ b/lib/public/Files/ReservedWordException.php @@ -21,12 +21,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/ReservedWordException class - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/Search/ISearchBinaryOperator.php b/lib/public/Files/Search/ISearchBinaryOperator.php index d02ec9f36bdc35f076b3764f2a02785c4bac8b40..4b3bbfd21fc85119a0d6b526db920af272a7e20a 100644 --- a/lib/public/Files/Search/ISearchBinaryOperator.php +++ b/lib/public/Files/Search/ISearchBinaryOperator.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Search; /** diff --git a/lib/public/Files/Search/ISearchComparison.php b/lib/public/Files/Search/ISearchComparison.php index 6fb09433c92925eff1c9b8b9128ddb1a2c4fc523..174da8bc5661ae62c5448d84708958df8f295394 100644 --- a/lib/public/Files/Search/ISearchComparison.php +++ b/lib/public/Files/Search/ISearchComparison.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Search; /** diff --git a/lib/public/Files/Search/ISearchOperator.php b/lib/public/Files/Search/ISearchOperator.php index a443c2744cf620551addfbe8d0addd72fb3d6ca5..bcf2fb865736a474b28b5d722f012e800118345a 100644 --- a/lib/public/Files/Search/ISearchOperator.php +++ b/lib/public/Files/Search/ISearchOperator.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Search; /** diff --git a/lib/public/Files/Search/ISearchOrder.php b/lib/public/Files/Search/ISearchOrder.php index 8237b1861ea9a94885a80ae7bd81855b7621debb..3b9e6e6713af463a154c52048d25559fffadb248 100644 --- a/lib/public/Files/Search/ISearchOrder.php +++ b/lib/public/Files/Search/ISearchOrder.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Search; use OCP\Files\FileInfo; diff --git a/lib/public/Files/Search/ISearchQuery.php b/lib/public/Files/Search/ISearchQuery.php index dd7c901f7f5ed0a29a867f6fca20f0ebd5c6dae4..91c6f6425666ccc781b5dd78701c498dfa417623 100644 --- a/lib/public/Files/Search/ISearchQuery.php +++ b/lib/public/Files/Search/ISearchQuery.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Search; use OCP\IUser; diff --git a/lib/public/Files/SimpleFS/ISimpleFile.php b/lib/public/Files/SimpleFS/ISimpleFile.php index 3ef005b361ce60bd3bde06888206a6bb22ac0f09..3287c42054f2ed7f9d238a27c5427008663eb3c6 100644 --- a/lib/public/Files/SimpleFS/ISimpleFile.php +++ b/lib/public/Files/SimpleFS/ISimpleFile.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\SimpleFS; use OCP\Files\NotFoundException; diff --git a/lib/public/Files/SimpleFS/ISimpleFolder.php b/lib/public/Files/SimpleFS/ISimpleFolder.php index ebe8194325c3f2b6da77024a5b48afba289aa711..0159c41760b80ff322f30613c9324e2799be6aef 100644 --- a/lib/public/Files/SimpleFS/ISimpleFolder.php +++ b/lib/public/Files/SimpleFS/ISimpleFolder.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\SimpleFS; use OCP\Files\NotFoundException; diff --git a/lib/public/Files/SimpleFS/ISimpleRoot.php b/lib/public/Files/SimpleFS/ISimpleRoot.php index b90e8af5a7e5c99e29c2b3649521af8ac0c1a286..fd590b66b319773cb67f1da50a2ee082f191d4c5 100644 --- a/lib/public/Files/SimpleFS/ISimpleRoot.php +++ b/lib/public/Files/SimpleFS/ISimpleRoot.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\SimpleFS; use OCP\Files\NotFoundException; diff --git a/lib/public/Files/SimpleFS/InMemoryFile.php b/lib/public/Files/SimpleFS/InMemoryFile.php index d420638737d7bbfb5a46fd4ddd4cef18f8b4fac0..6020b42d953b255f6beb5ed1b8b4ba3caeb5da53 100644 --- a/lib/public/Files/SimpleFS/InMemoryFile.php +++ b/lib/public/Files/SimpleFS/InMemoryFile.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\SimpleFS; use OCP\Files\NotPermittedException; diff --git a/lib/public/Files/Storage.php b/lib/public/Files/Storage.php index c9e729832312d522d61a0a975f017c5d66e73621..afc735c7829b1ca40cdd86b3bb7f4ac86c400afe 100644 --- a/lib/public/Files/Storage.php +++ b/lib/public/Files/Storage.php @@ -30,12 +30,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/Storage interface - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/Storage/IDisableEncryptionStorage.php b/lib/public/Files/Storage/IDisableEncryptionStorage.php index 761f636b06881b900e1df4d9f2ea3a0c30daf7c3..11d71549cac9ae5d0e8078365b46073ae04ac899 100644 --- a/lib/public/Files/Storage/IDisableEncryptionStorage.php +++ b/lib/public/Files/Storage/IDisableEncryptionStorage.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Storage; /** diff --git a/lib/public/Files/Storage/ILockingStorage.php b/lib/public/Files/Storage/ILockingStorage.php index 3fa08bce3f0b3e4afc54e485beb3897cd73f3eab..401a8de30bf2151e9a25bf621f356827257d102a 100644 --- a/lib/public/Files/Storage/ILockingStorage.php +++ b/lib/public/Files/Storage/ILockingStorage.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\Storage; use OCP\Lock\ILockingProvider; diff --git a/lib/public/Files/Storage/INotifyStorage.php b/lib/public/Files/Storage/INotifyStorage.php index 35dc828dfdfb1b73dc610173667c40150756777c..18bcf3c6adc95c64878466d1e8266710af137d9b 100644 --- a/lib/public/Files/Storage/INotifyStorage.php +++ b/lib/public/Files/Storage/INotifyStorage.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Storage; use OCP\Files\Notify\INotifyHandler; diff --git a/lib/public/Files/Storage/IStorage.php b/lib/public/Files/Storage/IStorage.php index 5e70e319c40b91621b36a5ac27dc184b09277a6b..3d9cf30294f90ff2dca28553516102e5b8a0044f 100644 --- a/lib/public/Files/Storage/IStorage.php +++ b/lib/public/Files/Storage/IStorage.php @@ -24,12 +24,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/Storage interface - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/Storage/IStorageFactory.php b/lib/public/Files/Storage/IStorageFactory.php index 7c5860f6b77b1e6325ce7bb675077e2f110a5d03..846e411449703a980e5b8b287ec8e9cad217e330 100644 --- a/lib/public/Files/Storage/IStorageFactory.php +++ b/lib/public/Files/Storage/IStorageFactory.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP\Files\Storage; use OCP\Files\Mount\IMountPoint; diff --git a/lib/public/Files/Storage/IWriteStreamStorage.php b/lib/public/Files/Storage/IWriteStreamStorage.php index 5f8e73e0cba0e5435ce5258e09fc4f842daaea15..f9122cd4b2c17f843786397e779888d876ab1e10 100644 --- a/lib/public/Files/Storage/IWriteStreamStorage.php +++ b/lib/public/Files/Storage/IWriteStreamStorage.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files\Storage; use OCP\Files\GenericFileException; diff --git a/lib/public/Files/StorageAuthException.php b/lib/public/Files/StorageAuthException.php index 24afacd72ea5479241dbb7216bab7c7b3eb68830..696792c8d43f70d59e605705fde821fe712575e0 100644 --- a/lib/public/Files/StorageAuthException.php +++ b/lib/public/Files/StorageAuthException.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\Files; /** diff --git a/lib/public/Files/StorageBadConfigException.php b/lib/public/Files/StorageBadConfigException.php index 2b0e362389f9939dba43d3e4e045eb6d68bea3a9..e05b9217799af7e97ecb784324ceb84d7ced5d93 100644 --- a/lib/public/Files/StorageBadConfigException.php +++ b/lib/public/Files/StorageBadConfigException.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\Files; /** diff --git a/lib/public/Files/StorageConnectionException.php b/lib/public/Files/StorageConnectionException.php index 221fe661b3b2637af3f2c3e38d5bf647cc3ae76c..d9a69e53edd30fe6e42d1bb9a4d8af0763fc1837 100644 --- a/lib/public/Files/StorageConnectionException.php +++ b/lib/public/Files/StorageConnectionException.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\Files; /** diff --git a/lib/public/Files/StorageInvalidException.php b/lib/public/Files/StorageInvalidException.php index 3f9acdc1562ced31bb12dd3ffcc12fe9f8a1684c..c59a703eee0f623693028b2440e00dbb4a19e63b 100644 --- a/lib/public/Files/StorageInvalidException.php +++ b/lib/public/Files/StorageInvalidException.php @@ -21,12 +21,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/AlreadyExistsException class - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/StorageNotAvailableException.php b/lib/public/Files/StorageNotAvailableException.php index 11b8d76f706bbc7e10de5fe94d71215e1cbda223..e166df90d7709e000bb9444010750bd4ae384abd 100644 --- a/lib/public/Files/StorageNotAvailableException.php +++ b/lib/public/Files/StorageNotAvailableException.php @@ -27,12 +27,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/AlreadyExistsException class - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files/StorageTimeoutException.php b/lib/public/Files/StorageTimeoutException.php index b473b5da96fa572920d8e78f9bf4a668b896e23c..256f7e710a1b61ab7fec1431bb6a95ab1b0ec03d 100644 --- a/lib/public/Files/StorageTimeoutException.php +++ b/lib/public/Files/StorageTimeoutException.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\Files; /** diff --git a/lib/public/Files/Template/FileCreatedFromTemplateEvent.php b/lib/public/Files/Template/FileCreatedFromTemplateEvent.php index 7ed342e400768007937130a662eb017c5c8c0a83..bb913f6f16a56bc1ada7c3c6daf45c6f1f526d3d 100644 --- a/lib/public/Files/Template/FileCreatedFromTemplateEvent.php +++ b/lib/public/Files/Template/FileCreatedFromTemplateEvent.php @@ -1,5 +1,8 @@ * * @author Julius Härtl @@ -20,10 +23,6 @@ * along with this program. If not, see . * */ - -declare(strict_types=1); - - namespace OCP\Files\Template; use OCP\EventDispatcher\Event; diff --git a/lib/public/Files/Template/ICustomTemplateProvider.php b/lib/public/Files/Template/ICustomTemplateProvider.php index a14ea86a1005ca6b5f507b67800d7362d4e9d6cb..81448a111dee71d249ddc870997ded07b296d098 100644 --- a/lib/public/Files/Template/ICustomTemplateProvider.php +++ b/lib/public/Files/Template/ICustomTemplateProvider.php @@ -1,5 +1,8 @@ * * @author Julius Härtl @@ -20,10 +23,6 @@ * along with this program. If not, see . * */ - -declare(strict_types=1); - - namespace OCP\Files\Template; use OCP\Files\File; diff --git a/lib/public/Files/Template/ITemplateManager.php b/lib/public/Files/Template/ITemplateManager.php index 39a48598508a991f81b4a4c4c6863cc06134e2a9..a874ec6491aedb541deefdd6487a3ec55b428b96 100644 --- a/lib/public/Files/Template/ITemplateManager.php +++ b/lib/public/Files/Template/ITemplateManager.php @@ -1,7 +1,11 @@ * + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -20,10 +24,6 @@ * along with this program. If not, see . * */ - -declare(strict_types=1); - - namespace OCP\Files\Template; use OCP\Files\GenericFileException; diff --git a/lib/public/Files/Template/Template.php b/lib/public/Files/Template/Template.php index 71c02d1f5bed53096a5a7939aa0da2bb0359790f..50d8b406be9c2e9d2791fab533b58249841dcaeb 100644 --- a/lib/public/Files/Template/Template.php +++ b/lib/public/Files/Template/Template.php @@ -1,5 +1,8 @@ * * @author Julius Härtl @@ -20,10 +23,6 @@ * along with this program. If not, see . * */ - -declare(strict_types=1); - - namespace OCP\Files\Template; use OCP\Files\File; diff --git a/lib/public/Files/Template/TemplateFileCreator.php b/lib/public/Files/Template/TemplateFileCreator.php index e40fa8e91b3960f4bb906b3b5d8073ae25fc63da..7be45e68ef9f035ad3da92e158644b01386ff55d 100644 --- a/lib/public/Files/Template/TemplateFileCreator.php +++ b/lib/public/Files/Template/TemplateFileCreator.php @@ -1,7 +1,11 @@ * + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -20,9 +24,6 @@ * along with this program. If not, see . * */ - -declare(strict_types=1); - namespace OCP\Files\Template; /** diff --git a/lib/public/Files/UnseekableException.php b/lib/public/Files/UnseekableException.php index 13ef6330207d35c5e3ca1712dc16b2a521e76308..1fb7cdc478743fc07ba797598cce350e098ec19f 100644 --- a/lib/public/Files/UnseekableException.php +++ b/lib/public/Files/UnseekableException.php @@ -21,12 +21,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Files/UnseekableException class - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Files_FullTextSearch/Model/AFilesDocument.php b/lib/public/Files_FullTextSearch/Model/AFilesDocument.php index d9c4a02ea5c7610cdccbddfb26409b95f685c5a5..421015067dfd6442fac38157bf6971853814dc5e 100644 --- a/lib/public/Files_FullTextSearch/Model/AFilesDocument.php +++ b/lib/public/Files_FullTextSearch/Model/AFilesDocument.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Files_FullTextSearch\Model; use OC\FullTextSearch\Model\IndexDocument; diff --git a/lib/public/FullTextSearch/Exceptions/FullTextSearchAppNotAvailableException.php b/lib/public/FullTextSearch/Exceptions/FullTextSearchAppNotAvailableException.php index f8844e133a9e6408c9b08c085f87e79638281a34..1e10f6ced9ba4da1158e4e6bbc13d8d0840eb7f8 100644 --- a/lib/public/FullTextSearch/Exceptions/FullTextSearchAppNotAvailableException.php +++ b/lib/public/FullTextSearch/Exceptions/FullTextSearchAppNotAvailableException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch\Exceptions; /** diff --git a/lib/public/FullTextSearch/IFullTextSearchManager.php b/lib/public/FullTextSearch/IFullTextSearchManager.php index 4066c34360767b688bc9c5022a96a67580c294cf..ee9f4ba20e1545b79f4979a11174e67181f96c9d 100644 --- a/lib/public/FullTextSearch/IFullTextSearchManager.php +++ b/lib/public/FullTextSearch/IFullTextSearchManager.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch; use OCP\FullTextSearch\Model\IIndex; diff --git a/lib/public/FullTextSearch/IFullTextSearchPlatform.php b/lib/public/FullTextSearch/IFullTextSearchPlatform.php index 516e18e9e1f5401d2fc3fd18fddd5493978981e4..147a883885e64a6b4fce6dc420307d981ec2a3f3 100644 --- a/lib/public/FullTextSearch/IFullTextSearchPlatform.php +++ b/lib/public/FullTextSearch/IFullTextSearchPlatform.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch; use OCP\FullTextSearch\Model\IDocumentAccess; diff --git a/lib/public/FullTextSearch/IFullTextSearchProvider.php b/lib/public/FullTextSearch/IFullTextSearchProvider.php index ee3c60914b8abc676eedc4c50aceebcf5482c936..3d78199f4d675f8fe205aa7de705b6d1a6410f86 100644 --- a/lib/public/FullTextSearch/IFullTextSearchProvider.php +++ b/lib/public/FullTextSearch/IFullTextSearchProvider.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch; use OCP\FullTextSearch\Model\IIndex; diff --git a/lib/public/FullTextSearch/Model/IDocumentAccess.php b/lib/public/FullTextSearch/Model/IDocumentAccess.php index 996d90605579a461198fc62c8ae04d4973219340..84ce46db36158120af195e8cd764153721377d81 100644 --- a/lib/public/FullTextSearch/Model/IDocumentAccess.php +++ b/lib/public/FullTextSearch/Model/IDocumentAccess.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch\Model; /** diff --git a/lib/public/FullTextSearch/Model/IIndex.php b/lib/public/FullTextSearch/Model/IIndex.php index 0f817b75e3530b382c69cd0f793ce03e16d07f77..1a8b5d875ba0ed14ef9e543b8cad290bf558fe55 100644 --- a/lib/public/FullTextSearch/Model/IIndex.php +++ b/lib/public/FullTextSearch/Model/IIndex.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch\Model; /** diff --git a/lib/public/FullTextSearch/Model/IIndexDocument.php b/lib/public/FullTextSearch/Model/IIndexDocument.php index cbc44f73031970f9ae14916ad499689dbac410f5..b659c2b33f189bd21f2c07a22c69ef0b9bf9b6bc 100644 --- a/lib/public/FullTextSearch/Model/IIndexDocument.php +++ b/lib/public/FullTextSearch/Model/IIndexDocument.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch\Model; /** diff --git a/lib/public/FullTextSearch/Model/IIndexOptions.php b/lib/public/FullTextSearch/Model/IIndexOptions.php index a395c773fa359dbf2e113abfb659c3a8affccb99..f8ee10671e5a4f284b1f0f34e1b7d8d8347174db 100644 --- a/lib/public/FullTextSearch/Model/IIndexOptions.php +++ b/lib/public/FullTextSearch/Model/IIndexOptions.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch\Model; /** diff --git a/lib/public/FullTextSearch/Model/IRunner.php b/lib/public/FullTextSearch/Model/IRunner.php index 26d95c0fa03a02e2b2d27fec1eea188dadf4ac10..c03126500cb076e0f8f3ee9bb60312e3aed3ce30 100644 --- a/lib/public/FullTextSearch/Model/IRunner.php +++ b/lib/public/FullTextSearch/Model/IRunner.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch\Model; /** diff --git a/lib/public/FullTextSearch/Model/ISearchOption.php b/lib/public/FullTextSearch/Model/ISearchOption.php index 676e5082a62ba84213cb92947cecd664f72dff0e..7cfe07d9c3e67b5e08c43b12c6e4bda9d838346a 100644 --- a/lib/public/FullTextSearch/Model/ISearchOption.php +++ b/lib/public/FullTextSearch/Model/ISearchOption.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch\Model; /** diff --git a/lib/public/FullTextSearch/Model/ISearchRequest.php b/lib/public/FullTextSearch/Model/ISearchRequest.php index e3ce476ce987b06c5fa568a1c6ca9ea34c7684eb..be93b2d99701122fc5b0e94405b94565d99fd1a1 100644 --- a/lib/public/FullTextSearch/Model/ISearchRequest.php +++ b/lib/public/FullTextSearch/Model/ISearchRequest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch\Model; /** diff --git a/lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php b/lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php index aa94eabb380eed27dd274a8555cbc4c74c24fabe..91f3c6dfe1b61da8f1d94b767aa3a0c3ebf4595b 100644 --- a/lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php +++ b/lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch\Model; /** diff --git a/lib/public/FullTextSearch/Model/ISearchResult.php b/lib/public/FullTextSearch/Model/ISearchResult.php index 0cb5deb82dc2ca772eddb8febac932052112e25f..729f79da762bb7d605dd8b5f849a79f278a8c4da 100644 --- a/lib/public/FullTextSearch/Model/ISearchResult.php +++ b/lib/public/FullTextSearch/Model/ISearchResult.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch\Model; use OCP\FullTextSearch\IFullTextSearchProvider; diff --git a/lib/public/FullTextSearch/Model/ISearchTemplate.php b/lib/public/FullTextSearch/Model/ISearchTemplate.php index 86b894c63ddd0b56a42e321bd53cd1b97ee94a43..adeccd4224c8ec088345f895d39acfc50931e23c 100644 --- a/lib/public/FullTextSearch/Model/ISearchTemplate.php +++ b/lib/public/FullTextSearch/Model/ISearchTemplate.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch\Model; use OCP\FullTextSearch\IFullTextSearchProvider; diff --git a/lib/public/FullTextSearch/Service/IIndexService.php b/lib/public/FullTextSearch/Service/IIndexService.php index 80f1ad125284da4531c5baa926ef20e14dcfc56b..b9b15e96371e75d0188a39544dc7552dc31df768 100644 --- a/lib/public/FullTextSearch/Service/IIndexService.php +++ b/lib/public/FullTextSearch/Service/IIndexService.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch\Service; use OCP\FullTextSearch\Model\IIndex; diff --git a/lib/public/FullTextSearch/Service/IProviderService.php b/lib/public/FullTextSearch/Service/IProviderService.php index 0c5434807475b78a733665492e3d55d53ed1222d..8a5db07cb1dc4bfc08b986b071b128541ddf1d17 100644 --- a/lib/public/FullTextSearch/Service/IProviderService.php +++ b/lib/public/FullTextSearch/Service/IProviderService.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch\Service; /** diff --git a/lib/public/FullTextSearch/Service/ISearchService.php b/lib/public/FullTextSearch/Service/ISearchService.php index caa1dacb285080cc19e19884ac601a75889090bb..6a29e15755affc7d8b815d0c7f2df5d26a4df0e5 100644 --- a/lib/public/FullTextSearch/Service/ISearchService.php +++ b/lib/public/FullTextSearch/Service/ISearchService.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\FullTextSearch\Service; use OCP\FullTextSearch\Model\ISearchRequest; diff --git a/lib/public/GlobalScale/IConfig.php b/lib/public/GlobalScale/IConfig.php index 4fc8ae7db1d6080e4bcc2703d2a11f2c7a07cc59..03bac271fbe022daffa57049b5376af256aa8bb8 100644 --- a/lib/public/GlobalScale/IConfig.php +++ b/lib/public/GlobalScale/IConfig.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\GlobalScale; /** diff --git a/lib/public/Group/Backend/ABackend.php b/lib/public/Group/Backend/ABackend.php index 9914c7ed0e0474ca24a137f477ea6a1d7784caca..2d611c27b4f38cb2bd1fb2c6c7ecd76a3961173c 100644 --- a/lib/public/Group/Backend/ABackend.php +++ b/lib/public/Group/Backend/ABackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Backend; use OCP\GroupInterface; diff --git a/lib/public/Group/Backend/IAddToGroupBackend.php b/lib/public/Group/Backend/IAddToGroupBackend.php index 84dd43df9bb48eef8709962cfd1fa6db11b30697..8019766ca843eee6ee311b6197de4a85d7460b27 100644 --- a/lib/public/Group/Backend/IAddToGroupBackend.php +++ b/lib/public/Group/Backend/IAddToGroupBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Backend; /** diff --git a/lib/public/Group/Backend/ICountDisabledInGroup.php b/lib/public/Group/Backend/ICountDisabledInGroup.php index ede5dbd6edeb620a8ffa1bcf609bc9021e577800..a971d3d0c06df5be5ee938dc05fecdd52b28e724 100644 --- a/lib/public/Group/Backend/ICountDisabledInGroup.php +++ b/lib/public/Group/Backend/ICountDisabledInGroup.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018 John Molakvoæ * - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Backend; /** diff --git a/lib/public/Group/Backend/ICountUsersBackend.php b/lib/public/Group/Backend/ICountUsersBackend.php index fb0f99e8c2a7e8f3391ef00b51cbe53c74bc6e5a..946dd20ee8b805a6ed371203fa0805f24ebcf5bb 100644 --- a/lib/public/Group/Backend/ICountUsersBackend.php +++ b/lib/public/Group/Backend/ICountUsersBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Backend; /** diff --git a/lib/public/Group/Backend/ICreateGroupBackend.php b/lib/public/Group/Backend/ICreateGroupBackend.php index 8593c47375c2dafeb6815e0f282b4fc55fd85b32..43f2960725b384e1882dd6f9f4d2815a1fbf59b3 100644 --- a/lib/public/Group/Backend/ICreateGroupBackend.php +++ b/lib/public/Group/Backend/ICreateGroupBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Backend; /** diff --git a/lib/public/Group/Backend/IDeleteGroupBackend.php b/lib/public/Group/Backend/IDeleteGroupBackend.php index 364be79d838a055061d889e09b3ce74a61727cef..90be105e7d8a83c9c768fff7d846cdd06c467d8a 100644 --- a/lib/public/Group/Backend/IDeleteGroupBackend.php +++ b/lib/public/Group/Backend/IDeleteGroupBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Backend; /** diff --git a/lib/public/Group/Backend/IGetDisplayNameBackend.php b/lib/public/Group/Backend/IGetDisplayNameBackend.php index 13e9ca204f2c8ff031612d8d2f24ddcee1bbbdd2..096555d0c8e1888968b7ee5dcdce6020672ab7e7 100644 --- a/lib/public/Group/Backend/IGetDisplayNameBackend.php +++ b/lib/public/Group/Backend/IGetDisplayNameBackend.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Backend; /** diff --git a/lib/public/Group/Backend/IGroupDetailsBackend.php b/lib/public/Group/Backend/IGroupDetailsBackend.php index 0d7f505e57214bf83c5279ad4cfe3b0ea7443256..56241d5538b8106b477ad7aff9ea6ad263367c95 100644 --- a/lib/public/Group/Backend/IGroupDetailsBackend.php +++ b/lib/public/Group/Backend/IGroupDetailsBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Backend; /** diff --git a/lib/public/Group/Backend/IHideFromCollaborationBackend.php b/lib/public/Group/Backend/IHideFromCollaborationBackend.php index fdd156eee832edd8275522a75c18e1d083157458..6547adc0ca6a7e81e985d57ef45d288a3f5bb219 100644 --- a/lib/public/Group/Backend/IHideFromCollaborationBackend.php +++ b/lib/public/Group/Backend/IHideFromCollaborationBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Backend; /** diff --git a/lib/public/Group/Backend/IIsAdminBackend.php b/lib/public/Group/Backend/IIsAdminBackend.php index a6a6493f9fbf694a6765f089820923fbf3e63fcb..4ee67cc139f8459776c467939c5e986d29ce9bbf 100644 --- a/lib/public/Group/Backend/IIsAdminBackend.php +++ b/lib/public/Group/Backend/IIsAdminBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Backend; /** diff --git a/lib/public/Group/Backend/INamedBackend.php b/lib/public/Group/Backend/INamedBackend.php index 61a57a1d6e2973a2087f3ae24dcd2b0afdc68067..eca9b5d7aca97944579b61409d0b2dedbac80346 100644 --- a/lib/public/Group/Backend/INamedBackend.php +++ b/lib/public/Group/Backend/INamedBackend.php @@ -2,24 +2,24 @@ /** * @copyright Copyright (c) 2021, hosting.de, Johannes Leuker . * - * @author Johannes Leuker . + * @author Johannes Leuker * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCP\Group\Backend; /** diff --git a/lib/public/Group/Backend/IRemoveFromGroupBackend.php b/lib/public/Group/Backend/IRemoveFromGroupBackend.php index ca69c80de8bf184fdf6a2e6ea6eb2ae148a98fc2..8532bcefd1c0d34a397fac6d134ae51b10f5d3e0 100644 --- a/lib/public/Group/Backend/IRemoveFromGroupBackend.php +++ b/lib/public/Group/Backend/IRemoveFromGroupBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Backend; /** diff --git a/lib/public/Group/Backend/ISetDisplayNameBackend.php b/lib/public/Group/Backend/ISetDisplayNameBackend.php index 244fa5c351c17f7ff5526386cb1d42b60846062d..e5896b52953e0b1f2e7ec352a5af232125a6818e 100644 --- a/lib/public/Group/Backend/ISetDisplayNameBackend.php +++ b/lib/public/Group/Backend/ISetDisplayNameBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Backend; /** diff --git a/lib/public/Group/Events/BeforeGroupCreatedEvent.php b/lib/public/Group/Events/BeforeGroupCreatedEvent.php index 5ed5a5311e54f5a4dc63ef0b3871a1be753ad34d..a8bd6a4e10089ce6958a70b1ce6521a59befe2f8 100644 --- a/lib/public/Group/Events/BeforeGroupCreatedEvent.php +++ b/lib/public/Group/Events/BeforeGroupCreatedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Group/Events/BeforeGroupDeletedEvent.php b/lib/public/Group/Events/BeforeGroupDeletedEvent.php index af44d4c054ecde41297185c70d52cdae9b88c01f..7824a17dfdd7015995432a54038793c4ca4442a4 100644 --- a/lib/public/Group/Events/BeforeGroupDeletedEvent.php +++ b/lib/public/Group/Events/BeforeGroupDeletedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Group/Events/BeforeUserAddedEvent.php b/lib/public/Group/Events/BeforeUserAddedEvent.php index c8ebc24e3d978736174118a33aa59c071b2dbcb7..526d94f564f0b7d892135506857f0ae7f522bc6f 100644 --- a/lib/public/Group/Events/BeforeUserAddedEvent.php +++ b/lib/public/Group/Events/BeforeUserAddedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Group/Events/BeforeUserRemovedEvent.php b/lib/public/Group/Events/BeforeUserRemovedEvent.php index db5f44621bc353441a3c30556d220c01905707c3..164e3282c3197ab55a7b3e742b3e045cace84310 100644 --- a/lib/public/Group/Events/BeforeUserRemovedEvent.php +++ b/lib/public/Group/Events/BeforeUserRemovedEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Group/Events/GroupCreatedEvent.php b/lib/public/Group/Events/GroupCreatedEvent.php index ac9af26307e844d15bcd00721bfeaf816bf4408d..38c5aaf4fec4c74fb7395a7762905231dd15ab52 100644 --- a/lib/public/Group/Events/GroupCreatedEvent.php +++ b/lib/public/Group/Events/GroupCreatedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Group/Events/GroupDeletedEvent.php b/lib/public/Group/Events/GroupDeletedEvent.php index 267eb806264d7bc7666926767f14b8d277177f20..d3d9a3736f44f2650fe084339801699b002c60f4 100644 --- a/lib/public/Group/Events/GroupDeletedEvent.php +++ b/lib/public/Group/Events/GroupDeletedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Group/Events/SubAdminAddedEvent.php b/lib/public/Group/Events/SubAdminAddedEvent.php index d21df13be5eb3602a2f9787165d6d1e08f0a2c4c..08bca54253a6783749461e23ee28c49b31e187d3 100644 --- a/lib/public/Group/Events/SubAdminAddedEvent.php +++ b/lib/public/Group/Events/SubAdminAddedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Group/Events/SubAdminRemovedEvent.php b/lib/public/Group/Events/SubAdminRemovedEvent.php index 6f1763656a78423bbf000aa064f9a7502b9739f9..41d42a24b882abc6c0eaa27ebf217e1d5da4f905 100644 --- a/lib/public/Group/Events/SubAdminRemovedEvent.php +++ b/lib/public/Group/Events/SubAdminRemovedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Group/Events/UserAddedEvent.php b/lib/public/Group/Events/UserAddedEvent.php index e88487a02cfef5c2b7d2d7883424c4b9d7c04974..85b618d5e78e73960d5a9d64aef4e86bd2d1af2a 100644 --- a/lib/public/Group/Events/UserAddedEvent.php +++ b/lib/public/Group/Events/UserAddedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Group/Events/UserRemovedEvent.php b/lib/public/Group/Events/UserRemovedEvent.php index 953bb5f220f76993d045aad02ed6736e0a55b2fe..c3c9483996f708a15b1d98deeec4f3e248037512 100644 --- a/lib/public/Group/Events/UserRemovedEvent.php +++ b/lib/public/Group/Events/UserRemovedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Group/ISubAdmin.php b/lib/public/Group/ISubAdmin.php index f8f276e45d7ea33a59a57785eafc46a4ff903163..d2b302a4b8c3ef4269f99dc60c8ec5f787985d5e 100644 --- a/lib/public/Group/ISubAdmin.php +++ b/lib/public/Group/ISubAdmin.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Group; use OCP\IGroup; diff --git a/lib/public/GroupInterface.php b/lib/public/GroupInterface.php index c73ca6836a8e06e1cec43446337f04dae3fafe97..f1765afed961e67532280b0794e7da5b658918d9 100644 --- a/lib/public/GroupInterface.php +++ b/lib/public/GroupInterface.php @@ -25,13 +25,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Group Class. - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Http/Client/IClient.php b/lib/public/Http/Client/IClient.php index 1498cfaaba296281d6fa0175c7e8b0ed22c45c5e..9a6dc7a9b651d53ad5eb2f97c9240c075d2bcc1e 100644 --- a/lib/public/Http/Client/IClient.php +++ b/lib/public/Http/Client/IClient.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Http\Client; /** diff --git a/lib/public/Http/Client/IClientService.php b/lib/public/Http/Client/IClientService.php index 7498be08ed39da68e6938828af8c07795ca64aa1..cba7df0517d20f5baeb260a9899aa0921aaf7634 100644 --- a/lib/public/Http/Client/IClientService.php +++ b/lib/public/Http/Client/IClientService.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Http\Client; /** diff --git a/lib/public/Http/Client/IResponse.php b/lib/public/Http/Client/IResponse.php index c07c550405ea2b654c14bb56b12cbc3820d2cdee..a6adc6829103bea080b2cb8e4282618d5e6118de 100644 --- a/lib/public/Http/Client/IResponse.php +++ b/lib/public/Http/Client/IResponse.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Http\Client; /** diff --git a/lib/public/Http/Client/LocalServerException.php b/lib/public/Http/Client/LocalServerException.php index 829d747715f284cb49fe102c2a928132e980e9ce..2d16c6190b8cea7a328bf8ca687e24cbcfbc42a6 100644 --- a/lib/public/Http/Client/LocalServerException.php +++ b/lib/public/Http/Client/LocalServerException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Http\Client; /** diff --git a/lib/public/Http/WellKnown/GenericResponse.php b/lib/public/Http/WellKnown/GenericResponse.php index 57007232fc6dfd38d61fdcd8da64b0e2b1f68db4..a240c0eebde211c7d9c13241a67614fe1b528652 100644 --- a/lib/public/Http/WellKnown/GenericResponse.php +++ b/lib/public/Http/WellKnown/GenericResponse.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Http\WellKnown; use OCP\AppFramework\Http\Response; diff --git a/lib/public/Http/WellKnown/IHandler.php b/lib/public/Http/WellKnown/IHandler.php index 7665bd47d46b4e94864d5d45a59fe35743341629..c0dd1d372bc327cf33be15c4c2ffc34785711581 100644 --- a/lib/public/Http/WellKnown/IHandler.php +++ b/lib/public/Http/WellKnown/IHandler.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Http\WellKnown; /** diff --git a/lib/public/Http/WellKnown/IRequestContext.php b/lib/public/Http/WellKnown/IRequestContext.php index 1382a5d73e6017d6660f7c5f0dd037ecdef24150..1d05b116e9b63a1eefade3e6cc7999c06a76fb92 100644 --- a/lib/public/Http/WellKnown/IRequestContext.php +++ b/lib/public/Http/WellKnown/IRequestContext.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Http\WellKnown; use OCP\IRequest; diff --git a/lib/public/Http/WellKnown/IResponse.php b/lib/public/Http/WellKnown/IResponse.php index a29847fb027ae7aa2a4f5e1bce21904803ef9d78..1504d4d006660c306a64af1aea71010c8e44a81f 100644 --- a/lib/public/Http/WellKnown/IResponse.php +++ b/lib/public/Http/WellKnown/IResponse.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Http\WellKnown; use OCP\AppFramework\Http\Response; diff --git a/lib/public/Http/WellKnown/JrdResponse.php b/lib/public/Http/WellKnown/JrdResponse.php index 01b7da9dbbcf81ec915c31c6fe9c936a744af24c..192334ce83ca092b1dc4238da0995e1f9e9a7ff2 100644 --- a/lib/public/Http/WellKnown/JrdResponse.php +++ b/lib/public/Http/WellKnown/JrdResponse.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Http\WellKnown; use OCP\AppFramework\Http\JSONResponse; diff --git a/lib/public/IAddressBook.php b/lib/public/IAddressBook.php index 66723b4b2ed2ae3fc4f145febc991f55c46f352c..b0196764be34fb59d96d300efc13b569992dd628 100644 --- a/lib/public/IAddressBook.php +++ b/lib/public/IAddressBook.php @@ -5,7 +5,7 @@ * @author Bart Visscher * @author Daniel Kesselberg * @author Georg Ehrke - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Morris Jobke * @author Robin McCorkell @@ -27,12 +27,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * IAddressBook interface - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/IAppConfig.php b/lib/public/IAppConfig.php index 1a65f1850e3cef9a067fa65764124c88530319ad..7ab70fb04bfb48446d9663075e62a157423898d4 100644 --- a/lib/public/IAppConfig.php +++ b/lib/public/IAppConfig.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/IAvatar.php b/lib/public/IAvatar.php index 644c8bb206549e0e9527ecbde1984aec2808d0d4..1f079ba1e034b5e3bd71584f339bdf85301fd217 100644 --- a/lib/public/IAvatar.php +++ b/lib/public/IAvatar.php @@ -4,7 +4,7 @@ * * @author Arthur Schiwon * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCP; use OCP\Files\File; diff --git a/lib/public/IAvatarManager.php b/lib/public/IAvatarManager.php index 75ea886c16a7c82d904a93c740782e5736714842..573e109f00318d88af53e6371274cf66b5a99db2 100644 --- a/lib/public/IAvatarManager.php +++ b/lib/public/IAvatarManager.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christopher Schäpers - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Michael Weimann * @author Morris Jobke * @author Robin McCorkell @@ -27,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/ICache.php b/lib/public/ICache.php index f536f3213a15fd653ec37e289326ed0abc7a90dc..47b0e2f4c3d97cae4e071de1746025089317f109 100644 --- a/lib/public/ICache.php +++ b/lib/public/ICache.php @@ -23,13 +23,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Cache interface - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/ICacheFactory.php b/lib/public/ICacheFactory.php index 1da7da1e26bb625eeec51aec6f5a445bfcf46891..d70a836aa52558fbf5cfbf3e016762840f9e65cf 100644 --- a/lib/public/ICacheFactory.php +++ b/lib/public/ICacheFactory.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/ICertificate.php b/lib/public/ICertificate.php index c9e56e0e879cafa42e8859550a69f125a6268ca1..dfe4e038daa3566a764a80562c84a5dff39e9159 100644 --- a/lib/public/ICertificate.php +++ b/lib/public/ICertificate.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author J0WI * @author Morris Jobke * @author Robin Appelman * @@ -23,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/ICertificateManager.php b/lib/public/ICertificateManager.php index 2014ec3ec061973af998c7a9d87994bca56df8ae..299137de98a7ed7b6c25c3211549b7d663d8ba08 100644 --- a/lib/public/ICertificateManager.php +++ b/lib/public/ICertificateManager.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author J0WI * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman @@ -24,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/IConfig.php b/lib/public/IConfig.php index 59993d27f79e1cdaf4ad322707e0d56df9487e66..2a8399627e39820a7146badbfdeea910f55ebae4 100644 --- a/lib/public/IConfig.php +++ b/lib/public/IConfig.php @@ -27,13 +27,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Config interface - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/IContainer.php b/lib/public/IContainer.php index cb29e522032b78b71b779c7ab7534a8313dd1e40..08634ad508fd96d9878d19b0764f0c4c484f7765 100644 --- a/lib/public/IContainer.php +++ b/lib/public/IContainer.php @@ -24,13 +24,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Container interface - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/IDBConnection.php b/lib/public/IDBConnection.php index 3d2d83aa82838731744d2855531ef1e46742f17a..cedf042986998e62d964b753067f6c3956cd1a6a 100644 --- a/lib/public/IDBConnection.php +++ b/lib/public/IDBConnection.php @@ -5,6 +5,7 @@ * @author Bart Visscher * @author Christoph Wurst * @author Joas Schilling + * @author Lukas Reschke * @author Morris Jobke * @author Ole Ostergaard * @author Robin Appelman @@ -27,13 +28,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * DBConnection interface - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/IDateTimeFormatter.php b/lib/public/IDateTimeFormatter.php index 47756f611b9dfadf31a0973086a5d765bd006afb..f85a88b4e3819282da06da347a60b553e2324455 100644 --- a/lib/public/IDateTimeFormatter.php +++ b/lib/public/IDateTimeFormatter.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/IDateTimeZone.php b/lib/public/IDateTimeZone.php index 317530a5ceff03ec1a524aec718ad7e3dfd9154c..2ea0d847f9148fda5182c345c1b5c014f2aeebab 100644 --- a/lib/public/IDateTimeZone.php +++ b/lib/public/IDateTimeZone.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/IEventSource.php b/lib/public/IEventSource.php index 316d4bf2ff68683e2e368630f55707e6ea6b6611..85f09837125433e8dc78b7b7fc980412e11eacb9 100644 --- a/lib/public/IEventSource.php +++ b/lib/public/IEventSource.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/IGroup.php b/lib/public/IGroup.php index 014302347ed750ea4402919422ed050f3888940b..ba13359c472d94db4ecf7ea9b8b23a1950a96f79 100644 --- a/lib/public/IGroup.php +++ b/lib/public/IGroup.php @@ -3,7 +3,8 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author Johannes Leuker + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke @@ -25,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/IGroupManager.php b/lib/public/IGroupManager.php index eec36f3de791bd3158f1d20e470de627e3999e32..d942caac9b48d5f385545faa12650143ea383840 100644 --- a/lib/public/IGroupManager.php +++ b/lib/public/IGroupManager.php @@ -9,6 +9,7 @@ * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman + * @author Roeland Jago Douma * @author Thomas Müller * @author Vinicius Cubas Brand * @@ -27,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/IImage.php b/lib/public/IImage.php index aa1cf344e5fc2354bab4040906f7da3fbbfe38ce..459553de799b009c612e4b7e7baaac980703cd4f 100644 --- a/lib/public/IImage.php +++ b/lib/public/IImage.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/IInitialStateService.php b/lib/public/IInitialStateService.php index 44c4a4fd3dad4f5297b8ca5536a17c5d1098e7e0..eb3843129a0269a52a4338221a42b833e7817912 100644 --- a/lib/public/IInitialStateService.php +++ b/lib/public/IInitialStateService.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP; use Closure; diff --git a/lib/public/IL10N.php b/lib/public/IL10N.php index 0aba11e1322282d36de83e0ab36ec14cc8945d46..26556b7eb75851d4c63d521f29daae3f8bd90d60 100644 --- a/lib/public/IL10N.php +++ b/lib/public/IL10N.php @@ -28,13 +28,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * L10n interface - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/ILogger.php b/lib/public/ILogger.php index 86ee16100c68746578baf48aa2214c10e117a9e3..d6bd0a5406ee640605af772723598161ffd9b304 100644 --- a/lib/public/ILogger.php +++ b/lib/public/ILogger.php @@ -29,7 +29,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/IMemcache.php b/lib/public/IMemcache.php index 90ea1aa7fb20d42b18cdf3628072b45bc33722fa..9add524cb3e417fff285c4abf063ea2a23da5135 100644 --- a/lib/public/IMemcache.php +++ b/lib/public/IMemcache.php @@ -21,13 +21,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Cache interface - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/IMemcacheTTL.php b/lib/public/IMemcacheTTL.php index a52a7525657b2f492c6212b696c39fd79497054a..8424e5b2bfa7ff0a5b60e1ab5016ce41f5ffed97 100644 --- a/lib/public/IMemcacheTTL.php +++ b/lib/public/IMemcacheTTL.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/INavigationManager.php b/lib/public/INavigationManager.php index fb1fe0f44778e87180020901b8e9e3d1600ea090..189342b4cc4bab4b29b0237a33f012aecaafbdd0 100644 --- a/lib/public/INavigationManager.php +++ b/lib/public/INavigationManager.php @@ -5,7 +5,7 @@ * @author Bart Visscher * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Julius Härtl * @author Morris Jobke @@ -27,13 +27,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Navigation manager interface - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/IPreview.php b/lib/public/IPreview.php index 2ae5d83525480809e74ab6135cbe4981dda5e793..c4e3c55701262a4e6419aeafec0be4efa275c60b 100644 --- a/lib/public/IPreview.php +++ b/lib/public/IPreview.php @@ -24,13 +24,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Preview interface - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/IRequest.php b/lib/public/IRequest.php index 583e8d58180251f27d21fdc9816ab6fee6b4faf8..7696c3fa8c38db9878ec1030572e09d131bc49d8 100644 --- a/lib/public/IRequest.php +++ b/lib/public/IRequest.php @@ -30,13 +30,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Request interface - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/ISearch.php b/lib/public/ISearch.php index 94338b3d20d84f4ab601b5e57909938b1393834c..3b6f8cf60652969854caede4519891a1b44fdf6d 100644 --- a/lib/public/ISearch.php +++ b/lib/public/ISearch.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/IServerContainer.php b/lib/public/IServerContainer.php index b3840a0cbad95377e187c78b6ba04c655dca20c8..024abbe2a976678fe32e2e0e9489124a166e4483 100644 --- a/lib/public/IServerContainer.php +++ b/lib/public/IServerContainer.php @@ -39,7 +39,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP; use OCP\Federation\ICloudFederationFactory; diff --git a/lib/public/ISession.php b/lib/public/ISession.php index 3e3fc0e39f84f8da11a5c64e596dd9b556ce03bc..2709e09d4ca4bafeba5573e22e536542565e7e30 100644 --- a/lib/public/ISession.php +++ b/lib/public/ISession.php @@ -27,13 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Session interface - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/ITagManager.php b/lib/public/ITagManager.php index 9003beb8a2a3aa378a6ebcb5970218d44b2243ad..f015dad809e958dbd780d5c50e80c3686a27d780 100644 --- a/lib/public/ITagManager.php +++ b/lib/public/ITagManager.php @@ -23,13 +23,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Tag manager interface - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/ITags.php b/lib/public/ITags.php index 780e6dee85f6e24063881f815d2d9e5f20ebf8a5..03bcb845f4e5f2fdf3caa543f438a5ec06e59bf7 100644 --- a/lib/public/ITags.php +++ b/lib/public/ITags.php @@ -25,13 +25,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Tags interface - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/ITempManager.php b/lib/public/ITempManager.php index dd2ed04fb72495792895a5d3f87b5c349fba468d..f594bad3992e5b9bf578299ec3cafd8ea307a00b 100644 --- a/lib/public/ITempManager.php +++ b/lib/public/ITempManager.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/IURLGenerator.php b/lib/public/IURLGenerator.php index 81f5d4494846a1bb4dcec89db4a5cab20ac39ae8..486ca47d252a637294c1e73c09f41dc3efa2c859 100644 --- a/lib/public/IURLGenerator.php +++ b/lib/public/IURLGenerator.php @@ -28,7 +28,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/IUser.php b/lib/public/IUser.php index feb876176bfdad1425bf54a49e2432ce4383fb83..7e75704ed5bc096f4633f9d4a06533e975aef9dc 100644 --- a/lib/public/IUser.php +++ b/lib/public/IUser.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Arthur Schiwon - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/IUserBackend.php b/lib/public/IUserBackend.php index 7f1cbe3b4bc73ee19083083100ca22defb056bdf..22df225cb8a30fb512aa38f671982e8084d1141e 100644 --- a/lib/public/IUserBackend.php +++ b/lib/public/IUserBackend.php @@ -20,13 +20,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * User Interface version 2 - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/IUserManager.php b/lib/public/IUserManager.php index 6963bb5ddbc315044ef87e78ea04e440645ccf94..c6cad6f0549db187b5e464bc696b2f3754b92eee 100644 --- a/lib/public/IUserManager.php +++ b/lib/public/IUserManager.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/IUserSession.php b/lib/public/IUserSession.php index 17c751127faed98464ad411b0d1b1c409589b208..7bc37cc67c6a105c639a949bf864878c0e3bbc5b 100644 --- a/lib/public/IUserSession.php +++ b/lib/public/IUserSession.php @@ -26,13 +26,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * User session interface - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Image.php b/lib/public/Image.php index f01337c9000f61c3c5b54a1fe236f483a16c59f5..dcdad8e1612c6843fc483215c7abba21aae37547 100644 --- a/lib/public/Image.php +++ b/lib/public/Image.php @@ -22,13 +22,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Image class - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/L10N/IFactory.php b/lib/public/L10N/IFactory.php index 2c6db1864df113ce45ca28664e2c653f5c5a32c7..3fe212edb9c128fcf25b87625aa3368572498f16 100644 --- a/lib/public/L10N/IFactory.php +++ b/lib/public/L10N/IFactory.php @@ -5,7 +5,7 @@ * @author Arthur Schiwon * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Morris Jobke * @author Roeland Jago Douma @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCP\L10N; use OCP\IUser; diff --git a/lib/public/L10N/ILanguageIterator.php b/lib/public/L10N/ILanguageIterator.php index 57a572ed3fe26866c072d35db1b60bf7a27d63ab..882c8bc6f9e6bca44ac953e5dd946a432e8b293d 100644 --- a/lib/public/L10N/ILanguageIterator.php +++ b/lib/public/L10N/ILanguageIterator.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\L10N; /** diff --git a/lib/public/LDAP/IDeletionFlagSupport.php b/lib/public/LDAP/IDeletionFlagSupport.php index af440d307dd4da5219af25ad84f334870f9536c8..54fdfd909931370c391edad70862c1ab39abd283 100644 --- a/lib/public/LDAP/IDeletionFlagSupport.php +++ b/lib/public/LDAP/IDeletionFlagSupport.php @@ -15,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\LDAP; /** diff --git a/lib/public/LDAP/ILDAPProvider.php b/lib/public/LDAP/ILDAPProvider.php index 0baee4254e0225735184d6d3809ad605d10dc676..70cbf07b8138e462f8516addd38e2298833824e7 100644 --- a/lib/public/LDAP/ILDAPProvider.php +++ b/lib/public/LDAP/ILDAPProvider.php @@ -3,7 +3,9 @@ * @copyright Copyright (c) 2016, Roger Szabo (roger.szabo@web.de) * * @author Arthur Schiwon + * @author blizzz * @author Christoph Wurst + * @author Robin Appelman * @author Roeland Jago Douma * @author Roger Szabo * @author root @@ -18,14 +20,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\LDAP; /** diff --git a/lib/public/LDAP/ILDAPProviderFactory.php b/lib/public/LDAP/ILDAPProviderFactory.php index fe7824d8318cd20d20134503f9e923341fd29151..246c665b04bd51a5577272c066410a0971594447 100644 --- a/lib/public/LDAP/ILDAPProviderFactory.php +++ b/lib/public/LDAP/ILDAPProviderFactory.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2016, Roger Szabo (roger.szabo@web.de) * + * @author Robin Appelman * @author Roeland Jago Douma * @author Roger Szabo * @author root @@ -15,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\LDAP; use OCP\IServerContainer; diff --git a/lib/public/Lock/ILockingProvider.php b/lib/public/Lock/ILockingProvider.php index 23adc02387eb599ba429daf3cb28f42d06bf02de..3dc7c73b6ebb0e6dfefa7e7452fada2fe6117ff6 100644 --- a/lib/public/Lock/ILockingProvider.php +++ b/lib/public/Lock/ILockingProvider.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Lock; /** diff --git a/lib/public/Lock/LockedException.php b/lib/public/Lock/LockedException.php index 60ece6146a3afc782b4b2f4521cab3069aab37a0..cf85096d38968f17fed6f60ca323ed40170caa5f 100644 --- a/lib/public/Lock/LockedException.php +++ b/lib/public/Lock/LockedException.php @@ -26,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Lock; /** diff --git a/lib/public/Lock/ManuallyLockedException.php b/lib/public/Lock/ManuallyLockedException.php index db2e0ff3c9220e1716cacb1fad716b02058b6d52..55a1e807a57dd46b971bd1d316b899777e6b5883 100644 --- a/lib/public/Lock/ManuallyLockedException.php +++ b/lib/public/Lock/ManuallyLockedException.php @@ -16,15 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - - namespace OCP\Lock; /** diff --git a/lib/public/Lockdown/ILockdownManager.php b/lib/public/Lockdown/ILockdownManager.php index 88a354b1eec9bc80f03850ab0d1cd951df46c520..85a59cf8090059c70cd865327c2aeb8796791cf7 100644 --- a/lib/public/Lockdown/ILockdownManager.php +++ b/lib/public/Lockdown/ILockdownManager.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Lockdown; use OC\Authentication\Token\IToken; diff --git a/lib/public/Log/Audit/CriticalActionPerformedEvent.php b/lib/public/Log/Audit/CriticalActionPerformedEvent.php index 98e46757b93f6dc3546124de4a259760aa24ce50..1b991e4d8718fc36fb3187546972679e124b45ee 100644 --- a/lib/public/Log/Audit/CriticalActionPerformedEvent.php +++ b/lib/public/Log/Audit/CriticalActionPerformedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Log\Audit; use OCP\EventDispatcher\Event; diff --git a/lib/public/Log/IDataLogger.php b/lib/public/Log/IDataLogger.php index ed56009ca05acee45a38d2904b3f0353940d6da9..e9e476c37600ba4e3b3e0182db016ba2874dbfbb 100644 --- a/lib/public/Log/IDataLogger.php +++ b/lib/public/Log/IDataLogger.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Log; /** diff --git a/lib/public/Log/IFileBased.php b/lib/public/Log/IFileBased.php index eeebb766cda57adac1f3275813e9c6fe46cffaef..54f9e7d754adcaa7daf488d5b697b4d22b83c6e9 100644 --- a/lib/public/Log/IFileBased.php +++ b/lib/public/Log/IFileBased.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Log; /** diff --git a/lib/public/Log/ILogFactory.php b/lib/public/Log/ILogFactory.php index 54aa6456156025ec62cfc9704c786c185131abf7..54ed761a8e703d94c5f00a7a6492a0c2bf90e2a0 100644 --- a/lib/public/Log/ILogFactory.php +++ b/lib/public/Log/ILogFactory.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2018 Arthur Schiwon * * @author Arthur Schiwon + * @author Christoph Wurst * @author Johannes Ernst * * @license GNU AGPL version 3 or any later version @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Log; use OCP\ILogger; diff --git a/lib/public/Log/IWriter.php b/lib/public/Log/IWriter.php index bc8feb908b98d19328ccddd4e32c4d5a1c4bad66..acc39533bfd4838d0ec7de623037fb5d86447a2a 100644 --- a/lib/public/Log/IWriter.php +++ b/lib/public/Log/IWriter.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Log; /** diff --git a/lib/public/Log/RotationTrait.php b/lib/public/Log/RotationTrait.php index 9766c1228b36b20217433f60310ff9e244ab0840..8fc1516c34600d2ee73511bb01f20cb2bf342963 100644 --- a/lib/public/Log/RotationTrait.php +++ b/lib/public/Log/RotationTrait.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2018 Arthur Schiwon * * @author Arthur Schiwon + * @author dartcafe * * @license GNU AGPL version 3 or any later version * @@ -13,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Log; /** diff --git a/lib/public/Mail/Events/BeforeMessageSent.php b/lib/public/Mail/Events/BeforeMessageSent.php index cacbb778b390b5bc15042ad0fe3f666078ff4e00..e4ea0680f9ecf77514e3e7e75ba300775d084328 100644 --- a/lib/public/Mail/Events/BeforeMessageSent.php +++ b/lib/public/Mail/Events/BeforeMessageSent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Mail\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Mail/IAttachment.php b/lib/public/Mail/IAttachment.php index 4f17923622f6322e7571c926bce663d0de9d54f7..714d4a45158c2b355b48d0072cc68153d9936c9b 100644 --- a/lib/public/Mail/IAttachment.php +++ b/lib/public/Mail/IAttachment.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Mail; /** diff --git a/lib/public/Mail/IEMailTemplate.php b/lib/public/Mail/IEMailTemplate.php index 726ec05039df9d9246228b86a702a6843ac89ddd..39d6661b62421620d0687cdebe192eecd9d6cbef 100644 --- a/lib/public/Mail/IEMailTemplate.php +++ b/lib/public/Mail/IEMailTemplate.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Mail; /** diff --git a/lib/public/Mail/IMailer.php b/lib/public/Mail/IMailer.php index 11a174e96a8a7fad3c51f44d5825a3659d53b645..325abd9301e7b2794daccebc938a9469d24515ab 100644 --- a/lib/public/Mail/IMailer.php +++ b/lib/public/Mail/IMailer.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Mail; /** diff --git a/lib/public/Mail/IMessage.php b/lib/public/Mail/IMessage.php index 9927b228df3dc2888f57351bfb1caa2791fe9ef9..1549f61c1fec5ae16f6f6974d21418b9030d2012 100644 --- a/lib/public/Mail/IMessage.php +++ b/lib/public/Mail/IMessage.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Mail; /** diff --git a/lib/public/Migration/BigIntMigration.php b/lib/public/Migration/BigIntMigration.php index 316c15653608a4b499fb1214c24a45df1edc2ba6..85da6fd740d2cb827390c8209d6a02687dcf4c9d 100644 --- a/lib/public/Migration/BigIntMigration.php +++ b/lib/public/Migration/BigIntMigration.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Migration; use Doctrine\DBAL\Types\Type; diff --git a/lib/public/Migration/IMigrationStep.php b/lib/public/Migration/IMigrationStep.php index e5e7bf6c4dc77f7840ab944607b55617c4cb4be1..1b5aa82899476a8ff285893c3219a0ecdbcaed26 100644 --- a/lib/public/Migration/IMigrationStep.php +++ b/lib/public/Migration/IMigrationStep.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Migration; use OCP\DB\ISchemaWrapper; diff --git a/lib/public/Migration/IOutput.php b/lib/public/Migration/IOutput.php index 0bab1f609bce9677358fc45b9ce27cb479c33d7e..2dba50ab2c653c164dda5ebb0a80f368f4d338f4 100644 --- a/lib/public/Migration/IOutput.php +++ b/lib/public/Migration/IOutput.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\Migration; /** diff --git a/lib/public/Migration/IRepairStep.php b/lib/public/Migration/IRepairStep.php index 83e1c17c65afbe7d690cf569c29eda02f0700675..74f0060b990548e84b5605f8e03aea4cf4b091b2 100644 --- a/lib/public/Migration/IRepairStep.php +++ b/lib/public/Migration/IRepairStep.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\Migration; /** diff --git a/lib/public/Migration/SimpleMigrationStep.php b/lib/public/Migration/SimpleMigrationStep.php index d592c022466aa0f7435068e78a7533861fb82ac7..e8d19f533ac146fe01956f34f528626dd08d2345 100644 --- a/lib/public/Migration/SimpleMigrationStep.php +++ b/lib/public/Migration/SimpleMigrationStep.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Migration; /** diff --git a/lib/public/Notification/AlreadyProcessedException.php b/lib/public/Notification/AlreadyProcessedException.php index 3100e433608f552f7a822fa0bce8ae42a66f0cf5..5b0e672d5a0301aa19be9b9cab077ea165f1c71d 100644 --- a/lib/public/Notification/AlreadyProcessedException.php +++ b/lib/public/Notification/AlreadyProcessedException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Notification; /** diff --git a/lib/public/Notification/IAction.php b/lib/public/Notification/IAction.php index 52a42e3206e6a958a844c0f212f6ab24f2e8acf8..2499b66a1a973bc9ac929bc6473ab8fab3e89759 100644 --- a/lib/public/Notification/IAction.php +++ b/lib/public/Notification/IAction.php @@ -22,7 +22,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Notification; /** diff --git a/lib/public/Notification/IApp.php b/lib/public/Notification/IApp.php index 159f330039e0e661604169f1a58cc2c3e8067c48..6abb9a823e52de855b1e56d2afd7679071a17e4a 100644 --- a/lib/public/Notification/IApp.php +++ b/lib/public/Notification/IApp.php @@ -22,7 +22,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Notification; /** diff --git a/lib/public/Notification/IDeferrableApp.php b/lib/public/Notification/IDeferrableApp.php index f03ab9738878815433930a03a7d218d44160ff33..dad2828cdbde08b5289051e74e565141d9fd43a0 100644 --- a/lib/public/Notification/IDeferrableApp.php +++ b/lib/public/Notification/IDeferrableApp.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Notification; /** diff --git a/lib/public/Notification/IDismissableNotifier.php b/lib/public/Notification/IDismissableNotifier.php index 2be03ddf40d0f845dee69ebd176c83c2283d93ef..8c236875cca5ede6ec48abf84357d99296041de3 100644 --- a/lib/public/Notification/IDismissableNotifier.php +++ b/lib/public/Notification/IDismissableNotifier.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Notification; /** diff --git a/lib/public/Notification/IManager.php b/lib/public/Notification/IManager.php index a98df30183c2337e38985f122e24faf063bde5cf..66fe78b723e6ea505250babe28237087b76c2001 100644 --- a/lib/public/Notification/IManager.php +++ b/lib/public/Notification/IManager.php @@ -23,7 +23,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Notification; /** diff --git a/lib/public/Notification/INotification.php b/lib/public/Notification/INotification.php index 8e3feb2b3ddd0cfdb99f74d9d1f6c8d7013f9197..511f65955f5b014844e9bca4223e7f23e9fb549e 100644 --- a/lib/public/Notification/INotification.php +++ b/lib/public/Notification/INotification.php @@ -23,7 +23,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Notification; /** diff --git a/lib/public/Notification/INotifier.php b/lib/public/Notification/INotifier.php index 406c04470bb08b97ccdebebab97fbbe2a914e04c..b8333cd368a34d48e14d0e93a8c7c5c35d149fa5 100644 --- a/lib/public/Notification/INotifier.php +++ b/lib/public/Notification/INotifier.php @@ -22,7 +22,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Notification; /** diff --git a/lib/public/OCS/IDiscoveryService.php b/lib/public/OCS/IDiscoveryService.php index fdbe886f695a49b5341bc84edfc8463596642440..b3f0a0e53f7a228b5214df50d6aa1a12f89d5f8d 100644 --- a/lib/public/OCS/IDiscoveryService.php +++ b/lib/public/OCS/IDiscoveryService.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\OCS; /** diff --git a/lib/public/PreConditionNotMetException.php b/lib/public/PreConditionNotMetException.php index f48ac01ade4af684b9393c9408c48a1e258dc624..12269762a9aaa501738068fa35d326ea7fe6da71 100644 --- a/lib/public/PreConditionNotMetException.php +++ b/lib/public/PreConditionNotMetException.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Preview/IProvider.php b/lib/public/Preview/IProvider.php index c85dccc8a740718d024e82c41e336bf12eed32e1..801aa276d83a1de24494d1adf64bf1f3c0de2980 100644 --- a/lib/public/Preview/IProvider.php +++ b/lib/public/Preview/IProvider.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP\Preview; /** diff --git a/lib/public/Preview/IProviderV2.php b/lib/public/Preview/IProviderV2.php index 25674b7a3efe83d47df4c369eacf63a66fe6ca0c..8b5f85b3d5cdc1610bf2e43f658c631297616623 100644 --- a/lib/public/Preview/IProviderV2.php +++ b/lib/public/Preview/IProviderV2.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Preview; use OCP\Files\File; diff --git a/lib/public/Preview/IVersionedPreviewFile.php b/lib/public/Preview/IVersionedPreviewFile.php index ed16d5d18c3c735296964cc48be381c43ddb28ee..e41e7db78cdafaeee056c5dcc640a6afdf11f34c 100644 --- a/lib/public/Preview/IVersionedPreviewFile.php +++ b/lib/public/Preview/IVersionedPreviewFile.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Preview; /** diff --git a/lib/public/Remote/Api/IApiCollection.php b/lib/public/Remote/Api/IApiCollection.php index 04a0cef7af387b241a78a1e047754745cec2686e..17349e7bca950aafa386112c4ddb6117c7cf22d8 100644 --- a/lib/public/Remote/Api/IApiCollection.php +++ b/lib/public/Remote/Api/IApiCollection.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Remote\Api; /** diff --git a/lib/public/Remote/Api/IApiFactory.php b/lib/public/Remote/Api/IApiFactory.php index f144898fe55de5da41a5415478ab848e95988afd..a60634bfe13e8b2f855c7c753d50fb1e161c72d1 100644 --- a/lib/public/Remote/Api/IApiFactory.php +++ b/lib/public/Remote/Api/IApiFactory.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Remote\Api; use OCP\Remote\ICredentials; diff --git a/lib/public/Remote/Api/ICapabilitiesApi.php b/lib/public/Remote/Api/ICapabilitiesApi.php index 6c5833aae4dde7eabd236fe7c5c18d8f94771cdb..f481f0fd74901a457370d07311b706e53ec7dd44 100644 --- a/lib/public/Remote/Api/ICapabilitiesApi.php +++ b/lib/public/Remote/Api/ICapabilitiesApi.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Remote\Api; /** diff --git a/lib/public/Remote/Api/IUserApi.php b/lib/public/Remote/Api/IUserApi.php index f4def442cfd138a327ccf4e0f58fafa8d311dc9f..76f61eddaa0eba221686b03daa9d260336dd1988 100644 --- a/lib/public/Remote/Api/IUserApi.php +++ b/lib/public/Remote/Api/IUserApi.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Remote\Api; use OCP\Remote\IUser; diff --git a/lib/public/Remote/ICredentials.php b/lib/public/Remote/ICredentials.php index c737c1e517b163a401bc1679a1febabde127cf0c..bbf753f998a1590b23508dbccee2c29b69d2cb2e 100644 --- a/lib/public/Remote/ICredentials.php +++ b/lib/public/Remote/ICredentials.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Remote; /** diff --git a/lib/public/Remote/IInstance.php b/lib/public/Remote/IInstance.php index 73bb854a030d7d53602be713d549b0ca40148581..29c70933e2c8ac0a7282672ff1c5b064a04a738e 100644 --- a/lib/public/Remote/IInstance.php +++ b/lib/public/Remote/IInstance.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Remote; /** diff --git a/lib/public/Remote/IInstanceFactory.php b/lib/public/Remote/IInstanceFactory.php index 199f25a26f05a01f436a6a152ca9e01833fd7516..1f16e92382d227c0f90ec306758178245503be29 100644 --- a/lib/public/Remote/IInstanceFactory.php +++ b/lib/public/Remote/IInstanceFactory.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Remote; /** diff --git a/lib/public/Remote/IUser.php b/lib/public/Remote/IUser.php index d031753f16a07867781ba58ce8c3e89d3c95734f..f0644250d8f96df10ef2b3db648991f334e2f316 100644 --- a/lib/public/Remote/IUser.php +++ b/lib/public/Remote/IUser.php @@ -13,14 +13,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Remote; /** diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php index 5c85a1632330105a3c6bb5e5b7156f4d6feddfbc..676979170a6542af2bbd82e4289bb84be6e63a4b 100644 --- a/lib/public/RichObjectStrings/Definitions.php +++ b/lib/public/RichObjectStrings/Definitions.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016 Joas Schilling * * @author Joas Schilling + * @author Jonas Rittershofer * @author Julius Härtl * @author Maxence Lange * @author Roeland Jago Douma @@ -18,14 +19,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\RichObjectStrings; /** diff --git a/lib/public/RichObjectStrings/IValidator.php b/lib/public/RichObjectStrings/IValidator.php index f04d17681d8ff1e06566dbaac4cb08bf8c8713cd..1dfd2a8d32927fa2fe240b6a737410d21cd0bb2e 100644 --- a/lib/public/RichObjectStrings/IValidator.php +++ b/lib/public/RichObjectStrings/IValidator.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\RichObjectStrings; /** diff --git a/lib/public/RichObjectStrings/InvalidObjectExeption.php b/lib/public/RichObjectStrings/InvalidObjectExeption.php index 76460dc03307494752eb9204d738eccb8f6390bd..95b0cf591b384bb6b8a8f066a6c37197b8bb9215 100644 --- a/lib/public/RichObjectStrings/InvalidObjectExeption.php +++ b/lib/public/RichObjectStrings/InvalidObjectExeption.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\RichObjectStrings; /** diff --git a/lib/public/Route/IRoute.php b/lib/public/Route/IRoute.php index fd0a6ffbb90e08d6f15f6f483b8f983c08d905d4..f0364dc2f84a20f91412669d470fc30e2162fd7f 100644 --- a/lib/public/Route/IRoute.php +++ b/lib/public/Route/IRoute.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP\Route; /** diff --git a/lib/public/Route/IRouter.php b/lib/public/Route/IRouter.php index 2eeb4a3b35e0784de075013a0e8cb24a3854600c..5b50cf8c3c883e09251655a7467e4fe51cb8bce2 100644 --- a/lib/public/Route/IRouter.php +++ b/lib/public/Route/IRouter.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP\Route; /** diff --git a/lib/public/SabrePluginEvent.php b/lib/public/SabrePluginEvent.php index c9f80d184c29a5580a126227296c97f905a8995b..c0dde301ff1e97640a961edfdb4923efaf5b95cd 100644 --- a/lib/public/SabrePluginEvent.php +++ b/lib/public/SabrePluginEvent.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP; use OCP\AppFramework\Http; diff --git a/lib/public/SabrePluginException.php b/lib/public/SabrePluginException.php index 7d2220999e5d8c220763887113cfe9584f58c4ca..8e322b1fa9b7f831da05fbbfb57ebe43dece9a9b 100644 --- a/lib/public/SabrePluginException.php +++ b/lib/public/SabrePluginException.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCP; use Sabre\DAV\Exception; diff --git a/lib/public/Search/IProvider.php b/lib/public/Search/IProvider.php index 91258043297b6c8faa39b4e8b791d67408f9b0a3..c94dfe7a4e43d7c6e088d44da542710b25102056 100644 --- a/lib/public/Search/IProvider.php +++ b/lib/public/Search/IProvider.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Search; use OCP\IUser; diff --git a/lib/public/Search/ISearchQuery.php b/lib/public/Search/ISearchQuery.php index 3f0d9ede64542942dd8b859b667c80958a0be2b5..2f4f1038fe4735d0684a6b910fadf05407bac905 100644 --- a/lib/public/Search/ISearchQuery.php +++ b/lib/public/Search/ISearchQuery.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Search; /** diff --git a/lib/public/Search/PagedProvider.php b/lib/public/Search/PagedProvider.php index 479214ad405cddae9360dadbe7dbf8ece23fd1de..61f5dd457ee0caa99747a649b9fa553b611d6a7a 100644 --- a/lib/public/Search/PagedProvider.php +++ b/lib/public/Search/PagedProvider.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCP\Search; /** diff --git a/lib/public/Search/Provider.php b/lib/public/Search/Provider.php index 275a63c0056c8c41e73c73d7ddb3515d7f15fa3c..cf143b42dd8959847913c7f5e576ecf1267fc674 100644 --- a/lib/public/Search/Provider.php +++ b/lib/public/Search/Provider.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCP\Search; /** diff --git a/lib/public/Search/Result.php b/lib/public/Search/Result.php index a3a58a38cde9db248d1159ee4268f36b1dfcfae8..86476ade72153e485abb430af114078fed026876 100644 --- a/lib/public/Search/Result.php +++ b/lib/public/Search/Result.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP\Search; /** diff --git a/lib/public/Search/SearchResult.php b/lib/public/Search/SearchResult.php index e70c70f1aaa56a5be23c38faa6030a92b8706d7d..685dad0f0ca944c2f6ccceaf26d1a580a461bd0c 100644 --- a/lib/public/Search/SearchResult.php +++ b/lib/public/Search/SearchResult.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright 2020 Christoph Wurst * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Search; use JsonSerializable; diff --git a/lib/public/Search/SearchResultEntry.php b/lib/public/Search/SearchResultEntry.php index 347c3fcd28992da430d8860755f3c251ceda4754..42c3a4cbdd777e3f2a05bf1d4e18233b778ef99b 100644 --- a/lib/public/Search/SearchResultEntry.php +++ b/lib/public/Search/SearchResultEntry.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright 2020 Christoph Wurst * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Search; use JsonSerializable; diff --git a/lib/public/Security/Bruteforce/MaxDelayReached.php b/lib/public/Security/Bruteforce/MaxDelayReached.php index 3dcb3fefe27f50c95e46bd82e86d4c4247942a22..eaac4edbd1bc81f7e153791ee5a93a03e912166c 100644 --- a/lib/public/Security/Bruteforce/MaxDelayReached.php +++ b/lib/public/Security/Bruteforce/MaxDelayReached.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Security\Bruteforce; /** diff --git a/lib/public/Security/CSP/AddContentSecurityPolicyEvent.php b/lib/public/Security/CSP/AddContentSecurityPolicyEvent.php index 369e86f38525d61348b5815870baaa98edd3e2ce..13aeab8bf44413145aefec61d2f6b3645a49ea75 100644 --- a/lib/public/Security/CSP/AddContentSecurityPolicyEvent.php +++ b/lib/public/Security/CSP/AddContentSecurityPolicyEvent.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Security\CSP; use OC\Security\CSP\ContentSecurityPolicyManager; diff --git a/lib/public/Security/Events/GenerateSecurePasswordEvent.php b/lib/public/Security/Events/GenerateSecurePasswordEvent.php index ba3c5a63e1190222dfd346f0ec217d3db362c964..6897cb1ee91dc2fa50f3a36d512e6cbc3bd0791e 100644 --- a/lib/public/Security/Events/GenerateSecurePasswordEvent.php +++ b/lib/public/Security/Events/GenerateSecurePasswordEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Security\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Security/Events/ValidatePasswordPolicyEvent.php b/lib/public/Security/Events/ValidatePasswordPolicyEvent.php index 1eab778072357de841024415a3e02eaa018d9dee..efe420d3cf2b658c2223f7e18767119019612480 100644 --- a/lib/public/Security/Events/ValidatePasswordPolicyEvent.php +++ b/lib/public/Security/Events/ValidatePasswordPolicyEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Security\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Security/FeaturePolicy/AddFeaturePolicyEvent.php b/lib/public/Security/FeaturePolicy/AddFeaturePolicyEvent.php index 764b57c31ea9ef4f8913944b177706c286fac94b..a0478ad56fe7ad9f3f6e300c539317a97db6d7d3 100644 --- a/lib/public/Security/FeaturePolicy/AddFeaturePolicyEvent.php +++ b/lib/public/Security/FeaturePolicy/AddFeaturePolicyEvent.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Security\FeaturePolicy; use OC\Security\FeaturePolicy\FeaturePolicyManager; diff --git a/lib/public/Security/IContentSecurityPolicyManager.php b/lib/public/Security/IContentSecurityPolicyManager.php index 346816e23cb79b3140b73f26ba8aaf3d7092b82d..878527bc4be88563284cb20dcde7ff8336292e8a 100644 --- a/lib/public/Security/IContentSecurityPolicyManager.php +++ b/lib/public/Security/IContentSecurityPolicyManager.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Security; use OCP\AppFramework\Http\EmptyContentSecurityPolicy; diff --git a/lib/public/Security/ICredentialsManager.php b/lib/public/Security/ICredentialsManager.php index ce42905577af4292bb73bbb1f51ca1600689024e..7ac0d705a772bf855eae5286071d30ed7480d896 100644 --- a/lib/public/Security/ICredentialsManager.php +++ b/lib/public/Security/ICredentialsManager.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Arthur Schiwon + * @author J0WI * @author Robin McCorkell * * @license AGPL-3.0 @@ -23,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Security; /** diff --git a/lib/public/Security/ICrypto.php b/lib/public/Security/ICrypto.php index 622b77d469cda2c47ed082e7194ce3aecff8a22c..2ca501e62be03836acc53f9765dbbeac92a1a3ee 100644 --- a/lib/public/Security/ICrypto.php +++ b/lib/public/Security/ICrypto.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Security; /** diff --git a/lib/public/Security/IHasher.php b/lib/public/Security/IHasher.php index 881d74aa184fe7034640299aa7d7d0efd6f449c6..7c4d743002cb428193be80adb8b07f3fc9382073 100644 --- a/lib/public/Security/IHasher.php +++ b/lib/public/Security/IHasher.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Security; /** diff --git a/lib/public/Security/ISecureRandom.php b/lib/public/Security/ISecureRandom.php index 2d82f9024b27ee074755c6a3afd4a288d076866f..530a3b9df8f2377d0e7acb6c0ff3301d620720aa 100644 --- a/lib/public/Security/ISecureRandom.php +++ b/lib/public/Security/ISecureRandom.php @@ -26,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\Security; /** diff --git a/lib/public/Session/Exceptions/SessionNotAvailableException.php b/lib/public/Session/Exceptions/SessionNotAvailableException.php index b7c7b993614ebff67ff503dd417df9e709b8950b..92cdf487a92677ad4009743a7f54806587df8bd6 100644 --- a/lib/public/Session/Exceptions/SessionNotAvailableException.php +++ b/lib/public/Session/Exceptions/SessionNotAvailableException.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCP\Session\Exceptions; use Exception; diff --git a/lib/public/Settings/IIconSection.php b/lib/public/Settings/IIconSection.php index 3a7ef9ed1265f180f7d7c278afb89c00b096ad3c..c56565fbf85988ea8ae1be36e6fdab86f0060de2 100644 --- a/lib/public/Settings/IIconSection.php +++ b/lib/public/Settings/IIconSection.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Settings; /** diff --git a/lib/public/Settings/IManager.php b/lib/public/Settings/IManager.php index 88a8a297c54685d94086a4730e5c5a9600a36c7b..0d475092704b91e9c9bfc1ca6d520b1d5e166475 100644 --- a/lib/public/Settings/IManager.php +++ b/lib/public/Settings/IManager.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Settings; /** diff --git a/lib/public/Settings/ISettings.php b/lib/public/Settings/ISettings.php index a7bae53e3bf8f264aac6dd0f663525a02e539424..be7e0b7bf8232e4435a7fcbd037d9bd2424c63dc 100644 --- a/lib/public/Settings/ISettings.php +++ b/lib/public/Settings/ISettings.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016 Arthur Schiwon * * @author Arthur Schiwon + * @author Christoph Wurst * @author Lukas Reschke * * @license GNU AGPL version 3 or any later version @@ -14,14 +15,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Settings; use OCP\AppFramework\Http\TemplateResponse; diff --git a/lib/public/Settings/ISubAdminSettings.php b/lib/public/Settings/ISubAdminSettings.php index d7f55eddfb02cc872fe419cb732a83f12a01e4e6..46eb80696b2186f57c470f0c703b2189e3b8747a 100644 --- a/lib/public/Settings/ISubAdminSettings.php +++ b/lib/public/Settings/ISubAdminSettings.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Settings; /** diff --git a/lib/public/Share.php b/lib/public/Share.php index 7ce294b614d82e2f19ee5a8801df3392b4ffe418..6aeadb3a6ed889e5d99e76d54035ec5e5b692ed8 100644 --- a/lib/public/Share.php +++ b/lib/public/Share.php @@ -27,13 +27,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Share Class - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Share/Events/ShareCreatedEvent.php b/lib/public/Share/Events/ShareCreatedEvent.php index d0f2defb698a0d1ecce281db42f2b23ef9212ad4..85de3a83040325267f1cf0b53d6c3750a4036c3c 100644 --- a/lib/public/Share/Events/ShareCreatedEvent.php +++ b/lib/public/Share/Events/ShareCreatedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Share\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Share/Events/ShareDeletedEvent.php b/lib/public/Share/Events/ShareDeletedEvent.php index e87799f568b66a0987bb51b40ee29bba4ba6aaff..9a42088a8ffe51c1bbbb3387ddafa1150f1bc6bc 100644 --- a/lib/public/Share/Events/ShareDeletedEvent.php +++ b/lib/public/Share/Events/ShareDeletedEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Share\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/Share/Events/VerifyMountPointEvent.php b/lib/public/Share/Events/VerifyMountPointEvent.php index d27d02e6864acc343765f053f0adc2f42dc129ec..c824eea460847f9643097b54507d7111d9c8c746 100644 --- a/lib/public/Share/Events/VerifyMountPointEvent.php +++ b/lib/public/Share/Events/VerifyMountPointEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Share\Events; use OC\Files\View; diff --git a/lib/public/Share/Exceptions/AlreadySharedException.php b/lib/public/Share/Exceptions/AlreadySharedException.php index 2f8b92573876d3633cfeea33b1becf9d1e5f2f6f..06cb93cb6af7adc84596d591b85990e94d2c7874 100644 --- a/lib/public/Share/Exceptions/AlreadySharedException.php +++ b/lib/public/Share/Exceptions/AlreadySharedException.php @@ -1,9 +1,12 @@ * + * @author Robin Appelman + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . + * along with this program. If not, see . * */ - namespace OCP\Share\Exceptions; use OCP\Share\IShare; diff --git a/lib/public/Share/Exceptions/GenericShareException.php b/lib/public/Share/Exceptions/GenericShareException.php index 8d622ff848fbdc5d73d370101931a6a38749449a..46a46ac0ab7c03d973183928f5e64800eb90cde8 100644 --- a/lib/public/Share/Exceptions/GenericShareException.php +++ b/lib/public/Share/Exceptions/GenericShareException.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCP\Share\Exceptions; use OC\HintException; diff --git a/lib/public/Share/Exceptions/IllegalIDChangeException.php b/lib/public/Share/Exceptions/IllegalIDChangeException.php index 7345a0e1ff8165402e4ada274f59978967db56cf..563a227e96311774850654dcfae174f96639d1dd 100644 --- a/lib/public/Share/Exceptions/IllegalIDChangeException.php +++ b/lib/public/Share/Exceptions/IllegalIDChangeException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCP\Share\Exceptions; /** diff --git a/lib/public/Share/Exceptions/ShareNotFound.php b/lib/public/Share/Exceptions/ShareNotFound.php index 12cdbf4fd9cb7b5b81c726005ebd6aaf5d4a4faf..6e4dd2677ae7efc908eed4821557843c00a24d57 100644 --- a/lib/public/Share/Exceptions/ShareNotFound.php +++ b/lib/public/Share/Exceptions/ShareNotFound.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCP\Share\Exceptions; /** diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php index 66b4de9c4e5ef9d9349c37961e647d5f6e5fa2b5..77a9980a8946f1dba9b0a8d8a6f2a99d90f86811 100644 --- a/lib/public/Share/IManager.php +++ b/lib/public/Share/IManager.php @@ -5,7 +5,7 @@ * @author Bjoern Schiessle * @author Daniel Calviño Sánchez * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCP\Share; use OCP\Files\Folder; diff --git a/lib/public/Share/IProviderFactory.php b/lib/public/Share/IProviderFactory.php index 32f0b2bab8cbcdf444053160541896a34a59e243..71d95203007cb1e52571480be937054c9b734d0b 100644 --- a/lib/public/Share/IProviderFactory.php +++ b/lib/public/Share/IProviderFactory.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCP\Share; use OC\Share20\Exception\ProviderException; diff --git a/lib/public/Share/IShare.php b/lib/public/Share/IShare.php index 480d6c06e1704396ae5ca019eca38b34f76d6a93..8ff3f5f0394eada8aa87052a09f75436b770ba6e 100644 --- a/lib/public/Share/IShare.php +++ b/lib/public/Share/IShare.php @@ -5,7 +5,7 @@ * @author Bjoern Schiessle * @author Daniel Calviño Sánchez * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Maxence Lange * @author Robin Appelman @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCP\Share; use OCP\Files\Cache\ICacheEntry; diff --git a/lib/public/Share/IShareHelper.php b/lib/public/Share/IShareHelper.php index 37defc00f930f17aba09031151e3fa7eb80cb24a..8bb08de07d6a3cbce187ebe351ed70cbeeb18d2b 100644 --- a/lib/public/Share/IShareHelper.php +++ b/lib/public/Share/IShareHelper.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\Share; use OCP\Files\Node; diff --git a/lib/public/Share/IShareProvider.php b/lib/public/Share/IShareProvider.php index c35fa6660f2ca4bf5b043807fe3ef06c999694d2..6af513360fe2a5ae7d56ccf016da1e1ff4c6280a 100644 --- a/lib/public/Share/IShareProvider.php +++ b/lib/public/Share/IShareProvider.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCP\Share; use OCP\Files\Folder; diff --git a/lib/public/Share_Backend.php b/lib/public/Share_Backend.php index cb49ce8e844271858616930a0a8a03842fed6d0f..6b046df0febd344770b90ce2ba4ee51d36e466b9 100644 --- a/lib/public/Share_Backend.php +++ b/lib/public/Share_Backend.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Share_Backend_Collection.php b/lib/public/Share_Backend_Collection.php index 45aa653ebff0037c5befccf7a872ef91b85ade76..37872aed8e9f18c0f9ddb6852a3bd1ec41c08ca4 100644 --- a/lib/public/Share_Backend_Collection.php +++ b/lib/public/Share_Backend_Collection.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Share_Backend_File_Dependent.php b/lib/public/Share_Backend_File_Dependent.php index f49c0b18f7ee8f5087f13185d975593fb8a6ce0c..dfb6c8c5a2c383afa52ce3bdbd37742492fa0e90 100644 --- a/lib/public/Share_Backend_File_Dependent.php +++ b/lib/public/Share_Backend_File_Dependent.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/Support/CrashReport/ICollectBreadcrumbs.php b/lib/public/Support/CrashReport/ICollectBreadcrumbs.php index f74afe52193367d256256ec0110fe44bc43287d4..105f3272bd4d992dbc1c326ad28d974403b90baf 100644 --- a/lib/public/Support/CrashReport/ICollectBreadcrumbs.php +++ b/lib/public/Support/CrashReport/ICollectBreadcrumbs.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Christoph Wurst * * @author Christoph Wurst * @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Support\CrashReport; /** diff --git a/lib/public/Support/CrashReport/IMessageReporter.php b/lib/public/Support/CrashReport/IMessageReporter.php index 425900db0a69ed0010aa2f17cec642c39bb12946..e56710750b6a9ae2f929b310800a9118561d15ad 100644 --- a/lib/public/Support/CrashReport/IMessageReporter.php +++ b/lib/public/Support/CrashReport/IMessageReporter.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Support\CrashReport; /** diff --git a/lib/public/Support/CrashReport/IRegistry.php b/lib/public/Support/CrashReport/IRegistry.php index 77456663848a6c64481d442f794196c8e682e472..6ee2b57f6135f1801ef74f6e3f6afa684458451a 100644 --- a/lib/public/Support/CrashReport/IRegistry.php +++ b/lib/public/Support/CrashReport/IRegistry.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Christoph Wurst * * @author Christoph Wurst * @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Support\CrashReport; use Exception; diff --git a/lib/public/Support/CrashReport/IReporter.php b/lib/public/Support/CrashReport/IReporter.php index 5aaa9d8a6f5007c71d6ae4bff70a878841842da7..ecbfa348d047768f4f7c93482ec1fa9ada87753a 100644 --- a/lib/public/Support/CrashReport/IReporter.php +++ b/lib/public/Support/CrashReport/IReporter.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Christoph Wurst * * @author Christoph Wurst * @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Support\CrashReport; use Exception; diff --git a/lib/public/Support/Subscription/Exception/AlreadyRegisteredException.php b/lib/public/Support/Subscription/Exception/AlreadyRegisteredException.php index 3d9485a71ec7708de1290be68498f89c4050ba15..726978c26a6ad35eb29fd87b24f9881ac2fff6f0 100644 --- a/lib/public/Support/Subscription/Exception/AlreadyRegisteredException.php +++ b/lib/public/Support/Subscription/Exception/AlreadyRegisteredException.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Morris Jobke * * @author Morris Jobke * @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Support\Subscription\Exception; /** diff --git a/lib/public/Support/Subscription/IRegistry.php b/lib/public/Support/Subscription/IRegistry.php index ab1d00fa82307deb75e1cb9661c73064a5d6308a..1082f12ab5834119b4bf625891815b163dbbf03c 100644 --- a/lib/public/Support/Subscription/IRegistry.php +++ b/lib/public/Support/Subscription/IRegistry.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Morris Jobke * * @author Julius Härtl * @author Morris Jobke @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Support\Subscription; use OCP\Support\Subscription\Exception\AlreadyRegisteredException; diff --git a/lib/public/Support/Subscription/ISubscription.php b/lib/public/Support/Subscription/ISubscription.php index 9614c0ed77b3075a94e8b44ab37bb8dbf85192f4..c602156b47cfe595782e348a99c592eeed34d82d 100644 --- a/lib/public/Support/Subscription/ISubscription.php +++ b/lib/public/Support/Subscription/ISubscription.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Morris Jobke * * @author Julius Härtl * @author Morris Jobke @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Support\Subscription; /** diff --git a/lib/public/Support/Subscription/ISupportedApps.php b/lib/public/Support/Subscription/ISupportedApps.php index 2e94601879b2d0dee85b6fa63a50c885d5ebf04a..121c2325a6e987f8feaad82d6d3e680c3a50df3c 100644 --- a/lib/public/Support/Subscription/ISupportedApps.php +++ b/lib/public/Support/Subscription/ISupportedApps.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Morris Jobke * * @author Morris Jobke * @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\Support\Subscription; /** diff --git a/lib/public/SystemTag/ISystemTag.php b/lib/public/SystemTag/ISystemTag.php index b4dfc6856edf42d8119bd5be86657ac9609f0da8..6f6fce075850f841654b549d8ffad56181bac803 100644 --- a/lib/public/SystemTag/ISystemTag.php +++ b/lib/public/SystemTag/ISystemTag.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Johannes Leuker * @author Roeland Jago Douma * @author Vincent Petry * @@ -23,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\SystemTag; /** diff --git a/lib/public/SystemTag/ISystemTagManager.php b/lib/public/SystemTag/ISystemTagManager.php index a9973a571c62c38e1ec41e2e555eef2d5c5d686a..500d80ea2783a98b23c737813688b4b3325f1b66 100644 --- a/lib/public/SystemTag/ISystemTagManager.php +++ b/lib/public/SystemTag/ISystemTagManager.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\SystemTag; use OCP\IUser; diff --git a/lib/public/SystemTag/ISystemTagManagerFactory.php b/lib/public/SystemTag/ISystemTagManagerFactory.php index 88999595caf30e185711bec014263d21199a9ae7..f016585dfc91c21330edbab9fff1b5779ae8cd57 100644 --- a/lib/public/SystemTag/ISystemTagManagerFactory.php +++ b/lib/public/SystemTag/ISystemTagManagerFactory.php @@ -23,7 +23,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\SystemTag; use OCP\IServerContainer; diff --git a/lib/public/SystemTag/ISystemTagObjectMapper.php b/lib/public/SystemTag/ISystemTagObjectMapper.php index 4e774102db5184fead06fb261e538d5068ad0c52..4d9cb24a2e8e013a12b3db11e416c52bb195d28a 100644 --- a/lib/public/SystemTag/ISystemTagObjectMapper.php +++ b/lib/public/SystemTag/ISystemTagObjectMapper.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\SystemTag; /** diff --git a/lib/public/SystemTag/ManagerEvent.php b/lib/public/SystemTag/ManagerEvent.php index 45cd35fc821212eb97adfabef1f7d4d778a103c3..738cd1c748da773256105a8efe15268d0583a9a9 100644 --- a/lib/public/SystemTag/ManagerEvent.php +++ b/lib/public/SystemTag/ManagerEvent.php @@ -26,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\SystemTag; use OCP\EventDispatcher\Event; diff --git a/lib/public/SystemTag/MapperEvent.php b/lib/public/SystemTag/MapperEvent.php index a8fc30771f41396422e69521a19cf8bdb00de82d..cf686fa5ff661cc247b6d6e7926f3ed53752ad66 100644 --- a/lib/public/SystemTag/MapperEvent.php +++ b/lib/public/SystemTag/MapperEvent.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\SystemTag; use OCP\EventDispatcher\Event; diff --git a/lib/public/SystemTag/SystemTagsEntityEvent.php b/lib/public/SystemTag/SystemTagsEntityEvent.php index 33acecdcd2dbeb3237b54e75f2346598e58ff91f..5ef78c25728f8112006933a70877e097aa9b4fcb 100644 --- a/lib/public/SystemTag/SystemTagsEntityEvent.php +++ b/lib/public/SystemTag/SystemTagsEntityEvent.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\SystemTag; use OCP\EventDispatcher\Event; diff --git a/lib/public/SystemTag/TagAlreadyExistsException.php b/lib/public/SystemTag/TagAlreadyExistsException.php index e7114d52f065e295b051703970f850ef46c19feb..23c36a376f604293c8d420348bfe051d8b686497 100644 --- a/lib/public/SystemTag/TagAlreadyExistsException.php +++ b/lib/public/SystemTag/TagAlreadyExistsException.php @@ -23,7 +23,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\SystemTag; /** diff --git a/lib/public/SystemTag/TagNotFoundException.php b/lib/public/SystemTag/TagNotFoundException.php index a689a689141641a44d45c263da78911305ff831b..1e9ac3c7503d6cb207cb1715791a974dbca5d915 100644 --- a/lib/public/SystemTag/TagNotFoundException.php +++ b/lib/public/SystemTag/TagNotFoundException.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCP\SystemTag; /** diff --git a/lib/public/Template.php b/lib/public/Template.php index aebd824f37feaa399346ba22e2b0a23636c9916b..c66f46798b3094abd19064ec7750540565534bef 100644 --- a/lib/public/Template.php +++ b/lib/public/Template.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCP; /** diff --git a/lib/public/User/Backend/ABackend.php b/lib/public/User/Backend/ABackend.php index a57a561369b6a02c7f64b4317b0bf95fb8a06e05..dff705e0806f0697e0313b3b5d4f0f6a06e2122d 100644 --- a/lib/public/User/Backend/ABackend.php +++ b/lib/public/User/Backend/ABackend.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Backend; use OC\User\Backend; diff --git a/lib/public/User/Backend/ICheckPasswordBackend.php b/lib/public/User/Backend/ICheckPasswordBackend.php index ee71cff219589d689ee13e73bebe26ce03fb3d51..b3eaf7cedb0857665a4536d6b99bb9aa01775ab5 100644 --- a/lib/public/User/Backend/ICheckPasswordBackend.php +++ b/lib/public/User/Backend/ICheckPasswordBackend.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Backend; /** diff --git a/lib/public/User/Backend/ICountUsersBackend.php b/lib/public/User/Backend/ICountUsersBackend.php index 1ef0d4c366190e33bd066a8396065eaa62ae48dc..52f947a654ded9b4076707e204a133aa2212dbd9 100644 --- a/lib/public/User/Backend/ICountUsersBackend.php +++ b/lib/public/User/Backend/ICountUsersBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Backend; /** diff --git a/lib/public/User/Backend/ICreateUserBackend.php b/lib/public/User/Backend/ICreateUserBackend.php index 015351eebb8c9ce61a26efb4fcf8d73dacbf75e9..a33cec5801025a538a915fa4e7118455c5625333 100644 --- a/lib/public/User/Backend/ICreateUserBackend.php +++ b/lib/public/User/Backend/ICreateUserBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Backend; /** diff --git a/lib/public/User/Backend/ICustomLogout.php b/lib/public/User/Backend/ICustomLogout.php index b72141916a5df45050afa43a7bcbf278a0885097..ec104d5ef42253f34cf637ec454b8982b458d6cf 100644 --- a/lib/public/User/Backend/ICustomLogout.php +++ b/lib/public/User/Backend/ICustomLogout.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Backend; /** diff --git a/lib/public/User/Backend/IGetDisplayNameBackend.php b/lib/public/User/Backend/IGetDisplayNameBackend.php index 64c3713536c4bfcb218f605c30d579c72dabf4a4..1c3ed287f3759d7257e20a157370e2f65b6ac6e8 100644 --- a/lib/public/User/Backend/IGetDisplayNameBackend.php +++ b/lib/public/User/Backend/IGetDisplayNameBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Backend; /** diff --git a/lib/public/User/Backend/IGetHomeBackend.php b/lib/public/User/Backend/IGetHomeBackend.php index aa9b278ac5533eea32e89d6d2cc0362f1e7159fb..45ef5b6b21510959cfbb73b47b5c77ed044ef11e 100644 --- a/lib/public/User/Backend/IGetHomeBackend.php +++ b/lib/public/User/Backend/IGetHomeBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Backend; /** diff --git a/lib/public/User/Backend/IGetRealUIDBackend.php b/lib/public/User/Backend/IGetRealUIDBackend.php index cc290eb6dc0b8458e2533e0108eac46a31bc335a..5d618b294d931f05e1e68b17528e70b8557a575f 100644 --- a/lib/public/User/Backend/IGetRealUIDBackend.php +++ b/lib/public/User/Backend/IGetRealUIDBackend.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019, Roeland Jago Douma * + * @author Joas Schilling * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Backend; /** diff --git a/lib/public/User/Backend/IPasswordConfirmationBackend.php b/lib/public/User/Backend/IPasswordConfirmationBackend.php index de454b81d5c947aa18226a785def4107c7eb2089..3c6d14c3f1de5ca9b1687040a087d5ccaeb5bedc 100644 --- a/lib/public/User/Backend/IPasswordConfirmationBackend.php +++ b/lib/public/User/Backend/IPasswordConfirmationBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Backend; /** diff --git a/lib/public/User/Backend/IProvideAvatarBackend.php b/lib/public/User/Backend/IProvideAvatarBackend.php index 62dee1f5ca48fa4eb62536f8271d436cde39e030..fe4bb841f727955fa87fa866e2b4b9710183c4aa 100644 --- a/lib/public/User/Backend/IProvideAvatarBackend.php +++ b/lib/public/User/Backend/IProvideAvatarBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Backend; /** diff --git a/lib/public/User/Backend/ISearchKnownUsersBackend.php b/lib/public/User/Backend/ISearchKnownUsersBackend.php index 89c7a49cd308fab7000286a2a543ba8575076376..60a147dc62c08708f23c7143dd4a4f7816d482e2 100644 --- a/lib/public/User/Backend/ISearchKnownUsersBackend.php +++ b/lib/public/User/Backend/ISearchKnownUsersBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Backend; /** diff --git a/lib/public/User/Backend/ISetDisplayNameBackend.php b/lib/public/User/Backend/ISetDisplayNameBackend.php index da774d923e0e62ad80aed0bd0960459731ba8c81..922d356bfd738a32a28139ff1ea36abeae30df4c 100644 --- a/lib/public/User/Backend/ISetDisplayNameBackend.php +++ b/lib/public/User/Backend/ISetDisplayNameBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Backend; /** diff --git a/lib/public/User/Backend/ISetPasswordBackend.php b/lib/public/User/Backend/ISetPasswordBackend.php index a3cbed67ff33c200b454ef51f9110cb48d4b1bdc..2ba992286eca7bb8f9bb982ff6cb0f3d6d4f2e4f 100644 --- a/lib/public/User/Backend/ISetPasswordBackend.php +++ b/lib/public/User/Backend/ISetPasswordBackend.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Backend; /** diff --git a/lib/public/User/Events/BeforePasswordUpdatedEvent.php b/lib/public/User/Events/BeforePasswordUpdatedEvent.php index f41ee6e1b8df8c1f542a60195c746852bbc6d0d5..a35659eccf4fe890efeb2ddfcb0b9a6ade497b38 100644 --- a/lib/public/User/Events/BeforePasswordUpdatedEvent.php +++ b/lib/public/User/Events/BeforePasswordUpdatedEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/Events/BeforeUserCreatedEvent.php b/lib/public/User/Events/BeforeUserCreatedEvent.php index 30c21575ec26426d7aef4a347c7186aaa2704849..11575428839d0f5eafd07ec77408fff99e0bcbc7 100644 --- a/lib/public/User/Events/BeforeUserCreatedEvent.php +++ b/lib/public/User/Events/BeforeUserCreatedEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/Events/BeforeUserDeletedEvent.php b/lib/public/User/Events/BeforeUserDeletedEvent.php index 84e912a95207fc9ff352c67f37cda74d02d9b05b..511128b5d93ef8b2372cfab76e826e848ac9a498 100644 --- a/lib/public/User/Events/BeforeUserDeletedEvent.php +++ b/lib/public/User/Events/BeforeUserDeletedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/Events/BeforeUserLoggedInEvent.php b/lib/public/User/Events/BeforeUserLoggedInEvent.php index cec7b8ca29e505712881e51bb2847a286365ba22..e39cd0f116d15ff484eb650d76bf0f27dc07e0c5 100644 --- a/lib/public/User/Events/BeforeUserLoggedInEvent.php +++ b/lib/public/User/Events/BeforeUserLoggedInEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/Events/BeforeUserLoggedInWithCookieEvent.php b/lib/public/User/Events/BeforeUserLoggedInWithCookieEvent.php index 315046cfc090a3b279749a3c9e161dd4f7dbf99f..d86892c52ff6ce471c6fae18067f5c518b7938b9 100644 --- a/lib/public/User/Events/BeforeUserLoggedInWithCookieEvent.php +++ b/lib/public/User/Events/BeforeUserLoggedInWithCookieEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/Events/BeforeUserLoggedOutEvent.php b/lib/public/User/Events/BeforeUserLoggedOutEvent.php index c0967dd19eab2b26be55cc7a57f1f4d8986200dd..88a365b0eb844739040d7633776580017c5549e5 100644 --- a/lib/public/User/Events/BeforeUserLoggedOutEvent.php +++ b/lib/public/User/Events/BeforeUserLoggedOutEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/Events/PasswordUpdatedEvent.php b/lib/public/User/Events/PasswordUpdatedEvent.php index 5c3af0b2b411200e25889a8b4ede2392814f8f49..335557835c7a534e0b401ea08582bf54bdf7898b 100644 --- a/lib/public/User/Events/PasswordUpdatedEvent.php +++ b/lib/public/User/Events/PasswordUpdatedEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/Events/PostLoginEvent.php b/lib/public/User/Events/PostLoginEvent.php index fb7df7677ee01ecbe0182bc0d9afcc01904c3001..e481b552e3bd417bbd1e636ee02725f6e551825d 100644 --- a/lib/public/User/Events/PostLoginEvent.php +++ b/lib/public/User/Events/PostLoginEvent.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/Events/UserChangedEvent.php b/lib/public/User/Events/UserChangedEvent.php index 095e0d17c0b56079968f7f096f4008bf84ee480a..3a40f8c3f11adc2321d8d2de366678f8d84b4ec7 100644 --- a/lib/public/User/Events/UserChangedEvent.php +++ b/lib/public/User/Events/UserChangedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/Events/UserCreatedEvent.php b/lib/public/User/Events/UserCreatedEvent.php index 190a900f3d681804ac103136f77d4de78a7b0bcf..958d93d56ff33f748e82c3eafff08ac363328b11 100644 --- a/lib/public/User/Events/UserCreatedEvent.php +++ b/lib/public/User/Events/UserCreatedEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/Events/UserDeletedEvent.php b/lib/public/User/Events/UserDeletedEvent.php index 8e081c44407b88f6e64f0865e8fc57bb7d9783c6..8db7d0f2c7497a44c3c84bc0de9503048a7fbacc 100644 --- a/lib/public/User/Events/UserDeletedEvent.php +++ b/lib/public/User/Events/UserDeletedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/Events/UserLiveStatusEvent.php b/lib/public/User/Events/UserLiveStatusEvent.php index 2d85fe1f2c64d70a6c1a6628d8999bec4f883acb..dd90400cb3b42b4b77ee3e607b6ffd2a61f511cb 100644 --- a/lib/public/User/Events/UserLiveStatusEvent.php +++ b/lib/public/User/Events/UserLiveStatusEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/Events/UserLoggedInEvent.php b/lib/public/User/Events/UserLoggedInEvent.php index 7d0c0bf41de664a32f4944d17d74c1377080c8d2..b9b36544231fa2a797892e1e60f0e0a4afccb9a9 100644 --- a/lib/public/User/Events/UserLoggedInEvent.php +++ b/lib/public/User/Events/UserLoggedInEvent.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Roeland Jago Douma * * @author Christoph Wurst + * @author Joas Schilling * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/Events/UserLoggedInWithCookieEvent.php b/lib/public/User/Events/UserLoggedInWithCookieEvent.php index b801a71b9897e061dced9a17b567e5fcc2be78dc..245c1f434f0e0ca727243593bc00558b2fef13ae 100644 --- a/lib/public/User/Events/UserLoggedInWithCookieEvent.php +++ b/lib/public/User/Events/UserLoggedInWithCookieEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/Events/UserLoggedOutEvent.php b/lib/public/User/Events/UserLoggedOutEvent.php index 887c83475e5d188f443d1dc835792763a195145c..3e1472cc6ee9a705eaff955226d90cedbcf5d880 100644 --- a/lib/public/User/Events/UserLoggedOutEvent.php +++ b/lib/public/User/Events/UserLoggedOutEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/User/GetQuotaEvent.php b/lib/public/User/GetQuotaEvent.php index d5b9f62504156a51e819b1ae182a3603be538bbf..369f57620914b936fa6cf76ced35c5e63aba8e7c 100644 --- a/lib/public/User/GetQuotaEvent.php +++ b/lib/public/User/GetQuotaEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\User; use OCP\EventDispatcher\Event; diff --git a/lib/public/UserInterface.php b/lib/public/UserInterface.php index 42a18cca1032c49aec717a5091073b46f1381393..c5fcc32276a4c1c4d023c37df0b6106b2efe3698 100644 --- a/lib/public/UserInterface.php +++ b/lib/public/UserInterface.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Arthur Schiwon + * @author Joas Schilling * @author Jörn Friedrich Dreyer * @author Morris Jobke * @author Roeland Jago Douma @@ -22,13 +23,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * User Interface - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/UserStatus/IManager.php b/lib/public/UserStatus/IManager.php index 61d93e6df0a0baefba0a75b92de000ff3d8545f0..2f56ca179444d0744362a70a001c4a38773eefb4 100644 --- a/lib/public/UserStatus/IManager.php +++ b/lib/public/UserStatus/IManager.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\UserStatus; /** diff --git a/lib/public/UserStatus/IProvider.php b/lib/public/UserStatus/IProvider.php index 20575aa441b160d82c850ae9e63915289cc27791..ba463e29f4d01afb79f8b15b01303d97f66b1ce3 100644 --- a/lib/public/UserStatus/IProvider.php +++ b/lib/public/UserStatus/IProvider.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\UserStatus; /** diff --git a/lib/public/UserStatus/IUserStatus.php b/lib/public/UserStatus/IUserStatus.php index 3e606e3871212503bded4eb7b4f52912d74167cb..bf743dea08dcbaae0aaa15acff1b50c928b9dbc2 100644 --- a/lib/public/UserStatus/IUserStatus.php +++ b/lib/public/UserStatus/IUserStatus.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\UserStatus; use DateTimeImmutable; diff --git a/lib/public/Util.php b/lib/public/Util.php index 3281c9cceec8ca249b84e1ace20962fb8f8212b9..5165846707a6612e8b418715db1a2bc78b334c84 100644 --- a/lib/public/Util.php +++ b/lib/public/Util.php @@ -12,7 +12,6 @@ * @author J0WI * @author Jens-Christian Fischer * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) * @author Julius Härtl * @author Lukas Reschke * @author Michael Gapczynski @@ -41,13 +40,6 @@ * along with this program. If not, see * */ - -/** - * Public interface of ownCloud for apps to use. - * Utility Class. - * - */ - // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes diff --git a/lib/public/WorkflowEngine/EntityContext/IContextPortation.php b/lib/public/WorkflowEngine/EntityContext/IContextPortation.php index 33983eac12642fb74bfd4111b1ee501a4a6c4dcf..079151d70b16468f45e084eb473ffca982c64921 100644 --- a/lib/public/WorkflowEngine/EntityContext/IContextPortation.php +++ b/lib/public/WorkflowEngine/EntityContext/IContextPortation.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine\EntityContext; /** diff --git a/lib/public/WorkflowEngine/EntityContext/IDisplayName.php b/lib/public/WorkflowEngine/EntityContext/IDisplayName.php index 4a7c3c124638765f276843b1b1fc9fd793e34a84..9a1cd19e19962461e5c0c9b365bed0c6f9d7c20a 100644 --- a/lib/public/WorkflowEngine/EntityContext/IDisplayName.php +++ b/lib/public/WorkflowEngine/EntityContext/IDisplayName.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine\EntityContext; /** diff --git a/lib/public/WorkflowEngine/EntityContext/IDisplayText.php b/lib/public/WorkflowEngine/EntityContext/IDisplayText.php index 513de8815c58bf505e534833cc7dbe44ccc542e9..c840bd56fb78c535905d1118f21cbf351eda68b3 100644 --- a/lib/public/WorkflowEngine/EntityContext/IDisplayText.php +++ b/lib/public/WorkflowEngine/EntityContext/IDisplayText.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine\EntityContext; /** diff --git a/lib/public/WorkflowEngine/EntityContext/IIcon.php b/lib/public/WorkflowEngine/EntityContext/IIcon.php index 1e4c83de48e666ed7ba50e2ecc217fab93016362..9c9629b2c8f87aea0793cc3f1ed61c29d69a6a40 100644 --- a/lib/public/WorkflowEngine/EntityContext/IIcon.php +++ b/lib/public/WorkflowEngine/EntityContext/IIcon.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine\EntityContext; /** diff --git a/lib/public/WorkflowEngine/EntityContext/IUrl.php b/lib/public/WorkflowEngine/EntityContext/IUrl.php index c15cb950b43f79f1939fd3827f50a5c97386289a..7a615f07e3e4a2da8b489a8da26d1d04be01166d 100644 --- a/lib/public/WorkflowEngine/EntityContext/IUrl.php +++ b/lib/public/WorkflowEngine/EntityContext/IUrl.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine\EntityContext; /** diff --git a/lib/public/WorkflowEngine/Events/LoadSettingsScriptsEvent.php b/lib/public/WorkflowEngine/Events/LoadSettingsScriptsEvent.php index 1dddd8a357ebd62c823b0d8da07d83d5207c5e94..a5ae76f47b15fd5696310826f86e6561099c040f 100644 --- a/lib/public/WorkflowEngine/Events/LoadSettingsScriptsEvent.php +++ b/lib/public/WorkflowEngine/Events/LoadSettingsScriptsEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/WorkflowEngine/Events/RegisterChecksEvent.php b/lib/public/WorkflowEngine/Events/RegisterChecksEvent.php index 57249fe229c7e7be12a4f7393b35173e144a2571..7f36dbbc1b4d9a47d5973cab74e3d1f3369b4c33 100644 --- a/lib/public/WorkflowEngine/Events/RegisterChecksEvent.php +++ b/lib/public/WorkflowEngine/Events/RegisterChecksEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/WorkflowEngine/Events/RegisterEntitiesEvent.php b/lib/public/WorkflowEngine/Events/RegisterEntitiesEvent.php index 222b6b5faf2a63a1fe8a7d0a8760cd3cc6c1d9c9..5fd87490ff979a116b82d8b7cd87bd84da69392a 100644 --- a/lib/public/WorkflowEngine/Events/RegisterEntitiesEvent.php +++ b/lib/public/WorkflowEngine/Events/RegisterEntitiesEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/WorkflowEngine/Events/RegisterOperationsEvent.php b/lib/public/WorkflowEngine/Events/RegisterOperationsEvent.php index 8f9641887738d32ed60c6704695a389ac11bb2c9..a94f181139becb7978e29f3678438659fe37c7b7 100644 --- a/lib/public/WorkflowEngine/Events/RegisterOperationsEvent.php +++ b/lib/public/WorkflowEngine/Events/RegisterOperationsEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine\Events; use OCP\EventDispatcher\Event; diff --git a/lib/public/WorkflowEngine/GenericEntityEvent.php b/lib/public/WorkflowEngine/GenericEntityEvent.php index d88654c5e0ceb53c62463fa9f24109bec28a48cf..64aee909a0df55bb661e5c9e17458296b725e6a9 100644 --- a/lib/public/WorkflowEngine/GenericEntityEvent.php +++ b/lib/public/WorkflowEngine/GenericEntityEvent.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine; /** diff --git a/lib/public/WorkflowEngine/ICheck.php b/lib/public/WorkflowEngine/ICheck.php index 8ebb6e1335fe85ffb9d3ac29bec48a75b9a4fd9b..9f482540779499d52be17ab562b478f7e0f93eb6 100644 --- a/lib/public/WorkflowEngine/ICheck.php +++ b/lib/public/WorkflowEngine/ICheck.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine; /** diff --git a/lib/public/WorkflowEngine/IComplexOperation.php b/lib/public/WorkflowEngine/IComplexOperation.php index 0fdaaa319708a218d8bb0b564ae27410ca7b63ec..f15580f0216befa5f7d64db4bacf5a8ce9dad494 100644 --- a/lib/public/WorkflowEngine/IComplexOperation.php +++ b/lib/public/WorkflowEngine/IComplexOperation.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine; /** diff --git a/lib/public/WorkflowEngine/IEntity.php b/lib/public/WorkflowEngine/IEntity.php index 543fb5a95042f7dd50a22e19bdf34879f645c3d6..38da66384a0fc71a3606d9ed4f58cb6919d088ba 100644 --- a/lib/public/WorkflowEngine/IEntity.php +++ b/lib/public/WorkflowEngine/IEntity.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine; use OCP\EventDispatcher\Event; diff --git a/lib/public/WorkflowEngine/IEntityCheck.php b/lib/public/WorkflowEngine/IEntityCheck.php index 6a90796356d23fc9fb98b8da95a85a490f7f75d9..6c8e69cb23fa5436c81ccbf9fd6fa1c590d406b1 100644 --- a/lib/public/WorkflowEngine/IEntityCheck.php +++ b/lib/public/WorkflowEngine/IEntityCheck.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine; /** diff --git a/lib/public/WorkflowEngine/IEntityCompat.php b/lib/public/WorkflowEngine/IEntityCompat.php index 4e8337cf5af589fed5a903ec008761b28262847e..a1c6d20c034ecff70d3e70ac4707051293831e16 100644 --- a/lib/public/WorkflowEngine/IEntityCompat.php +++ b/lib/public/WorkflowEngine/IEntityCompat.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine; /** diff --git a/lib/public/WorkflowEngine/IEntityEvent.php b/lib/public/WorkflowEngine/IEntityEvent.php index 4f90e14e75898f4183a9128cca4e1de7a0aaf512..8faed8b266c116acf37cd8f3584cd834aa5d9ee5 100644 --- a/lib/public/WorkflowEngine/IEntityEvent.php +++ b/lib/public/WorkflowEngine/IEntityEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine; /** diff --git a/lib/public/WorkflowEngine/IFileCheck.php b/lib/public/WorkflowEngine/IFileCheck.php index a06414190f8d4d0195e9e91d39bd2d2287007240..f8f7c7dce4d3185281cc764d4b15cb5b8d79d9e2 100644 --- a/lib/public/WorkflowEngine/IFileCheck.php +++ b/lib/public/WorkflowEngine/IFileCheck.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine; use OCP\Files\Storage\IStorage; diff --git a/lib/public/WorkflowEngine/IManager.php b/lib/public/WorkflowEngine/IManager.php index 579cb4cd149c13ebd85256f28ea592168b29e48f..f09d51eb15923df793f2ae9d723d6704db413a21 100644 --- a/lib/public/WorkflowEngine/IManager.php +++ b/lib/public/WorkflowEngine/IManager.php @@ -16,14 +16,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine; /** diff --git a/lib/public/WorkflowEngine/IOperation.php b/lib/public/WorkflowEngine/IOperation.php index b30246edbc8b0dd0a3b41b9e8e599cd5a6e234bb..3ef810438e0c34dfdbc79736d32cec2a075e465a 100644 --- a/lib/public/WorkflowEngine/IOperation.php +++ b/lib/public/WorkflowEngine/IOperation.php @@ -14,14 +14,13 @@ * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine; use OCP\EventDispatcher\Event; diff --git a/lib/public/WorkflowEngine/IOperationCompat.php b/lib/public/WorkflowEngine/IOperationCompat.php index ff03d0b5e3dba137016851d9481027fe89f7a5f7..3e5f58a2867cf73f0f6dc5ffb275676b5befe95b 100644 --- a/lib/public/WorkflowEngine/IOperationCompat.php +++ b/lib/public/WorkflowEngine/IOperationCompat.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine; /** diff --git a/lib/public/WorkflowEngine/IRuleMatcher.php b/lib/public/WorkflowEngine/IRuleMatcher.php index 06a5d1680b0ea48ae11925a0db315161d14c8044..efae0cb79c376baebdb27260a4ed97ea1d8918ca 100644 --- a/lib/public/WorkflowEngine/IRuleMatcher.php +++ b/lib/public/WorkflowEngine/IRuleMatcher.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine; use RuntimeException; diff --git a/lib/public/WorkflowEngine/ISpecificOperation.php b/lib/public/WorkflowEngine/ISpecificOperation.php index 7fc12db6af5ef64c513dfcac9d843ab144737aa4..9c031d9086b1dad056f0f3a7165c4292d533f269 100644 --- a/lib/public/WorkflowEngine/ISpecificOperation.php +++ b/lib/public/WorkflowEngine/ISpecificOperation.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * 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 + * 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 program. If not, see . * */ - namespace OCP\WorkflowEngine; /** diff --git a/lib/versioncheck.php b/lib/versioncheck.php index 83ee705a77bd2ba6f8bbedebabe8d79d1757fbf8..d4e3e58a0c1955bb59f1c1f7250f3295a7cb7ad4 100644 --- a/lib/versioncheck.php +++ b/lib/versioncheck.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Roeland Jago Douma * * @author Christoph Wurst * @author Morris Jobke @@ -18,7 +18,7 @@ declare(strict_types=1); * * 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 + * 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 diff --git a/ocs/providers.php b/ocs/providers.php index ba1594d30eeaa2393ca64e19113bea43ef9b643f..34f931ad94086fdec9b97e0db6724494bb6a6404 100644 --- a/ocs/providers.php +++ b/ocs/providers.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - require_once __DIR__ . '/../lib/versioncheck.php'; require_once __DIR__ . '/../lib/base.php'; diff --git a/ocs/v1.php b/ocs/v1.php index 3a30e7d211865eea40766b94e6951d6a5e3b0519..d596a1b0fd38609e90cb580f368db0529bb82d00 100644 --- a/ocs/v1.php +++ b/ocs/v1.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - require_once __DIR__ . '/../lib/versioncheck.php'; require_once __DIR__ . '/../lib/base.php'; diff --git a/ocs/v2.php b/ocs/v2.php index c0c4f795fa2e8ba111e228e58090514bc39be1ad..bb594b6990e763e1ed503cd7938b266b455da4a0 100644 --- a/ocs/v2.php +++ b/ocs/v2.php @@ -20,5 +20,4 @@ * along with this program. If not, see * */ - require_once __DIR__ . '/v1.php'; diff --git a/public.php b/public.php index 332f55e960c63f0335172fcf3ebb617aabdd39d3..d9d15d7d5424f9193f331d0163a306c3c66a14a3 100644 --- a/public.php +++ b/public.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - require_once __DIR__ . '/lib/versioncheck.php'; try { diff --git a/remote.php b/remote.php index 1590ac70dfc4470ae4493639166b0668bdf5a7fa..69e3a53eeece7a5ba354d04f2ce5621e5782f0ce 100644 --- a/remote.php +++ b/remote.php @@ -31,7 +31,6 @@ * along with this program. If not, see * */ - require_once __DIR__ . '/lib/versioncheck.php'; use OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin; diff --git a/status.php b/status.php index a92a2af776607d04e8e414610f1d5b5aae58c8de..200f8461f76b350e55921e59d09a09bb1b2b25aa 100644 --- a/status.php +++ b/status.php @@ -31,7 +31,6 @@ * along with this program. If not, see * */ - require_once __DIR__ . '/lib/versioncheck.php'; try { diff --git a/version.php b/version.php index bee5de42ac7e344323bf3cc3a0aa7a0126358eef..ea8ec9fbad9818d489d08e06c126865d47707a1c 100644 --- a/version.php +++ b/version.php @@ -2,13 +2,13 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Arthur Schiwon * @author Christoph Wurst * @author Frank Karlitschek * @author Joas Schilling * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke - * @author Roeland Jago Douma * @author Vincent Petry * * @license AGPL-3.0