Commit Graph

105 Commits

Author SHA1 Message Date
Martin Zurowietz
48d1c56b46 Fix failing tests for firstOrCreate and firstOrNew in Laravel 9 2022-04-26 13:39:37 +02:00
Andrew Nagy
813874b655 Merge branch 'master' into laravel-9-test-fixes 2022-04-07 20:01:01 +00:00
Andrew Nagy
a0d98b6729 fix failing tests 2022-04-07 19:58:59 +00:00
Andrew Nagy
3ddc65b2ae fixes codeception to actually work 2022-04-07 19:08:23 +00:00
Ron Bellido
17c59ef028 Add Example model to laravel baseline 2022-03-21 11:00:41 -07:00
Niels Vanpachtenbeke
ce996c6dd6
Merge branch 'master' into laravel-9 2022-03-21 09:06:21 +01:00
Niels Vanpachtenbeke
11cb4dad25 add remaining dev packages for codeception 2022-03-20 23:13:49 +01:00
Niels Vanpachtenbeke
3f0479a931 fix psalm issues 2022-03-20 23:02:31 +01:00
Niels Vanpachtenbeke
0892cd08ea remove dev dependency 2022-03-20 22:52:33 +01:00
Martin Zurowietz
f6193ad5cb Replace deprecated totallyTyped attribute
totallyTyped was deprecated in Psalm v4.21.0 [1].

totallyTyped="true" is equivalent to errorLevel="1" and
totallyTyped="false" is equivalent to errorLevel="2" plus
reportMixedIssues="false" [2].

[1] https://github.com/vimeo/psalm/releases/tag/4.21.0
[2] https://psalm.dev/docs/running_psalm/configuration/#totallytyped
2022-02-21 10:15:13 +01:00
Niels Vanpachtenbeke
4032ba0091 update baseline files in tests
this should get CI green again
2022-02-16 16:57:00 +01:00
Niels Vanpachtenbeke
8bf5d3f3e1 require instead of update 2022-02-14 22:43:44 +01:00
Niels Vanpachtenbeke
6096cf0649 use --with on composer 2022-02-14 22:37:18 +01:00
Niels Vanpachtenbeke
538e1cb950 update packages in laravel test script 2022-02-14 22:37:18 +01:00
Niels Vanpachtenbeke
daf2d7a1d2 remove composer update step 2022-02-14 11:39:10 +01:00
Niels Vanpachtenbeke
3a2c96c5e1 explicitly use laravel 8 in tests 2022-02-14 11:33:32 +01:00
Niels Vanpachtenbeke
6091b656c4 update packages before requiring plugin-laravel 2022-02-14 09:24:47 +01:00
Niels Vanpachtenbeke
b116744fa2 restore -i option 2022-02-14 09:15:13 +01:00
Niels Vanpachtenbeke
a1fde37813 use a higher min version of testbench v6 2022-02-10 19:45:44 +01:00
Niels Vanpachtenbeke
6db2fa7ddf update composer in laravel tests 2022-02-10 19:37:53 +01:00
Niels Vanpachtenbeke
47b0e3dbba temporarily disable test failing on 8.0 and 8.1 2022-02-10 17:45:51 +01:00
Niels Vanpachtenbeke
583ac67f8f exclude _support
it lacks a namespace
2022-02-10 17:45:51 +01:00
Niels Vanpachtenbeke
4a55dd5141 run phpcs in tests directory 2022-02-10 17:45:51 +01:00
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