You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code-Insight is a tool for static analysis of other project source code.
Usage
For each analyzed project the .code-insight.json file needs to be placed at project root folder (e.g. where src folder is). Example configuration file:
The finder (array) setting is a list of JSON objects. Each object key is a name, and each value an argument for the methods in the Symfony\Component\Finder\Finder class. If an array of values is provided for a single key, the method will be called once per value in the array. Note that the paths specified for the in method are relative to project base path.
The bc_checkers (array) setting is a list of BC checker names. Possible BC checkers are: class, function, constant, inportal_class. If setting isn't specified, then default value of ['class', 'function', 'constant'] is used.
The bc_ignore (array) setting is a list of JSON objects. Each object represents a rule, that prevents a particular BC break or BC break group from being reported. The actual objects to specify in here can be found in output of bc command, when executed with --format=json option.
The class_locator (string) setting is a path to Composer's autoload.php file or file, that returns closure accepting FQCN in 1st argument and returning absolute path with that class declaration.