-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance HTTP Request Methods in Request.php (#229)
* Update Request.php * Update RequestTest.php * Update HealthChecks.php * Update Logger.php * Update OneSignal.php * Create Constants.php * style: format code with PHP CS Fixer This commit fixes the style issues introduced in 472011b according to the output from PHP CS Fixer. Details: #229 * Update HealthChecks.php * Update Logger.php * Update OneSignal.php --------- Co-authored-by: gstraccini[bot] <150967461+gstraccini[bot]@users.noreply.github.com> Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
- Loading branch information
1 parent
6af21cc
commit 38113f4
Showing
6 changed files
with
74 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace GuiBranco\Pancake; | ||
|
||
class Constants | ||
{ | ||
public const USER_AGENT_VENDOR = "Pancake/0.11 (+https://github.com/guibranco/pancake)"; | ||
|
||
public const USER_AGENT_HEADER = "User-Agent: Pancake/0.11 (+https://github.com/guibranco/pancake)"; | ||
|
||
public const CONTENT_TYPE_JSON_HEADER = "Content-Type: application/json; charset=utf-8"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters