Skip to content

Commit a5bd2e8

Browse files
Ditched trailing whitespace
1 parent d8a39c4 commit a5bd2e8

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/Illuminate/Foundation/Http/Middleware/VerifyPostSize.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class VerifyPostSize implements Middleware {
1212
* @param \Illuminate\Http\Request $request
1313
* @param \Closure $next
1414
* @return mixed
15-
*
15+
*
1616
* @throws \Illuminate\Http\Exception\PostTooLargeException
1717
*/
1818
public function handle($request, Closure $next)
@@ -24,7 +24,7 @@ public function handle($request, Closure $next)
2424

2525
return $next($request);
2626
}
27-
27+
2828
/**
2929
* Determine the server 'post_max_size' as bytes.
3030
*
@@ -33,7 +33,7 @@ public function handle($request, Closure $next)
3333
protected function getPostMaxSize()
3434
{
3535
$postMaxSize = ini_get('post_max_size');
36-
36+
3737
switch (substr($postMaxSize, -1))
3838
{
3939
case 'M':
@@ -46,8 +46,8 @@ protected function getPostMaxSize()
4646
case 'g':
4747
return (int) $postMaxSize * 1073741824;
4848
}
49-
49+
5050
return (int) $postMaxSize;
5151
}
52-
52+
5353
}

tests/Database/DatabaseEloquentHasManyThroughTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function testFindMethod()
122122

123123
$related = $relation->getRelated();
124124
$related->shouldReceive('getQualifiedKeyName')->once()->andReturn('posts.id');
125-
125+
126126
$relation->find('foo');
127127
}
128128

@@ -144,7 +144,7 @@ public function testIgnoreSoftDeletingParent()
144144
{
145145
list($builder, $country,, $firstKey, $secondKey) = $this->getRelationArguments();
146146
$user = new EloquentHasManyThroughSoftDeletingModelStub;
147-
147+
148148
$builder->shouldReceive('whereNull')->with('users.deleted_at')->once()->andReturn($builder);
149149

150150
$relation = new HasManyThrough($builder, $country, $user, $firstKey, $secondKey);

tests/Database/DatabaseEloquentIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public function testBasicMorphManyRelationship()
340340
public function testEmptyMorphToRelationship()
341341
{
342342
$photo = EloquentTestPhoto::create(['name' => 'Avatar 1']);
343-
343+
344344
$this->assertNull($photo->imageable);
345345
}
346346

tests/Database/DatabaseMigratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public function testResettingMigrationsRollsBackAllMigrations()
207207
$migrator->getRepository()->shouldReceive('getRan')->once()->andReturn([
208208
$fooMigration->migration,
209209
$barMigration->migration,
210-
$bazMigration->migration
210+
$bazMigration->migration
211211
]);
212212

213213
$barMock = m::mock('stdClass');
@@ -217,7 +217,7 @@ public function testResettingMigrationsRollsBackAllMigrations()
217217
$fooMock->shouldReceive('down')->once();
218218

219219
$bazMock = m::mock('stdClass');
220-
$bazMock->shouldReceive('down')->once();
220+
$bazMock->shouldReceive('down')->once();
221221

222222
$migrator->expects($this->at(0))->method('resolve')->with($this->equalTo('baz'))->will($this->returnValue($bazMock));
223223
$migrator->expects($this->at(1))->method('resolve')->with($this->equalTo('bar'))->will($this->returnValue($barMock));

tests/Database/DatabaseSchemaBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function testHasTableCorrectlyCallsGrammar()
2424
$this->assertTrue($builder->hasTable('table'));
2525
}
2626

27-
27+
2828
public function testTableHasColumns()
2929
{
3030
$connection = m::mock('Illuminate\Database\Connection');

tests/View/ViewBladeCompilerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ public function testSequentialCompileStringCalls()
667667
test';
668668
$expected = "test".PHP_EOL.'<?php echo $__env->make(\'foo\', array_except(get_defined_vars(), array(\'__data\', \'__path\')))->render(); ?>';
669669
$this->assertEquals($expected, $compiler->compileString($string));
670-
670+
671671
// use the same compiler instance to compile another template with @extends directive
672672
$string = '@extends(name(foo))'.PHP_EOL.'test';
673673
$expected = "test".PHP_EOL.'<?php echo $__env->make(name(foo), array_except(get_defined_vars(), array(\'__data\', \'__path\')))->render(); ?>';

0 commit comments

Comments
 (0)