File tree Expand file tree Collapse file tree 6 files changed +35
-1
lines changed Expand file tree Collapse file tree 6 files changed +35
-1
lines changed Original file line number Diff line number Diff line change
1
+ # These are supported funding model platforms
2
+
3
+ github : byjg
Original file line number Diff line number Diff line change 24
24
- uses : actions/checkout@v4
25
25
- run : composer install
26
26
- run : ./vendor/bin/phpunit
27
+ - run : ./vendor/bin/psalm
27
28
28
29
Documentation :
29
30
if : github.ref == 'refs/heads/master'
Original file line number Diff line number Diff line change
1
+ <component name =" ProjectRunConfigurationManager" >
2
+ <configuration default =" false" name =" PHPUnit" type =" PHPUnitRunConfigurationType" factoryName =" PHPUnit" >
3
+ <TestRunner configuration_file =" $PROJECT_DIR$/phpunit.xml.dist" scope =" XML" use_alternative_configuration_file =" true" />
4
+ <method v =" 2" />
5
+ </configuration >
6
+ </component >
Original file line number Diff line number Diff line change
1
+ <component name =" ProjectRunConfigurationManager" >
2
+ <configuration default =" false" name =" PSalm" type =" PhpLocalRunConfigurationType" factoryName =" PHP Console" path =" $PROJECT_DIR$/vendor/bin/psalm" >
3
+ <method v =" 2" />
4
+ </configuration >
5
+ </component >
Original file line number Diff line number Diff line change 15
15
"php" : " >=8.1"
16
16
},
17
17
"require-dev" : {
18
- "phpunit/phpunit" : " ^9.6"
18
+ "phpunit/phpunit" : " ^9.6" ,
19
+ "vimeo/psalm" : " ^5.9"
19
20
},
20
21
"license" : " MIT"
21
22
}
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <psalm
3
+ errorLevel =" 4"
4
+ resolveFromConfigFile =" true"
5
+ findUnusedBaselineEntry =" true"
6
+ findUnusedCode =" false"
7
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
8
+ xmlns =" https://getpsalm.org/schema/config"
9
+ xsi : schemaLocation =" https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
10
+ >
11
+ <projectFiles >
12
+ <directory name =" src" />
13
+ <directory name =" tests" />
14
+ <ignoreFiles >
15
+ <directory name =" vendor" />
16
+ </ignoreFiles >
17
+ </projectFiles >
18
+ </psalm >
You can’t perform that action at this time.
0 commit comments