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
/html/images/graph-*.png
.php_cs.cache
.php-cs-fixer.cache
*~
*.orig

View File

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

View File

@ -19,11 +19,11 @@
"ext-json": "*",
"ext-mbstring": "*",
"ext-rrd": "*",
"phpmailer/phpmailer": "^6.1",
"twig/twig": "^3.0"
"phpmailer/phpmailer": "^6.4",
"twig/twig": "^3.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16"
"friendsofphp/php-cs-fixer": "^3.0"
},
"license": "MIT",
"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="refresh" content="60" />
<link rel="stylesheet" type="text/css" href="css/default.css" />
<title>C047 Server Room Temperature</title>
<title>C407 Server Room Temperature</title>
</head>
<body>
<h1>C407 Server Room Temperature</h1>

View File

@ -6,7 +6,7 @@ namespace Orrisroot\Mail;
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