Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement refactored formatter options for Deptrac >= v0.9.0 #841

Merged

Conversation

jerowork
Copy link
Contributor

@jerowork jerowork commented Nov 14, 2020

Q A
Branch master for features and deprecations
Bug fix? no
New feature? yes
BC breaks? yes
Deprecations? yes
Documented? yes
Fixed tickets none

Description

Deptrac has updated formatter options in v0.9.0. They enabled new formatters (e.g. baseline, table) and refactored existing formatters (e.g. Graphviz). This means that the previous options are not working anymore. New options are introduced for existing formatters.

This PR adds all new formatters with its new options to the DeptracTask.

See commit descriptions for further information.

Resources

Copy link
Contributor

@veewee veewee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello,

Thanks for the PR!
This configuration is becoming quite hard for the end user.
Since the tool is in 0.X versioing state, people know it is quite experimental.

I'dd suggest only adding the new types without providing BC grumphp configuration.

What do you think?

src/Task/Deptrac.php Outdated Show resolved Hide resolved
src/Task/Deptrac.php Outdated Show resolved Hide resolved
@jerowork
Copy link
Contributor Author

I'dd suggest only adding the new types without providing BC grumphp configuration.

What do you think?

It certainly makes it easier indeed. As it's below v1.0, I agree with you. I will remove the pre-v0.9 options completely 👍

Deptrac has changed the options for formatters since version 0.9.0. These
new graphviz formatting options replace the old options, as Deptrac is
still in experimental phase (version below 1.0).
@jerowork jerowork force-pushed the fix/deptrac-enable-0.9.0-formatter-configuration branch from f82d6c4 to 8646bce Compare November 29, 2020 09:56
@jerowork jerowork requested a review from veewee December 14, 2020 07:10
@veewee veewee added this to the 1.3.0 milestone Dec 14, 2020
@veewee veewee merged commit 8870596 into phpro:master Dec 14, 2020
@veewee
Copy link
Contributor

veewee commented Dec 14, 2020

Thanks for changing and adding the options!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants