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

Differ constructor: fix @param annotation types #76

Closed
wants to merge 1 commit into from

Conversation

Slamdunk
Copy link

No description provided.

@@ -25,7 +25,7 @@
private $outputBuilder;

/**
* @param DiffOutputBuilderInterface $outputBuilder
* @param string|null|DiffOutputBuilderInterface $outputBuilder
Copy link
Contributor

Choose a reason for hiding this comment

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

You shouldn't pass string|null that is just for BC/legacy support because a release was done early, as such I left the hint out as to trigger SCA warnings for people so they start updating.

Copy link
Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

^_^ that class will be removed in PHP-CS-Fixer 3.0 so we should be good ;)

@Slamdunk Slamdunk closed this Jan 10, 2018
@Slamdunk Slamdunk deleted the annotation_fix branch January 10, 2018 15:04
@codecov-io
Copy link

codecov-io commented Jan 10, 2018

Codecov Report

Merging #76 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #76   +/-   ##
=========================================
  Coverage     99.48%   99.48%           
  Complexity      150      150           
=========================================
  Files            10       10           
  Lines           386      386           
=========================================
  Hits            384      384           
  Misses            2        2
Impacted Files Coverage Δ Complexity Δ
src/Differ.php 98.31% <ø> (ø) 52 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0fd4d14...49f9ef0. Read the comment docs.

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

Successfully merging this pull request may close these issues.

3 participants