Skip to content

Releases: CodeIgniter/phpstan-codeigniter

v1.5.3

25 Jan 15:35
v1.5.3
430e0b4
Compare
Choose a tag to compare

Fixed 🔧

Full Changelog: v1.5.2...v1.5.3

v1.5.2

24 Jan 18:58
v1.5.2
d7c525e
Compare
Choose a tag to compare

Fixed 🔧

  • Move codeigniter4/framework to require-dev (#33)
  • Fix code styles

New Contributors

Full Changelog: v1.5.1...v1.5.2

v1.5.1

02 Dec 15:35
v1.5.1
4bfaba8
Compare
Choose a tag to compare

Fixed 🔧

  • Remove downgrade hacks as CI4 requires PHP 8.1

Full Changelog: v1.5.0...v1.5.1

v1.5.0

02 Dec 13:27
v1.5.0
b4386c6
Compare
Choose a tag to compare

What's Changed

  • Fix removed deleted_at on 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

21 Dec 05:14
v1.4.3
bff4a7c
Compare
Choose a tag to compare

Added ➕

  • Run tests on PHP 8.3
  • Add composer.json to monitored paths
  • Add branches filter on workflows
  • chore: Add parallel-lint to lint downgraded source (#16)
  • refactor: Restructure test fixtures (#15)
  • Allow specific argument type checks for factories (#14)
  • Use native PHPDocs (#12)

Fixed 🔧

  • Move codeigniter4/framework to require
  • Fix inference of type of Model::find() to base on framework behavior (#18)
  • Fix allow class const fetch when on App namespace (#13)
  • Fix styles (#11)

v1.4.2

05 Nov 10:43
v1.4.2
d4f77ab
Compare
Choose a tag to compare

Fixed 🔧

  • Fix phpstan baselined errors
  • Allow superglobal assign and access at root level

v1.4.1

21 Oct 07:49
v1.4.1
ff38e66
Compare
Choose a tag to compare

Fixed 🔧

  • Added CodeIgniter\Config\ to codeigniter.additionalConfigNamespaces parameter
  • Limit rule to package configs and models only

v1.4.0

12 Oct 02:01
v1.4.0
542275a
Compare
Choose a tag to compare

New features 🎉

  • Disallow use of class const fetch on factories functions (i.e., config() and model()) 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

18 Sep 09:38
v1.3.0
c19bd2b
Compare
Choose a tag to compare

New features 🎉

  • Provides precise return types for CodeIgniter\Model's find(), findAll(), and first() methods.
  • Allows dynamic return type transformation of CodeIgniter\Model when asArray() or asObject() is called.

Full Changelog: v1.2.0...v1.3.0

v1.2.0

16 Sep 10:04
v1.2.0
62e6d46
Compare
Choose a tag to compare

New feature 🎉

  • Provides precise return types for fake() helper function.

Full Changelog: v1.1.3...v1.2.0