���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/wiki.craftaro.com/vendor/wikimedia/parsoid/src/ParserTests/Stats.php
���ѧ٧ѧ�
<?php declare( strict_types = 1 ); namespace Wikimedia\Parsoid\ParserTests; class Stats { /** @var float */ public $startTime; /** @var Stats[] */ public $modes; /** @var int */ public $passedTests = 0; /** @var int */ public $passedTestsUnexpected = 0; /** @var int */ public $failedTests = 0; /** @var int */ public $failedTestsUnexpected = 0; /** @var int */ public $loggedErrorCount = 0; /** @var int */ public $failures = 0; /** @var array Array of elements representing test failures */ public $failList; /** @var string result */ public $result; public function __construct() { $this->startTime = microtime( true ); } public function allFailures(): int { $this->failures = $this->passedTestsUnexpected + $this->failedTestsUnexpected + $this->loggedErrorCount; return $this->failures; } /** * @param Stats $other */ public function accum( Stats $other ): void { $this->passedTests += $other->passedTests; $this->passedTestsUnexpected += $other->passedTestsUnexpected; $this->failedTests += $other->failedTests; $this->failedTestsUnexpected += $other->failedTestsUnexpected; $this->loggedErrorCount += $other->loggedErrorCount; $this->failures += $other->failures; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.1 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�