update libraries.

This commit is contained in:
Yoshihiro OKUMURA 2021-06-02 10:26:49 +09:00
parent cf78855dcd
commit 15b5ca4a3f
6 changed files with 451 additions and 404 deletions

2
.gitignore vendored
View File

@ -3,7 +3,7 @@
/db/*.rrd /db/*.rrd
/html/images/graph-*.png /html/images/graph-*.png
.php_cs.cache .php-cs-fixer.cache
*~ *~
*.orig *.orig

View File

@ -5,12 +5,12 @@ $finder = PhpCsFixer\Finder::create()
->in(__DIR__) ->in(__DIR__)
; ;
return PhpCsFixer\Config::create() $config = new PhpCsFixer\Config();
->setRules([ return $config->setRules([
'@Symfony' => true, '@Symfony' => true,
'@DoctrineAnnotation' => true, '@DoctrineAnnotation' => true,
'array_indentation' => true, 'array_indentation' => true,
'array_syntax' => ['syntax' => 'short'], 'array_syntax' => ['syntax' => 'short'],
]) ])
->setFinder($finder) ->setFinder($finder)
; ;

View File

@ -19,11 +19,11 @@
"ext-json": "*", "ext-json": "*",
"ext-mbstring": "*", "ext-mbstring": "*",
"ext-rrd": "*", "ext-rrd": "*",
"phpmailer/phpmailer": "^6.1", "phpmailer/phpmailer": "^6.4",
"twig/twig": "^3.0" "twig/twig": "^3.3"
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "^2.16" "friendsofphp/php-cs-fixer": "^3.0"
}, },
"license": "MIT", "license": "MIT",
"authors": [ "authors": [

837
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
<meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="refresh" content="60" /> <meta http-equiv="refresh" content="60" />
<link rel="stylesheet" type="text/css" href="css/default.css" /> <link rel="stylesheet" type="text/css" href="css/default.css" />
<title>C047 Server Room Temperature</title> <title>C407 Server Room Temperature</title>
</head> </head>
<body> <body>
<h1>C407 Server Room Temperature</h1> <h1>C407 Server Room Temperature</h1>

View File

@ -6,7 +6,7 @@ namespace Orrisroot\Mail;
class Address class Address
{ {
const EMAIL_REGEX = '[a-zA-Z0-9]+(?:[_\\.\\-][a-zA-Z0-9]+)*@(?:[a-zA-Z0-9]+(?:[\\.\\-][a-zA-Z0-9]+)*)+\\.[a-zA-Z]{2,}'; public const EMAIL_REGEX = '[a-zA-Z0-9]+(?:[_\\.\\-][a-zA-Z0-9]+)*@(?:[a-zA-Z0-9]+(?:[\\.\\-][a-zA-Z0-9]+)*)+\\.[a-zA-Z]{2,}';
/** /**
* @var string name * @var string name