Handle split baselines#200
Conversation
…ted with shipmonk/phpstan-baseline-per-identifier
| } | ||
|
|
||
| // Skip loader.neon, which is used for loading baselines in phpstan-baseline-filter, but is not a baseline itself. | ||
| if (str_ends_with($baseline, 'loader.neon')) { |
There was a problem hiding this comment.
this file-name related to https://github.com/shipmonk-rnd/phpstan-baseline-per-identifier and the file-name can be freely chosen. so skipping based on the file-name alone seems like a bad idea.
meanwhile the usage docs suggest to use a _loader.neon file, which might resolve this problem?
There was a problem hiding this comment.
Maybe a additional --exclude parameter could do the trick. That way it could even work for other implementations.
There was a problem hiding this comment.
yes. and --exclude should be also a glob-pattern
|
@staabm I've added |
This adds an option to handle baseline files that have been split into separate files