Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
pborreli committed Jul 28, 2012
1 parent 4c2daaf commit fd56fd6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions Tests/Constraints/LengthValidatorTest.php
Expand Up @@ -108,7 +108,7 @@ public function getFiveOrMoreCharacters()
public function testValidValuesMin($value, $mbOnly = false)
{
if ($mbOnly && !function_exists('mb_strlen')) {
return $this->markTestSkipped('mb_strlen does not exist');
$this->markTestSkipped('mb_strlen does not exist');
}

$this->context->expects($this->never())
Expand All @@ -124,7 +124,7 @@ public function testValidValuesMin($value, $mbOnly = false)
public function testValidValuesMax($value, $mbOnly = false)
{
if ($mbOnly && !function_exists('mb_strlen')) {
return $this->markTestSkipped('mb_strlen does not exist');
$this->markTestSkipped('mb_strlen does not exist');
}

$this->context->expects($this->never())
Expand All @@ -140,7 +140,7 @@ public function testValidValuesMax($value, $mbOnly = false)
public function testValidValuesExact($value, $mbOnly = false)
{
if ($mbOnly && !function_exists('mb_strlen')) {
return $this->markTestSkipped('mb_strlen does not exist');
$this->markTestSkipped('mb_strlen does not exist');
}

$this->context->expects($this->never())
Expand All @@ -156,7 +156,7 @@ public function testValidValuesExact($value, $mbOnly = false)
public function testInvalidValuesMin($value, $mbOnly = false)
{
if ($mbOnly && !function_exists('mb_strlen')) {
return $this->markTestSkipped('mb_strlen does not exist');
$this->markTestSkipped('mb_strlen does not exist');
}

$constraint = new Length(array(
Expand All @@ -180,7 +180,7 @@ public function testInvalidValuesMin($value, $mbOnly = false)
public function testInvalidValuesMax($value, $mbOnly = false)
{
if ($mbOnly && !function_exists('mb_strlen')) {
return $this->markTestSkipped('mb_strlen does not exist');
$this->markTestSkipped('mb_strlen does not exist');
}

$constraint = new Length(array(
Expand All @@ -204,7 +204,7 @@ public function testInvalidValuesMax($value, $mbOnly = false)
public function testInvalidValuesExact($value, $mbOnly = false)
{
if ($mbOnly && !function_exists('mb_strlen')) {
return $this->markTestSkipped('mb_strlen does not exist');
$this->markTestSkipped('mb_strlen does not exist');
}

$constraint = new Length(array(
Expand Down
4 changes: 2 additions & 2 deletions Tests/Constraints/MaxLengthValidatorTest.php
Expand Up @@ -62,7 +62,7 @@ public function testExpectsStringCompatibleType()
public function testValidValues($value, $mbOnly = false)
{
if ($mbOnly && !function_exists('mb_strlen')) {
return $this->markTestSkipped('mb_strlen does not exist');
$this->markTestSkipped('mb_strlen does not exist');
}

$this->context->expects($this->never())
Expand All @@ -88,7 +88,7 @@ public function getValidValues()
public function testInvalidValues($value, $mbOnly = false)
{
if ($mbOnly && !function_exists('mb_strlen')) {
return $this->markTestSkipped('mb_strlen does not exist');
$this->markTestSkipped('mb_strlen does not exist');
}

$constraint = new MaxLength(array(
Expand Down
4 changes: 2 additions & 2 deletions Tests/Constraints/MinLengthValidatorTest.php
Expand Up @@ -62,7 +62,7 @@ public function testExpectsStringCompatibleType()
public function testValidValues($value, $mbOnly = false)
{
if ($mbOnly && !function_exists('mb_strlen')) {
return $this->markTestSkipped('mb_strlen does not exist');
$this->markTestSkipped('mb_strlen does not exist');
}

$this->context->expects($this->never())
Expand All @@ -88,7 +88,7 @@ public function getValidValues()
public function testInvalidValues($value, $mbOnly = false)
{
if ($mbOnly && !function_exists('mb_strlen')) {
return $this->markTestSkipped('mb_strlen does not exist');
$this->markTestSkipped('mb_strlen does not exist');
}

$constraint = new MinLength(array(
Expand Down

0 comments on commit fd56fd6

Please sign in to comment.