Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
[cs] Remove spaces in blank lines too
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks3w committed Jun 2, 2015
1 parent b761e59 commit db9c5ca
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
<!-- inherit rules from: -->
<rule ref="PSR2"/>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>

<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
<properties>
<property name="ignoreBlankLines" value="false"/>
</properties>
</rule>

<!-- Paths to check -->
<file>src</file>
Expand Down
2 changes: 1 addition & 1 deletion src/HeaderSecurity.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public static function assertValid($value)
throw new InvalidArgumentException('Invalid header value');
}
}

/**
* Assert whether or not a header name is valid.
*
Expand Down
2 changes: 1 addition & 1 deletion src/Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public function seek($offset, $whence = SEEK_SET)
if (! $this->resource) {
throw new RuntimeException('No resource available; cannot seek position');
}

if (! $this->isSeekable()) {
throw new RuntimeException('Stream is not seekable');
}
Expand Down
8 changes: 4 additions & 4 deletions src/UploadedFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public function moveTo($targetPath)

$this->moved = true;
}

/**
* {@inheritdoc}
*
Expand All @@ -168,7 +168,7 @@ public function getSize()
{
return $this->size;
}

/**
* {@inheritdoc}
*
Expand All @@ -179,7 +179,7 @@ public function getError()
{
return $this->error;
}

/**
* {@inheritdoc}
*
Expand All @@ -190,7 +190,7 @@ public function getClientFilename()
{
return $this->clientFilename;
}

/**
* {@inheritdoc}
*/
Expand Down

0 comments on commit db9c5ca

Please sign in to comment.