Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored and StyleCIBot committed Jun 5, 2017
1 parent 7af0c67 commit 43b31b9
Showing 1 changed file with 68 additions and 34 deletions.
102 changes: 68 additions & 34 deletions tests/_support/_generated/UnitTesterActions.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ abstract protected function getScenario();
* @param string $message
* @see \Codeception\Module\Asserts::assertEquals()
*/
public function assertEquals($expected, $actual, $message = null) {
public function assertEquals($expected, $actual, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertEquals', func_get_args()));
}

Expand All @@ -41,7 +42,8 @@ public function assertEquals($expected, $actual, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertNotEquals()
*/
public function assertNotEquals($expected, $actual, $message = null) {
public function assertNotEquals($expected, $actual, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEquals', func_get_args()));
}

Expand All @@ -57,7 +59,8 @@ public function assertNotEquals($expected, $actual, $message = null) {
* @return mixed|void
* @see \Codeception\Module\Asserts::assertSame()
*/
public function assertSame($expected, $actual, $message = null) {
public function assertSame($expected, $actual, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertSame', func_get_args()));
}

Expand All @@ -72,7 +75,8 @@ public function assertSame($expected, $actual, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertNotSame()
*/
public function assertNotSame($expected, $actual, $message = null) {
public function assertNotSame($expected, $actual, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotSame', func_get_args()));
}

Expand All @@ -87,7 +91,8 @@ public function assertNotSame($expected, $actual, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertGreaterThan()
*/
public function assertGreaterThan($expected, $actual, $message = null) {
public function assertGreaterThan($expected, $actual, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertGreaterThan', func_get_args()));
}

Expand All @@ -102,7 +107,8 @@ public function assertGreaterThan($expected, $actual, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertGreaterThanOrEqual()
*/
public function assertGreaterThanOrEqual($expected, $actual, $message = null) {
public function assertGreaterThanOrEqual($expected, $actual, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertGreaterThanOrEqual', func_get_args()));
}

Expand All @@ -117,7 +123,8 @@ public function assertGreaterThanOrEqual($expected, $actual, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertLessThan()
*/
public function assertLessThan($expected, $actual, $message = null) {
public function assertLessThan($expected, $actual, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertLessThan', func_get_args()));
}

Expand All @@ -132,7 +139,8 @@ public function assertLessThan($expected, $actual, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertLessThanOrEqual()
*/
public function assertLessThanOrEqual($expected, $actual, $message = null) {
public function assertLessThanOrEqual($expected, $actual, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertLessThanOrEqual', func_get_args()));
}

Expand All @@ -147,7 +155,8 @@ public function assertLessThanOrEqual($expected, $actual, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertContains()
*/
public function assertContains($needle, $haystack, $message = null) {
public function assertContains($needle, $haystack, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertContains', func_get_args()));
}

Expand All @@ -162,7 +171,8 @@ public function assertContains($needle, $haystack, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertNotContains()
*/
public function assertNotContains($needle, $haystack, $message = null) {
public function assertNotContains($needle, $haystack, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotContains', func_get_args()));
}

Expand All @@ -177,7 +187,8 @@ public function assertNotContains($needle, $haystack, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertRegExp()
*/
public function assertRegExp($pattern, $string, $message = null) {
public function assertRegExp($pattern, $string, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertRegExp', func_get_args()));
}

Expand All @@ -192,7 +203,8 @@ public function assertRegExp($pattern, $string, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertNotRegExp()
*/
public function assertNotRegExp($pattern, $string, $message = null) {
public function assertNotRegExp($pattern, $string, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotRegExp', func_get_args()));
}

Expand All @@ -206,7 +218,8 @@ public function assertNotRegExp($pattern, $string, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertEmpty()
*/
public function assertEmpty($actual, $message = null) {
public function assertEmpty($actual, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertEmpty', func_get_args()));
}

Expand All @@ -220,7 +233,8 @@ public function assertEmpty($actual, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertNotEmpty()
*/
public function assertNotEmpty($actual, $message = null) {
public function assertNotEmpty($actual, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEmpty', func_get_args()));
}

Expand All @@ -234,7 +248,8 @@ public function assertNotEmpty($actual, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertNull()
*/
public function assertNull($actual, $message = null) {
public function assertNull($actual, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNull', func_get_args()));
}

Expand All @@ -248,7 +263,8 @@ public function assertNull($actual, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertNotNull()
*/
public function assertNotNull($actual, $message = null) {
public function assertNotNull($actual, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotNull', func_get_args()));
}

Expand All @@ -262,7 +278,8 @@ public function assertNotNull($actual, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertTrue()
*/
public function assertTrue($condition, $message = null) {
public function assertTrue($condition, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertTrue', func_get_args()));
}

Expand All @@ -276,7 +293,8 @@ public function assertTrue($condition, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertFalse()
*/
public function assertFalse($condition, $message = null) {
public function assertFalse($condition, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFalse', func_get_args()));
}

Expand All @@ -290,7 +308,8 @@ public function assertFalse($condition, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertFileExists()
*/
public function assertFileExists($filename, $message = null) {
public function assertFileExists($filename, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileExists', func_get_args()));
}

Expand All @@ -304,7 +323,8 @@ public function assertFileExists($filename, $message = null) {
* @param string $message
* @see \Codeception\Module\Asserts::assertFileNotExists()
*/
public function assertFileNotExists($filename, $message = null) {
public function assertFileNotExists($filename, $message = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileNotExists', func_get_args()));
}

Expand All @@ -317,7 +337,8 @@ public function assertFileNotExists($filename, $message = null) {
* @param $description
* @see \Codeception\Module\Asserts::assertGreaterOrEquals()
*/
public function assertGreaterOrEquals($expected, $actual, $description = null) {
public function assertGreaterOrEquals($expected, $actual, $description = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertGreaterOrEquals', func_get_args()));
}

Expand All @@ -330,7 +351,8 @@ public function assertGreaterOrEquals($expected, $actual, $description = null) {
* @param $description
* @see \Codeception\Module\Asserts::assertLessOrEquals()
*/
public function assertLessOrEquals($expected, $actual, $description = null) {
public function assertLessOrEquals($expected, $actual, $description = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertLessOrEquals', func_get_args()));
}

Expand All @@ -342,7 +364,8 @@ public function assertLessOrEquals($expected, $actual, $description = null) {
* @param $description
* @see \Codeception\Module\Asserts::assertIsEmpty()
*/
public function assertIsEmpty($actual, $description = null) {
public function assertIsEmpty($actual, $description = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsEmpty', func_get_args()));
}

Expand All @@ -355,7 +378,8 @@ public function assertIsEmpty($actual, $description = null) {
* @param $description
* @see \Codeception\Module\Asserts::assertArrayHasKey()
*/
public function assertArrayHasKey($key, $actual, $description = null) {
public function assertArrayHasKey($key, $actual, $description = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertArrayHasKey', func_get_args()));
}

Expand All @@ -368,7 +392,8 @@ public function assertArrayHasKey($key, $actual, $description = null) {
* @param $description
* @see \Codeception\Module\Asserts::assertArrayNotHasKey()
*/
public function assertArrayNotHasKey($key, $actual, $description = null) {
public function assertArrayNotHasKey($key, $actual, $description = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertArrayNotHasKey', func_get_args()));
}

Expand All @@ -381,7 +406,8 @@ public function assertArrayNotHasKey($key, $actual, $description = null) {
* @param $description
* @see \Codeception\Module\Asserts::assertCount()
*/
public function assertCount($expectedCount, $actual, $description = null) {
public function assertCount($expectedCount, $actual, $description = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertCount', func_get_args()));
}

Expand All @@ -394,7 +420,8 @@ public function assertCount($expectedCount, $actual, $description = null) {
* @param $description
* @see \Codeception\Module\Asserts::assertInstanceOf()
*/
public function assertInstanceOf($class, $actual, $description = null) {
public function assertInstanceOf($class, $actual, $description = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertInstanceOf', func_get_args()));
}

Expand All @@ -407,7 +434,8 @@ public function assertInstanceOf($class, $actual, $description = null) {
* @param $description
* @see \Codeception\Module\Asserts::assertNotInstanceOf()
*/
public function assertNotInstanceOf($class, $actual, $description = null) {
public function assertNotInstanceOf($class, $actual, $description = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotInstanceOf', func_get_args()));
}

Expand All @@ -420,7 +448,8 @@ public function assertNotInstanceOf($class, $actual, $description = null) {
* @param $description
* @see \Codeception\Module\Asserts::assertInternalType()
*/
public function assertInternalType($type, $actual, $description = null) {
public function assertInternalType($type, $actual, $description = null)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('assertInternalType', func_get_args()));
}

Expand All @@ -433,7 +462,8 @@ public function assertInternalType($type, $actual, $description = null) {
* @param $message
* @see \Codeception\Module\Asserts::fail()
*/
public function fail($message) {
public function fail($message)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('fail', func_get_args()));
}

Expand Down Expand Up @@ -467,7 +497,8 @@ public function fail($message) {
* @param $callback
* @see \Codeception\Module\Asserts::expectException()
*/
public function expectException($exception, $callback) {
public function expectException($exception, $callback)
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('expectException', func_get_args()));
}

Expand All @@ -478,7 +509,8 @@ public function expectException($exception, $callback) {
* Adds the "Authorization" header to the $_SERVER global.
* @see \Helper\Unit::setAuthorizationHeader()
*/
public function setAuthorizationHeader() {
public function setAuthorizationHeader()
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('setAuthorizationHeader', func_get_args()));
}

Expand All @@ -489,7 +521,8 @@ public function setAuthorizationHeader() {
* @return MockAuthorizationServer
* @see \Helper\Unit::createAuthorizationServer()
*/
public function createAuthorizationServer() {
public function createAuthorizationServer()
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('createAuthorizationServer', func_get_args()));
}

Expand All @@ -500,7 +533,8 @@ public function createAuthorizationServer() {
* @return \League\OAuth2\Server\ResourceServer
* @see \Helper\Unit::createResourceServer()
*/
public function createResourceServer() {
public function createResourceServer()
{
return $this->getScenario()->runStep(new \Codeception\Step\Action('createResourceServer', func_get_args()));
}
}

0 comments on commit 43b31b9

Please sign in to comment.