Skip to content

Releases: CakeDC/cakephp-phpstan

4.0.0

11 Nov 16:11
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.2.0...4.0.0

2.1.0

23 Oct 12:09
Compare
Choose a tag to compare

What's Changed

  • Backport of TableAssociationTypeNodeResolverExtension for cakephp 4 by @Harfusha in #37

New Contributors

Full Changelog: 2.0.1...2.1.0

3.2.0

23 Oct 11:46
e7bb4a4
Compare
Choose a tag to compare

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

28 Feb 11:37
3ea916b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.1.1...3.1.2

3.1.1

23 Feb 17:12
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.1.0...3.1.1

3.1.0

22 Feb 15:11
102f5cc
Compare
Choose a tag to compare

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

28 Sep 21:42
7697175
Compare
Choose a tag to compare

What's Changed

  • Update ConsoleHelperLoadDynamicReturnTypeExtension.php by @dereuromark in #18

Full Changelog: 3.0.0...3.0.1

3.0.0

26 Sep 11:29
c011248
Compare
Choose a tag to compare

CakePHP 5 Release

What's Changed

New Contributors

Full Changelog: 2.0.1...3.0.0

2.0.1

27 Dec 17:28
Compare
Choose a tag to compare

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

02 Nov 11:51
16fabd3
Compare
Choose a tag to compare

What's Changed

  • update to PHPStan 1.0 and fix new errors by @LordSimal in #4

New Contributors

Full Changelog: 1.0.2...2.0.0