IonBazan / composer-diff

Compares composer.lock changes and generates Markdown report so you can use it in PR description.
https://packagist.org/packages/ion-bazan/composer-diff
MIT License
143 stars 6 forks source link

Add strict mode #4

Closed IonBazan closed 3 years ago

IonBazan commented 3 years ago

This PR adds --strict flag that triggers a non-zero exit code. The exit code is a bit flag created as follows:

codecov[bot] commented 3 years ago

Codecov Report

Merging #4 (4fcbe58) into master (dcb8bd3) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##              master        #4   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity       133       141    +8     
===========================================
  Files             16        16           
  Lines            369       386   +17     
===========================================
+ Hits             369       386   +17     
Impacted Files Coverage Δ
src/Formatter/AbstractFormatter.php 100.00% <ø> (ø)
src/Command/DiffCommand.php 100.00% <100.00%> (ø)
src/Formatter/JsonFormatter.php 100.00% <100.00%> (ø)
src/Formatter/MarkdownListFormatter.php 100.00% <100.00%> (ø)
src/Formatter/MarkdownTableFormatter.php 100.00% <100.00%> (ø)
src/PackageDiff.php 100.00% <100.00%> (ø)

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 dcb8bd3...4fcbe58. Read the comment docs.