Skip to content

Commit c0d13f9

Browse files
authored
Merge pull request #72 from phpDocumentor/strict-types
Strict types
2 parents 48a0c8f + 81dea8e commit c0d13f9

39 files changed

+1046
-891
lines changed

.github/main.workflow

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ workflow "Qa workflow" {
22
on = "push"
33
resolves = [
44
"PHPStan",
5+
"Psalm",
56
"composer-require-checker",
67
"Code style check",
78
]
@@ -28,8 +29,14 @@ action "composer-require-checker" {
2829
}
2930

3031
action "Code style check" {
31-
uses = "docker://oskarstark/phpcs-ga"
32+
uses = "docker://phpdoc/phpcs-ga:master"
33+
secrets = ["GITHUB_TOKEN"]
34+
args = "-d memory_limit=1024M -s"
35+
needs = ["composer"]
36+
}
37+
38+
action "Psalm" {
39+
uses = "docker://mickaelandrieu/psalm-ga"
3240
secrets = ["GITHUB_TOKEN"]
33-
args = "-d memory_limit=1024M"
3441
needs = ["composer"]
3542
}

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@
99
"email": "[email protected]"
1010
}
1111
],
12-
"minimum-stability": "beta",
1312
"require": {
14-
"php": ">=7.1",
13+
"php": "^7.1",
1514
"phpdocumentor/reflection-common": "^2.0"
1615
},
1716
"require-dev": {
1817
"mockery/mockery": "~1",
19-
"phpunit/phpunit": "~6",
20-
"ext-tokenizer": "^7.1"
18+
"ext-tokenizer": "^7.1",
19+
"phpunit/phpunit": "^7.0"
2120
},
2221
"autoload": {
2322
"psr-4": {

0 commit comments

Comments
 (0)