Skip to content

Commit

Permalink
Delete unnecessary func_get_args functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dascarlet authored and sebastianbergmann committed Apr 11, 2017
1 parent 479db49 commit b7a877a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/Framework/Assert/Functions.php
Expand Up @@ -50,7 +50,7 @@
*/
function any()
{
return TestCase::any(...\func_get_args());
return TestCase::any();
}

/**
Expand All @@ -60,7 +60,7 @@ function any()
*/
function anything()
{
return Assert::anything(...\func_get_args());
return Assert::anything();
}

/**
Expand Down Expand Up @@ -1278,7 +1278,7 @@ function at($index)
*/
function atLeastOnce()
{
return TestCase::atLeastOnce(...\func_get_args());
return TestCase::atLeastOnce();
}

/**
Expand Down Expand Up @@ -1439,7 +1439,7 @@ function exactly($count)
*/
function fileExists()
{
return Assert::fileExists(...\func_get_args());
return Assert::fileExists();
}

/**
Expand Down Expand Up @@ -1487,7 +1487,7 @@ function identicalTo($value)
*/
function isEmpty()
{
return Assert::isEmpty(...\func_get_args());
return Assert::isEmpty();
}

/**
Expand All @@ -1497,7 +1497,7 @@ function isEmpty()
*/
function isFalse()
{
return Assert::isFalse(...\func_get_args());
return Assert::isFalse();
}

/**
Expand All @@ -1519,7 +1519,7 @@ function isInstanceOf($className)
*/
function isJson()
{
return Assert::isJson(...\func_get_args());
return Assert::isJson();
}

/**
Expand All @@ -1529,7 +1529,7 @@ function isJson()
*/
function isNull()
{
return Assert::isNull(...\func_get_args());
return Assert::isNull();
}

/**
Expand All @@ -1539,7 +1539,7 @@ function isNull()
*/
function isTrue()
{
return Assert::isTrue(...\func_get_args());
return Assert::isTrue();
}

/**
Expand Down Expand Up @@ -1653,7 +1653,7 @@ function matchesRegularExpression($pattern)
*/
function never()
{
return TestCase::never(...\func_get_args());
return TestCase::never();
}

/**
Expand Down Expand Up @@ -1685,7 +1685,7 @@ function onConsecutiveCalls()
*/
function once()
{
return TestCase::once(...\func_get_args());
return TestCase::once();
}

/**
Expand Down Expand Up @@ -1717,7 +1717,7 @@ function returnCallback($callback)
*/
function returnSelf()
{
return TestCase::returnSelf(...\func_get_args());
return TestCase::returnSelf();
}

/**
Expand Down

0 comments on commit b7a877a

Please sign in to comment.