Releases: CodeIgniter/phpstan-codeigniter
Releases · CodeIgniter/phpstan-codeigniter
v1.5.4
What's Changed
- Fix deprecated call to
ClassReflection::isSubclassOf() - Remove unneeded PHPDoc on rules
- Add
ReflectionHelperGetPrivateMethodInvokerReturnTypeExtension(#35) - Fix calling non-static method without an object
- Add extension for
Services::getSharedInstance() - Extract type inference to separate doc
- Fix outdated info in README
- Fix code style and tests
- Add
CacheFactoryGetHandlerReturnTypeExtension(#37) - Allow certain superglobal offsets to be set directly
- Add
REQUEST_TIMEandREQUEST_TIME_FLOATas allowed offsets
Full Changelog: v1.5.3...v1.5.4
v1.5.3
v1.5.2
Fixed 🔧
- Move
codeigniter4/frameworkto require-dev (#33) - Fix code styles
New Contributors
- @samsonasik made their first contribution in #33
Full Changelog: v1.5.1...v1.5.2
v1.5.1
v1.5.0
What's Changed
- Fix removed
deleted_aton UserModel - Move bootstrap.php to root
- Apply cs fixes
- Update rector/rector requirement from ^0.18.2 to ^0.19.2 (#23)
- Bump actions/cache from 3 to 4 (#22)
- Update rector/rector requirement from ^0.19.2 to ^1.0.0 (#24)
- Fix styles
- Add explicit callback for array_filter
- Fix return type of locator service
- Fix return PHPDocs
- Fix deprecation of
ParametersAcceptorSelector::selectSingle() - Update phpunit/phpunit requirement from ^10.2 to ^11.4 (#29)
- Bump to phpstan 2.0
Full Changelog: v1.4.3...v1.5.0
v1.4.3
v1.4.2
Fixed 🔧
- Fix phpstan baselined errors
- Allow superglobal assign and access at root level
v1.4.1
v1.4.0
New features 🎉
- Disallow use of class const fetch on factories functions (i.e.,
config()andmodel()) and instead suggests use the short form call.
use Config\App;
// This call:
config (App::class);
// is suggested to be changed to
config('App');v1.3.0
New features 🎉
- Provides precise return types for
CodeIgniter\Model'sfind(),findAll(), andfirst()methods. - Allows dynamic return type transformation of
CodeIgniter\ModelwhenasArray()orasObject()is called.
Full Changelog: v1.2.0...v1.3.0