From 11b2066922381a761265eddbbc0e1feff8a875e0 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Thu, 16 Nov 2017 20:23:18 -0500 Subject: [PATCH] Added per-file legal boilerplate Includes PHPDoc license tag in the file-level block with accompanying copyright notice. Also added an AUTHORS file on the off chance of outside contributions --- .php_cs.dist | 4 ++++ AUTHORS | 4 ++++ arsse.php | 4 ++++ lib/AbstractException.php | 4 ++++ lib/Arsse.php | 4 ++++ lib/CLI.php | 4 ++++ lib/Conf.php | 4 ++++ lib/Conf/Exception.php | 4 ++++ lib/Database.php | 4 ++++ lib/Db/AbstractDriver.php | 4 ++++ lib/Db/AbstractResult.php | 4 ++++ lib/Db/AbstractStatement.php | 4 ++++ lib/Db/Driver.php | 4 ++++ lib/Db/Exception.php | 4 ++++ lib/Db/ExceptionInput.php | 4 ++++ lib/Db/ExceptionTimeout.php | 4 ++++ lib/Db/Result.php | 4 ++++ lib/Db/SQLite3/Driver.php | 4 ++++ lib/Db/SQLite3/ExceptionBuilder.php | 4 ++++ lib/Db/SQLite3/Result.php | 4 ++++ lib/Db/SQLite3/Statement.php | 4 ++++ lib/Db/Statement.php | 4 ++++ lib/Db/Transaction.php | 4 ++++ lib/Exception.php | 4 ++++ lib/ExceptionFatal.php | 4 ++++ lib/ExceptionType.php | 4 ++++ lib/Feed.php | 4 ++++ lib/Feed/Exception.php | 4 ++++ lib/Lang.php | 4 ++++ lib/Lang/Exception.php | 4 ++++ lib/Misc/Context.php | 4 ++++ lib/Misc/Date.php | 4 ++++ lib/Misc/Query.php | 4 ++++ lib/Misc/ValueInfo.php | 4 ++++ lib/REST.php | 4 ++++ lib/REST/AbstractHandler.php | 4 ++++ lib/REST/Exception.php | 4 ++++ lib/REST/Exception405.php | 4 ++++ lib/REST/Exception501.php | 4 ++++ lib/REST/Handler.php | 4 ++++ lib/REST/NextCloudNews/V1_2.php | 4 ++++ lib/REST/NextCloudNews/Versions.php | 4 ++++ lib/REST/Request.php | 4 ++++ lib/REST/Response.php | 4 ++++ lib/Service.php | 4 ++++ lib/Service/Curl/Driver.php | 4 ++++ lib/Service/Driver.php | 4 ++++ lib/Service/Forking/Driver.php | 4 ++++ lib/Service/Internal/Driver.php | 4 ++++ lib/User.php | 4 ++++ lib/User/Driver.php | 4 ++++ lib/User/Exception.php | 4 ++++ lib/User/ExceptionAuthz.php | 4 ++++ lib/User/ExceptionNotImplemented.php | 4 ++++ lib/User/Internal/Driver.php | 4 ++++ lib/User/Internal/InternalFunctions.php | 4 ++++ locale/en.php | 4 ++++ sql/SQLite3/0.sql | 4 ++++ tests/Conf/TestConf.php | 4 ++++ tests/Db/SQLite3/Database/TestDatabaseArticleSQLite3.php | 4 ++++ tests/Db/SQLite3/Database/TestDatabaseCleanupSQLite3.php | 4 ++++ tests/Db/SQLite3/Database/TestDatabaseFeedSQLite3.php | 4 ++++ tests/Db/SQLite3/Database/TestDatabaseFolderSQLite3.php | 4 ++++ tests/Db/SQLite3/Database/TestDatabaseMetaSQLite3.php | 4 ++++ tests/Db/SQLite3/Database/TestDatabaseMiscellanySQLite3.php | 4 ++++ tests/Db/SQLite3/Database/TestDatabaseSubscriptionSQLite3.php | 4 ++++ tests/Db/SQLite3/Database/TestDatabaseUserSQLite3.php | 4 ++++ tests/Db/SQLite3/TestDbDriverCreationSQLite3.php | 4 ++++ tests/Db/SQLite3/TestDbDriverSQLite3.php | 4 ++++ tests/Db/SQLite3/TestDbResultSQLite3.php | 4 ++++ tests/Db/SQLite3/TestDbStatementSQLite3.php | 4 ++++ tests/Db/SQLite3/TestDbUpdateSQLite3.php | 4 ++++ tests/Db/TestTransaction.php | 4 ++++ tests/Exception/TestException.php | 4 ++++ tests/Feed/TestFeed.php | 4 ++++ tests/Feed/TestFeedFetching.php | 4 ++++ tests/Lang/TestLang.php | 4 ++++ tests/Lang/TestLangErrors.php | 4 ++++ tests/Lang/testLangComplex.php | 4 ++++ tests/Misc/TestContext.php | 4 ++++ tests/Misc/TestValueInfo.php | 4 ++++ tests/REST/NextCloudNews/TestNCNV1_2.php | 4 ++++ tests/REST/NextCloudNews/TestNCNVersionDiscovery.php | 4 ++++ tests/Service/TestService.php | 4 ++++ tests/User/TestAuthorization.php | 4 ++++ tests/User/TestUserInternalDriver.php | 4 ++++ tests/User/TestUserMockExternal.php | 4 ++++ tests/User/TestUserMockInternal.php | 4 ++++ tests/bootstrap.php | 4 ++++ tests/lib/AbstractTest.php | 4 ++++ tests/lib/Database.php | 4 ++++ tests/lib/Database/DriverSQLite3.php | 4 ++++ tests/lib/Database/SeriesArticle.php | 4 ++++ tests/lib/Database/SeriesCleanup.php | 4 ++++ tests/lib/Database/SeriesFeed.php | 4 ++++ tests/lib/Database/SeriesFolder.php | 4 ++++ tests/lib/Database/SeriesMeta.php | 4 ++++ tests/lib/Database/SeriesMiscellany.php | 4 ++++ tests/lib/Database/SeriesSubscription.php | 4 ++++ tests/lib/Database/SeriesUser.php | 4 ++++ tests/lib/Database/Setup.php | 4 ++++ tests/lib/Db/BindingTests.php | 4 ++++ tests/lib/Lang/Setup.php | 4 ++++ tests/lib/Lang/TestLang.php | 4 ++++ tests/lib/Misc/StrClass.php | 4 ++++ tests/lib/Result.php | 4 ++++ tests/lib/User/CommonTests.php | 4 ++++ tests/lib/User/Database.php | 4 ++++ tests/lib/User/DriverExternalMock.php | 4 ++++ tests/lib/User/DriverInternalMock.php | 4 ++++ tests/lib/User/DriverSkeleton.php | 4 ++++ tests/server.php | 4 ++++ 112 files changed, 448 insertions(+) create mode 100644 AUTHORS diff --git a/.php_cs.dist b/.php_cs.dist index 1410543..3b91594 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -1,4 +1,8 @@ 'SQLite 3', 'Driver.Service.Curl.Name' => 'HTTP (curl)', diff --git a/sql/SQLite3/0.sql b/sql/SQLite3/0.sql index 9a725a7..b69c295 100644 --- a/sql/SQLite3/0.sql +++ b/sql/SQLite3/0.sql @@ -1,3 +1,7 @@ +-- SPDX-License-Identifier: MIT +-- Copyright 2017 J. King, Dustin Wilson et al. +-- See LICENSE and AUTHORS files for details + -- metadata create table arsse_meta( key text primary key not null, -- metadata key diff --git a/tests/Conf/TestConf.php b/tests/Conf/TestConf.php index ad2bb13..d03e79c 100644 --- a/tests/Conf/TestConf.php +++ b/tests/Conf/TestConf.php @@ -1,4 +1,8 @@