Commit Graph

360 Commits

Author SHA1 Message Date
feek
5196f8fd2c
Merge pull request #157 from caugner/firstOrCreate-firstOrNew
Ensure firstOrNew/Create can be called without parameters in Laravel 8+
2021-07-13 13:41:43 -04:00
feek
04dd39b87a
Merge pull request #185 from caugner/drop-laravel-7-support
Drop support for Laravel 7
2021-07-13 13:13:41 -04:00
Claas Augner
d475892ecc chore: drop support for Laravel 7
Laravel 7 has reached its end-of-life.
2021-07-13 18:51:25 +02: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
02f4b50c8a test: extract common Builder preamble 2021-07-13 18:33:00 +02:00
Claas Augner
d7ebd103d5 test: ensure firstOrCreate/New work in 6.x/8.x 2021-07-13 18:33:00 +02:00
Claas Augner
98a7bd56b1 fix: split Builder/HasOneOrMany diffs into 6/8 stubs 2021-07-13 18:33:00 +02:00
Claas Augner
25a9bf7ef0 fix: allow firstOrNew/Create to be called without parameters 2021-07-13 18:33:00 +02:00
feek
bb47983d73
Merge pull request #182 from caugner/cannot-call-factory-in-laravel-8.x
Ensure factory() helper is gone in Laravel 8+
2021-07-13 12:27:05 -04:00
Claas Augner
aebbf15e48 refactor: generalize SuppressHandler 2021-07-13 13:07:29 +02:00
Claas Augner
fc80186694 test: set laravel/lumen baseline 2021-07-13 11:51:49 +02:00
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