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

Use custom attributes in lt/lte/gt/gte rules messages #29715

Closed
wants to merge 463 commits into from

Conversation

rgehan
Copy link
Contributor

@rgehan rgehan commented Aug 24, 2019

This PR fixes #29441

iamgergo and others added 30 commits July 13, 2019 18:13
[5.9] Use POST method when re-sending email verfication.
[5.9] Don't set default message when denying policy, move "This action is unauthorized" message to exception.
[5.9] Convert Arrayable Eloquent casted attributes to Array.
[5.9] Handle array and object values when updating JSON fields
[5.9] Queue cookies with same name and distinct paths
we can depend on `Illuminate\Contracts\Queue\Factory` in the `Illuminate\Queue\Worker` instead of the
concrete manager instance. This allows for decorating the QueueManager
with extra functionality.

This solves the issues encountered in [27826](laravel#27826) and [laravel#29225](laravel#29225).
JosephSilber and others added 29 commits August 20, 2019 09:22
# Conflicts:
#	src/Illuminate/Database/Query/Grammars/MySqlGrammar.php
#	src/Illuminate/Database/Query/Grammars/PostgresGrammar.php
#	src/Illuminate/Database/Query/Grammars/SQLiteGrammar.php
…n-is-lazy

[6.0] Test LazyCollection is lazy
Container.

This is part of making the community aware that for most cases Manager
doesn't not require an implementation of Application contracts and
Container should be sufficient such as being used by Lumen.

Laravel itself only extends Illuminate\Support\Manager for the
following classes:

- Illuminate\Hashing\HasManager
- Illuminate\Mail\TransportManager
- Illuminate\Notifications\ChannelManager
- Illuminate\Session\SessionManager

Signed-off-by: Mior Muhammad Zaki <[email protected]>
This is a follow-up for laravel#29619

Mior correctly noted that Managers only need to have a container instance to function properly. The fact that the default container we inject here is an instance of the Laravel application is an implementation detail.

This PR contains no breaking changes other than renaming the $app property to $container. The new type-hint still allows for the current Application instance to be passed through but makes it clear that this could be any implementation of a container.

I've also made $config a dedicated property on the Manager class as it's widely used on our own adapters. This makes it easy to reference it. The container array calls were replaced by `make` methods because `ArrayAccess` isn't part of the Container contract (and it shouldn't be).
…move-mutating-methods

[6.0] Remove mutating methods from lazy collection
[5.8] Added ability to granulary set tries & timeout to Broadcast events
@rgehan rgehan closed this Aug 24, 2019
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.

lte/gte/gt/lt not using custom attribute labels