diff --git a/CHANGELOG.md b/CHANGELOG.md index e8d81d1..24aa69a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [7.5.1] - 2021-04-25 +### Fixed +- Some phpstan errors [#42], [#43] + ## [7.5.0] - 2021-04-24 ### Changed - `isset($row->fieldname)` returns `true` in the following cases: @@ -125,7 +129,10 @@ This library was rewritten and a lot of breaking changes were included. [#36]: https://github.com/oscarotero/simple-crud/issues/36 [#37]: https://github.com/oscarotero/simple-crud/issues/37 [#41]: https://github.com/oscarotero/simple-crud/issues/41 +[#42]: https://github.com/oscarotero/simple-crud/issues/42 +[#43]: https://github.com/oscarotero/simple-crud/issues/43 +[7.5.1]: https://github.com/oscarotero/simple-crud/compare/v7.5.0...v7.5.1 [7.5.0]: https://github.com/oscarotero/simple-crud/compare/v7.4.2...v7.5.0 [7.4.2]: https://github.com/oscarotero/simple-crud/compare/v7.4.1...v7.4.2 [7.4.1]: https://github.com/oscarotero/simple-crud/compare/v7.4.0...v7.4.1 diff --git a/composer.json b/composer.json index 121c8ee..151114b 100644 --- a/composer.json +++ b/composer.json @@ -34,12 +34,16 @@ } }, "require-dev": { - "phpunit/phpunit": "^8.0", + "phpunit/phpunit": "^8.0|^9.0", "friendsofphp/php-cs-fixer": "^2.11", - "oscarotero/php-cs-fixer-config": "^1.0" + "oscarotero/php-cs-fixer-config": "^1.0", + "phpstan/phpstan": "^0.12.84" }, "scripts": { - "test": "phpunit", + "test": [ + "phpunit", + "phpstan analyse src tests" + ], "cs-fix": "php-cs-fixer fix ." } } diff --git a/phpunit.xml b/phpunit.xml index 28dcc1d..5b808a3 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,32 +1,17 @@ - - - - ./tests/ - - - - - - ./src - - ./tests - ./vendor - - - + + + + + ./src + + + ./tests + ./vendor + + + + + ./tests/ + +