8000 Added phpstan · middlewares/http-authentication@ee9c8da · GitHub
[go: up one dir, main page]

Skip to content

Commit ee9c8da

Browse files
committed
Added phpstan
1 parent 4f719e5 commit ee9c8da

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [Unreleased]
9+
10+
### Fixed
11+
12+
- Use `phpstan` as a dev dependency to detect bugs
13+
814
## [1.1.0] - 2018-08-04
915

1016
### Added
@@ -68,7 +74,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
6874

6975
First version
7076

71-
77+
[Unreleased]: https://github.com/middlewares/http-authentication/compare/v1.1.0...HEAD
7278
[1.1.0]: https://github.com/middlewares/http-authentication/compare/v1.0.0...v1.1.0
7379
[1.0.0]: https://github.com/middlewares/http-authentication/compare/v0.5.0...v1.0.0
7480
[0.5.0]: https://github.com/middlewares/http-authentication/compare/v0.4.0...v0.5.0

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"phpunit/phpunit": "^6.0|^7.0",
2727
"zendframework/zend-diactoros": "^1.3",
2828
"friendsofphp/php-cs-fixer": "^2.0",
29-
"squizlabs/php_codesniffer": "^3.0"
29+
"squizlabs/php_codesniffer": "^3.0",
30+
"phpstan/phpstan": "^0.9.2|^0.10.3"
3031
},
3132
"autoload": {
3233
"psr-4": {
@@ -41,6 +42,7 @@
4142
"scripts": {
4243
"test": [
4344
"phpunit --coverage-text",
45+
"phpstan analyse --no-progress --level 7 src",
4446
"phpcs"
4547
],
4648
"cs-fix": "php-cs-fixer fix .",

0 commit comments

Comments
 (0)
0