Skip to content
Permalink
Browse files

Code style fixes.

  • Loading branch information...
corpsee committed Mar 10, 2019
1 parent 183f07a commit 62cddc4baaf240644fdd2b058781ae89ff6b16bb
Showing with 1,029 additions and 517 deletions.
  1. +1 −0 .gitignore
  2. +2 −0 .php-censor.yml
  3. +14 −0 .php_cs.dist
  4. +3 −2 composer.json
  5. +471 −1 composer.lock
  6. +3 −3 src/Application.php
  7. +5 −1 src/BuildFactory.php
  8. +17 −11 src/Builder.php
  9. +6 −8 src/Command/InstallCommand.php
  10. +1 −2 src/Command/RunCommand.php
  11. +1 −2 src/Command/WorkerCommand.php
  12. +2 −2 src/Config.php
  13. +1 −1 src/Console/Application.php
  14. +1 −1 src/Controller.php
  15. +16 −16 src/Controller/BuildController.php
  16. +2 −2 src/Controller/BuildStatusController.php
  17. +1 −1 src/Controller/HomeController.php
  18. +22 −22 src/Controller/ProjectController.php
  19. +8 −6 src/Controller/UserController.php
  20. +15 −21 src/Controller/WebhookController.php
  21. +1 −1 src/Controller/WidgetAllProjectsController.php
  22. +1 −1 src/Controller/WidgetBuildErrorsController.php
  23. +2 −2 src/Database.php
  24. +2 −2 src/Exception/HttpException.php
  25. +1 −1 src/Exception/HttpException/BadRequestException.php
  26. +1 −1 src/Exception/HttpException/ForbiddenException.php
  27. +1 −1 src/Exception/HttpException/NotAuthorizedException.php
  28. +1 −1 src/Exception/HttpException/NotFoundException.php
  29. +1 −1 src/Form/Element/Button.php
  30. +1 −1 src/Form/Element/Checkbox.php
  31. +1 −1 src/Form/Element/Csrf.php
  32. +3 −3 src/Form/Element/TextArea.php
  33. +1 −1 src/Form/FieldSet.php
  34. +6 −6 src/Form/Input.php
  35. +1 −1 src/Helper/AnsiConverter.php
  36. +1 −1 src/Helper/Build.php
  37. +1 −1 src/Helper/CommandExecutor.php
  38. +1 −1 src/Helper/CommandExecutorInterface.php
  39. +1 −1 src/Helper/Email.php
  40. +2 −2 src/Helper/Template.php
  41. +3 −5 src/Logging/BuildLogger.php
  42. +2 −2 src/Logging/Handler.php
  43. +1 −1 src/Migrations/20151015124825_convert_errors.php
  44. +1 −1 src/Migrations/20180223052715_added_request_branch_to_build.php
  45. +4 −4 src/Model.php
  46. +10 −14 src/Model/Base/Build.php
  47. +8 −8 src/Model/Base/BuildError.php
  48. +2 −2 src/Model/Base/BuildMeta.php
  49. +2 −2 src/Model/Base/Environment.php
  50. +15 −15 src/Model/Base/Project.php
  51. +2 −2 src/Model/Base/ProjectGroup.php
  52. +5 −5 src/Model/Base/User.php
  53. +19 −12 src/Model/Build.php
  54. +8 −8 src/Model/Build/BitbucketBuild.php
  55. +4 −4 src/Model/Build/GitBuild.php
  56. +8 −8 src/Model/Build/GithubBuild.php
  57. +3 −5 src/Model/Build/LocalBuild.php
  58. +1 −1 src/Model/Build/SvnBuild.php
  59. +4 −4 src/Model/BuildError.php
  60. +4 −4 src/Model/Project.php
  61. +2 −2 src/Model/User.php
  62. +34 −22 src/Plugin.php
  63. +1 −3 src/Plugin/Campfire.php
  64. +1 −1 src/Plugin/CleanBuild.php
  65. +5 −5 src/Plugin/Codeception.php
  66. +1 −1 src/Plugin/CopyBuild.php
  67. +2 −2 src/Plugin/Deployer.php
  68. +2 −2 src/Plugin/DeployerOrg.php
  69. +1 −1 src/Plugin/Email.php
  70. +0 −1 src/Plugin/FlowdockNotify.php
  71. +1 −1 src/Plugin/Git.php
  72. +1 −1 src/Plugin/HipchatNotify.php
  73. +1 −1 src/Plugin/Irc.php
  74. +2 −4 src/Plugin/Lint.php
  75. +2 −2 src/Plugin/Mysql.php
  76. +2 −2 src/Plugin/Pgsql.php
  77. +1 −1 src/Plugin/Phan.php
  78. +4 −5 src/Plugin/PhpCodeSniffer.php
  79. +1 −1 src/Plugin/PhpCpd.php
  80. +1 −1 src/Plugin/PhpCsFixer.php
  81. +1 −3 src/Plugin/PhpDocblockChecker.php
  82. +5 −6 src/Plugin/PhpMessDetector.php
  83. +8 −5 src/Plugin/PhpUnit.php
  84. +1 −1 src/Plugin/SecurityChecker.php
  85. +3 −3 src/Plugin/SensiolabsInsight.php
  86. +1 −1 src/Plugin/Shell.php
  87. +2 −2 src/Plugin/Sqlite.php
  88. +5 −5 src/Plugin/TechnicalDebt.php
  89. +0 −1 src/Plugin/Telegram.php
  90. +1 −1 src/Plugin/Util/PhpUnitResultJson.php
  91. +7 −5 src/Plugin/Util/PhpUnitResultJunit.php
  92. +1 −1 src/Plugin/Wipe.php
  93. +1 −1 src/ProcessControl/PosixProcessControl.php
  94. +2 −2 src/ProcessControl/ProcessControlInterface.php
  95. +1 −1 src/ProcessControl/UnixProcessControl.php
  96. +1 −1 src/Security/Authentication/LoginPasswordProviderInterface.php
  97. +1 −1 src/Security/Authentication/Service.php
  98. +2 −2 src/Security/Authentication/UserProvider/Internal.php
  99. +11 −17 src/Service/BuildService.php
  100. +4 −4 src/Service/BuildStatusService.php
  101. +2 −3 src/Service/ProjectService.php
  102. +3 −3 src/Service/UserService.php
  103. +37 −14 src/Store.php
  104. +15 −15 src/Store/BuildErrorStore.php
  105. +9 −9 src/Store/BuildErrorWriter.php
  106. +6 −6 src/Store/BuildMetaStore.php
  107. +21 −21 src/Store/BuildStore.php
  108. +3 −3 src/Store/EnvironmentStore.php
  109. +3 −3 src/Store/ProjectGroupStore.php
  110. +10 −10 src/Store/ProjectStore.php
  111. +3 −3 src/Store/UserStore.php
  112. +6 −4 src/View.php
  113. +2 −2 src/View/Home/index.phtml
  114. +7 −7 src/View/Project/view.phtml
  115. +3 −3 src/View/WidgetAllProjects/update.phtml
  116. +3 −3 src/View/WidgetBuildErrors/update.phtml
  117. +5 −5 src/View/layout.phtml
  118. +12 −5 src/WebController.php
  119. +4 −7 src/Worker/BuildWorker.php
  120. +1 −1 tests/src/Command/InstallCommandTest.php
  121. +0 −1 tests/src/Helper/BuildInterpolatorTest.php
  122. +1 −1 tests/src/Helper/MailerFactoryTest.php
  123. +2 −2 tests/src/Logging/BuildLoggerTest.php
  124. +1 −1 tests/src/Model/BuildTest.php
  125. +1 −1 tests/src/Model/ProjectTest.php
  126. +1 −1 tests/src/Plugin/CopyBuildTest.php
  127. +1 −1 tests/src/Plugin/PharTest.php
  128. +2 −1 tests/src/Plugin/PhpUnitTest.php
  129. +0 −1 tests/src/Plugin/Util/ExecutorTest.php
  130. +3 −3 tests/src/Plugin/Util/FactoryTest.php
  131. +2 −2 tests/src/Plugin/Util/Fake/ExamplePluginFull.php
  132. +1 −3 tests/src/Plugin/Util/Fake/ExamplePluginWithSingleOptionalArg.php
  133. +1 −2 tests/src/Plugin/Util/Fake/ExamplePluginWithSingleRequiredArg.php
  134. +1 −2 tests/src/Plugin/Util/Fake/ExamplePluginWithSingleTypedRequiredArg.php
  135. +1 −1 tests/src/Plugin/Util/PhpUnitResultTest.php
  136. +1 −1 tests/src/PluginTest.php
  137. +2 −2 tests/src/ProcessControl/ProcessControlTest.php
  138. +2 −3 tests/src/Service/BuiltStatusServiceTest.php
@@ -2,6 +2,7 @@

/vendor
/public/assets/vendor
/.php_cs.cache

/app/config.yml
/app/periodical.yml
@@ -17,6 +17,8 @@ test:
standard: PSR2
encoding: UTF-8
allow_failures: true
ignore:
- src/Migrations

php_cpd:
allow_failures: true
@@ -0,0 +1,14 @@
<?php
$finder = PhpCsFixer\Finder::create()
->exclude('vendor')
->in('./')
;
return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'@PSR1' => true
])
->setFinder($finder)
;
@@ -110,8 +110,9 @@
"symfony/polyfill": "~1.10.0"
},
"require-dev": {
"phpunit/dbunit": "~2.0.0",
"symfony/var-dumper": "~3.4.0"
"phpunit/dbunit": "~2.0.0",
"symfony/var-dumper": "~3.4.0",
"friendsofphp/php-cs-fixer": "~2.14.0"
},
"extra": {
"platform": {
Oops, something went wrong.

0 comments on commit 62cddc4

Please sign in to comment.
You can’t perform that action at this time.