Skip to content

Commit

Permalink
Fix: Remove unused local variables
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored and sebastianbergmann committed Sep 8, 2018
1 parent fc41b7f commit e74c0bc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/unit/Framework/MockObject/MockObjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,6 @@ public function testMockClassStoreOverrulable(): void

public function testGetMockWithFixedClassNameCanProduceTheSameMockTwice(): void
{
$mock = $this->getMockBuilder(stdClass::class)->setMockClassName('FixedName')->getMock();
$mock = $this->getMockBuilder(stdClass::class)->setMockClassName('FixedName')->getMock();
$this->assertInstanceOf(stdClass::class, $mock);
}
Expand Down
2 changes: 0 additions & 2 deletions tests/unit/Util/ConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ public function testShouldParseXmlConfigurationRootAttributes(string $optionName

public function configurationRootOptionsProvider(): array
{
$tmpFilePath = \sys_get_temp_dir() . \DIRECTORY_SEPARATOR;

return [
'executionOrder default' => ['executionOrder', 'default', TestSuiteSorter::ORDER_DEFAULT],
'executionOrder random' => ['executionOrder', 'random', TestSuiteSorter::ORDER_RANDOMIZED],
Expand Down

0 comments on commit e74c0bc

Please sign in to comment.