Commit Graph

449 Commits

Author SHA1 Message Date
Claas Augner
74b363449f feat: suppress well-known unused classes/methods 2021-07-13 11:51:49 +02:00
Claas Augner
c8a20f0cce test: enable findUnusedCode 2021-07-13 11:26:44 +02:00
Claas Augner
72a06f29b5 fix: move factory() to 6.x/7.x stubs 2021-07-13 10:07:59 +02:00
Claas Augner
8ac575bbfa feature: support stubs per major version 2021-07-13 10:07:59 +02:00
Claas Augner
89ed8f3d1b test: that factory() helper is gone in Laravel 8+ 2021-07-13 10:07:59 +02:00
Claas Augner
c4a2cd6c4c test: extract preamble for FactoryTest 2021-07-13 10:07:59 +02:00
feek
7198bb4812
Merge pull request #181 from caugner/restrict-notification-test-to-laravel-8+
test(Notification): run only for Laravel 6.0.4+
2021-07-12 17:12:43 -04:00
Claas Augner
1191d0f7fa test(Notification): run only for Laravel 6.0.4+ 2021-07-09 21:11:37 +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
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