Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5170c37

Browse files
authored
Merge pull request#75 from hason/master
Enable PHP 8.1 and Symfony 6
2 parents188403e +be394ec commit5170c37

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

‎.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
dependencies:['', 'lowest']
14-
php:[ '7.1', '7.2', '7.3', '7.4', '8.0' ]
14+
php:[ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ]
1515
twig:[ ^1.0, ^2.0, ^3.0 ]
1616
exclude:
1717
-php:'7.1'

‎composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"ext-dom":"*",
2020
"masterminds/html5" :"^2.1.2",
2121
"twig/twig" :"^1.43|^2.13|^3.0",
22-
"symfony/event-dispatcher" :"^3.4|^4.4|^5.1"
22+
"symfony/event-dispatcher" :"^3.4|^4.4|^5.1|^6.0"
2323
},
2424
"require-dev" : {
2525
"phpunit/phpunit" :"^7.5|^8.0|^9.0",
26-
"friendsofphp/php-cs-fixer":"^2.2",
26+
"friendsofphp/php-cs-fixer":"^2.19",
2727
"scrutinizer/ocular":"^1.3",
28-
"symfony/var-dumper":"^3.4|^4.4|^5.1"
28+
"symfony/var-dumper":"^3.4|^4.4|^5.1|^6.0"
2929
},
3030
"autoload" : {
3131
"psr-4" : {

‎src/SourceAdapter/XMLAdapter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ protected function createDom($source)
6969

7070
$dom =new \DOMDocument('1.0','UTF-8');
7171
if ('' !==trim($source) && !$dom->loadXML($source,LIBXML_NONET | (defined('LIBXML_COMPACT') ?LIBXML_COMPACT :0))) {
72-
7372
thrownew \InvalidArgumentException(implode("\n",$this->getXmlErrors($internalErrors)));
7473
}
7574

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp