Skip to content

Commit

Permalink
Merge branch '5.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Feb 27, 2020
2 parents 9410d0f + f04124c commit 21f2e54
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 87 deletions.
1 change: 0 additions & 1 deletion .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ return PhpCsFixer\Config::create()
'no_extra_consecutive_blank_lines' => false,
'no_unneeded_control_parentheses' => false,
'not_operator_with_successor_space' => true,
'no_superfluous_phpdoc_tags' => false,
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
'phpdoc_align' => false,
'phpdoc_no_empty_return' => false,
Expand Down
66 changes: 0 additions & 66 deletions CHANGELOG-3.x.md

This file was deleted.

11 changes: 11 additions & 0 deletions CHANGELOG-5.x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog for 5.x

This changelog references the relevant changes (bug and security fixes) done to `orchestra/messages`.

## 5.0.0

Released: 2020-02-27

### Changes

* Update support for Laravel Framework v7.0.
1 change: 0 additions & 1 deletion src/Http/Middleware/StoreMessageBag.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class StoreMessageBag
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
*
* @return mixed
*/
Expand Down
12 changes: 0 additions & 12 deletions src/MessageBag.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ class MessageBag extends Message implements MessageBagContract
/**
* Set the session store.
*
* @param \Illuminate\Contracts\Session\Session $session
*
* @return $this
*/
public function setSessionStore(SessionContract $session)
Expand All @@ -42,8 +40,6 @@ public function setSessionStore(SessionContract $session)

/**
* Get the session store.
*
* @return \Illuminate\Contracts\Session\Session
*/
public function getSessionStore(): SessionContract
{
Expand All @@ -52,10 +48,6 @@ public function getSessionStore(): SessionContract

/**
* Extend Messages instance from session.
*
* @param \Closure $callback
*
* @return \Illuminate\Contracts\Support\MessageBag
*/
public function extend(Closure $callback): MessageContract
{
Expand All @@ -69,8 +61,6 @@ public function extend(Closure $callback): MessageContract
/**
* Retrieve Message instance from Session, the data should be in
* serialize, so we need to unserialize it first.
*
* @return \Illuminate\Contracts\Support\MessageBag
*/
public function copy(): MessageContract
{
Expand All @@ -84,8 +74,6 @@ public function copy(): MessageContract

/**
* Store current instance.
*
* @return void
*/
public function save(): void
{
Expand Down
3 changes: 0 additions & 3 deletions src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
/**
* Add a message to the bag.
*
* @param string $key
* @param string|callable $message
*
* @return \Orchestra\Contracts\Messages\MessageBag
*/
function messages(string $key, $message): MessageBag
{
Expand Down
4 changes: 0 additions & 4 deletions tests/Feature/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ abstract class TestCase extends Testbench
* Get package aliases.
*
* @param \Illuminate\Foundation\Application $app
*
* @return array
*/
protected function getPackageAliases($app): array
{
Expand All @@ -24,8 +22,6 @@ protected function getPackageAliases($app): array
* Get package providers.
*
* @param \Illuminate\Foundation\Application $app
*
* @return array
*/
protected function getPackageProviders($app): array
{
Expand Down

0 comments on commit 21f2e54

Please sign in to comment.