Răsfoiți Sursa

Merge pull request #503 from acelaya-forks/feature/update-coding-standard

Feature/update coding standard
Alejandro Celaya 4 ani în urmă
părinte
comite
700ee40109
100 a modificat fișierele cu 133 adăugiri și 10 ștergeri
  1. 23 0
      CHANGELOG.md
  2. 1 1
      composer.json
  3. 1 0
      config/autoload/app_options.global.php
  4. 1 0
      config/autoload/client-detection.global.php
  5. 1 0
      config/autoload/common.global.php
  6. 1 0
      config/autoload/delete_short_urls.global.php
  7. 1 0
      config/autoload/dependencies.global.php
  8. 1 0
      config/autoload/entity-manager.global.php
  9. 1 0
      config/autoload/geolite2.global.php
  10. 1 0
      config/autoload/installer.global.php
  11. 1 0
      config/autoload/locks.global.php
  12. 1 0
      config/autoload/logger.global.php
  13. 1 0
      config/autoload/middleware-pipeline.global.php
  14. 2 1
      config/autoload/preview-generation.global.php
  15. 1 0
      config/autoload/router.global.php
  16. 1 0
      config/autoload/swoole.global.php
  17. 1 0
      config/autoload/templates.global.php
  18. 1 0
      config/autoload/url-shortener.global.php
  19. 1 0
      config/autoload/wkhtmltopdf.global.php
  20. 7 4
      config/cli-config.php
  21. 1 0
      config/config.php
  22. 1 0
      config/container.php
  23. 1 0
      config/test/bootstrap_api_tests.php
  24. 1 0
      config/test/bootstrap_db_tests.php
  25. 1 0
      config/test/test_config.global.php
  26. 1 0
      data/migrations/Version20160819142757.php
  27. 1 0
      data/migrations/Version20160820191203.php
  28. 1 0
      data/migrations/Version20171021093246.php
  29. 1 0
      data/migrations/Version20171022064541.php
  30. 1 0
      data/migrations/Version20180801183328.php
  31. 1 0
      data/migrations/Version20180913205455.php
  32. 1 0
      data/migrations/Version20180915110857.php
  33. 1 0
      data/migrations/Version20181020060559.php
  34. 1 0
      data/migrations/Version20181020065148.php
  35. 1 0
      data/migrations/Version20181110175521.php
  36. 1 0
      data/migrations/Version20190824075137.php
  37. 1 0
      data/migrations/Version20190930165521.php
  38. 1 0
      data/migrations/Version20191001201532.php
  39. 1 0
      docker/config/shlink_in_docker.local.php
  40. 1 0
      module/CLI/config/cli.config.php
  41. 1 0
      module/CLI/config/dependencies.config.php
  42. 1 0
      module/CLI/src/Command/Api/DisableKeyCommand.php
  43. 1 0
      module/CLI/src/Command/Api/GenerateKeyCommand.php
  44. 1 0
      module/CLI/src/Command/Api/ListKeysCommand.php
  45. 1 0
      module/CLI/src/Command/Config/GenerateCharsetCommand.php
  46. 1 0
      module/CLI/src/Command/Config/GenerateSecretCommand.php
  47. 1 0
      module/CLI/src/Command/Db/AbstractDatabaseCommand.php
  48. 1 0
      module/CLI/src/Command/Db/CreateDatabaseCommand.php
  49. 1 0
      module/CLI/src/Command/Db/MigrateDatabaseCommand.php
  50. 1 0
      module/CLI/src/Command/ShortUrl/DeleteShortUrlCommand.php
  51. 1 0
      module/CLI/src/Command/ShortUrl/GeneratePreviewCommand.php
  52. 1 0
      module/CLI/src/Command/ShortUrl/GenerateShortUrlCommand.php
  53. 1 0
      module/CLI/src/Command/ShortUrl/GetVisitsCommand.php
  54. 1 0
      module/CLI/src/Command/ShortUrl/ListShortUrlsCommand.php
  55. 1 0
      module/CLI/src/Command/ShortUrl/ResolveUrlCommand.php
  56. 1 0
      module/CLI/src/Command/Tag/CreateTagCommand.php
  57. 1 0
      module/CLI/src/Command/Tag/DeleteTagsCommand.php
  58. 1 0
      module/CLI/src/Command/Tag/ListTagsCommand.php
  59. 1 0
      module/CLI/src/Command/Tag/RenameTagCommand.php
  60. 1 0
      module/CLI/src/Command/Util/AbstractLockedCommand.php
  61. 1 0
      module/CLI/src/Command/Util/LockedCommandConfig.php
  62. 1 0
      module/CLI/src/Command/Visit/LocateVisitsCommand.php
  63. 1 0
      module/CLI/src/Command/Visit/UpdateDbCommand.php
  64. 1 0
      module/CLI/src/ConfigProvider.php
  65. 1 0
      module/CLI/src/Exception/ExceptionInterface.php
  66. 1 0
      module/CLI/src/Exception/GeolocationDbUpdateFailedException.php
  67. 1 0
      module/CLI/src/Factory/ApplicationFactory.php
  68. 1 0
      module/CLI/src/Util/ExitCodes.php
  69. 1 0
      module/CLI/src/Util/GeolocationDbUpdater.php
  70. 1 0
      module/CLI/src/Util/GeolocationDbUpdaterInterface.php
  71. 1 0
      module/CLI/src/Util/ShlinkTable.php
  72. 1 0
      module/CLI/test/Command/Api/DisableKeyCommandTest.php
  73. 1 0
      module/CLI/test/Command/Api/GenerateKeyCommandTest.php
  74. 1 0
      module/CLI/test/Command/Api/ListKeysCommandTest.php
  75. 1 0
      module/CLI/test/Command/Config/GenerateCharsetCommandTest.php
  76. 1 0
      module/CLI/test/Command/Db/CreateDatabaseCommandTest.php
  77. 1 0
      module/CLI/test/Command/Db/MigrateDatabaseCommandTest.php
  78. 1 0
      module/CLI/test/Command/ShortUrl/DeleteShortUrlCommandTest.php
  79. 1 0
      module/CLI/test/Command/ShortUrl/GeneratePreviewCommandTest.php
  80. 1 0
      module/CLI/test/Command/ShortUrl/GenerateShortUrlCommandTest.php
  81. 1 0
      module/CLI/test/Command/ShortUrl/GetVisitsCommandTest.php
  82. 1 0
      module/CLI/test/Command/ShortUrl/ListShortUrlsCommandTest.php
  83. 1 0
      module/CLI/test/Command/ShortUrl/ResolveUrlCommandTest.php
  84. 1 0
      module/CLI/test/Command/Tag/CreateTagCommandTest.php
  85. 1 0
      module/CLI/test/Command/Tag/DeleteTagsCommandTest.php
  86. 1 0
      module/CLI/test/Command/Tag/ListTagsCommandTest.php
  87. 1 0
      module/CLI/test/Command/Tag/RenameTagCommandTest.php
  88. 1 0
      module/CLI/test/Command/Visit/LocateVisitsCommandTest.php
  89. 1 0
      module/CLI/test/Command/Visit/UpdateDbCommandTest.php
  90. 1 0
      module/CLI/test/ConfigProviderTest.php
  91. 1 0
      module/CLI/test/Exception/GeolocationDbUpdateFailedExceptionTest.php
  92. 1 0
      module/CLI/test/Factory/ApplicationFactoryTest.php
  93. 1 0
      module/CLI/test/Util/GeolocationDbUpdaterTest.php
  94. 1 0
      module/CLI/test/Util/ShlinkTableTest.php
  95. 1 0
      module/Core/config/app_options.config.php
  96. 1 0
      module/Core/config/dependencies.config.php
  97. 2 1
      module/Core/config/entities-mappings/Shlinkio.Shlink.Core.Entity.Domain.php
  98. 2 1
      module/Core/config/entities-mappings/Shlinkio.Shlink.Core.Entity.ShortUrl.php
  99. 2 1
      module/Core/config/entities-mappings/Shlinkio.Shlink.Core.Entity.Tag.php
  100. 2 1
      module/Core/config/entities-mappings/Shlinkio.Shlink.Core.Entity.Visit.php

+ 23 - 0
CHANGELOG.md

@@ -4,6 +4,29 @@ All notable changes to this project will be documented in this file.
 
 The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).
 
+## [Unreleased]
+
+#### Added
+
+* *Nothing*
+
+#### Changed
+
+* [#458](https://github.com/shlinkio/shlink/issues/458) Updated coding styles to use [shlinkio/php-coding-standard](https://github.com/shlinkio/php-coding-standard) v2.0.0.
+
+#### Deprecated
+
+* *Nothing*
+
+#### Removed
+
+* * *Nothing*
+
+#### Fixed
+
+* *Nothing*
+
+
 ## 1.19.0 - 2019-10-05
 
 #### Added

+ 1 - 1
composer.json

@@ -64,7 +64,7 @@
         "phpunit/phpcov": "^6.0",
         "phpunit/phpunit": "^8.3",
         "roave/security-advisories": "dev-master",
-        "shlinkio/php-coding-standard": "~1.2.2",
+        "shlinkio/php-coding-standard": "~2.0.0",
         "shlinkio/shlink-test-utils": "^1.0",
         "symfony/dotenv": "^4.3",
         "symfony/var-dumper": "^4.3",

+ 1 - 0
config/autoload/app_options.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 use function Shlinkio\Shlink\Common\env;

+ 1 - 0
config/autoload/client-detection.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 return [

+ 1 - 0
config/autoload/common.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 use Zend\ConfigAggregator\ConfigAggregator;

+ 1 - 0
config/autoload/delete_short_urls.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink;

+ 1 - 0
config/autoload/dependencies.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 use Zend\Expressive;

+ 1 - 0
config/autoload/entity-manager.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\Common;

+ 1 - 0
config/autoload/geolite2.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 return [

+ 1 - 0
config/autoload/installer.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 use Shlinkio\Shlink\Installer\Config\Plugin;

+ 1 - 0
config/autoload/locks.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 use Shlinkio\Shlink\Common\Cache\RedisFactory;

+ 1 - 0
config/autoload/logger.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink;

+ 1 - 0
config/autoload/middleware-pipeline.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink;

+ 2 - 1
config/autoload/preview-generation.global.php

@@ -1,7 +1,8 @@
 <?php
+
 declare(strict_types=1);
 
-/** @deprecated */
+/* @deprecated */
 return [
 
     'preview_generation' => [

+ 1 - 0
config/autoload/router.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 use Zend\Expressive\Router\FastRouteRouter;

+ 1 - 0
config/autoload/swoole.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 return [

+ 1 - 0
config/autoload/templates.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 return [

+ 1 - 0
config/autoload/url-shortener.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 use Shlinkio\Shlink\Core\Options\UrlShortenerOptions;

+ 1 - 0
config/autoload/wkhtmltopdf.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 return [

+ 7 - 4
config/cli-config.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 use Doctrine\ORM\EntityManager;
@@ -6,8 +7,10 @@ use Doctrine\ORM\Tools\Console\ConsoleRunner;
 use Psr\Container\ContainerInterface;
 use Zend\ServiceManager\ServiceManager;
 
-/** @var ContainerInterface|ServiceManager $container */
-$container = include __DIR__ . '/container.php';
-$em = $container->get(EntityManager::class);
+return (function () {
+    /** @var ContainerInterface|ServiceManager $container */
+    $container = include __DIR__ . '/container.php';
+    $em = $container->get(EntityManager::class);
 
-return ConsoleRunner::createHelperSet($em);
+    return ConsoleRunner::createHelperSet($em);
+})();

+ 1 - 0
config/config.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink;

+ 1 - 0
config/container.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 use Symfony\Component\Dotenv\Dotenv;

+ 1 - 0
config/test/bootstrap_api_tests.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\TestUtils;

+ 1 - 0
config/test/bootstrap_db_tests.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\TestUtils;

+ 1 - 0
config/test/test_config.global.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink;

+ 1 - 0
data/migrations/Version20160819142757.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkMigrations;

+ 1 - 0
data/migrations/Version20160820191203.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkMigrations;

+ 1 - 0
data/migrations/Version20171021093246.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkMigrations;

+ 1 - 0
data/migrations/Version20171022064541.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkMigrations;

+ 1 - 0
data/migrations/Version20180801183328.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkMigrations;

+ 1 - 0
data/migrations/Version20180913205455.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkMigrations;

+ 1 - 0
data/migrations/Version20180915110857.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkMigrations;

+ 1 - 0
data/migrations/Version20181020060559.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkMigrations;

+ 1 - 0
data/migrations/Version20181020065148.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkMigrations;

+ 1 - 0
data/migrations/Version20181110175521.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkMigrations;

+ 1 - 0
data/migrations/Version20190824075137.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkMigrations;

+ 1 - 0
data/migrations/Version20190930165521.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkMigrations;

+ 1 - 0
data/migrations/Version20191001201532.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkMigrations;

+ 1 - 0
docker/config/shlink_in_docker.local.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink;

+ 1 - 0
module/CLI/config/cli.config.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI;

+ 1 - 0
module/CLI/config/dependencies.config.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI;

+ 1 - 0
module/CLI/src/Command/Api/DisableKeyCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Api;

+ 1 - 0
module/CLI/src/Command/Api/GenerateKeyCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Api;

+ 1 - 0
module/CLI/src/Command/Api/ListKeysCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Api;

+ 1 - 0
module/CLI/src/Command/Config/GenerateCharsetCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Config;

+ 1 - 0
module/CLI/src/Command/Config/GenerateSecretCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Config;

+ 1 - 0
module/CLI/src/Command/Db/AbstractDatabaseCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Db;

+ 1 - 0
module/CLI/src/Command/Db/CreateDatabaseCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Db;

+ 1 - 0
module/CLI/src/Command/Db/MigrateDatabaseCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Db;

+ 1 - 0
module/CLI/src/Command/ShortUrl/DeleteShortUrlCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\ShortUrl;

+ 1 - 0
module/CLI/src/Command/ShortUrl/GeneratePreviewCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\ShortUrl;

+ 1 - 0
module/CLI/src/Command/ShortUrl/GenerateShortUrlCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\ShortUrl;

+ 1 - 0
module/CLI/src/Command/ShortUrl/GetVisitsCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\ShortUrl;

+ 1 - 0
module/CLI/src/Command/ShortUrl/ListShortUrlsCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\ShortUrl;

+ 1 - 0
module/CLI/src/Command/ShortUrl/ResolveUrlCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\ShortUrl;

+ 1 - 0
module/CLI/src/Command/Tag/CreateTagCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Tag;

+ 1 - 0
module/CLI/src/Command/Tag/DeleteTagsCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Tag;

+ 1 - 0
module/CLI/src/Command/Tag/ListTagsCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Tag;

+ 1 - 0
module/CLI/src/Command/Tag/RenameTagCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Tag;

+ 1 - 0
module/CLI/src/Command/Util/AbstractLockedCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Util;

+ 1 - 0
module/CLI/src/Command/Util/LockedCommandConfig.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Util;

+ 1 - 0
module/CLI/src/Command/Visit/LocateVisitsCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Visit;

+ 1 - 0
module/CLI/src/Command/Visit/UpdateDbCommand.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Command\Visit;

+ 1 - 0
module/CLI/src/ConfigProvider.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI;

+ 1 - 0
module/CLI/src/Exception/ExceptionInterface.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Exception;

+ 1 - 0
module/CLI/src/Exception/GeolocationDbUpdateFailedException.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Exception;

+ 1 - 0
module/CLI/src/Factory/ApplicationFactory.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Factory;

+ 1 - 0
module/CLI/src/Util/ExitCodes.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Util;

+ 1 - 0
module/CLI/src/Util/GeolocationDbUpdater.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Util;

+ 1 - 0
module/CLI/src/Util/GeolocationDbUpdaterInterface.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Util;

+ 1 - 0
module/CLI/src/Util/ShlinkTable.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\CLI\Util;

+ 1 - 0
module/CLI/test/Command/Api/DisableKeyCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\Api;

+ 1 - 0
module/CLI/test/Command/Api/GenerateKeyCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\Api;

+ 1 - 0
module/CLI/test/Command/Api/ListKeysCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\Api;

+ 1 - 0
module/CLI/test/Command/Config/GenerateCharsetCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\Config;

+ 1 - 0
module/CLI/test/Command/Db/CreateDatabaseCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\Db;

+ 1 - 0
module/CLI/test/Command/Db/MigrateDatabaseCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\Db;

+ 1 - 0
module/CLI/test/Command/ShortUrl/DeleteShortUrlCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\ShortUrl;

+ 1 - 0
module/CLI/test/Command/ShortUrl/GeneratePreviewCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\ShortUrl;

+ 1 - 0
module/CLI/test/Command/ShortUrl/GenerateShortUrlCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\ShortUrl;

+ 1 - 0
module/CLI/test/Command/ShortUrl/GetVisitsCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\ShortUrl;

+ 1 - 0
module/CLI/test/Command/ShortUrl/ListShortUrlsCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\ShortUrl;

+ 1 - 0
module/CLI/test/Command/ShortUrl/ResolveUrlCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\ShortUrl;

+ 1 - 0
module/CLI/test/Command/Tag/CreateTagCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\Tag;

+ 1 - 0
module/CLI/test/Command/Tag/DeleteTagsCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\Tag;

+ 1 - 0
module/CLI/test/Command/Tag/ListTagsCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\Tag;

+ 1 - 0
module/CLI/test/Command/Tag/RenameTagCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\Tag;

+ 1 - 0
module/CLI/test/Command/Visit/LocateVisitsCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\Visit;

+ 1 - 0
module/CLI/test/Command/Visit/UpdateDbCommandTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Command\Visit;

+ 1 - 0
module/CLI/test/ConfigProviderTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI;

+ 1 - 0
module/CLI/test/Exception/GeolocationDbUpdateFailedExceptionTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Exception;

+ 1 - 0
module/CLI/test/Factory/ApplicationFactoryTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Factory;

+ 1 - 0
module/CLI/test/Util/GeolocationDbUpdaterTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Util;

+ 1 - 0
module/CLI/test/Util/ShlinkTableTest.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace ShlinkioTest\Shlink\CLI\Util;

+ 1 - 0
module/Core/config/app_options.config.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 return [

+ 1 - 0
module/Core/config/dependencies.config.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\Core;

+ 2 - 1
module/Core/config/entities-mappings/Shlinkio.Shlink.Core.Entity.Domain.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\Core;
@@ -7,7 +8,7 @@ use Doctrine\DBAL\Types\Type;
 use Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder;
 use Doctrine\ORM\Mapping\ClassMetadata; // @codingStandardsIgnoreLine
 
-/** @var $metadata ClassMetadata */
+/** @var $metadata ClassMetadata */ // @codingStandardsIgnoreLine
 $builder = new ClassMetadataBuilder($metadata);
 
 $builder->setTable('domains');

+ 2 - 1
module/Core/config/entities-mappings/Shlinkio.Shlink.Core.Entity.ShortUrl.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\Core;
@@ -8,7 +9,7 @@ use Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder;
 use Doctrine\ORM\Mapping\ClassMetadata; // @codingStandardsIgnoreLine
 use Shlinkio\Shlink\Common\Doctrine\Type\ChronosDateTimeType;
 
-/** @var $metadata ClassMetadata */
+/** @var $metadata ClassMetadata */ // @codingStandardsIgnoreLine
 $builder = new ClassMetadataBuilder($metadata);
 
 $builder->setTable('short_urls')

+ 2 - 1
module/Core/config/entities-mappings/Shlinkio.Shlink.Core.Entity.Tag.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\Core;
@@ -7,7 +8,7 @@ use Doctrine\DBAL\Types\Type;
 use Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder;
 use Doctrine\ORM\Mapping\ClassMetadata; // @codingStandardsIgnoreLine
 
-/** @var $metadata ClassMetadata */
+/** @var $metadata ClassMetadata */ // @codingStandardsIgnoreLine
 $builder = new ClassMetadataBuilder($metadata);
 
 $builder->setTable('tags')

+ 2 - 1
module/Core/config/entities-mappings/Shlinkio.Shlink.Core.Entity.Visit.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace Shlinkio\Shlink\Core;
@@ -9,7 +10,7 @@ use Doctrine\ORM\Mapping\ClassMetadata; // @codingStandardsIgnoreLine
 use Shlinkio\Shlink\Common\Doctrine\Type\ChronosDateTimeType;
 use Shlinkio\Shlink\Core\Model\Visitor;
 
-/** @var $metadata ClassMetadata */
+/** @var $metadata ClassMetadata */ // @codingStandardsIgnoreLine
 $builder = new ClassMetadataBuilder($metadata);
 
 $builder->setTable('visits')

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff