Commit Graph

440 Commits

Author SHA1 Message Date
feek
0e2f510f2e
Merge pull request #170 from caugner/model-@property-support
fix: Support @property on Model with imported type
2021-07-09 12:28:25 -04:00
feek
b6caca742d
Merge pull request #172 from caugner/support-Http-FormRequest
fix: ignore PropertyNotSetInConstructor in Console\Command, Http\FormRequest and Notifications\Notifications classes
2021-07-09 12:27:19 -04:00
feek
8c7f8b7d2b
Merge pull request #177 from caugner/add-missing-illuminate-dependencies
fix: add missing illuminate/* dependencies
2021-07-09 12:26:31 -04:00
feek
0183b9808b
Merge pull request #176 from caugner/test-laravel-6-instead-of-7
Test Laravel 6.x (LTS) instead of 7.x (EOL)
2021-07-09 12:25:42 -04:00
Claas Augner
4e222fafac chore: migrate from Hooks to EventHandlers 2021-07-07 20:52:59 +02:00
Claas Augner
dcdc8295df fix: add missing illuminate/* dependencies 2021-07-07 19:52:34 +02:00
Claas Augner
2e290a2abb fix: suppress PropertyNotSetInConstructor in Notifications\Notification 2021-07-07 19:40:48 +02:00
Claas Augner
58c889914c test: case for Notifications\Notification 2021-07-07 19:39:26 +02:00
Claas Augner
b41de178af fix: suppress NonInvariantDocblockPropertyType on Command::$description 2021-07-07 19:39:26 +02:00
Claas Augner
273411ad94 fix: suppress PropertyNotSetInConstructor in Command/FormRequest 2021-07-07 19:39:26 +02:00
Claas Augner
c8e0c5161e test: case for Console\Command 2021-07-07 19:39:26 +02:00
Claas Augner
908bdfd87b test: case for Http\FormRequest 2021-07-07 19:39:26 +02:00
Claas Augner
025a447669 fix: run ide-helper:models with --reset flag
This avoids that existing @property annotations are copied to
cache/models.stubphp, which caused annotated properties that use an
imported type to break, because the imports are not copied over.
2021-07-07 00:32:11 +02:00
Claas Augner
e973fef893 test: ensure Model @property support 2021-07-07 00:31:40 +02:00
Claas Augner
71349d2a2e fix!: test 6.x (LTS) instead of 7.x (EOL) 2021-07-07 00:17:33 +02:00
feek
28b697a39a
Merge pull request #175 from caugner/move-optional-stub
chore: move Optional stub to /stubs
2021-07-06 17:58:36 -04:00
Claas Augner
dd6d5f337a chore: move Optional stub to /stubs 2021-07-06 23:49:31 +02:00
feek
be0c665ce6
Merge pull request #174 from caugner/optimize-imports
chore: optimize + add imports
2021-07-06 17:33:49 -04:00
Claas Augner
a07dd7fae8 chore: add imports 2021-07-06 23:25:02 +02:00
Claas Augner
3d5109adb9 chore: optimize imports 2021-07-06 22:10:30 +02:00
feek
935357a7c8
Merge pull request #171 from caugner/test-abort
test: add test case for abort()
2021-07-06 14:24:43 -04:00
feek
2acbbfbde1
Merge pull request #169 from caugner/reword-acceptance-tests
Reword acceptance tests
2021-07-06 14:18:23 -04:00
Claas Augner
714db50e4f Reword acceptance tests 2021-07-06 16:28:37 +02:00
Claas Augner
a73188d9fa test: add test case for abort() 2021-07-06 16:18:28 +02:00
feek
7f15023e45
Merge pull request #164 from caugner/gitignore-laravel
chore(gitignore): add laravel folder
2021-07-05 11:18:55 -04:00
feek
3392dc087d
Merge pull request #167 from caugner/head-support 2021-07-05 11:07:50 -04:00
Claas Augner
1e7bbf8ee1 feature: support head() and last() 2021-07-05 14:02:39 +02:00
Claas Augner
0369da4a30 test: ensure head/last work correctly 2021-07-05 14:02:39 +02:00
Claas Augner
71f71a00dc chore(gitignore): add laravel folder 2021-07-05 10:13:50 +02:00
fiachra mcdermott
997c3e6144 test: ensure find or fail works correctly 2021-07-04 14:04:51 -04:00
fiachra mcdermott
fbf40a7f19 test: ensure types are propagated 2021-07-04 13:58:31 -04:00
fiachra mcdermott
402ad73244 test: add test case for scopes 2021-07-04 13:51:08 -04: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
fiachra mcdermott
da4e6bcec3 chore: analyze 2021-06-29 10:31:02 -04:00
fiachra mcdermott
9f4c8fa2fb chore: skip failing test 2021-06-29 10:21:35 -04:00
fiachra mcdermott
3736c65592 chore: rename class 2021-06-29 00:48:24 -04:00
fiachra mcdermott
d6025435d6 chore: remove dead code 2021-06-29 00:46:26 -04:00
fiachra mcdermott
48ed05d9a0 fix: would help to require and load the handler 2021-06-29 00:45:58 -04:00
fiachra mcdermott
55da50f519 refactor: extract model property accessors into their own handler 2021-06-29 00:45:10 -04:00
fiachra mcdermott
afa4144523 test: fix negative tests by including table headers. closes #18 2021-06-29 00:26:56 -04:00
fiachra mcdermott
b607d290cc style: lint 2021-06-29 00:14:57 -04:00
fiachra mcdermott
f1f23aca03 refactor: consolidate proxy helpers into a util class 2021-06-29 00:14:13 -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
fiachra mcdermott
b287a0ad17 fix: inform psalm that all binded classes can be returned 2021-06-28 23:51:29 -04:00
feek
85f9102206
Merge pull request #159 from caugner/add-MorphOne-stub
feature: support for morphOne
2021-06-23 23:04:15 -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
d07614615b chore: update baseline 2021-06-23 07:12:45 -04:00
fiachra mcdermott
a66d8b563d refactor: move model method handler to handlers namespace 2021-06-23 06:58:34 -04:00