mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-09 23:56:14 +01:00
[TASK] Add the PHPStan strict rules (#471)
We want PHPStan to be as strict as possible. (The new warning requires a change in Extbase to get solved properly.)
This commit is contained in:
parent
bb6d2b97d2
commit
f6e17b3be0
3 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
|||
## x.y.z
|
||||
|
||||
### Added
|
||||
- Add the PHPStan strict rules (#471)
|
||||
- Add a Dependabot action for updating GitHub actions (#452)
|
||||
- Use Coveralls for the code coverage (#425)
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
"phpstan/extension-installer": "^1.1.0",
|
||||
"phpstan/phpstan": "^1.7.15",
|
||||
"phpstan/phpstan-phpunit": "^1.1.1",
|
||||
"phpstan/phpstan-strict-rules": "^1.3.0",
|
||||
"phpunit/phpunit": "^8.5.26",
|
||||
"saschaegerer/phpstan-typo3": "^1.1.2",
|
||||
"seld/jsonlint": "^1.9.0",
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
parameters:
|
||||
ignoreErrors:
|
||||
-
|
||||
message: "#^PHPDoc type array\\<string\\> of property TTN\\\\Tea\\\\Domain\\\\Repository\\\\Product\\\\TeaRepository\\:\\:\\$defaultOrderings is not the same as PHPDoc type array of overridden property TYPO3\\\\CMS\\\\Extbase\\\\Persistence\\\\Repository\\<TTN\\\\Tea\\\\Domain\\\\Model\\\\Product\\\\Tea\\>\\:\\:\\$defaultOrderings\\.$#"
|
||||
count: 1
|
||||
path: Classes/Domain/Repository/Product/TeaRepository.php
|
||||
|
|
Loading…
Reference in a new issue