Skip to content

Commit

Permalink
Removed trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Aug 1, 2014
1 parent c4b555f commit 90c4532
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ checks:
require_scope_for_properties: true
spacing_around_conditional_operators: true
spacing_around_non_conditional_operators: true
spacing_of_function_arguments: true
spacing_of_function_arguments: true
8 changes: 4 additions & 4 deletions tests/Http/HttpRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,22 +327,22 @@ public function testAllInputReturnsNestedInputAndFiles()
$request = Request::create('/?boom=breeze', 'GET', array('foo' => array('bar' => 'baz')), array(), array('foo' => array('photo' => $file)));
$this->assertEquals(array('foo' => array('bar' => 'baz', 'photo' => $file), 'boom' => 'breeze'), $request->all());
}


public function testAllInputReturnsInputAfterReplace()
{
$request = Request::create('/?boom=breeze', 'GET', array('foo' => array('bar' => 'baz')));
$request->replace(array('foo' => array('bar' => 'baz'), 'boom' => 'breeze'));
$this->assertEquals(array('foo' => array('bar' => 'baz'), 'boom' => 'breeze'), $request->all());
}


public function testAllInputWithNumericKeysReturnsInputAfterReplace()
{
$request1 = Request::create('/', 'POST', array(0 => 'A', 1 => 'B', 2 => 'C'));
$request1->replace(array(0 => 'A', 1 => 'B', 2 => 'C'));
$this->assertEquals(array(0 => 'A', 1 => 'B', 2 => 'C'), $request1->all());

$request2 = Request::create('/', 'POST', array(1 => 'A', 2 => 'B', 3 => 'C'));
$request2->replace(array(1 => 'A', 2 => 'B', 3 => 'C'));
$this->assertEquals(array(1 => 'A', 2 => 'B', 3 => 'C'), $request2->all());
Expand Down

0 comments on commit 90c4532

Please sign in to comment.