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

[BUGFIX] Provide defaults for entrypoints when using config #5

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

eliashaeussler
Copy link
Owner

The behavior of Entrypoint::fromConfig() is now streamlined with the constructor. Both methods now use defaults for main entrypoint and app entrypoint, in case they are not configured explicitly.

@eliashaeussler eliashaeussler added the bug Something isn't working label Jul 6, 2023
@eliashaeussler eliashaeussler self-assigned this Jul 6, 2023
@codecov
Copy link

codecov bot commented Jul 6, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.55 🎉

Comparison is base (2348105) 72.44% compared to head (b6110ce) 73.00%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main       #5      +/-   ##
============================================
+ Coverage     72.44%   73.00%   +0.55%     
- Complexity       34       36       +2     
============================================
  Files             9        9              
  Lines            98      100       +2     
============================================
+ Hits             71       73       +2     
  Misses           27       27              
Impacted Files Coverage Δ
src/ValueObject/Entrypoint.php 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@eliashaeussler eliashaeussler merged commit 6532ce5 into main Jul 6, 2023
10 checks passed
@eliashaeussler eliashaeussler deleted the fix/entrypoint-defaults branch July 6, 2023 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant