Skip to content

Commit

Permalink
Update to PHPStan 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Nov 11, 2024
1 parent d233428 commit 38dd51c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).

## [Unreleased]
### Added
* *Nothing*

### Changed
* Update to PHPStan 2.0

### Deprecated
* *Nothing*

### Removed
* *Nothing*

### Fixed
* *Nothing*


## [4.2.0] - 2024-11-09
### Added
* Add new `DatabaseTestCase::createRepository()` protected method to create default or custom repositories without duplicating code.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"symfony/process": "^7.1"
},
"require-dev": {
"phpstan/phpstan": "^1.12",
"phpstan/phpstan": "^2.0",
"roave/security-advisories": "dev-master",
"shlinkio/php-coding-standard": "~2.4.0"
},
Expand All @@ -43,7 +43,7 @@
],
"cs": "phpcs",
"cs:fix": "phpcbf",
"stan": "phpstan analyse src --level=8"
"stan": "phpstan analyse"
},
"scripts-descriptions": {
"ci": "<fg=blue;options=bold>Alias for \"cs\" and \"stan\"</>",
Expand Down
3 changes: 3 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
parameters:
level: 9
paths:
- src
ignoreErrors:
- identifier: missingType.iterableValue

0 comments on commit 38dd51c

Please sign in to comment.