Commit Graph

430 Commits

Author SHA1 Message Date
feek
f07dce6af1
Merge pull request #221 from mzur/patch-1
Fix Psalm v4.21 compatibility
2022-02-22 17:16:18 -05:00
Martin Zurowietz
48c1425c86 Configure Psalm to ignore MissingFile in ApplicationProvider
The error was intriduced by Psalm 4.21 as it now resolves __DIR__.
It's recommended [1] to ignore the error if it happens despite an
existence check for the file.

[1] https://github.com/vimeo/psalm/issues/3886#issuecomment-663585426
2022-02-21 10:39:47 +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
feek
7123b7821c
Merge pull request #220 from Nielsvanpach/cleanup
Add .gitattributes & .editorconfig
2022-02-17 12:08:54 -05:00
feek
7c700c16b6
Merge pull request #219 from Nielsvanpach/update-baseline
update baseline files in tests
2022-02-17 12:06:30 -05:00
Niels Vanpachtenbeke
209a65d637 add .gitattributes 2022-02-16 17:31:17 +01:00
Niels Vanpachtenbeke
30dc8a315b add .editorconfig 2022-02-16 17:29:13 +01:00
Niels Vanpachtenbeke
fef5979c46 add debugging info on php cs action 2022-02-16 17:06:49 +01:00
Niels Vanpachtenbeke
4032ba0091 update baseline files in tests
this should get CI green again
2022-02-16 16:57:00 +01:00
feek
6236dc3f5e
Merge pull request #215 from Nielsvanpach/tests
Fix tests on CI
2022-02-14 13:11:49 -05: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
59392b6eef fix malformed yaml 2022-02-10 19:56:06 +01:00
Niels Vanpachtenbeke
6e317729dd exclude failing parts in the matrix 2022-02-10 19:54:08 +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
5a090c5d07 yaml.. 2022-02-10 18:12:29 +01:00
Niels Vanpachtenbeke
07476ccff3 change yaml format 2022-02-10 18:00:07 +01:00
Niels Vanpachtenbeke
a42dd252fb fix merge conflicts 2022-02-10 17:50:30 +01:00
Niels Vanpachtenbeke
afc57c7fde require after update 2022-02-10 17:46:30 +01:00
Niels Vanpachtenbeke
01fbf109fa run php 8.1 with illuminate ^8.67
thanks to @tjmmm for this
2022-02-10 17:46:30 +01:00
Niels Vanpachtenbeke
8f01ebe7e4 require specific illuminate versions 2022-02-10 17:46:29 +01:00
Niels Vanpachtenbeke
affd3241e7 run actions on pull requests 2022-02-10 17:45:51 +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
2b5bc25097 do not run psalm on 8.1 with prefer-lowest 2022-02-10 17:45:51 +01:00
Niels Vanpachtenbeke
98e2799159 update tests on ci 2022-02-10 17:45:49 +01:00
Niels Vanpachtenbeke
be843f686b define php 8 as default for running psalm 2022-02-10 17:44:09 +01:00
feek
acf7fd04b4
Merge pull request #214 from tjmmm/test_supported_combination_only 2022-01-21 21:13:51 -05:00
Seiya Tajima
a449c35b82 chore: test supported PHP version only 2022-01-20 05:52:45 +09:00
feek
64e95fc4bf
Merge pull request #212 from Nielsvanpach/psalm
Fix Psalm on CI
2022-01-19 13:21:48 -05:00
feek
aaad2ddc74
Merge pull request #211 from Nielsvanpach/php-cs-fixer
Fix Php cs fixer on CI
2022-01-19 13:20:35 -05:00
feek
b2cdf5e24f
Merge pull request #210 from tjmmm/prefer_stable
chore: use stable dependencies
2022-01-19 13:19:47 -05:00
Niels Vanpachtenbeke
86f26e6618 suppress 2022-01-19 10:33:54 +01:00
Niels Vanpachtenbeke
f81164eee8 set php version to 8.0 2022-01-19 10:31:50 +01:00
Niels Vanpachtenbeke
6b20e8d2aa run psalm on all pushes 2022-01-19 10:23:14 +01:00
Niels Vanpachtenbeke
010501901f Run Psalm on 8.0 2022-01-19 10:18:23 +01:00
Niels Vanpachtenbeke
b1f7516304 run on PHP 8.0 2022-01-19 10:04:30 +01:00
Niels Vanpachtenbeke
2ccac3e3e2 use PSR12 instead of PSR2
PSR2 is deprecated in favor of PSR12
2022-01-19 10:01:32 +01:00
Seiya Tajima
debbb0ea8e chore: use stable dependencies 2022-01-19 09:04:26 +09: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
feek
da41cde783
Merge pull request #209 from tjmmm/iterate_collection
feat: support foreach with Support\Collection
2022-01-18 16:30:18 -05:00
Seiya Tajima
58f610ab2b feat: support foreach with Support\Collection 2022-01-16 21:27:07 +09:00
Niels Vanpachtenbeke
369c4b858a use php 8.0 for lint action 2021-12-17 15:37:11 +01:00
Niels Vanpachtenbeke
0b789768c8 run test suite with 8.1 2021-12-17 15:36:46 +01:00
Niels
85721c327c
remove unused variable 2021-11-24 21:01:11 +01:00
Niels
b620dcbb88
verify if verify has a value property
psalm will throw a instance property not defined error
2021-11-24 21:00:33 +01:00