Skip to content

Commit

Permalink
Removing : void from test setup() functions
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitesh-wingify committed Nov 17, 2023
1 parent 256cb22 commit d169d76
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/Core/BucketerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
class BucketerTest extends TestCase
{
private $variationDecider;
protected function setUp(): void
protected function setUp()
{
$this->users = TestUtil::getUsers();
$this->variationDecider = new VariationDecider();
Expand Down
2 changes: 1 addition & 1 deletion tests/Core/MutuallyExclusiveTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

class MutuallyExclusiveTest extends TestCase
{
protected function setUp(): void
protected function setUp()
{
$this->settingsFileMEG = SettingsFileMEG::setup();
$this->settingsFileNewMEG1 = SettingsFileNewMEG1::setup();
Expand Down
2 changes: 1 addition & 1 deletion tests/Core/VariationDeciderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class VariationDeciderTest extends TestCase
{
/** @var VariationDecider $variationDecider */
private $variationDecider;
protected function setUp(): void
protected function setUp()
{
$this->users = TestUtil::getUsers();
$this->variationDecider = new VariationDecider();
Expand Down
2 changes: 1 addition & 1 deletion tests/Services/LoggerServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

class LoggerServiceTest extends TestCase
{
protected function setUp(): void
protected function setUp()
{
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Utils/CommonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

class CommonTest extends TestCase
{
public function setUp(): void
public function setUp()
{
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Utils/ValidationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

class ValidationsTest extends TestCase
{
public function setUp(): void
public function setUp()
{
$this->users = TestUtil::getUsers();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/VWOTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class VWOTest extends TestCase
private $segmentEvaluatorJson = '';
const GOAL_TYPES = ['CUSTOM', 'REVENUE', 'ALL', null];// null is for testing when goalType not set

protected function setUp(): void
protected function setUp()
{
$this->users = TestUtil::getUsers();

Expand Down

0 comments on commit d169d76

Please sign in to comment.