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

De-Duplicate Composer and CLI why-block commands #13

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

navarr
Copy link
Owner

@navarr navarr commented Jul 14, 2021

No description provided.

@codecov
Copy link

codecov bot commented Jul 14, 2021

Codecov Report

Merging #13 (b8d19b7) into main (328c05a) will increase coverage by 10.78%.
The diff coverage is 81.25%.

Impacted file tree graph

@@              Coverage Diff              @@
##               main      #13       +/-   ##
=============================================
+ Coverage     73.46%   84.25%   +10.78%     
- Complexity      153      156        +3     
=============================================
  Files            25       29        +4     
  Lines           441      470       +29     
=============================================
+ Hits            324      396       +72     
+ Misses          117       74       -43     
Impacted Files Coverage Δ
src/Controller/CliApplication.php 0.00% <0.00%> (ø)
...rc/Controller/Composer/WhyBlockComposerCommand.php 37.50% <37.50%> (ø)
src/ScopeDeterminer/PhpFileFinder.php 90.00% <75.00%> (-3.75%) ⬇️
...ler/Common/WhyBlockUtility/OptionValuesBuilder.php 90.00% <90.00%> (ø)
src/Controller/Common/WhyBlockUtility.php 97.50% <97.50%> (ø)
src/Controller/Cli/WhyBlockCliCommand.php 100.00% <100.00%> (ø)
...Controller/Common/WhyBlockUtility/OptionValues.php 100.00% <100.00%> (ø)
src/Controller/Composer/ComposerPlugin.php 62.50% <100.00%> (ø)
src/Controller/Di/AddDefaultDefinitions.php 100.00% <100.00%> (ø)
... and 5 more

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 328c05a...b8d19b7. Read the comment docs.

@navarr navarr added this to the v2.1.0 milestone Jul 14, 2021
It is impossible for the arguments and options that we're ensuring are strings to NOT be strings.  So, instead
of letting phpstan run our lives.  We're telling phpstan that these errors are acknowledged, that they're
false positives given our use case, and that we're okay with them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

1 participant