Commit Graph

156 Commits

Author SHA1 Message Date
Niels Vanpachtenbeke
2ccac3e3e2 use PSR12 instead of PSR2
PSR2 is deprecated in favor of PSR12
2022-01-19 10:01:32 +01:00
Niels
85721c327c
remove unused variable 2021-11-24 21:01:11 +01:00
Niels
b620dcbb88
verify if verify has a value property
psalm will throw a instance property not defined error
2021-11-24 21:00:33 +01:00
Jeremy Smith
6c425c1ac7 Updates trans return type to be string or array 2021-08-18 15:03:54 +10:00
Claas Augner
8d29e5b17a chore: suppress RedundantCast to avoid bug 2021-07-16 23:30:37 +02:00
Claas Augner
3ac340815d fix: suppress more issues in make:* classes 2021-07-16 21:58:34 +02:00
Cristian Giordano
3b9f8f4458 Use application for database migrations path 2021-07-15 15:31:29 +01:00
Cristian Giordano
29f33e93bc Fix nested path 2021-07-15 15:23:35 +01:00
feek
c032e4eb8a
Merge pull request #183 from caugner/fix-unused-code
Suppress UnusedClass/PossiblyUnusedMethod on well-known classes/methods of fresh Laravel/Lumen projects
2021-07-13 12:39:21 -04:00
Claas Augner
aebbf15e48 refactor: generalize SuppressHandler 2021-07-13 13:07:29 +02:00
Claas Augner
74b363449f feat: suppress well-known unused classes/methods 2021-07-13 11:51:49 +02:00
Claas Augner
8ac575bbfa feature: support stubs per major version 2021-07-13 10:07:59 +02:00
feek
85c9086f89
Merge pull request #178 from caugner/migrate-hooks-to-eventhandlers
Migrate from Psalm Hooks to EventHandlers
2021-07-09 12:34:17 -04:00
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
Claas Augner
4e222fafac chore: migrate from Hooks to EventHandlers 2021-07-07 20:52:59 +02:00
Claas Augner
2e290a2abb fix: suppress PropertyNotSetInConstructor in Notifications\Notification 2021-07-07 19:40:48 +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
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
dd6d5f337a chore: move Optional stub to /stubs 2021-07-06 23:49:31 +02: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
fiachra mcdermott
da4e6bcec3 chore: analyze 2021-06-29 10:31:02 -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
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
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
fiachra mcdermott
13e9066661 fix: force scanning of application class 2021-06-21 18:27:42 -07:00
fiachra mcdermott
c0e99e1851 refactor: move application provider namespace 2021-06-21 18:20:40 -07:00
fiachra mcdermott
c4c8c0b22a refactor: extract all stub generation logic out of base plugin class 2021-06-21 18:18:50 -07:00