Commit Graph

82 Commits

Author SHA1 Message Date
Niels Vanpachtenbeke
be843f686b define php 8 as default for running psalm 2022-02-10 17:44:09 +01:00
feek
ee38778df7
Merge pull request #203 from Nielsvanpach/php80
Run test suite on PHP 8.0 and 8.1
2022-01-18 16:31:41 -05:00
Seiya Tajima
58f610ab2b feat: support foreach with Support\Collection 2022-01-16 21:27:07 +09:00
Niels
2fd57f6ac8
add -W as composer fails to update 2021-10-08 13:23:33 +02:00
shoxy
0b869cc153 Added missing Builder methods - count() and whereDate() 2021-07-29 22:14:05 +03:00
Claas Augner
1bcfe70f64 fix: update baseline 2021-07-16 21:58:34 +02:00
Claas Augner
5ecde44eb8 test(laravel): run make:* commands 2021-07-16 20:57:33 +02: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
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
fc80186694 test: set laravel/lumen baseline 2021-07-13 11:51:49 +02:00
Claas Augner
c8a20f0cce test: enable findUnusedCode 2021-07-13 11:26:44 +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
Claas Augner
1191d0f7fa test(Notification): run only for Laravel 6.0.4+ 2021-07-09 21:11:37 +02: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
58c889914c test: case for Notifications\Notification 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
e973fef893 test: ensure Model @property support 2021-07-07 00:31:40 +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
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
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
Claas Augner
0369da4a30 test: ensure head/last work correctly 2021-07-05 14:02:39 +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
9f4c8fa2fb chore: skip failing test 2021-06-29 10:21:35 -04:00
fiachra mcdermott
afa4144523 test: fix negative tests by including table headers. closes #18 2021-06-29 00:26:56 -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
46ef7e8882 fix: add classes that can be returned by the container to be scanned 2021-06-15 11:45:42 -07:00
fiachra mcdermott
e8dd02d93f chore: update baseline 2021-06-15 09:11:09 -07:00
fiachra mcdermott
f406eefec1 chore: update baseline 2021-06-15 09:07:19 -07:00
fiachra mcdermott
4b8b7a61b3 test: delete negative test. too annoying to maintain 2021-06-15 08:51:38 -07:00
fiachra mcdermott
71360de9cb test: skip failing tests. I think something changed upstream in psalm that broke them. 2021-06-14 13:43:53 -07:00
fiachra mcdermott
6a7ac4cfcb test: fix failing test 2021-06-14 13:26:51 -07:00
Matt Brown
2b7fe4581a Update failing test 2021-05-01 17:05:01 -04: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
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
df20501546 Fix some tests 2020-10-19 18:38:34 -04:00
Feek
287457cf87 feature: dynamically resolve paths 2020-08-14 22:30:17 -07:00
Feek
9f59e3b559 test: ignore ParamNameMismatch 2020-08-14 21:51:16 -07:00
Feek
5c724654b3 test: add test for app env 2020-07-25 20:17:31 -07:00