Commit Graph

18 Commits

Author SHA1 Message Date
Martin Zurowietz
fad8f22771 Fix failing tests for Eloquent relation types in Laravel 9 2022-04-26 14:08:33 +02:00
Martin Zurowietz
48d1c56b46 Fix failing tests for firstOrCreate and firstOrNew in Laravel 9 2022-04-26 13:39:37 +02:00
Seiya Tajima
58f610ab2b feat: support foreach with Support\Collection 2022-01-16 21:27:07 +09:00
Claas Augner
aa13cd1fc4 fix: Eloquent\Builder::find() may return null 2021-09-23 19:53:33 +02:00
shoxy
0b869cc153 Added missing Builder methods - count() and whereDate() 2021-07-29 22:14:05 +03:00
feek
5196f8fd2c
Merge pull request #157 from caugner/firstOrCreate-firstOrNew
Ensure firstOrNew/Create can be called without parameters in Laravel 8+
2021-07-13 13:41:43 -04:00
Claas Augner
d475892ecc chore: drop support for Laravel 7
Laravel 7 has reached its end-of-life.
2021-07-13 18:51:25 +02:00
Claas Augner
98a7bd56b1 fix: split Builder/HasOneOrMany diffs into 6/8 stubs 2021-07-13 18:33:00 +02:00
Claas Augner
25a9bf7ef0 fix: allow firstOrNew/Create to be called without parameters 2021-07-13 18:33:00 +02:00
Claas Augner
72a06f29b5 fix: move factory() to 6.x/7.x stubs 2021-07-13 10:07:59 +02:00
Claas Augner
dd6d5f337a chore: move Optional stub to /stubs 2021-07-06 23:49:31 +02:00
Claas Augner
1e7bbf8ee1 feature: support head() and last() 2021-07-05 14:02:39 +02:00
feek
72c74de915
feature: proper return types for logger. closes #161 (#163) 2021-07-04 13:45:13 -04:00
Martin Zurowietz
cf9fbd88c0
DB facade alias support (#126)
* Convert DB facade stub method to static
2021-07-04 13:18:39 -04:00
feek
e836b89901
wip on optional (#122)
* feature: hack in support for optional. Remove meta stub provider

Co-authored-by: Claas Augner <github@caugner.de>
2021-06-28 23:56:46 -04:00
Claas Augner
1e4bcccca6 feature: support for morphOne 2021-06-23 19:14:29 +02:00
fiachra mcdermott
8fad1256f3 fix: abort_if only never returns if boolean is true 2021-06-23 07:16:47 -04:00
fiachra mcdermott
931ec53964 refactor: pull stubs out of src dir 2021-06-21 17:38:17 -07:00