aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/league
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-03-02 19:52:47 +0000
committerMario <mario@mariovavti.com>2022-03-02 19:52:47 +0000
commit34f64148e8c936ac1189be937329ebe708e942b6 (patch)
treede66f3430a3c7a4d80f1450c715f0a9f3355a8dd /vendor/league
parentfc5dad198333cbed7a13d97f44d937554356f1a6 (diff)
downloadvolse-hubzilla-34f64148e8c936ac1189be937329ebe708e942b6.tar.gz
volse-hubzilla-34f64148e8c936ac1189be937329ebe708e942b6.tar.bz2
volse-hubzilla-34f64148e8c936ac1189be937329ebe708e942b6.zip
composer updates
Diffstat (limited to 'vendor/league')
-rw-r--r--vendor/league/html-to-markdown/CHANGELOG.md13
-rw-r--r--vendor/league/html-to-markdown/composer.json11
-rw-r--r--vendor/league/html-to-markdown/psalm.xml1
-rw-r--r--vendor/league/html-to-markdown/src/Converter/HorizontalRuleConverter.php2
-rw-r--r--vendor/league/html-to-markdown/src/Element.php2
5 files changed, 22 insertions, 7 deletions
diff --git a/vendor/league/html-to-markdown/CHANGELOG.md b/vendor/league/html-to-markdown/CHANGELOG.md
index 03c3f6f5c..60e8e6f24 100644
--- a/vendor/league/html-to-markdown/CHANGELOG.md
+++ b/vendor/league/html-to-markdown/CHANGELOG.md
@@ -4,6 +4,16 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
## [Unreleased][unreleased]
+## [5.1.0] - 2022-03-02
+
+### Changed
+
+ - Changed horizontal rule style (#218, #219)
+
+### Fixed
+
+ - Fixed `Element::getValue()` not handling possible nulls
+
## [5.0.2] - 2021-11-06
### Fixed
@@ -305,7 +315,8 @@ not ideally set, so this releases fixes that. Moving forwards this should reduce
### Added
- Initial release
-[unreleased]: https://github.com/thephpleague/html-to-markdown/compare/5.0.2...master
+[unreleased]: https://github.com/thephpleague/html-to-markdown/compare/5.1.0...master
+[5.1.0]: https://github.com/thephpleague/html-to-markdown/compare/5.0.2...5.1.0
[5.0.2]: https://github.com/thephpleague/html-to-markdown/compare/5.0.1...5.0.2
[5.0.1]: https://github.com/thephpleague/html-to-markdown/compare/5.0.0...5.0.1
[5.0.0]: https://github.com/thephpleague/html-to-markdown/compare/4.10.0...5.0.0
diff --git a/vendor/league/html-to-markdown/composer.json b/vendor/league/html-to-markdown/composer.json
index af3e41058..22ca054f3 100644
--- a/vendor/league/html-to-markdown/composer.json
+++ b/vendor/league/html-to-markdown/composer.json
@@ -36,16 +36,21 @@
},
"require-dev": {
"mikehaertl/php-shellcommand": "^1.1.0",
- "phpstan/phpstan": "^0.12.82",
+ "phpstan/phpstan": "^0.12.99",
"phpunit/phpunit": "^8.5 || ^9.2",
"scrutinizer/ocular": "^1.6",
"unleashedtech/php-coding-standard": "^2.7",
- "vimeo/psalm": "^4.6"
+ "vimeo/psalm": "^4.22"
},
"bin": ["bin/html-to-markdown"],
"extra": {
"branch-alias": {
- "dev-master": "5.1-dev"
+ "dev-master": "5.2-dev"
+ }
+ },
+ "config": {
+ "allow-plugins": {
+ "dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
diff --git a/vendor/league/html-to-markdown/psalm.xml b/vendor/league/html-to-markdown/psalm.xml
index 729e9a919..30258a709 100644
--- a/vendor/league/html-to-markdown/psalm.xml
+++ b/vendor/league/html-to-markdown/psalm.xml
@@ -1,6 +1,5 @@
<?xml version="1.0"?>
<psalm
- totallyTyped="false"
errorLevel="3"
resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
diff --git a/vendor/league/html-to-markdown/src/Converter/HorizontalRuleConverter.php b/vendor/league/html-to-markdown/src/Converter/HorizontalRuleConverter.php
index ce280cc79..a2b1ac14a 100644
--- a/vendor/league/html-to-markdown/src/Converter/HorizontalRuleConverter.php
+++ b/vendor/league/html-to-markdown/src/Converter/HorizontalRuleConverter.php
@@ -10,7 +10,7 @@ class HorizontalRuleConverter implements ConverterInterface
{
public function convert(ElementInterface $element): string
{
- return "- - - - - -\n\n";
+ return "---\n\n";
}
/**
diff --git a/vendor/league/html-to-markdown/src/Element.php b/vendor/league/html-to-markdown/src/Element.php
index 5407f1ffb..0515b5995 100644
--- a/vendor/league/html-to-markdown/src/Element.php
+++ b/vendor/league/html-to-markdown/src/Element.php
@@ -63,7 +63,7 @@ class Element implements ElementInterface
public function getValue(): string
{
- return $this->node->nodeValue;
+ return $this->node->nodeValue ?? '';
}
public function hasParent(): bool