Skip to content

Refactor codeigniter 3 #8881

Answered by samsonasik
plufz asked this question in Q&A
Discussion options

You must be logged in to vote

For legacy CodeIgniter 3 that lack of composer autoloading, that's not possible, unless you may need to set it via composer classmap definition:

"autoload": {
        "classmap": [
            "app/Model"
        ]
  }

then run composer dump-autoload

then using \PHPStan\Reflection\ReflectionProvider to pull the class based on PropertyFetch->name

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by samsonasik
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants