File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed
Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 77/.scrutinizer.yml export-ignoree
88/phpcs.xml export-ignore
99/phpunit.xml.dist export-ignore
10+ /psalm.xml export-ignore
Original file line number Diff line number Diff line change 2424 },
2525 "require-dev" : {
2626 "phpunit/phpunit" : " ^9.1" ,
27- "squizlabs/php_codesniffer" : " ^3.5"
27+ "squizlabs/php_codesniffer" : " ^3.5" ,
28+ "vimeo/psalm" : " ^3.12"
2829 },
2930 "autoload" : {
3031 "psr-4" : {
3839 },
3940 "scripts" : {
4041 "test" : " phpunit --colors=always" ,
42+ "static" : " psalm" ,
4143 "cs-check" : " phpcs" ,
4244 "cs-fix" : " phpcbf" ,
4345 "check" : [
4446 " @cs-check" ,
47+ " @static" ,
4548 " @test"
4649 ]
4750 }
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+ <DocblockTypeContradiction errorLevel =" info" />
18+ <MixedAssignment errorLevel =" info" />
19+ <MixedArgumentTypeCoercion errorLevel =" info" />
20+ <MixedPropertyTypeCoercion errorLevel =" info" />
21+ <PropertyNotSetInConstructor errorLevel =" info" />
22+ <RedundantCondition errorLevel =" info" />
23+ <RedundantConditionGivenDocblockType errorLevel =" info" />
24+ <TypeDoesNotContainType errorLevel =" info" />
25+ </issueHandlers >
26+ </psalm >
You can’t perform that action at this time.
0 commit comments