prospector icon indicating copy to clipboard operation
prospector copied to clipboard

[FEATURE REQUEST] Baseline generation

Open gms8994 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

When adding prospector to an existing codebase, many errors may appear, and many of them may not be immediately solvable.

Describe the solution you'd like

It would be nice if a baseline file could be generated which would be the errors to ignore going forward. Any changes to the errors reported as it relates to the baseline could be considered an error. See https://phpstan.org/user-guide/baseline for an example.

Describe alternatives you've considered

None

gms8994 avatar May 09 '24 13:05 gms8994

phpstand example file: https://github.com/coenjacobs/mozart/pull/153/files#diff-995edee38ad4f8387e58ebd52c31bcc04c56cc2448d331b1cf5e0b35c57b9efa

Proposed file:

files:
  <relative file name>:
    tools:
      <tool name>:
        errors:
          <error code>: 
            number: <number>

sbrunner avatar Oct 28 '24 10:10 sbrunner