Skip to content
Permalink
Browse files

uses function setUp(): void in tests. Downgrads PHPunit to version 7.

  • Loading branch information
cbleek committed Oct 16, 2019
1 parent 4a0271d commit d108d4d740136656adf1444f42274bf9df86ed41
Showing with 253 additions and 291 deletions.
  1. +1 −0 .phpunit.result.cache
  2. +53 −95 composer.lock
  3. +1 −1 module/Applications/test/ApplicationsTest/Acl/ApplicationAccessAssertionTest.php
  4. +1 −1 module/Applications/test/ApplicationsTest/Auth/Dependency/ListListenerTest.php
  5. +1 −1 module/Applications/test/ApplicationsTest/Entity/ApplicationTest.php
  6. +1 −1 module/Applications/test/ApplicationsTest/Entity/AttachmentTest.php
  7. +1 −1 module/Applications/test/ApplicationsTest/Entity/AttributesTest.php
  8. +1 −1 module/Applications/test/ApplicationsTest/Entity/CommentTest.php
  9. +1 −1 module/Applications/test/ApplicationsTest/Entity/ContactTest.php
  10. +1 −1 module/Applications/test/ApplicationsTest/Entity/FactsTest.php
  11. +1 −1 module/Applications/test/ApplicationsTest/Entity/HistoryTest.php
  12. +1 −1 module/Applications/test/ApplicationsTest/Entity/MailHistoryTest.php
  13. +1 −1 module/Applications/test/ApplicationsTest/Entity/RatingTest.php
  14. +1 −1 module/Applications/test/ApplicationsTest/Entity/SettingsTest.php
  15. +1 −1 module/Applications/test/ApplicationsTest/Entity/StatusTest.php
  16. +1 −1 module/Applications/test/ApplicationsTest/Entity/SubscriberTest.php
  17. +1 −1 module/Applications/test/ApplicationsTest/Entity/Validator/ApplicationTest.php
  18. +1 −1 module/Applications/test/ApplicationsTest/Form/ApplyTest.php
  19. +1 −1 module/Applications/test/ApplicationsTest/Form/ContactTest.php
  20. +1 −1 module/Applications/test/ApplicationsTest/Form/FactsFieldsetTest.php
  21. +1 −1 module/Applications/test/ApplicationsTest/Listener/JobSelectValuesTest.php
  22. +1 −1 module/Applications/test/ApplicationsTest/Options/ModuleOptionsTest.php
  23. +1 −1 module/Auth/test/AclTest/Assertion/AssertionManagerTest.php
  24. +1 −1 module/Auth/test/AuthTest/Controller/ForgotPasswordControllerTest.php
  25. +1 −1 module/Auth/test/AuthTest/Controller/GotoResetPasswordControllerTest.php
  26. +1 −1 module/Auth/test/AuthTest/Controller/ManageControllerTest.php
  27. +2 −2 module/Auth/test/AuthTest/Controller/PasswordControllerFunctionalTest.php
  28. +1 −1 module/Auth/test/AuthTest/Controller/PasswordControllerTest.php
  29. +1 −1 module/Auth/test/AuthTest/Controller/RegisterConfirmationControllerTest.php
  30. +1 −1 module/Auth/test/AuthTest/Controller/RegisterControllerTest.php
  31. +1 −1 module/Auth/test/AuthTest/Controller/RemoveControllerTest.php
  32. +1 −1 module/Auth/test/AuthTest/Dependency/ManagerTest.php
  33. +1 −1 module/Auth/test/AuthTest/Entity/AnonymousUserTest.php
  34. +1 −1 module/Auth/test/AuthTest/Entity/AuthSessionTest.php
  35. +1 −1 module/Auth/test/AuthTest/Entity/InfoTest.php
  36. +1 −1 module/Auth/test/AuthTest/Entity/StatusTest.php
  37. +1 −1 module/Auth/test/AuthTest/Entity/TokenTest.php
  38. +1 −1 module/Auth/test/AuthTest/Entity/UserTest.php
  39. +1 −1 module/Auth/test/AuthTest/Factory/Adapter/HybridAuthAdapterFactoryTest.php
  40. +1 −1 module/Auth/test/AuthTest/Factory/Controller/ForgotPasswordControllerFactoryTest.php
  41. +1 −1 module/Auth/test/AuthTest/Factory/Controller/GotoResetPasswordControllerFactoryTest.php
  42. +1 −1 module/Auth/test/AuthTest/Factory/Controller/IndexControllerFactoryTest.php
  43. +1 −1 module/Auth/test/AuthTest/Factory/Controller/PasswordControllerFactoryTest.php
  44. +1 −1 module/Auth/test/AuthTest/Factory/Controller/RegisterConfirmationControllerSLFactoryTest.php
  45. +1 −1 module/Auth/test/AuthTest/Factory/Controller/RegisterControllerFactoryTest.php
  46. +1 −1 module/Auth/test/AuthTest/Factory/Form/ForgotPasswordFactoryTest.php
  47. +1 −1 module/Auth/test/AuthTest/Factory/Form/LoginFactoryTest.php
  48. +1 −1 module/Auth/test/AuthTest/Factory/Form/RegisterFactoryTest.php
  49. +1 −1 module/Auth/test/AuthTest/Factory/Form/UserStatusFieldsetFactoryTest.php
  50. +1 −1 module/Auth/test/AuthTest/Factory/Listener/ExceptionStrategyFactoryTest.php
  51. +1 −1 module/Auth/test/AuthTest/Factory/Service/AuthenticationServiceFactoryTest.php
  52. +1 −1 module/Auth/test/AuthTest/Factory/Service/ForgotPasswordFactoryTest.php
  53. +1 −1 module/Auth/test/AuthTest/Factory/Service/GotoResetPasswordFactoryTest.php
  54. +1 −1 module/Auth/test/AuthTest/Factory/Service/RegisterConfirmationFactoryTest.php
  55. +1 −1 module/Auth/test/AuthTest/Factory/Service/RegisterFactoryTest.php
  56. +1 −1 module/Auth/test/AuthTest/Filter/StripQueryParamsTest.php
  57. +1 −1 module/Auth/test/AuthTest/Form/ForgotPasswordInputFilterTest.php
  58. +1 −1 module/Auth/test/AuthTest/Form/ForgotPasswordTest.php
  59. +1 −1 module/Auth/test/AuthTest/Form/RegisterInputFilterTest.php
  60. +1 −1 module/Auth/test/AuthTest/Form/RegisterTest.php
  61. +1 −1 module/Auth/test/AuthTest/Form/UserStatusContainerTest.php
  62. +1 −1 module/Auth/test/AuthTest/Form/UserStatusFieldsetTest.php
  63. +1 −1 module/Auth/test/AuthTest/Form/UserStatusTest.php
  64. +1 −1 module/Auth/test/AuthTest/Listener/DeactivatedUserListenerTest.php
  65. +1 −1 module/Auth/test/AuthTest/Options/CaptchaOptionsTest.php
  66. +1 −1 module/Auth/test/AuthTest/Options/ModuleOptionsTest.php
  67. +1 −1 module/Auth/test/AuthTest/Service/ForgotPasswordTest.php
  68. +1 −1 module/Auth/test/AuthTest/Service/GotoResetPasswordTest.php
  69. +1 −1 module/Auth/test/AuthTest/Service/RegisterConfirmationTest.php
  70. +1 −1 module/Auth/test/AuthTest/Service/RegisterTest.php
  71. +1 −1 module/Core/test/CoreTest/Acl/FileAccessAssertionTest.php
  72. +4 −4 module/Core/test/CoreTest/ApplicationTest.php
  73. +1 −1 module/Core/test/CoreTest/Collection/IdentityWrapperTest.php
  74. +2 −2 module/Core/test/CoreTest/Controller/AbstractFunctionalControllerTestCase.php
  75. +1 −1 module/Core/test/CoreTest/Controller/AdminControllerTest.php
  76. +1 −1 module/Core/test/CoreTest/Controller/Console/AssetsInstallControllerTest.php
  77. +1 −1 module/Core/test/CoreTest/Controller/ContentControllerTest.php
  78. +1 −1 module/Core/test/CoreTest/Controller/FileControllerTest.php
  79. +1 −1 module/Core/test/CoreTest/Controller/Plugin/ConfigTest.php
  80. +1 −1 module/Core/test/CoreTest/Controller/Plugin/ListQueryTest.php
  81. +1 −1 module/Core/test/CoreTest/Controller/Plugin/MailTest.php
  82. +1 −1 module/Core/test/CoreTest/Controller/Plugin/MailerTest.php
  83. +1 −1 module/Core/test/CoreTest/Controller/Plugin/NotificationTest.php
  84. +1 −1 module/Core/test/CoreTest/Controller/Plugin/PaginationBuilder/GetResultTest.php
  85. +1 −1 module/Core/test/CoreTest/Controller/Plugin/PaginationParamsTest.php
  86. +1 −1 module/Core/test/CoreTest/Decorator/ProxyDecoratorTest.php
  87. +1 −1 module/Core/test/CoreTest/Entity/AbstactIdentifiableEntityTest.php
  88. +1 −1 module/Core/test/CoreTest/Entity/AbstactIdentifiableHydratorAwareEntityTest.php
  89. +1 −1 module/Core/test/CoreTest/Entity/AbstractEntityTest.php
  90. +1 −1 module/Core/test/CoreTest/Entity/AbstractIdentifiableModificationDateAwareEntityTest.php
  91. +1 −1 module/Core/test/CoreTest/Entity/AbstractLocationTest.php
  92. +1 −1 module/Core/test/CoreTest/Entity/AttachableEntityManagerTest.php
  93. +1 −1 module/Core/test/CoreTest/Entity/AttachableEntityTraitTest.php
  94. +2 −2 module/Core/test/CoreTest/Entity/EntityTraitTest.php
  95. +1 −1 module/Core/test/CoreTest/Entity/FileEntityTest.php
  96. +1 −1 module/Core/test/CoreTest/Entity/ModificationDateAwareEntityTraitTest.php
  97. +1 −1 module/Core/test/CoreTest/EventManager/EventManager/TriggerTest.php
  98. +1 −1 module/Core/test/CoreTest/Factory/EventManager/EventManagerAbstractFactory/AttachListenersTest.php
  99. +1 −1 ...le/Core/test/CoreTest/Factory/EventManager/EventManagerAbstractFactory/CreateEventManagerTest.php
  100. +1 −1 module/Core/test/CoreTest/Factory/Paginator/RepositoryAbstractFactoryTest.php
  101. +1 −1 module/Core/test/CoreTest/Filter/File/EntityTest.php
  102. +1 −1 module/Core/test/CoreTest/Filter/File/ResizeTest.php
  103. +1 −1 module/Core/test/CoreTest/Form/BaseFormTest.php
  104. +1 −1 module/Core/test/CoreTest/Form/CollectionContainerTest.php
  105. +1 −1 module/Core/test/CoreTest/Form/ContainerTest.php
  106. +1 −1 module/Core/test/CoreTest/Form/DefaultButtonsFieldsetTest.php
  107. +1 −1 module/Core/test/CoreTest/Form/Element/CheckboxTest.php
  108. +1 −1 module/Core/test/CoreTest/Form/Element/FileUploadTest.php
  109. +1 −1 module/Core/test/CoreTest/Form/Element/InfoCheckboxTest.php
  110. +1 −1 module/Core/test/CoreTest/Form/Element/PhoneTest.php
  111. +1 −1 module/Core/test/CoreTest/Form/Element/SpinnerSubmitTest.php
  112. +1 −1 module/Core/test/CoreTest/Form/Element/ToggleButtonTest.php
  113. +1 −1 module/Core/test/CoreTest/Form/FormTest.php
  114. +1 −1 module/Core/test/CoreTest/Form/Hydrator/HydratorStrategyProviderTraitTest.php
  115. +1 −1 module/Core/test/CoreTest/Form/ListeFilterButtonsFieldsetTest.php
  116. +1 −1 module/Core/test/CoreTest/Form/Service/InjectHeadscriptInitializerTest.php
  117. +1 −1 module/Core/test/CoreTest/Form/SummaryFormButtonsFieldsetTest.php
  118. +1 −1 module/Core/test/CoreTest/Form/SummaryFormTest.php
  119. +1 −1 module/Core/test/CoreTest/Form/View/Helper/FormFileUploadTest.php
  120. +1 −1 module/Core/test/CoreTest/I18n/LocaleTest.php
  121. +1 −1 module/Core/test/CoreTest/Listener/LanguageRouteListener/BaseTest.php
  122. +2 −1 module/Core/test/CoreTest/Listener/ModuleVersionAdminWidgetProviderFactoryTest.php
  123. +2 −1 module/Core/test/CoreTest/Listener/ModuleVersionAdminWidgetProviderTest.php
  124. +1 −1 module/Core/test/CoreTest/Mail/HTMLTemplateMessageTest.php
  125. +1 −1 module/Core/test/CoreTest/Mail/MailService/BaseTest.php
  126. +1 −1 module/Core/test/CoreTest/Mail/MailService/SendMailTest.php
  127. +2 −1 module/Core/test/CoreTest/ModuleManager/Feature/VersionProviderTraitTest.php
  128. +1 −1 module/Core/test/CoreTest/Options/MailServiceOptionsTest.php
  129. +1 −1 module/Core/test/CoreTest/Repository/DoctrineMongoODM/Event/RepositoryEventsSubscriberTest.php
  130. +1 −1 module/Core/test/CoreTest/Repository/RepositoryServiceTest.php
  131. +1 −1 module/Core/test/CoreTest/Repository/SnapshotRepositoryTest.php
  132. +2 −2 module/Core/test/CoreTest/Service/ClearCacheServiceTest.php
  133. +1 −1 module/Core/test/CoreTest/View/Helper/AlertTest.php
  134. +1 −1 module/Core/test/CoreTestUtils/TestCase/FunctionalTestCase.php
  135. +1 −1 module/Core/test/CoreTestUtils/TestCase/ServiceManagerMockTrait.php
  136. +1 −1 module/Core/test/CoreTestUtils/TestCase/SetupTargetTrait.php
  137. +1 −1 module/Cv/test/CvTest/Repository/CvCreateFromApplicationTest.php
  138. +2 −2 module/Cv/test/CvTest/Repository/CvTest.php
  139. +1 −1 module/Install/test/InstallTest/Controller/Plugin/UserCreatorTest.php
  140. +1 −1 module/Install/test/InstallTest/Controller/Plugin/YawikConfigCreatorTest.php
  141. +1 −1 module/Install/test/InstallTest/ModuleTest.php
  142. +1 −1 module/Jobs/test/JobsTest/Acl/WriteAssertionTest.php
  143. +1 −1 module/Jobs/test/JobsTest/Auth/Dependency/ListListenerTest.php
  144. +1 −1 module/Jobs/test/JobsTest/Entity/AtsModeTest.php
  145. +1 −1 module/Jobs/test/JobsTest/Entity/CoordinatesTest.php
  146. +1 −1 module/Jobs/test/JobsTest/Entity/HistoryTest.php
  147. +1 −1 module/Jobs/test/JobsTest/Entity/PublisherTest.php
  148. +1 −1 module/Jobs/test/JobsTest/Entity/StatusTest.php
  149. +1 −1 module/Jobs/test/JobsTest/Entity/TemplateValuesTest.php
  150. +1 −1 module/Jobs/test/JobsTest/Factory/Controller/ApiJobListByOrganizationControllerFactoryTest.php
  151. +1 −1 module/Jobs/test/JobsTest/Factory/Controller/ApprovalControllerFactoryTest.php
  152. +1 −1 module/Jobs/test/JobsTest/Factory/Controller/IndexControllerFactoryTest.php
  153. +1 −1 module/Jobs/test/JobsTest/Factory/Controller/JobboardControllerFactoryTest.php
  154. +1 −1 module/Jobs/test/JobsTest/Factory/Controller/TemplateControllerFactoryTest.php
  155. +1 −1 module/Jobs/test/JobsTest/Factory/Form/HiringOrganizationSelectFactoryTest.php
  156. +1 −1 module/Jobs/test/JobsTest/Factory/Form/Hydrator/OrganizationNameHydratorSLFactoryTest.php
  157. +1 −1 module/Jobs/test/JobsTest/Factory/Form/InputFilter/TestJobLocationEdit.php
  158. +1 −1 module/Jobs/test/JobsTest/Factory/Service/JobsPublisherFactoryTest.php
  159. +1 −1 module/Jobs/test/JobsTest/Form/CompanyNameFieldsetTest.php
  160. +1 −1 module/Jobs/test/JobsTest/Form/HiringOrganizationSelectTest.php
  161. +1 −1 module/Jobs/test/JobsTest/Form/Hydrator/TemplateLabelHydratorTest.php
  162. +1 −1 module/Jobs/test/JobsTest/Form/OrganizationSelectTest.php
  163. +1 −1 module/Jobs/test/JobsTest/Listener/MailSenderTest.php
  164. +1 −1 module/Jobs/test/JobsTest/Listener/PublisherTest.php
  165. +1 −1 module/Jobs/test/JobsTest/Options/ChannelOptionsTest.php
  166. +1 −1 module/Jobs/test/JobsTest/Options/ModuleOptionsTest.php
  167. +1 −1 module/Jobs/test/JobsTest/Options/ProviderOptionsTest.php
  168. +1 −1 module/Jobs/test/JobsTest/View/Helper/ApplyButtonsTest.php
  169. +1 −1 module/Organizations/test/OrganizationsTest/Auth/Dependency/EmployeeListListenerTest.php
  170. +1 −1 module/Organizations/test/OrganizationsTest/Auth/Dependency/ListListenerTest.php
  171. +1 −1 module/Organizations/test/OrganizationsTest/Controller/InviteEmployeeControllerTest.php
  172. +1 −1 module/Organizations/test/OrganizationsTest/Controller/Plugin/AcceptInvitationHandlerTest.php
  173. +1 −1 module/Organizations/test/OrganizationsTest/Controller/Plugin/InvitationHandlerTest.php
  174. +1 −1 module/Organizations/test/OrganizationsTest/Controller/ProfileControllerTest.php
  175. +1 −1 module/Organizations/test/OrganizationsTest/Entity/EmployeeTest.php
  176. +1 −1 module/Organizations/test/OrganizationsTest/Entity/OrganizationContactTest.php
  177. +1 −1 module/Organizations/test/OrganizationsTest/Entity/OrganizationImageTest.php
  178. +1 −1 module/Organizations/test/OrganizationsTest/Entity/OrganizationNameTest.php
  179. +1 −1 module/Organizations/test/OrganizationsTest/Entity/OrganizationTest.php
  180. +1 −1 module/Organizations/test/OrganizationsTest/Entity/TemplateTest.php
  181. +1 −1 module/Organizations/test/OrganizationsTest/Factory/Controller/IndexControllerFactoryTest.php
  182. +1 −1 module/Organizations/test/OrganizationsTest/Form/OrganizationContactFieldsetTest.php
  183. +1 −1 module/Organizations/test/OrganizationsTest/Form/OrganizationDescriptionFieldsetTest.php
  184. +1 −1 module/Organizations/test/OrganizationsTest/Form/OrganizationTest.php
  185. +1 −1 module/Organizations/test/OrganizationsTest/Form/OrganizationsProfileFieldsetTest.php
  186. +1 −1 module/Organizations/test/OrganizationsTest/ImageFileCache/ApplicationListenerTest.php
  187. +1 −1 module/Organizations/test/OrganizationsTest/ImageFileCache/ManagerTest.php
  188. +1 −1 module/Organizations/test/OrganizationsTest/ImageFileCache/ODMListenerTest.php
  189. +1 −1 module/Organizations/test/OrganizationsTest/Options/ImageFileCacheOptionsTest.php
  190. +1 −1 module/Organizations/test/OrganizationsTest/Repository/Filter/PaginationQueryTest.php

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more.

@@ -48,7 +48,7 @@ class ApplicationAccessAssertionTest extends TestCase
*/
private $acl;

protected function setUp()
protected function setUp(): void
{
$this->target = new ApplicationAccessAssertion();
$this->acl = new Acl();
@@ -39,7 +39,7 @@ class ListListenerTest extends TestCase
/**
* @see PHPUnit\Framework\TestCase::setUp()
*/
protected function setUp()
protected function setUp(): void
{
$this->repository = $this->getMockBuilder(Repository::class)
->disableOriginalConstructor()
@@ -48,7 +48,7 @@ class ApplicationTest extends TestCase
*/
private $target;

protected function setUp()
protected function setUp(): void
{
$this->target = new Application();
}
@@ -34,7 +34,7 @@ class AttachmentTest extends TestCase
*/
private $uriSpec = '/file/Applications.Attachment/test/%s';

protected function setUp()
protected function setUp(): void
{
$this->target = new Attachment();
$this->target->setId('test');
@@ -29,7 +29,7 @@ class AttributesTest extends TestCase
*/
private $target;

protected function setUp()
protected function setUp(): void
{
$this->target = new Attributes();
}
@@ -34,7 +34,7 @@ class CommentTest extends TestCase
*/
private $target;

protected function setUp()
protected function setUp(): void
{
$this->target = new Comment();
}
@@ -33,7 +33,7 @@ class ContactTest extends TestCase
*/
private $target;

protected function setUp()
protected function setUp(): void
{
$info = new Info();
$this->target = new Contact($info);
@@ -32,7 +32,7 @@ class FactsTest extends TestCase
*/
private $target;

protected function setUp()
protected function setUp(): void
{
$this->target = new Facts();
}
@@ -33,7 +33,7 @@ class HistoryTest extends TestCase
*/
private $target;

protected function setUp()
protected function setUp(): void
{
$status = new Status();
$this->target = new History($status, 'message');
@@ -33,7 +33,7 @@ class MailHistoryTest extends TestCase
*/
private $target;

protected function setUp()
protected function setUp(): void
{
$status = new Status();
$this->target = new MailHistory($status, 'message');
@@ -32,7 +32,7 @@ class RatingTest extends TestCase
*/
private $target;

protected function setUp()
protected function setUp(): void
{
$this->target = new Rating();
}
@@ -34,7 +34,7 @@ class SettingsTest extends TestCase
*/
private $target;

protected function setUp()
protected function setUp(): void
{
$this->target = new Settings();
}
@@ -33,7 +33,7 @@ class StatusTest extends TestCase
*/
private $target;

protected function setUp()
protected function setUp(): void
{
$this->target = new Status();
}

0 comments on commit d108d4d

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