File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 2828 "require-dev" : {
2929 "httpsoft/http-request" : " ^1.0" ,
3030 "phpunit/phpunit" : " ^9.1" ,
31- "squizlabs/php_codesniffer" : " ^3.5"
31+ "squizlabs/php_codesniffer" : " ^3.5" ,
32+ "vimeo/psalm" : " ^3.12"
3233 },
3334 "autoload" : {
3435 "psr-4" : {
4243 },
4344 "scripts" : {
4445 "test" : " phpunit --colors=always" ,
46+ "static" : " psalm" ,
4547 "cs-check" : " phpcs" ,
4648 "cs-fix" : " phpcbf" ,
4749 "check" : [
4850 " @cs-check" ,
51+ " @static" ,
4952 " @test"
5053 ]
5154 }
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <psalm
3+ totallyTyped =" true"
4+ resolveFromConfigFile =" true"
5+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
6+ xmlns =" https://getpsalm.org/schema/config"
7+ xsi : schemaLocation =" https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
8+ >
9+ <projectFiles >
10+ <directory name =" src" />
11+ <ignoreFiles >
12+ <directory name =" vendor" />
13+ </ignoreFiles >
14+ </projectFiles >
15+
16+ <issueHandlers >
17+ <MixedArrayOffset errorLevel =" info" />
18+ <MixedReturnTypeCoercion errorLevel =" info" />
19+ </issueHandlers >
20+ </psalm >
You can’t perform that action at this time.
0 commit comments