Skip to content

Commit

Permalink
fix(phpspec): support more versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ckrack committed Jun 30, 2020
1 parent 9692829 commit 1a72ac6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"bossa/phpspec2-expect": "^3.0",
"ergebnis/phpstan-rules": "^0.15.0",
"friendsofphp/php-cs-fixer": "^2.16.3",
"phpspec/phpspec": "^5.1 || ^6.1",
"phpspec/phpspec": "^4.3 || ^5.1 || ^6.1",
"phpstan/phpstan-strict-rules": "^0.12.2",
"phpstan/phpstan": "^0.12.31",
"rector/rector": "^0.7.37",
Expand All @@ -48,5 +48,16 @@
"*": "dist"
},
"sort-packages": true
},
"scripts": {
"lint:rector": "vendor/bin/rector process --dry-run",
"lint:php-cs-fixer": "vendor/bin/php-cs-fixer fix -v --dry-run",
"lint:phpstan": "vendor/bin/phpstan analyse --ansi --memory-limit=0",
"lint": [
"composer lint:rector",
"composer lint:php-cs-fixer",
"composer lint:phpstan"
],
"test": "vendor/bin/phpspec run --ansi"
}
}

0 comments on commit 1a72ac6

Please sign in to comment.