Analyzing Phalcon Projects

If you are analyzing a phalcon based project and you are seeing errors that certain Phalcon classes are not found, make sure that you installed the IDE stubs as a dependency for your project.

If you do not like to add these stubs to your composer.json file, you can also add them in build environment only:

build:
    nodes:
        analysis:
            dependencies:
                after:
                    - composer require --dev phalcon/ide-stubs