ariddlestone / ariddlestone/phpstan-cakephp2

Add extension for schema files

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

* Correctly type `$event` in `before()` and `after()`
* Correctly type public properties which are added in the schema

Apply to all files which extend `CakeSchema`.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named in the issue. Start by locating the CakePHP 2 PHPStan extension and its handling of CakeSchema subclasses, then trace how before(), after(), and schema-added public properties are typed. Done means all files extending CakeSchema receive the requested types and the relevant analysis tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.