mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-12-18 01:10:31 +00:00
Move classes to includes/ and rename some to match class names
For conformance to coding standards. This removes an exclusion from the phpcs config. Change-Id: I1481a3e7e68a81daf310ea3c7bf9dc48cdaf140b
This commit is contained in:
parent
833c9ce39a
commit
2e7e5e0190
|
@ -2,7 +2,6 @@
|
|||
<ruleset>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
||||
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
||||
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
||||
|
|
|
@ -46,14 +46,14 @@
|
|||
"ThanksAlias": "Thanks.alias.php"
|
||||
},
|
||||
"AutoloadClasses": {
|
||||
"ThanksHooks": "Thanks.hooks.php",
|
||||
"EchoThanksPresentationModel": "ThanksPresentationModel.php",
|
||||
"EchoFlowThanksPresentationModel": "FlowThanksPresentationModel.php",
|
||||
"ApiThank": "ApiThank.php",
|
||||
"ApiRevThank": "ApiRevThank.php",
|
||||
"ApiFlowThank": "ApiFlowThank.php",
|
||||
"ThanksLogFormatter": "ThanksLogFormatter.php",
|
||||
"SpecialThanks": "SpecialThanks.php"
|
||||
"ThanksHooks": "includes/ThanksHooks.php",
|
||||
"EchoThanksPresentationModel": "includes/EchoThanksPresentationModel.php",
|
||||
"EchoFlowThanksPresentationModel": "includes/EchoFlowThanksPresentationModel.php",
|
||||
"ApiThank": "includes/ApiThank.php",
|
||||
"ApiRevThank": "includes/ApiRevThank.php",
|
||||
"ApiFlowThank": "includes/ApiFlowThank.php",
|
||||
"ThanksLogFormatter": "includes/ThanksLogFormatter.php",
|
||||
"SpecialThanks": "includes/SpecialThanks.php"
|
||||
},
|
||||
"ResourceModules": {
|
||||
"ext.thanks": {
|
||||
|
|
|
@ -21,7 +21,7 @@ class ThanksHooks {
|
|||
) {
|
||||
if ( class_exists( 'SpecialMobileDiff' ) ) {
|
||||
$testModules['qunit']['tests.ext.thanks.mobilediff'] = [
|
||||
'localBasePath' => __DIR__,
|
||||
'localBasePath' => dirname( __DIR__ ),
|
||||
'remoteExtPath' => 'Thanks',
|
||||
'dependencies' => [ 'ext.thanks.mobilediff' ],
|
||||
'scripts' => [
|
|
@ -17,7 +17,7 @@ use Flow\Model\UUID;
|
|||
*
|
||||
* @author Benjamin Chen
|
||||
*/
|
||||
class ApiFlowThankTest extends ApiTestCase {
|
||||
class ApiFlowThankIntegrationTest extends ApiTestCase {
|
||||
|
||||
/** @var PostRevision */
|
||||
public $topic;
|
||||
|
|
Loading…
Reference in a new issue