Skip to content

Commit

Permalink
Run cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuffre committed Jun 28, 2017
1 parent 74d4683 commit 1a68d82
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion src/Moka/Factory/ProxyGeneratorFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace Moka\Factory;


use Moka\Generator\ProxyGenerator;

class ProxyGeneratorFactory
Expand Down
4 changes: 0 additions & 4 deletions src/Moka/Generator/ProxyArgumentGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace Moka\Generator;


class ProxyArgumentGenerator
{
public static function generateMethodParameter(\ReflectionParameter $parameter)
Expand Down Expand Up @@ -47,10 +46,7 @@ public static function generateMethodParameter(\ReflectionParameter $parameter)
$byReference = '';
$defaultValue = '';
}


} catch (\ReflectionException $e) {

}

return sprintf(
Expand Down
1 change: 0 additions & 1 deletion src/Moka/Generator/ProxyClassGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace Moka\Generator;


use Moka\Proxy\ProxyInterface;

class ProxyClassGenerator
Expand Down
1 change: 0 additions & 1 deletion src/Moka/Generator/ProxyGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace Moka\Generator;


use Moka\Proxy\ProxyInterface;
use Moka\Strategy\MockingStrategyInterface;

Expand Down
2 changes: 0 additions & 2 deletions src/Moka/Generator/ProxyMethodGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace Moka\Generator;


class ProxyMethodGenerator
{
private static $template = '
Expand Down Expand Up @@ -50,5 +49,4 @@ protected static function getType(\ReflectionType $type)
{
return (string)$type;
}

}
1 change: 0 additions & 1 deletion src/Moka/Generator/ProxyReturnGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace Moka\Generator;


class ProxyReturnGenerator
{
public static function generateMethodReturnType(\ReflectionType $type, \ReflectionMethod $method)
Expand Down
1 change: 0 additions & 1 deletion src/Moka/Generator/ProxyTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace Moka\Generator;


use Moka\Exception\InvalidArgumentException;
use Moka\Exception\MockNotCreatedException;
use Moka\Exception\MockNotServedException;
Expand Down
2 changes: 0 additions & 2 deletions src/Moka/Plugin/PHPUnit/PHPUnitMockingStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,4 @@ protected function doGet($mock)
{
return $mock;
}


}
2 changes: 0 additions & 2 deletions src/Moka/Plugin/Prophecy/ProphecyMockingStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,4 @@ public function call($object, string $name, array $arguments)
{
return parent::call($object->reveal(), $name, $arguments);
}


}
2 changes: 0 additions & 2 deletions src/Moka/Strategy/AbstractMockingStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,4 @@ public function call($object, string $name, array $arguments)
{
return $object->$name(...$arguments);
}


}
1 change: 0 additions & 1 deletion tests/AbstractTestClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public function getSelf(): TestInterface

public function something()
{

}

public function withArgument(int $argument): int
Expand Down

0 comments on commit 1a68d82

Please sign in to comment.