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
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
fiachra mcdermott
e736c88a0d
refactor: move relation method handler to handlers namespace
2021-06-23 06:56:13 -04:00
fiachra mcdermott
d0c27d8a0c
refactor: move redirect handler to handlers namespace
2021-06-23 06:53:03 -04:00
fiachra mcdermott
252ca668c3
chore: remove handler that always returns mixed
2021-06-23 06:51:36 -04:00
fiachra mcdermott
25b9323664
refactor: move trans handler to handlers namespace
2021-06-23 06:49:02 -04:00
fiachra mcdermott
bd6737e7a9
refactor: move url handler to handlers namespace
2021-06-23 06:47:22 -04:00
fiachra mcdermott
d65b06fee0
fix: duplicate extension
2021-06-23 06:45:49 -04:00
fiachra mcdermott
a04fbb998e
refactor: move path handler to handlers namespace
2021-06-23 06:45:40 -04:00
fiachra mcdermott
9030eb16a6
refactor: move view handler to handlers namespace
2021-06-23 06:43:26 -04:00
fiachra mcdermott
aeaf71d33d
style: lint
2021-06-21 18:46:45 -07:00
fiachra mcdermott
1badb873a4
fix: fix reference to model classes
2021-06-21 18:41:08 -07:00
fiachra mcdermott
c62c126b81
chore: ignore deprecated warnings for now
2021-06-21 18:39:48 -07:00
fiachra mcdermott
a835935b98
docs: document that im moving these
2021-06-21 18:34:32 -07:00
fiachra mcdermott
d92e310bdd
refactor: move app return type provider into container handler
2021-06-21 18:33:28 -07:00
fiachra mcdermott
29f88e6e9a
refactor: move model property provider to handler namespace
2021-06-21 18:30:13 -07:00
fiachra mcdermott
61148e91dc
fix: include correct file location
2021-06-21 18:29:11 -07:00