[PR #74] [MERGED] Ability to provide a base number to be added to the counter #105

Closed
opened 2025-11-20 04:16:03 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/antonkomarev/github-profile-views-counter/pull/74
Author: @Brikaa
Created: 9/15/2023
Status: Merged
Merged: 9/16/2023
Merged by: @antonkomarev

Base: masterHead: add-initial-value-to-counter


📝 Commits (6)

  • cb1c4ce Ability to provide a base number to be added to the counter
  • 60ad967 baseNumber -> baseCount
  • d076c51 Throw an error if the base count or the final count is inappropriate
  • 213a440 BaseCount, Count -> Count & PHP_INT_MAX for max base count
  • b06a85a Remove unneeded comment
  • d32ee12 Add negative count check in the constructor

📊 Changes

4 files changed (+91 additions, -3 deletions)

View changed files

📝 README.md (+10 -0)
📝 public/index.php (+11 -2)
src/Count.php (+59 -0)
📝 src/Request.php (+11 -1)

📄 Description

closes #64


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/antonkomarev/github-profile-views-counter/pull/74 **Author:** [@Brikaa](https://github.com/Brikaa) **Created:** 9/15/2023 **Status:** ✅ Merged **Merged:** 9/16/2023 **Merged by:** [@antonkomarev](https://github.com/antonkomarev) **Base:** `master` ← **Head:** `add-initial-value-to-counter` --- ### 📝 Commits (6) - [`cb1c4ce`](https://github.com/antonkomarev/github-profile-views-counter/commit/cb1c4cecb58c1e261405b8d8e0ec7e8da56f26bc) Ability to provide a base number to be added to the counter - [`60ad967`](https://github.com/antonkomarev/github-profile-views-counter/commit/60ad9675b669b1d71662e0328b73c5f2bf5dac8e) baseNumber -> baseCount - [`d076c51`](https://github.com/antonkomarev/github-profile-views-counter/commit/d076c5125665b23ebaf71a66ab8d30509c59cc1b) Throw an error if the base count or the final count is inappropriate - [`213a440`](https://github.com/antonkomarev/github-profile-views-counter/commit/213a4403a8553752437bed8972360b052faad6fe) BaseCount, Count -> Count & PHP_INT_MAX for max base count - [`b06a85a`](https://github.com/antonkomarev/github-profile-views-counter/commit/b06a85a92d6758c461c23111092417a2ad5cc801) Remove unneeded comment - [`d32ee12`](https://github.com/antonkomarev/github-profile-views-counter/commit/d32ee1276ce8f64f8453c68c6e250d2512cddcf1) Add negative count check in the constructor ### 📊 Changes **4 files changed** (+91 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+10 -0) 📝 `public/index.php` (+11 -2) ➕ `src/Count.php` (+59 -0) 📝 `src/Request.php` (+11 -1) </details> ### 📄 Description closes #64 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 04:16:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/github-profile-views-counter#105