Commit Graph

422 Commits

Author SHA1 Message Date
Jeremy Smith
6c425c1ac7 Updates trans return type to be string or array 2021-08-18 15:03:54 +10:00
feek
76745c98f9
Merge pull request #194 from shoxy/master
Added missing Builder methods - count() and whereDate()
2021-08-02 10:02:12 -07:00
shoxy
0b869cc153 Added missing Builder methods - count() and whereDate() 2021-07-29 22:14:05 +03:00
feek
183c230d33
Merge pull request #189 from caugner/run-artisan-make-in-laravel-test
test(laravel): run make:* commands
2021-07-19 14:16:35 -04:00
Claas Augner
8d29e5b17a chore: suppress RedundantCast to avoid bug 2021-07-16 23:30:37 +02:00
Claas Augner
1bcfe70f64 fix: update baseline 2021-07-16 21:58:34 +02:00
Claas Augner
3ac340815d fix: suppress more issues in make:* classes 2021-07-16 21:58:34 +02:00
Claas Augner
5ecde44eb8 test(laravel): run make:* commands 2021-07-16 20:57:33 +02:00
fiachra mcdermott
723221a6c2 chore: update baseline 2021-07-16 12:04:59 -04:00
feek
401856a447
Merge pull request #188 from CristianGiordano/fix-database-migrations-path
Fix database migrations path
2021-07-15 11:36:21 -04: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
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