Commit Graph

17832 Commits

Author SHA1 Message Date
Taylor Otwell 5ceadf91f1 version 2020-04-14 09:16:50 -05:00
Graham Campbell 179b7d37fa
Add support for the new composer installed.json format (#32310) (#32330)
Co-authored-by: Jakub Arbet <jakub.arbet@protonmail.com>
2020-04-11 09:41:37 -05:00
Taylor Otwell d4edbf5f25
Apply fixes from StyleCI (#29062) 2019-07-03 11:39:03 -06:00
Adam 6490d6354e Added return type to avoid errors in tests 2019-07-03 13:30:20 +02:00
Dries Vints de04af8e9b Apply fixes from StyleCI
[ci skip] [skip ci]
2019-04-22 19:10:46 +00:00
Nguyễn Xuân Quỳnh caedd40c66 Make view finder setter returns this 2019-02-26 07:47:06 +07:00
Jason Varga b130c9545b Add setter 2019-02-25 14:37:27 -05:00
Dries Vints b12feabda7 [5.6] Fix cache repository (#26496)
* Fix a bug with PHP 7.2.12

PHP 7.2.12 broke the way Carbon's diffInSeconds method works. Using diffInRealSeconds instead fixes the problem.

See https://github.com/briannesbitt/Carbon/issues/1503

* Clean up diff check in cache repository

We can pass the duration here directly.

Signed-off-by: Dries Vints <dries.vints@gmail.com>

* Upgrade mimum Carbon version

This fixes a problem with working with DateTimeImmutable instances in the cache repository.

Signed-off-by: Dries Vints <dries.vints@gmail.com>
2018-11-13 08:14:53 -06:00
hedii d32eae28aa Cast user_string to string to avoid ErrorException 2018-10-15 15:41:31 +02:00
Evgeniy Kuzmin 7939094eb5 [5.6] fixed @return type for phpstan (#26098)
* fixed @return type for phpstan

* code style fix

* Update Mailer.php
2018-10-12 08:42:13 -05:00
Tetiana Blindaruk 71964f873c [5.6] Revert email lang template changes. (#25983)
* [5.6] Revert email lang template changes.
I`m not sure, but probably we also should reverting `email lang template` ([#25734](https://github.com/laravel/framework/pull/25734)) changes in 5.6 version

Since in prev 5.6 release we also had:
 - `Fixed translation escaping ([#25858](https://github.com/laravel/framework/pull/25858), [4c46500](4c465007bb))` for fixed translation escaping

The same revert was in 5.7 (https://github.com/laravel/framework/pull/25963)

* [5.6] Revert email lang template changes.
 - add `comma` after last value in array.
2018-10-07 10:51:20 -05:00
Taylor Otwell 37bb306f51 version 2018-10-04 09:50:41 -05:00
Taylor Otwell 4c465007bb revert 2018-10-04 09:43:16 -05:00
Antonio Pauletich 1807c924d9 [5.6] Fix translation escaping (#25858)
* Fix translation escaping

* Update Translator.php
2018-10-02 06:27:20 -07:00
Laurence Ioannou 852ff285db Update email.blade.php (#25734) 2018-09-21 11:42:35 -05:00
Graham Campbell 394f79f9a6 Fixed required carbon version 2018-09-06 14:37:53 +01:00
Taylor Otwell 38d838bab9 version 2018-09-04 08:15:09 -05:00
joskfg dc83d33c3f [5.6] Allow load relations with similar keys using strict comparisson (#25429)
* 5.6 Allow load relations with similar keys using strict comparisson

* feature/Allow-load-relations-without-losing-keys Fix null value
2018-09-04 08:11:31 -05:00
Taylor Otwell 805181ce81 formatting 2018-09-04 08:01:52 -05:00
Jonas Staudenmeir a8c505652b Fix nullable MorphTo and $touches 2018-09-04 02:08:41 +02:00
Phan An 83bd575a3f Fix the return types for Command methods (#25425) 2018-09-03 15:49:38 +02:00
Gabriel Caruso 7fef0307c6
[5.6] Move null type hint to the last position in phpDocs 2018-09-02 18:09:00 -03:00
Taylor Otwell 975e182d42 version 2018-09-02 15:51:42 +02:00
Jonas Staudenmeir ec81088570 Fix MorphTo lazy loading and withoutGlobalScopes() (#25406) 2018-09-02 15:49:42 +02:00
Taylor Otwell e095619677 version 2018-09-02 13:32:45 +02:00
Taylor Otwell e23350fdc8 Merge branch '5.6' of github.com:laravel/framework into 5.6 2018-09-02 13:30:02 +02:00
Taylor Otwell d3c0a36905 escape lang directive echos 2018-09-02 13:28:46 +02:00
Jonas Staudenmeir 7d4ff15d30 [5.6] Fix self relation existence queries with custom keys (#25397)
* Fix BelongsTo self relation existence query with custom owner key

* Fix HasManyThrough self relation existence query with custom local key
2018-09-01 10:56:30 +02:00
Ed Bentinck 90a844d483 Revert model syncing after soft-delete (#25392) 2018-08-31 21:03:53 +02:00
Taylor Otwell 45daf1edc6 formatting 2018-08-31 14:56:56 +02:00
Ricardo 22669b8ae0 logoutOtherDevices breaks "remember me" cookie 2018-08-31 10:27:47 +02:00
Joseph Wensley 4eab953451 Fix mailables always being queued for later if using Queueable trait (#25378) 2018-08-29 23:40:58 +02:00
Jonas Staudenmeir a784efcc17 Fix relationships with global scope columns (#25368) 2018-08-29 05:55:06 -05:00
Graham Campbell c5401623dc Use the getAttributes method on insert (#25355) 2018-08-27 23:06:09 -05:00
Jonas Staudenmeir 9e0b94779f Use higher order messages in Collection (#25356) 2018-08-27 22:42:38 -05:00
Taylor Otwell 02abbe2091 version 2018-08-27 08:18:24 -05:00
Jonas Staudenmeir e1883c02dd Support JSON SELECT queries on SQLite (#25328) 2018-08-26 08:56:10 -05:00
Taylor Otwell e5ef727d50 formatting 2018-08-26 08:49:46 -05:00
Taylor Otwell c59de77423 Merge branch 'morph-to-global-scopes' of https://github.com/staudenmeir/framework into staudenmeir-morph-to-global-scopes 2018-08-26 08:45:18 -05:00
Jonas Staudenmeir 4ea7c05373 Throw exception for has() with MorphTo relationship (#25337) 2018-08-26 08:44:25 -05:00
Jonas Staudenmeir 6beb74bf57 Fix MorphTo eager loading and withoutGlobalScopes() 2018-08-25 16:59:04 +02:00
Sébastien Nikolaou 4c0f7abdcc Fix return docblocks in BelongsToMany (#25314) 2018-08-24 08:57:59 -05:00
Jonas Staudenmeir 947a4f8e51 Fix whereTime() on SQL Server (#25316) 2018-08-24 08:53:16 -05:00
Jack Zuban c3a438cab2 refactor NotificationSlackChannelTest for being able to provide a more useful and helpful test output when the test fails (#25318)
add correct returning type
2018-08-24 08:53:02 -05:00
Graham Campbell f4b7494502 Handle AWS Connection Lost (#25295) 2018-08-22 07:36:34 -05:00
Michał Putkowski 8e7942b063 remove unused var (#25293) 2018-08-22 07:36:00 -05:00
Bryan Channon 85c365110a Fix typo 2018-08-22 10:53:07 +01:00
Taylor Otwell 66c9cf8119 version 2018-08-21 08:44:37 -05:00
Jonas Staudenmeir 9363e50002 Fix withCount() and withoutGlobalScopes() (#25280) 2018-08-21 08:34:21 -05:00
Taylor Otwell be92f84136 formatting 2018-08-20 09:23:56 -05:00