Commit Graph

44 Commits

Author SHA1 Message Date
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
9f4c8fa2fb chore: skip failing test 2021-06-29 10:21:35 -04:00
fiachra mcdermott
afa4144523 test: fix negative tests by including table headers. closes #18 2021-06-29 00:26:56 -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
46ef7e8882 fix: add classes that can be returned by the container to be scanned 2021-06-15 11:45:42 -07:00
fiachra mcdermott
4b8b7a61b3 test: delete negative test. too annoying to maintain 2021-06-15 08:51:38 -07:00
fiachra mcdermott
71360de9cb test: skip failing tests. I think something changed upstream in psalm that broke them. 2021-06-14 13:43:53 -07:00
Matt Brown
2b7fe4581a Update failing test 2021-05-01 17:05:01 -04:00
Matt Brown
72aa7cae29 Fix #128 - prevent crash calling arbitrary methods on Application interface
This adds a stub for the Container interface, adding a necessary mention for ArrayAccess
2021-05-01 17:02:20 -04:00
Feek
4651588756 hack: psalm 4 needs an __call method to exist. see https://github.com/vimeo/psalm/issues/4190 2020-12-06 15:59:47 -05:00
Sergey Protasov
9c8a7985e8 Fix anotation for first method of BelongsToMany 2020-10-21 15:12:06 +03:00
Feek
287457cf87 feature: dynamically resolve paths 2020-08-14 22:30:17 -07:00
Feek
5c724654b3 test: add test for app env 2020-07-25 20:17:31 -07:00
Feek
a227c1b87a change: resolve abstracts from container. This will allow us to resolve named aliases 2020-07-25 15:29:16 -07:00
Feek
1db37bec61 feature: abort_if support 2020-07-24 08:29:54 -07:00
Feek
2ab7eb7f15 test: add a test for resource and wrap 2020-07-13 18:04:26 -07:00
Matt Brown
29e1fee5f5 Add Taint Analysis test 2020-06-21 18:15:07 -04:00
Feek
7de82fa1e9 test: fix test 2020-06-21 14:36:35 -07:00
Feek
bbb671e4a8 feature: support morphedByMany 2020-06-09 23:56:56 -07:00
Feek
0ca2d9eeb0 feature: support for morphToMany 2020-06-09 23:50:37 -07:00
Feek
da0415a2c6 feature: support for polymorphic relations 2020-06-09 10:16:21 -07:00
Feek
d4eb8d58e5 fix: provide mixed for lower laravel versions 2020-06-07 00:26:26 -07:00
Feek
aa05c14a5b fix: relations should also be able to call query builder methods 2020-06-06 23:44:37 -07:00
Feek
3c837c25e3 fix: relations return themselves instead of builders 2020-06-06 21:55:33 -07:00
Feek
377d1a1d98 feature: add type support for eloquent relations 2020-06-06 19:55:08 -07:00
Feek
db44a11bfc chore: make test models and load them so we can test ide helper things 2020-06-06 19:32:22 -07:00
Feek
b4f9ee6ffc feature: support for response helper 2020-05-24 00:34:43 -07:00
Feek
616f9305d1 fix: correct typehint for builder find 2020-05-22 23:25:27 -07:00
Feek
fd7e5c99b0 feature: factory support 2020-05-22 22:23:05 -07:00
Feek
18287584d2 test: failing test case for factories 2020-05-22 22:23:05 -07:00
Feek
c2e30af74a feature: eloquent support 2020-05-21 00:18:36 -07:00
Feek
6a48722ab7 fix: get the actual class of the app depending on if its lumen vs. laravel 2020-05-08 18:40:39 -07:00
Feek
82255b351d fix: keep psalm exception handler 2020-05-08 16:48:01 -07:00
Feek
ae2cd3f299 feature: add return type info for url helper 2020-04-20 00:30:20 -07:00
Feek
a28fe5025a return a type of the class string provided 2020-04-18 00:24:13 -07:00
Matthew Brown
33d01f00c9
Merge pull request #36 from mr-feek/run-tests
chore: run tests on pr
2020-04-14 00:04:11 -04:00
Feek
65569e9df5 feature: add types to container 2020-04-12 19:14:44 -07:00
Feek
c18abf4686 fix: add extra expected error message 2020-04-12 14:54:43 -07:00
Feek
b1497c252f feature: generic collections 2020-04-11 15:30:37 -07:00
Feek
8ef4d611ed introduce testing 2020-04-08 00:47:02 -07:00