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

Fix: Initialize fields with default values #266

Merged
merged 1 commit into from
Apr 19, 2020
Merged

Conversation

localheinz
Copy link
Member

This PR

  • initializes fields with default values to avoid type errors

@codecov
Copy link

codecov bot commented Apr 19, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@b556041). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             master      #266   +/-   ##
==========================================
  Coverage          ?   100.00%           
  Complexity        ?       147           
==========================================
  Files             ?        33           
  Lines             ?       472           
  Branches          ?         0           
==========================================
  Hits              ?       472           
  Misses            ?         0           
  Partials          ?         0           
Impacted Files Coverage Δ Complexity Δ
src/Exception/InvalidIndentSizeException.php 100.00% <ø> (ø) 3.00 <0.00> (?)
src/Exception/InvalidIndentStringException.php 100.00% <ø> (ø) 2.00 <0.00> (?)
src/Exception/InvalidIndentStyleException.php 100.00% <ø> (ø) 3.00 <0.00> (?)
...rc/Exception/InvalidJsonEncodeOptionsException.php 100.00% <ø> (ø) 2.00 <0.00> (?)
src/Exception/InvalidJsonEncodedException.php 100.00% <ø> (ø) 2.00 <0.00> (?)
src/Exception/InvalidNewLineStringException.php 100.00% <ø> (ø) 2.00 <0.00> (?)
...on/NormalizedInvalidAccordingToSchemaException.php 100.00% <ø> (ø) 2.00 <0.00> (?)
...tion/OriginalInvalidAccordingToSchemaException.php 100.00% <ø> (ø) 2.00 <0.00> (?)
src/Exception/SchemaUriCouldNotBeReadException.php 100.00% <ø> (ø) 2.00 <0.00> (?)
...Exception/SchemaUriCouldNotBeResolvedException.php 100.00% <ø> (ø) 2.00 <0.00> (?)
... and 35 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 b556041...98c2ee3. Read the comment docs.

@ergebnis-bot ergebnis-bot self-requested a review April 19, 2020 10:43
@ergebnis-bot ergebnis-bot self-assigned this Apr 19, 2020
@localheinz localheinz merged commit 1ddecc1 into master Apr 19, 2020
@localheinz localheinz deleted the fix/default branch April 19, 2020 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants