mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-27 00:25:50 +03:00
[GH-ISSUE #1435] Quotation error ( ` ) #603
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#603
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rickserrat on GitHub (Mar 6, 2020).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1435
Monolog version 1|2
Error:
NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: preg_match() expects parameter 2 to be string, null given in /var/www/html/vendor/monolog/monolog/src/Monolog/Processor/GitProcessor.php:54
Remove:
Update:
$branches = 'git branch -v --no-abbrev';@rickserrat commented on GitHub (Mar 11, 2020):
@Seldaek Can I make a pull request?
@Seldaek commented on GitHub (Mar 11, 2020):
This is not a quotation error, the backticks are executing the process https://www.php.net/manual/en/language.operators.execution.php. But I guess it should check that $branches is not null before calling preg_match. Feel free to PR that to 1.x branch.
@rickserrat commented on GitHub (Mar 13, 2020):
Pull Request 1.x #1438