Releases: CakeDC/cakephp-phpstan
Releases · CakeDC/cakephp-phpstan
4.0.0
2.1.0
3.2.0
What's Changed
- Update composer.json by @dereuromark in #34
- Feature/expression type resolver extension by @rochamarcelo in #36
- New extension to handle trait's method Cake\Mailer\MailerAwareTrait::getMailer
- New extension to handle trait's method Cake\ORM\Locator\LocatorAwareTrait::fetchTable
- PHPQA fixes, errors found on a clean install
- New rules by @rochamarcelo in #38
- Added optional rule DisallowEntityArrayAccessRule
- Aded rule GetMailerExistsClassRule
- Added rule LoadComponentExistsClassRule
- Updated doc with new rules
- Fixed code to ignore the rule LoadObjectExistsCakeClassRule when target class is not from a value we can extract
Full Changelog: 3.1.2...3.2.0
3.1.2
What's Changed
- Backward compatibility with CakePHP 4 finder structure by @rochamarcelo in #31
- Fixed check finder method by @rochamarcelo in #31
Full Changelog: 3.1.1...3.1.2
3.1.1
What's Changed
- Issue/cakephp rule accept set classname by @rochamarcelo in #29
Full Changelog: 3.1.0...3.1.1
3.1.0
What's Changed
- Feature/fetch table with default table by @rochamarcelo in #19
- Check defined $defaultTable when calling LocatorAwareTrait::fetchTable without arguments
- For controllers when calling fetchTable without arguments and not defined custom $defaultTable try to detect the table based on the Controller's className
- Fixed console helper extension to use ucfirst as is done in the method ConsoleIo::helper
- Update README.md by @steinkel in #23
- Add license file and fix readme links by @steinkel in #24
- Update README.md by @dereuromark in #21
- Update ci.yml to add php8.3 by @steinkel in #25
- Update README.md by @dereuromark in #26
- Improve return types for Table methods by @rochamarcelo in #27
- Feature/cakephp rules 001 by @rochamarcelo in #28
- Added rule AddAssociationExistsTableClassRule
- Added rule AddAssociationMatchOptionsTypesRule
- Added rule AddBehaviorExistsClassRule
- Added rule OrmSelectQueryFindMatchOptionsTypesRule
- Added rule TableGetMatchOptionsTypesRule
- Added extension to fix intersection phpDoc for associations
New Contributors
Full Changelog: 3.0.1...3.1.0
3.0.1
What's Changed
- Update ConsoleHelperLoadDynamicReturnTypeExtension.php by @dereuromark in #18
Full Changelog: 3.0.0...3.0.1
3.0.0
CakePHP 5 Release
What's Changed
- Prep a 5.x branch by @dereuromark in #11
- Cake5: PHPUnit 10 upgrade + Github Actions by @LordSimal in #14
- 3.next: Multiple cleanups by @LordSimal in #15
- Removed services for removed method loadModel and updated query class @arusinowski in #17
New Contributors
- @arusinowski made their first contribution in #17
Full Changelog: 2.0.1...3.0.0
2.0.1
What's Changed
- Provide correct return type for
Cake\Console\ConsoleIo::helper()
by @rochamarcelo in #10 - Dynamic return extension checks for console helpers at
{Base}\Shell\Helper
and{Base}\Commnd\Helper
namespaces by @rochamarcelo in #10 - Add backslash to function call for performance optimization by @zonuexe in #8
- Remove unnecessary left end backslash from the namespace by @zonuexe in #7
New Contributors
Full Changelog: 2.0.0...2.0.1
2.0.0
What's Changed
- update to PHPStan 1.0 and fix new errors by @LordSimal in #4
New Contributors
- @LordSimal made their first contribution in #4
Full Changelog: 1.0.2...2.0.0