Releases: sascha-egerer/phpstan-typo3
Releases · sascha-egerer/phpstan-typo3
1.8.1
What's Changed
- TASK: Add PropertyMapperReturnTypeExtension by @sabbelasichon in #88
- TASK: Add ContainerDynamicReturnTypeExtension by @sabbelasichon in #89
- [CLEANUP] Autoformat the non-PHP files according to the
.editorconfig
by @oliverklee in #90 - [CLEANUP] Autoformat the PHP files with PhpStorm by @oliverklee in #91
- TASK: Add tests for RequestAttributeValidationRule by @sabbelasichon in #94
- TASK: Add tests for ContextAspectValidationRule by @sabbelasichon in #93
- TASK: Add test for SiteAttributeValidationRule by @sabbelasichon in #95
- [CLEANUP] Drop an unnecessary
in_array
by @oliverklee in #101 - [CLEANUP] Simplify some method returns by @oliverklee in #100
- [TASK] Reorder a condition to improve performance by @oliverklee in #99
- [BUGFIX] Replace usage of a deprecated method by @oliverklee in #97
- [TASK] Improve the
GeneralUtility::makeInstance
stub by @oliverklee in #102 - [BUGFIX] Make QueryResultToArrayDynamicReturnTypeExtension work with CompoundType by @sascha-egerer in #104
Full Changelog: 1.8.0...1.8.1
1.8.0
Overview
- Raise PHPStan version to at least 1.8
- Add support up to PHP 8.2
- Drop support for TYPO3 9.5
- Add support for TYPO3 12.0
- Lots of other improvements
What's Changed
- forwardToReferringRequest is not always exiting by @sabbelasichon in #46
- Fix internal issue detected by phpstan with TYPO3 HEAD by @sascha-egerer in #56
- Require phpstan ^1.6 by @sascha-egerer in #57
- Fix phpstan call in phing to respect configured path by @sascha-egerer in #58
- Fixed class paths in context getAspect mapping by @tlueder in #55
- Make attributes of Request Api configurable by @tlueder in #51
- Fix invalid condition in Typo3ClassNamingUtilityTrait by @sascha-egerer in #59
- Allow index for ObjectStorage to be int by @tlueder in #48
- Allow more complex phpdoc types in mappings and add more tests by @sascha-egerer in #60
- Make attributes of Site Api configurable by @tlueder in #53
- Add validator resolver rule by @sabbelasichon in #49
- [TASK] Make the test matrix entries explicit by @oliverklee in #70
- [TASK] Upgrade the GitHub Actions by @oliverklee in #72
- [TASK] Require PHPStan 1.8 by @oliverklee in #71
- [TASK] Drop support for TYPO3 8LTS by @oliverklee in #75
- [TASK] Bump the TYPO3 11 dependecy to the 11LTS version (11.5) by @oliverklee in #73
- [BUGFIX] Add
symfony/polyfill-php80
as a dev dependency by @oliverklee in #77 - [FEATURE] Add the TYPO3 version to the CI matrix by @oliverklee in #74
- [TASK] Downgrade to PHPUnit 8.5 by @oliverklee in #76
- [FEATURE] Add official support for PHP 8.2 by @oliverklee in #79
- [TASK] Update the development dependencies by @oliverklee in #80
- [BUGFIX] Use a bounded dependency on
nikic/php-parser
by @oliverklee in #81 - [FEATURE] Add PHP 7.2 to the CI test matrix by @oliverklee in #78
- [TASK] Also test TYPO3 10LTS with PHP 7.2 on CI by @oliverklee in #83
- [TASK] Raise the dependencies to the latest minor/bugfix version by @oliverklee in #84
- [TASK] Do not package development-only files by @oliverklee in #86
- [TASK] Drop support for TYPO3 9LTS by @oliverklee in #87
- [FEATURE] Add support for TYPO3 12 by @oliverklee in #82
New Contributors
- @sabbelasichon made their first contribution in #46
- @tlueder made their first contribution in #55
- @oliverklee made their first contribution in #70
Full Changelog: 1.1.2...1.8.0
Allow Repository->findAll(): array
Allow array as return type of Repository->findAll() method
Make Return type of Repository->findByX more specific
Add missing QueryResultInterface subtype to return value of Repository->findByXxx methods
Add extended Extbase support
1.1.0 Add missing parameter to countBy method reflection
1.0.0
Optimize QueryResult and QueryResultInterface stubs * Add null as possible return type for QueryResult::getFirst() * Add annotations for \ArrayAccess and \Iterator
Add PHP8 compatibility
0.13.3 php 8.0 compatibility
Add PHP8 compatibility
0.12.3 php 8.0 compatibility
0.12.2: Do not fail on calls to MyRepository->findBySomePropNotInModel()
Calling a findByXXX method on a repository tries to get the type of the property from the model. But the reposiory does also allow findBy methods for values that are not defined in the model but only in the database. So if the model does not have the certain property we tread it as type mixed.
Fix build for PHP 7.1
0.13.1 Disable some more phpcs sniffs that are not available for PHP 7.1