Skip to content

Commit

Permalink
Adds version v5.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Feb 9, 2018
1 parent ae32dbe commit 2073527
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 15 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This is a mirror from https://github.com/laravel/framework/tree/5.6/src/Illuminate/Foundation

## Notes

On this package the class `src/Illuminate/Foundation/Application` don't implements Symfony `HttpKernelInterface`.

## Support the development
**Do you like this project? Support it by donating**

Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Foundation/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Illuminate\Contracts\Foundation\Application as ApplicationContract;

class Application extends Container implements ApplicationContract, HttpKernelInterface
class Application extends Container implements ApplicationContract
{
/**
* The Laravel framework version.
*
* @var string
*/
const VERSION = '5.6.1';
const VERSION = '5.6.3';

/**
* The base path for the Laravel installation.
Expand Down
10 changes: 5 additions & 5 deletions src/Illuminate/Foundation/Console/Presets/react-stubs/Example.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ export default class Example extends Component {
render() {
return (
<div className="container">
<div className="row">
<div className="col-md-8 col-md-offset-2">
<div className="panel panel-default">
<div className="panel-heading">Example Component</div>
<div className="row justify-content-center">
<div className="col-md-8">
<div className="card card-default">
<div className="card-header">Example Component</div>

<div className="panel-body">
<div className="card-body">
I'm an example component!
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<template>
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Example Component</div>
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card card-default">
<div class="card-header">Example Component</div>

<div class="panel-body">
I'm an example component!
<div class="card-body">
I'm an example component.
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Foundation/Testing/TestResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -746,8 +746,8 @@ public function assertSessionHasErrors($keys = [], $format = null, $errorBag = '
$errors = app('session.store')->get('errors')->getBag($errorBag);

foreach ($keys as $key => $value) {
if (is_array($value)) {
PHPUnit::assertArraySubset($value, $errors->get($key, $format));
if (is_int($key)) {
PHPUnit::assertTrue($errors->has($value), "Session missing error: $value");
} else {
PHPUnit::assertContains($value, $errors->get($key, $format));
}
Expand Down

0 comments on commit 2073527

Please sign in to comment.