Commit Graph

156 Commits

Author SHA1 Message Date
fiachra mcdermott
6edc34d9d1 refactor: move fakes to their own namespace 2021-06-21 17:50:16 -07:00
fiachra mcdermott
6950a9a4e6 refactor: rename to registerStubs 2021-06-21 17:38:44 -07:00
fiachra mcdermott
931ec53964 refactor: pull stubs out of src dir 2021-06-21 17:38:17 -07:00
fiachra mcdermott
9d96f541e3 refactor: extract registerHandlers to method 2021-06-21 17:34:46 -07:00
fiachra mcdermott
bd55a5aec3 chore: split up appinterfaceprovider and implement the new interfaces 2021-06-21 17:33:05 -07:00
fiachra mcdermott
6f1f671329 chore: move schema stuff to their own namespace 2021-06-21 16:59:17 -07:00
fiachra mcdermott
e311dc53af chore: move cache dir out of src 2021-06-21 16:45:30 -07:00
fiachra mcdermott
dea68b56ba chore: create util namespace 2021-06-21 16:37:19 -07:00
fiachra mcdermott
0d84139e11 fix: force scanning of rate limiter facade 2021-06-16 13:48:03 -07:00
fiachra mcdermott
1769957916 style: lint 2021-06-15 11:47:38 -07: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
Pawel Trauth
54196aaad8 revert whitespace changes 2021-06-13 13:16:38 +01:00
Pawel Trauth
3dce1922aa add missing schema declarations 2021-06-13 13:13:22 +01:00
feek
dcf22d43c2
Revert "Update method signature for getPropertiesFromTable" 2021-06-09 22:23:33 -07:00
feek
d43d48f8c7
Merge branch 'master' into patch-1 2021-06-09 10:55:26 -07: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
yaegassy
5753fef637 fix: Change to catching "Throwable". 2021-04-18 05:15:43 +09:00
yaegassy
b404a2706b Added support for not stopping the execution of psalm even when a error occurs. 2021-04-16 13:41:45 +09:00
Hendrik Heil
3964e74c0e
Update method signature for getPropertiesFromTable
LaravelIdeHelper changed the visibility of `getPropertiesFromTable` from `protected` to `public` in this PR: https://github.com/barryvdh/laravel-ide-helper/pull/945
2021-04-02 12:48:03 +02:00
Chris Leppanen
42449b8744 Make the Model template on the Builder covariant. 2021-03-20 20:11:27 -04:00
masterfermin02
2425330b22 This pr is to fix the build test issues 2021-03-13 00:29:33 -05:00
Feek
fb6ce74d1f fix: proper filename 2020-12-07 09:56:02 -05:00
Feek
fbcd003511 style: lint 2020-12-06 16:02:49 -05:00
Feek
09b500ee87 fix: offsetget is an alias for make 2020-12-06 16:00:03 -05: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
Matt Brown
a6f8112550 Fix style issues 2020-10-19 12:16:28 -04:00
Matt Brown
62f9610a2a Update return types 2020-10-19 12:12:59 -04:00
Matthew Brown
f319478077
Fix ref 2020-09-09 06:56:37 -04:00
The Doctor
754f13f25c
Support Laravel 8. 2020-09-08 23:48:56 +02:00
Matthew Brown
05fccc7e81
Fix string check cc @mr-feek @brendt 2020-09-01 10:00:00 -04:00
Matt Brown
d4c9daf2a5 Fix style 2020-08-31 20:01:39 -04:00
Matt Brown
acbfcaa36d Remove bad pseudo static methods from generated models 2020-08-31 19:58:41 -04:00
Brent Roose
37bb8acc94 Remove unused getPropertiesFromMethods method 2020-08-26 09:38:06 +02:00
Feek
287457cf87 feature: dynamically resolve paths 2020-08-14 22:30:17 -07:00
Feek
cda629eb62 fix: resolve UnsafeInstantiation 2020-08-14 21:46:17 -07:00
Feek
f68a4c24d8 chore: remove redundant condition 2020-07-25 20:23:53 -07:00
Feek
a04a9f53be style: lint 2020-07-25 19:05:58 -07:00
Feek
1277870058 chore: suppress psalm issues 2020-07-25 18:52:03 -07:00
Feek
900794d51f fix: laravel 5 throws a reflection exception 2020-07-25 18:29:26 -07:00
Feek
c88ef60f4e fix: laravel application doesnt exist for lumen, use the app helper to resolve the correct one 2020-07-25 15:53:25 -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
Matt Brown
29e1fee5f5 Add Taint Analysis test 2020-06-21 18:15:07 -04: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
f996f4d559 fix: defensive safety against nulls 2020-06-06 22:02:15 -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
a81b4cd990 refactor: extract logic to methods 2020-06-06 13:56:50 -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
b5432cf999 fix: remove Eloquent mixin because our plugin does a better job at the likes of find or fail 2020-05-22 21:05:14 -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
1010f65905 refactor: extract get app from boot app 2020-05-08 18:39:35 -07:00
Feek
6bd139a4ea refactor: move app resolving into its own helper 2020-05-08 16:59:51 -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
Matthew Brown
8552baf29f
Merge pull request #44 from mr-feek/fix-tests
Fix tests
2020-04-18 17:56:03 -04:00
Feek
92342e9f74 change file extension of ide helper files so phpstorm doesnt analyze them 2020-04-18 13:16:19 -07:00
Feek
a28fe5025a return a type of the class string provided 2020-04-18 00:24:13 -07:00
Feek
d6cb6eb6da fix: lost you in a bad merge conflict 2020-04-18 00:18:48 -07:00
Matthew Brown
a603f224db
Merge pull request #34 from mr-feek/consolidate-plugin
Consolidate plugin files
2020-04-14 00:37:27 -04:00
Feek
2ad0043f12 fix: return class instance of type 2020-04-13 21:30:47 -07:00
Feek
c15f1f770e refactor: simplify logic for booting the app by stubbing the lumen application file 2020-04-13 21:16:12 -07:00
Feek
94005e5f92 refactor: consolidate classes instead of inheritance 2020-04-13 21:16:07 -07:00
Matthew Brown
ea1d89b452
Merge pull request #41 from mr-feek/patch-2
Fix: we should be able to call class_exists
2020-04-14 00:08:46 -04:00
feek
badc00e962
Update FakeMetaCommand.php 2020-04-13 21:04:13 -07:00
Matthew Brown
a14701e915
Merge pull request #39 from mr-feek/container-types
feature: add types to container
2020-04-14 00:01:28 -04:00
feek
bab6652261
Update FakeMetaCommand.php 2020-04-13 20:57:49 -07:00
Feek
783b014150 fix: stub out enumerable since it doesnt exist in 5.5 2020-04-12 21:13:57 -07:00
Feek
65569e9df5 feature: add types to container 2020-04-12 19:14:44 -07:00
Matthew Brown
e5188d14fc
Fix generated types
Cc @mr-feek
2020-04-12 15:52:21 -04:00
Matthew Brown
a89fe23e72
Merge branch 'master' into template-collection 2020-04-12 15:44:44 -04:00
Matthew Brown
eb19d47d9c
Merge pull request #31 from mr-feek/fix-schema-aggregator
fix: strtolower
2020-04-12 15:38:33 -04:00
Feek
36e16b87b6 chore: lint 2020-04-12 12:01:20 -07:00
Feek
b1497c252f feature: generic collections 2020-04-11 15:30:37 -07:00
Feek
bde49c4516 fix: strtolower 2020-04-11 13:02:39 -07:00
Feek
8ef4d611ed introduce testing 2020-04-08 00:47:02 -07:00
Feek
6c0b792d9a feature: redirect return types 2020-04-08 00:22:28 -07:00
Matthew Brown
77e1b8a321 Fix some Psalm errors and bump version 2020-01-08 00:10:08 -05:00
Matthew Brown
f9d530f17a Fix null arg 2020-01-05 22:52:27 -05:00
Matthew Brown
3b6b635128 Add separate set type for bool 2020-01-05 22:40:57 -05:00
Matthew Brown
f11cfff931 Improve bool type 2020-01-05 22:07:30 -05:00
Matthew Brown
084742d798 Fix getModels 2020-01-05 18:51:16 -05:00
Matthew Brown
406eda6bf4 Add model property provider 2020-01-05 18:46:59 -05:00
Matthew Brown
4265b7d00b Add new ideas 2020-01-05 15:51:49 -05:00
Matt Brown
f4b6fa9530 Use better API for inferring trans types 2019-11-25 17:01:27 -05:00
Alexis Saettler
a1e6f01511
Fix bad use 2019-10-27 00:54:45 +02:00
Philippe Thiers
051a276887 Fix some minors errors 2019-09-25 17:18:49 -03:00
Philippe Thiers
5b38dfe34a Interface in Lumen plugin 2019-09-23 14:08:54 -03:00
Philippe Thiers
cde56e8490 Add Lumen psalm plugin 2019-09-23 14:05:46 -03:00
Matt Brown
c48735631e Fix file casing 2019-04-12 13:57:40 -04:00
Wim Griffioen
ea1348d3e3 Make AppInterfaceProvider compatible with MethodReturnTypeProviderInterface 2019-03-19 15:01:11 +01:00
Matthew Brown
b366176b65
Add necessary param 2019-03-11 11:56:59 -04:00