Browse Source

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
J. King 1 year ago
parent
commit
11b2066922
100 changed files with 396 additions and 0 deletions
  1. 4
    0
      .php_cs.dist
  2. 4
    0
      AUTHORS
  3. 4
    0
      arsse.php
  4. 4
    0
      lib/AbstractException.php
  5. 4
    0
      lib/Arsse.php
  6. 4
    0
      lib/CLI.php
  7. 4
    0
      lib/Conf.php
  8. 4
    0
      lib/Conf/Exception.php
  9. 4
    0
      lib/Database.php
  10. 4
    0
      lib/Db/AbstractDriver.php
  11. 4
    0
      lib/Db/AbstractResult.php
  12. 4
    0
      lib/Db/AbstractStatement.php
  13. 4
    0
      lib/Db/Driver.php
  14. 4
    0
      lib/Db/Exception.php
  15. 4
    0
      lib/Db/ExceptionInput.php
  16. 4
    0
      lib/Db/ExceptionTimeout.php
  17. 4
    0
      lib/Db/Result.php
  18. 4
    0
      lib/Db/SQLite3/Driver.php
  19. 4
    0
      lib/Db/SQLite3/ExceptionBuilder.php
  20. 4
    0
      lib/Db/SQLite3/Result.php
  21. 4
    0
      lib/Db/SQLite3/Statement.php
  22. 4
    0
      lib/Db/Statement.php
  23. 4
    0
      lib/Db/Transaction.php
  24. 4
    0
      lib/Exception.php
  25. 4
    0
      lib/ExceptionFatal.php
  26. 4
    0
      lib/ExceptionType.php
  27. 4
    0
      lib/Feed.php
  28. 4
    0
      lib/Feed/Exception.php
  29. 4
    0
      lib/Lang.php
  30. 4
    0
      lib/Lang/Exception.php
  31. 4
    0
      lib/Misc/Context.php
  32. 4
    0
      lib/Misc/Date.php
  33. 4
    0
      lib/Misc/Query.php
  34. 4
    0
      lib/Misc/ValueInfo.php
  35. 4
    0
      lib/REST.php
  36. 4
    0
      lib/REST/AbstractHandler.php
  37. 4
    0
      lib/REST/Exception.php
  38. 4
    0
      lib/REST/Exception405.php
  39. 4
    0
      lib/REST/Exception501.php
  40. 4
    0
      lib/REST/Handler.php
  41. 4
    0
      lib/REST/NextCloudNews/V1_2.php
  42. 4
    0
      lib/REST/NextCloudNews/Versions.php
  43. 4
    0
      lib/REST/Request.php
  44. 4
    0
      lib/REST/Response.php
  45. 4
    0
      lib/Service.php
  46. 4
    0
      lib/Service/Curl/Driver.php
  47. 4
    0
      lib/Service/Driver.php
  48. 4
    0
      lib/Service/Forking/Driver.php
  49. 4
    0
      lib/Service/Internal/Driver.php
  50. 4
    0
      lib/User.php
  51. 4
    0
      lib/User/Driver.php
  52. 4
    0
      lib/User/Exception.php
  53. 4
    0
      lib/User/ExceptionAuthz.php
  54. 4
    0
      lib/User/ExceptionNotImplemented.php
  55. 4
    0
      lib/User/Internal/Driver.php
  56. 4
    0
      lib/User/Internal/InternalFunctions.php
  57. 4
    0
      locale/en.php
  58. 4
    0
      sql/SQLite3/0.sql
  59. 4
    0
      tests/Conf/TestConf.php
  60. 4
    0
      tests/Db/SQLite3/Database/TestDatabaseArticleSQLite3.php
  61. 4
    0
      tests/Db/SQLite3/Database/TestDatabaseCleanupSQLite3.php
  62. 4
    0
      tests/Db/SQLite3/Database/TestDatabaseFeedSQLite3.php
  63. 4
    0
      tests/Db/SQLite3/Database/TestDatabaseFolderSQLite3.php
  64. 4
    0
      tests/Db/SQLite3/Database/TestDatabaseMetaSQLite3.php
  65. 4
    0
      tests/Db/SQLite3/Database/TestDatabaseMiscellanySQLite3.php
  66. 4
    0
      tests/Db/SQLite3/Database/TestDatabaseSubscriptionSQLite3.php
  67. 4
    0
      tests/Db/SQLite3/Database/TestDatabaseUserSQLite3.php
  68. 4
    0
      tests/Db/SQLite3/TestDbDriverCreationSQLite3.php
  69. 4
    0
      tests/Db/SQLite3/TestDbDriverSQLite3.php
  70. 4
    0
      tests/Db/SQLite3/TestDbResultSQLite3.php
  71. 4
    0
      tests/Db/SQLite3/TestDbStatementSQLite3.php
  72. 4
    0
      tests/Db/SQLite3/TestDbUpdateSQLite3.php
  73. 4
    0
      tests/Db/TestTransaction.php
  74. 4
    0
      tests/Exception/TestException.php
  75. 4
    0
      tests/Feed/TestFeed.php
  76. 4
    0
      tests/Feed/TestFeedFetching.php
  77. 4
    0
      tests/Lang/TestLang.php
  78. 4
    0
      tests/Lang/TestLangErrors.php
  79. 4
    0
      tests/Lang/testLangComplex.php
  80. 4
    0
      tests/Misc/TestContext.php
  81. 4
    0
      tests/Misc/TestValueInfo.php
  82. 4
    0
      tests/REST/NextCloudNews/TestNCNV1_2.php
  83. 4
    0
      tests/REST/NextCloudNews/TestNCNVersionDiscovery.php
  84. 4
    0
      tests/Service/TestService.php
  85. 4
    0
      tests/User/TestAuthorization.php
  86. 4
    0
      tests/User/TestUserInternalDriver.php
  87. 4
    0
      tests/User/TestUserMockExternal.php
  88. 4
    0
      tests/User/TestUserMockInternal.php
  89. 4
    0
      tests/bootstrap.php
  90. 4
    0
      tests/lib/AbstractTest.php
  91. 4
    0
      tests/lib/Database.php
  92. 4
    0
      tests/lib/Database/DriverSQLite3.php
  93. 4
    0
      tests/lib/Database/SeriesArticle.php
  94. 4
    0
      tests/lib/Database/SeriesCleanup.php
  95. 4
    0
      tests/lib/Database/SeriesFeed.php
  96. 4
    0
      tests/lib/Database/SeriesFolder.php
  97. 4
    0
      tests/lib/Database/SeriesMeta.php
  98. 4
    0
      tests/lib/Database/SeriesMiscellany.php
  99. 4
    0
      tests/lib/Database/SeriesSubscription.php
  100. 0
    0
      tests/lib/Database/SeriesUser.php

+ 4
- 0
.php_cs.dist View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 namespace JKingWeb\Arsse;
3 7
 
4 8
 const BASE = __DIR__.DIRECTORY_SEPARATOR;

+ 4
- 0
AUTHORS View File

@@ -0,0 +1,4 @@
1
+Prohect leads
2
+-------------
3
+J. King         https://jkingweb.ca/
4
+Dustin Wilson   https://dustinwilson.com/

+ 4
- 0
arsse.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 namespace JKingWeb\Arsse;
3 7
 
4 8
 const BASE = __DIR__.DIRECTORY_SEPARATOR;

+ 4
- 0
lib/AbstractException.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
lib/Arsse.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
lib/CLI.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
lib/Conf.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 /** Conf class */
3 7
 declare(strict_types=1);
4 8
 namespace JKingWeb\Arsse;

+ 4
- 0
lib/Conf/Exception.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Conf;
4 8
 

+ 4
- 0
lib/Database.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
lib/Db/AbstractDriver.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Db;
4 8
 

+ 4
- 0
lib/Db/AbstractResult.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Db;
4 8
 

+ 4
- 0
lib/Db/AbstractStatement.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Db;
4 8
 

+ 4
- 0
lib/Db/Driver.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Db;
4 8
 

+ 4
- 0
lib/Db/Exception.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Db;
4 8
 

+ 4
- 0
lib/Db/ExceptionInput.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Db;
4 8
 

+ 4
- 0
lib/Db/ExceptionTimeout.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Db;
4 8
 

+ 4
- 0
lib/Db/Result.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Db;
4 8
 

+ 4
- 0
lib/Db/SQLite3/Driver.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Db\SQLite3;
4 8
 

+ 4
- 0
lib/Db/SQLite3/ExceptionBuilder.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Db\SQLite3;
4 8
 

+ 4
- 0
lib/Db/SQLite3/Result.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Db\SQLite3;
4 8
 

+ 4
- 0
lib/Db/SQLite3/Statement.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Db\SQLite3;
4 8
 

+ 4
- 0
lib/Db/Statement.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Db;
4 8
 

+ 4
- 0
lib/Db/Transaction.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Db;
4 8
 

+ 4
- 0
lib/Exception.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
lib/ExceptionFatal.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
lib/ExceptionType.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
lib/Feed.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
lib/Feed/Exception.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Feed;
4 8
 

+ 4
- 0
lib/Lang.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
lib/Lang/Exception.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Lang;
4 8
 

+ 4
- 0
lib/Misc/Context.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Misc;
4 8
 

+ 4
- 0
lib/Misc/Date.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Misc;
4 8
 

+ 4
- 0
lib/Misc/Query.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Misc;
4 8
 

+ 4
- 0
lib/Misc/ValueInfo.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Misc;
4 8
 

+ 4
- 0
lib/REST.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
lib/REST/AbstractHandler.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\REST;
4 8
 

+ 4
- 0
lib/REST/Exception.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\REST;
4 8
 

+ 4
- 0
lib/REST/Exception405.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\REST;
4 8
 

+ 4
- 0
lib/REST/Exception501.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\REST;
4 8
 

+ 4
- 0
lib/REST/Handler.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\REST;
4 8
 

+ 4
- 0
lib/REST/NextCloudNews/V1_2.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\REST\NextCloudNews;
4 8
 

+ 4
- 0
lib/REST/NextCloudNews/Versions.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\REST\NextCloudNews;
4 8
 

+ 4
- 0
lib/REST/Request.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\REST;
4 8
 

+ 4
- 0
lib/REST/Response.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\REST;
4 8
 

+ 4
- 0
lib/Service.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
lib/Service/Curl/Driver.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Service\Curl;
4 8
 

+ 4
- 0
lib/Service/Driver.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Service;
4 8
 

+ 4
- 0
lib/Service/Forking/Driver.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Service\Forking;
4 8
 

+ 4
- 0
lib/Service/Internal/Driver.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Service\Internal;
4 8
 

+ 4
- 0
lib/User.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
lib/User/Driver.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\User;
4 8
 

+ 4
- 0
lib/User/Exception.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\User;
4 8
 

+ 4
- 0
lib/User/ExceptionAuthz.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\User;
4 8
 

+ 4
- 0
lib/User/ExceptionNotImplemented.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\User;
4 8
 

+ 4
- 0
lib/User/Internal/Driver.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\User\Internal;
4 8
 

+ 4
- 0
lib/User/Internal/InternalFunctions.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\User\Internal;
4 8
 

+ 4
- 0
locale/en.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 return [
3 7
     'Driver.Db.SQLite3.Name'                                               => 'SQLite 3',
4 8
     'Driver.Service.Curl.Name'                                             => 'HTTP (curl)',

+ 4
- 0
sql/SQLite3/0.sql View File

@@ -1,3 +1,7 @@
1
+-- SPDX-License-Identifier: MIT
2
+-- Copyright 2017 J. King, Dustin Wilson et al.
3
+-- See LICENSE and AUTHORS files for details
4
+
1 5
 -- metadata
2 6
 create table arsse_meta(
3 7
     key text primary key not null,                                                                          -- metadata key

+ 4
- 0
tests/Conf/TestConf.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Db/SQLite3/Database/TestDatabaseArticleSQLite3.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Db/SQLite3/Database/TestDatabaseCleanupSQLite3.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Db/SQLite3/Database/TestDatabaseFeedSQLite3.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Db/SQLite3/Database/TestDatabaseFolderSQLite3.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Db/SQLite3/Database/TestDatabaseMetaSQLite3.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Db/SQLite3/Database/TestDatabaseMiscellanySQLite3.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Db/SQLite3/Database/TestDatabaseSubscriptionSQLite3.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Db/SQLite3/Database/TestDatabaseUserSQLite3.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Db/SQLite3/TestDbDriverCreationSQLite3.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Db/SQLite3/TestDbDriverSQLite3.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Db/SQLite3/TestDbResultSQLite3.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Db/SQLite3/TestDbStatementSQLite3.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Db/SQLite3/TestDbUpdateSQLite3.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Db/TestTransaction.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Exception/TestException.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Feed/TestFeed.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Feed/TestFeedFetching.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Lang/TestLang.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Lang/TestLangErrors.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Lang/testLangComplex.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Misc/TestContext.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Misc/TestValueInfo.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/REST/NextCloudNews/TestNCNV1_2.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/REST/NextCloudNews/TestNCNVersionDiscovery.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/Service/TestService.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/User/TestAuthorization.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/User/TestUserInternalDriver.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/User/TestUserMockExternal.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/User/TestUserMockInternal.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/bootstrap.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse;
4 8
 

+ 4
- 0
tests/lib/AbstractTest.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Test;
4 8
 

+ 4
- 0
tests/lib/Database.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Test;
4 8
 

+ 4
- 0
tests/lib/Database/DriverSQLite3.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Test\Database;
4 8
 

+ 4
- 0
tests/lib/Database/SeriesArticle.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Test\Database;
4 8
 

+ 4
- 0
tests/lib/Database/SeriesCleanup.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Test\Database;
4 8
 

+ 4
- 0
tests/lib/Database/SeriesFeed.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Test\Database;
4 8
 

+ 4
- 0
tests/lib/Database/SeriesFolder.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Test\Database;
4 8
 

+ 4
- 0
tests/lib/Database/SeriesMeta.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Test\Database;
4 8
 

+ 4
- 0
tests/lib/Database/SeriesMiscellany.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Test\Database;
4 8
 

+ 4
- 0
tests/lib/Database/SeriesSubscription.php View File

@@ -1,4 +1,8 @@
1 1
 <?php
2
+/** @license MIT
3
+ * Copyright 2017 J. King, Dustin Wilson et al.
4
+ * See LICENSE and AUTHORS files for details */
5
+
2 6
 declare(strict_types=1);
3 7
 namespace JKingWeb\Arsse\Test\Database;
4 8
 

+ 0
- 0
tests/lib/Database/SeriesUser.php View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save