El RIDO 2 лет назад
Родитель
Сommit
cebc9acce6
49 измененных файлов с 50 добавлено и 50 удалено
  1. 1 1
      bin/administration
  2. 2 2
      bin/configuration-test-generator
  3. 1 1
      bin/icon-test
  4. 1 1
      bin/migrate
  5. 1 1
      index.php
  6. 1 1
      lib/Configuration.php
  7. 1 1
      lib/Controller.php
  8. 1 1
      lib/Data/AbstractData.php
  9. 1 1
      lib/Data/Database.php
  10. 1 1
      lib/Data/Filesystem.php
  11. 1 1
      lib/Data/GoogleCloudStorage.php
  12. 1 1
      lib/Data/S3Storage.php
  13. 1 1
      lib/Filter.php
  14. 1 1
      lib/FormatV2.php
  15. 1 1
      lib/I18n.php
  16. 1 1
      lib/Json.php
  17. 1 1
      lib/Model.php
  18. 1 1
      lib/Model/AbstractModel.php
  19. 1 1
      lib/Model/Comment.php
  20. 1 1
      lib/Model/Paste.php
  21. 1 1
      lib/Persistence/AbstractPersistence.php
  22. 1 1
      lib/Persistence/PurgeLimiter.php
  23. 1 1
      lib/Persistence/ServerSalt.php
  24. 1 1
      lib/Persistence/TrafficLimiter.php
  25. 1 1
      lib/Request.php
  26. 1 1
      lib/View.php
  27. 1 1
      lib/Vizhash16x16.php
  28. 1 1
      lib/YourlsProxy.php
  29. 1 1
      tst/Bootstrap.php
  30. 1 1
      tst/ConfigurationTest.php
  31. 1 1
      tst/ControllerTest.php
  32. 1 1
      tst/ControllerWithDbTest.php
  33. 1 1
      tst/ControllerWithGcsTest.php
  34. 1 1
      tst/Data/DatabaseTest.php
  35. 1 1
      tst/Data/FilesystemTest.php
  36. 1 1
      tst/Data/GoogleCloudStorageTest.php
  37. 1 1
      tst/FilterTest.php
  38. 1 1
      tst/FormatV2Test.php
  39. 1 1
      tst/I18nTest.php
  40. 1 1
      tst/JsonApiTest.php
  41. 1 1
      tst/MigrateTest.php
  42. 1 1
      tst/ModelTest.php
  43. 1 1
      tst/Persistence/PurgeLimiterTest.php
  44. 1 1
      tst/Persistence/ServerSaltTest.php
  45. 1 1
      tst/Persistence/TrafficLimiterTest.php
  46. 1 1
      tst/RequestTest.php
  47. 1 1
      tst/ViewTest.php
  48. 1 1
      tst/Vizhash16x16Test.php
  49. 1 1
      tst/YourlsProxyTest.php

+ 1 - 1
bin/administration

@@ -1,5 +1,5 @@
 #!/usr/bin/env php
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 2 - 2
bin/configuration-test-generator

@@ -1,5 +1,5 @@
 #!/usr/bin/env php
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *
@@ -413,7 +413,7 @@ class ConfigurationTestGenerator
     private function _getHeader()
     {
         return <<<'EOT'
-<?php
+<?php declare(strict_types=1);
 /**
  * DO NOT EDIT: This file is generated automatically using configGenerator.php
  */

+ 1 - 1
bin/icon-test

@@ -1,5 +1,5 @@
 #!/usr/bin/env php
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
bin/migrate

@@ -1,5 +1,5 @@
 #!/usr/bin/env php
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
index.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Configuration.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Controller.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Data/AbstractData.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Data/Database.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Data/Filesystem.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Data/GoogleCloudStorage.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Data/S3Storage.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Filter.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/FormatV2.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/I18n.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Json.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Model.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Model/AbstractModel.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Model/Comment.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Model/Paste.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Persistence/AbstractPersistence.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Persistence/PurgeLimiter.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Persistence/ServerSalt.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Persistence/TrafficLimiter.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 /**
  * PrivateBin

+ 1 - 1
lib/Request.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/View.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
lib/Vizhash16x16.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * VizHash_GD
  *

+ 1 - 1
lib/YourlsProxy.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 /**
  * PrivateBin
  *

+ 1 - 1
tst/Bootstrap.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use Google\Cloud\Core\Exception\BadRequestException;
 use Google\Cloud\Core\Exception\NotFoundException;

+ 1 - 1
tst/ConfigurationTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\Configuration;

+ 1 - 1
tst/ControllerTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\Controller;

+ 1 - 1
tst/ControllerWithDbTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PrivateBin\Data\Database;
 use PrivateBin\Persistence\ServerSalt;

+ 1 - 1
tst/ControllerWithGcsTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use Google\Auth\HttpHandler\HttpHandlerFactory;
 use GuzzleHttp\Client;

+ 1 - 1
tst/Data/DatabaseTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\Controller;

+ 1 - 1
tst/Data/FilesystemTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\Data\Filesystem;

+ 1 - 1
tst/Data/GoogleCloudStorageTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use Google\Auth\HttpHandler\HttpHandlerFactory;
 use GuzzleHttp\Client;

+ 1 - 1
tst/FilterTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\Filter;

+ 1 - 1
tst/FormatV2Test.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\FormatV2;

+ 1 - 1
tst/I18nTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\I18n;

+ 1 - 1
tst/JsonApiTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\Controller;

+ 1 - 1
tst/MigrateTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 use PHPUnit\Framework\TestCase;
 use PrivateBin\Data\Database;
 use PrivateBin\Data\Filesystem;

+ 1 - 1
tst/ModelTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use Identicon\Identicon;
 use PHPUnit\Framework\TestCase;

+ 1 - 1
tst/Persistence/PurgeLimiterTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\Data\Filesystem;

+ 1 - 1
tst/Persistence/ServerSaltTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\Data\Filesystem;

+ 1 - 1
tst/Persistence/TrafficLimiterTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\Data\Filesystem;

+ 1 - 1
tst/RequestTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\Request;

+ 1 - 1
tst/ViewTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\I18n;

+ 1 - 1
tst/Vizhash16x16Test.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\Data\Filesystem;

+ 1 - 1
tst/YourlsProxyTest.php

@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 use PHPUnit\Framework\TestCase;
 use PrivateBin\Configuration;