-
Notifications
You must be signed in to change notification settings - Fork 3
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
Update User-Agent in Logger Class to Version 0.9 #222
Conversation
Caution Review failedThe pull request is closed. WalkthroughThe pull request introduces a modification to the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
PR Review π
|
PR Code Suggestions β¨
|
Infisical secrets check: β No secrets leaked! Scan results:
|
Here's the code health analysis summary for commits Analysis Summary
Code Coverage Report
|
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settingsΒ Β Β Β Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
Quality Gate passedIssues Measures |
@@ -13,7 +13,7 @@ | |||
public function __construct($loggerUrl, $loggerApiKey, $loggerApiToken, $customUserAgent = null) | |||
{ | |||
$this->headers = array( | |||
"User-Agent: " . ($customUserAgent ?? "Pancake/0.8 (+https://github.com/guibranco/pancake)"), | |||
"User-Agent: " . ($customUserAgent ?? "Pancake/0.9 (+https://github.com/guibranco/pancake)"), |
Check warning
Code scanning / Phpcs (reported by Codacy)
Concat operator must not be surrounded by spaces Warning
@@ -13,7 +13,7 @@ | |||
public function __construct($loggerUrl, $loggerApiKey, $loggerApiToken, $customUserAgent = null) | |||
{ | |||
$this->headers = array( | |||
"User-Agent: " . ($customUserAgent ?? "Pancake/0.8 (+https://github.com/guibranco/pancake)"), | |||
"User-Agent: " . ($customUserAgent ?? "Pancake/0.9 (+https://github.com/guibranco/pancake)"), |
Check warning
Code scanning / Phpcs (reported by Codacy)
Array value not aligned correctly; expected 26 spaces but found 12 Warning
User description
Closes #
π Description
β Checks
β’οΈ Does this introduce a breaking change?
βΉ Additional Information
Description
Logger
class by updating the User-Agent string to version0.9
.Changes walkthrough π
Logger.php
Update User-Agent in Logger class
Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Βsrc/Logger.php
Summary by CodeRabbit
New Features
Bug Fixes