Skip to content

Releases: CodeIgniter/phpstan-codeigniter

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

v1.1.3

11 Sep 07:56
v1.1.3
22e177d
Compare
Choose a tag to compare

Fixes 🔧

  • fix: wrong delete for remote branch

Full Changelog: v1.1.2...v1.1.3

v1.1.2

11 Sep 07:49
v1.1.2
6ea276e
Compare
Choose a tag to compare

Fixes 🔧

  • fix: add downgrade match rector
  • fix: delete remote branch

Full Changelog: v1.1.1...v1.1.2

v1.1.1

11 Sep 07:39
v1.1.1
eb2472a
Compare
Choose a tag to compare

Fixes 🔧

  • fix: add downgrade rule for nullsafe operator

Full Changelog: v1.1.0...v1.1.1

v1.1.0

11 Sep 07:12
v1.1.0
bd85f72
Compare
Choose a tag to compare

What's Changed

  • Bump actions/checkout from 3 to 4 by @dependabot in #4
  • feature: added possibility to downgrade releases

New Contributors

Full Changelog: v1.0.1...v1.1.0