mschwemer / typo3scan

Scans TYPO3 extensions for usage of deprecated and or changed code
MIT License
94 stars 15 forks source link

[FEATURE] Only display Breaking Changes in Reports #15

Closed tomasnorre closed 5 years ago

tomasnorre commented 6 years ago

Hi,

When maintaining bigger Projects (100+ extensions) the breaking changes have priority over deprecations.

It would be could if one could add a Option parameter to only show Breaking changes.

I know that I should run the report on extension level too, but for progress monitoring and overview and aggregated report is really helpful.

Let me know what you think, would be happy to help implementing if the idea gets a thumbs up.

Tuurlijk commented 6 years ago

sounds like a neat addition

tomasnorre commented 6 years ago

ok. Will look into it and see if I can provide a Pull Request.

mbrodala commented 5 years ago

Generally a filter by type would be useful here.

Tuurlijk commented 5 years ago

We can add commandline options: --onlyBreaking / --ob --onlyDeprecations / --od

??

mbrodala commented 5 years ago

Or maybe --only breaking,deprecation,... if that isn't too hard to implement.

Tuurlijk commented 5 years ago

Yes, just saw that we have:

    const TYPE_BREAKING = 'BREAKING';
    const TYPE_DEPRECATION = 'DEPRECATION';
    const TYPE_IMPORTANT = 'IMPORTANT';
    const TYPE_FEATURE = 'FEATURE';
Tuurlijk commented 5 years ago

Fixed with: https://github.com/Tuurlijk/typo3scan/releases/tag/1.5.0

mbrodala commented 5 years ago

@Tuurlijk Thanks a lot. :-)