-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To aid extension developers, I have extracted all the default Deptrac…
… behaviour, that could be replaced/augmented by extension developers into standalone "module" called `DefaultBehavior`. I have set as a goal that all the `DefaultBehavior` should be "implementable" by extension developers. That means is MUST NOT depend on any of the Deptrac internals. It can only depend on the exposed `Contract` and third party libraries. This as a consequence forced me to refactor a lot of the code inside the "Core" module. This is a good thing, because now we can confidently say that we do not expose contract that are "useless" in a sense that even though they are exposed, nobody could possibly implement extensions based on this contract, because they were missing access to some other features, that were still hidden as internal to the tool. The result of all of this is that the Deptrac `DefaultBehavior` is just a set of extensions that we ship and autoload with the tool. Anybody could have implemented them themselves and also anybody can easily replace them. Lastly, those `DefaultBehavior`s can serve as a reference implementations for extension developers. They can use them as a starting point for their own extensions by mimicking the code and behavior.
- Loading branch information
1 parent
6e62f86
commit e59fb6b
Showing
191 changed files
with
811 additions
and
742 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
deptrac: | ||
skip_violations: | ||
Qossmic\Deptrac\Supportive\Console\Command\AnalyseCommand: | ||
- Qossmic\Deptrac\DefaultBehavior\OutputFormatter\GithubActionsOutputFormatter | ||
- Qossmic\Deptrac\DefaultBehavior\OutputFormatter\TableOutputFormatter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.