<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.SingleSpaceBeforeSingleLineComment" />
<exclude name="Squiz.Scope.MethodScope.Missing" />
- <exclude name="Squiz.Scope.MemberVarScope.Missing" />
</rule>
<rule ref="MediaWiki.NamingConventions.PrefixedGlobalFunctions">
<properties>
*/
// phpcs:disable Generic.Arrays.DisallowLongArraySyntax,PSR2.Classes.PropertyDeclaration,MediaWiki.Usage.DirUsage
+// phpcs:disable Squiz.Scope.MemberVarScope.Missing,Squiz.Scope.MethodScope.Missing
/**
* Check PHP Version, as well as for composer dependencies in entry points,
* and display something vaguely comprehensible in the event of a totally
* This should only be used if all entries in the process
* cache were added after the files were already locked. (since 1.20)
*
- * @remarks Remarks on locking:
+ * @note Remarks on locking:
* File system paths given to operations should refer to files that are
* already locked or otherwise safe from modification from other processes.
* Normally these files will be new temp files, which should be adequate.
'IPAddress' => $_SERVER[ 'REMOTE_ADDR' ] ?? '',
'UserAgent' => $_SERVER['HTTP_USER_AGENT'] ?? '',
// Headers application can inject via LBFactory::setRequestInfo()
+ 'ChronologyProtection' => null,
'ChronologyClientId' => null, // prior $cpClientId value from LBFactory::shutdown()
'ChronologyPositionIndex' => null // prior $cpIndex value from LBFactory::shutdown()
];
*/
/**
- * @uses XhprofData
- * @uses AutoLoader
* @copyright © 2014 Wikimedia Foundation and contributors
* @since 1.25
*/
/**
* @covers XhprofData::getCallers
* @covers XhprofData::getCallees
- * @uses XhprofData
*/
public function testEdges() {
$xhprofData = $this->getXhprofDataFixture();
/**
* @covers XhprofData::getCriticalPath
- * @uses XhprofData
*/
public function testCriticalPath() {
$xhprofData = $this->getXhprofDataFixture();
* parameter (a password) should match.
* @return array
* @throws MWException
- * @abstract
*/
public static function providePasswordTests() {
throw new MWException( "Not implemented" );