Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.5] Fix assertRedirect #23180

Closed

Conversation

adaroobi
Copy link
Contributor

This corresponds to #23176 for 5.5

taylorotwell and others added 30 commits December 29, 2017 13:47
* Update EncryptCookies.php

Just a quick cleanup, `$c` is used when `$cookie` is better, plus `$cookieName` and `$name` are used when they should really be either `$cookieName` or `$name`.

* remove whitespace.
It doesn't really make sense to make the getter protected function if the setter is public.
This is a re-write / re-work of many of @phroggyy's ideas to improve logging.

Implemented:

Multi-driver logging support so you can have multiple logging channels per app.
"Pipes" in @phroggyy's pull request have been re-worked as "taps". Allows customization of logging channel post-creation.
Continued support for functionality provided by configureMonologUsing maintained using custom driver type with factory invokable that returns any PSR3 compatible logger. This allows full customization of entire logging channel.
I decided not to implement Log::event functionality from PR because I think that would be better suited for something like a ShouldLog interface on the event itself (to complement ShouldBroadcast, etc.).

Primary breaking changes:

New log configuration file / settings.
configureMonologUsing now custom driver type.
Illuminate\Contracts\Log removed. Was literal duplication of PSR3 logging interface.
Illuminate\Log\Writer renamed to Illuminate\Log\Logger.
As with laravel#22484 , when inserting a pivot record via `->attach()` the `InteractsWithPivotTable.php` trait doesn't check to see if the pivot table has a model representation. It' simply finds the table name and inserts a new record. Because of this, the timestamps are passed as `Carbon` instances and then turn to strings via its `toString()` method. If the consumer is using a pivot Model, it should use that models dateFormat to format by, not the `toString()` method. This simply news-up the pivot model, fetches it's dateformat and formats the `$fresh` date against it.
taylorotwell and others added 28 commits February 8, 2018 21:25
* Cache loggers

* Test LogManager caches Logger instances

* Use assertSame
Co-authored-by: Anand Capur <git@anand.io>
* Remove card-default class

* Remove card-default class

* Remove card-default class

* Remove card-default class

* Remove card-default class
…3132)

* Fixes starting of two database transactions in tests

* indentation fixed
It's now under on its own namespace to co-live with Illuminate\Collection. And this is preventing us to require it.
@adaroobi adaroobi closed this Feb 15, 2018
@adaroobi adaroobi deleted the fix-assertRedirect-retained-original-tests branch February 15, 2018 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.