Skip to content

Commit 955e42c

Browse files
Merge pull request #7 from PascalKleindienst/analysis-XVY4vP
Apply fixes from StyleCI
2 parents 2395ee7 + 0a80faa commit 955e42c

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function registerSettings()
7878
* @param mixed $stdClassObject
7979
* @return array
8080
*/
81-
public function castToArray ($stdClassObject)
81+
public function castToArray($stdClassObject)
8282
{
8383
return (array)$stdClassObject;
8484
}

tests/classes/ComponentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use PluginTestCase;
77

88
class ComponentTest extends PluginTestCase
9-
{
9+
{
1010
public function testGetGithub()
1111
{
1212
$this->assertInstanceOf(

tests/classes/PaginationComponentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use PluginTestCase;
77

88
class PaginationComponentTest extends PluginTestCase
9-
{
9+
{
1010
public function testPaginationProperties()
1111
{
1212
$stub = $this->getMockForAbstractClass(PaginationComponent::class);

tests/components/GistTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function testDefinePropertiesKeys()
5555

5656
public function testOnRun()
5757
{
58-
// mock github dependency
58+
// mock github dependency
5959
$mock = $this->getMock(Gist::class, ['getGithub'], [], '', false);
6060
$mock->expects($this->once())
6161
->method('getGithub')

tests/components/RepoListTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ public function setUp()
2525
* Tests
2626
*/
2727
public function testIsInstanceOfPaginationComponent()
28-
{
29-
$this->assertInstanceOf(PaginationComponent::class, $this->repoList);
30-
}
28+
{
29+
$this->assertInstanceOf(PaginationComponent::class, $this->repoList);
30+
}
3131

3232
public function testComponentsDetails()
3333
{

0 commit comments

Comments
 (0)