itonomy/modification-detector

Find modifications in Magento2 project

1.0.1 2021-02-10 10:01 UTC

This package is auto-updated.

Last update: 2024-12-10 18:27:14 UTC


README

Hey there lonely wanderer. A module for Magento 2 that may spark your interest. And its open-source. This module will give an overview of all preferences and plugins in your codebase.

And off-course it comes with some nifty commands

Summary

This module lists all plugin/preferences in your codebase, and adds some options to filter them to your liking.

Installation

Just the regular stuff

composer require itonomy/modification-detector

##Commands

List all preferences and plugins

bin/magento dev:modification:list

--type [-t]

Filter by type: plugin | preference

bin/magento dev:modification:list -t plugin

--filter [-f] keyword

Filter/Search all plugins containing keyword

bin/magento dev:modification:list -f MyModule

--no-native

Filter all prefs/plugs by Magento itself

bin/magento dev:modification:list --no-native

--summary

Gives a count/overview of all plugins/preferences

bin/magento dev:modification:list --summary

--detect-conflict

  • Overview of all classes having multiple plugins/preferences on the same class
  • Checks if in a "around" plugins callable is called
bin/magento dev:modification:list --detect-conflict

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT