Skip to content

chore(deps-dev): update codeigniter/phpstan-codeigniter requirement from ^1.3 to ^2.0#1342

Open
dependabot[bot] wants to merge 4 commits into
developfrom
dependabot/composer/codeigniter/phpstan-codeigniter-tw-1.3or-tw-2.0
Open

chore(deps-dev): update codeigniter/phpstan-codeigniter requirement from ^1.3 to ^2.0#1342
dependabot[bot] wants to merge 4 commits into
developfrom
dependabot/composer/codeigniter/phpstan-codeigniter-tw-1.3or-tw-2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 16, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on codeigniter/phpstan-codeigniter to permit the latest version.

Release notes

Sourced from codeigniter/phpstan-codeigniter's releases.

v2.1.0

What's Changed

Added

  • Type asObject-fetched entities by the producing model's casts

Full Changelog: CodeIgniter/phpstan-codeigniter@v2.0.1...v2.1.0

Commits
  • 61b0339 Type asObject-fetched entities by the producing model's casts
  • da84020 Apply the model's casts to entity property types
  • 408f5d4 Document the CodeIgniter bootstrap and SQLite-affinity limitation
  • aa91ccb Add a 1.x to 2.x upgrading guide
  • f236fef Register the cache-handler and services-argument rules and require ext-sqlite3
  • 3d8ffb3 Make datetime and json casts nullable on nullable columns
  • 39efbcb Discover migrations from all namespaces when none is configured
  • 8613271 Document Model/Entity type inference
  • c237109 Type fake() as a fabricated record of the model's return type
  • eb763b2 Type Model findColumn as a list of the column's values
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Jun 16, 2026
@dependabot dependabot Bot force-pushed the dependabot/composer/codeigniter/phpstan-codeigniter-tw-1.3or-tw-2.0 branch from fec03ff to 8fb7444 Compare June 16, 2026 15:32
@michalsn michalsn changed the title chore(deps-dev): update codeigniter/phpstan-codeigniter requirement from ^1.3 to ^1.3 || ^2.0 chore(deps-dev): update codeigniter/phpstan-codeigniter requirement from ^1.3 to ^2.0 Jun 17, 2026
@paulbalandan

Copy link
Copy Markdown
Member

The "always evaluate to true" are legitimate dead code caused by our phpstan extension being smarter. Also, inline @var to some can be removed especially those relating to entities and models so as to enjoy the precise typing.

@michalsn

Copy link
Copy Markdown
Member

Thanks Paul. I will try to fix it.

@michalsn michalsn force-pushed the dependabot/composer/codeigniter/phpstan-codeigniter-tw-1.3or-tw-2.0 branch 2 times, most recently from bc109ec to 5ba7c8d Compare June 17, 2026 16:30
@michalsn michalsn force-pushed the dependabot/composer/codeigniter/phpstan-codeigniter-tw-1.3or-tw-2.0 branch from 5ba7c8d to 8385aa2 Compare June 17, 2026 16:35
@michalsn michalsn requested a review from paulbalandan June 17, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants