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

[Feature] Add helpers #25

Closed
wants to merge 8 commits into from
Closed

[Feature] Add helpers #25

wants to merge 8 commits into from

Conversation

titouanmathis
Copy link
Contributor

@titouanmathis titouanmathis commented Oct 27, 2023

Changelog

Added

  • Helpers:
    • Add a RequestHelper class (#25)
    • Add a request(): Request function based on symfony/http-foundation (#25)
    • Add an EnvHelper class (#25)
    • Add an env( string $key ): string function (#25)

To-do

  • Add tests
  • Update docs

@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (46422ad) 64.37% compared to head (f4c46ce) 62.93%.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop      #25      +/-   ##
=============================================
- Coverage      64.37%   62.93%   -1.45%     
- Complexity       152      155       +3     
=============================================
  Files              7       10       +3     
  Lines            393      402       +9     
=============================================
  Hits             253      253              
- Misses           140      149       +9     
Flag Coverage Δ
unittests 62.93% <0.00%> (-1.45%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/functions.php 0.00% <0.00%> (ø)
src/Helpers/EnvHelper.php 0.00% <0.00%> (ø)
src/Helpers/RequestHelper.php 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@titouanmathis
Copy link
Contributor Author

Added in #26.

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.

1 participant