Skip to content

Conversation

@IonBazan
Copy link
Owner

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

  • 0 - OK.
  • 1 - General error.
  • 2 - There were changes in prod packages.
  • 4 - There were changes is dev packages.
  • 8 - There were downgrades in prod packages.
  • 16 - There were downgrades in dev packages.

@codecov
Copy link

codecov bot commented Jun 14, 2021

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.

@IonBazan IonBazan merged commit ba8f6c8 into master Jun 14, 2021
@IonBazan IonBazan deleted the strict-mode branch June 14, 2021 06:49
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.

2 participants