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

Issue 19 - call to undefined method WikiPage::factory() #45

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

gesinn-it-ilm
Copy link
Collaborator

@gesinn-it-ilm gesinn-it-ilm commented Dec 16, 2024

This PR is related to the issue #19.

This PR contains:

  • method isUniqueId() updated, renamed to getUniqueIdChecker()
  • increase codecov for IdProviderFactory.php, cover getUniqueIdChecker() function

- update isUniqueId()
- increase test coverage
Copy link

codecov bot commented Dec 16, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Project coverage is 46.99%. Comparing base (896308c) to head (1951880).

Files with missing lines Patch % Lines
src/IdProviderFactory.php 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master      #45      +/-   ##
============================================
+ Coverage     44.75%   46.99%   +2.24%     
- Complexity       47       48       +1     
============================================
  Files             8        8              
  Lines           181      183       +2     
============================================
+ Hits             81       86       +5     
+ Misses          100       97       -3     

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

@gesinn-it-ilm gesinn-it-ilm marked this pull request as draft December 17, 2024 08:41
- update isUniqueId()
- update tests
@gesinn-it-ilm gesinn-it-ilm marked this pull request as ready for review December 17, 2024 10:13
@gesinn-it-ilm
Copy link
Collaborator Author

@gesinn-it-gea could you please review this and if this is ok, we can merge this one as well.

Copy link
Collaborator

@gesinn-it-gea gesinn-it-gea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see inline comments

- new method naming
- instead of isUniqueId use name getUniqueIdChecker to reflect the functionality better
@gesinn-it-ilm gesinn-it-ilm marked this pull request as draft December 19, 2024 11:51
- update PHPDoc
- add new test cases to check whenever the page exists or not
@gesinn-it-ilm gesinn-it-ilm marked this pull request as ready for review December 19, 2024 15:03
- update function param, add $id instead of $text
@gesinn-it-ilm gesinn-it-ilm marked this pull request as draft December 23, 2024 19:42
@gesinn-it-ilm gesinn-it-ilm marked this pull request as ready for review December 23, 2024 19:49
@gesinn-it-ilm
Copy link
Collaborator Author

@gesinn-it-gea PR updated and ready to merge.

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.

2 participants