Commit Graph

494 Commits

Author SHA1 Message Date
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
Niels Vanpachtenbeke
3465c3518c wip: require v5 of codeception 2022-02-14 23:59:04 +01:00
Niels Vanpachtenbeke
74347de247 add typehinting according to the contract 2022-02-14 23:41:04 +01:00
Niels Vanpachtenbeke
08e9b38eac drop support for 7.3, 7.4 and Illuminate v6 2022-02-14 23:37:25 +01:00
Niels Vanpachtenbeke
5fb7f5ac4f require a higher version of barryvdh/laravel-ide-helper 2022-02-14 23:33:05 +01:00
Niels Vanpachtenbeke
95c9c064f8 define laravel/framework version 2022-02-14 23:26:00 +01:00
Niels Vanpachtenbeke
33a46afed0 ignore unsupported matches 2022-02-14 23:16:40 +01:00
Niels Vanpachtenbeke
7ba59e0693 fix malformed yaml 2022-02-14 22:47:55 +01:00
Niels Vanpachtenbeke
8bf5d3f3e1 require instead of update 2022-02-14 22:43:44 +01:00
Niels Vanpachtenbeke
c7a4457c87 allow illuminate v8 2022-02-14 22:39:00 +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
b8913dc139 run test suite with Laravel 9 2022-02-14 22:37:17 +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