wiki.techinc.nl/tests/phpunit/includes
Timo Tijhof 50e7985d4d phpcs: Fix WhiteSpace.LanguageConstructSpacing warnings
Squiz.WhiteSpace.LanguageConstructSpacing:
   Language constructs must be followed by a single space;
   expected "require_once expression" but found
   "require_once(expression)"

It is a keyword (e.g. like `new`, `return` and `print`). As
such the parentheses don't make sense.

Per our code conventions, we use a space after keywords like
these. We appeared to have an unwritten exception for `require`
that doesn't make sense. About 60% of require/include usage
was missing the space and/or had superfluous parentheses.

It is as silly as print("foo") or return("foo"), it works
because keywords have no significance for whitespace between
it and the expression that follows, and since experessions can
be wrapped in parentheses for clarity (e.g. when doing string
concatenation or mathematical operations) the parenthesis
before and after basiclaly just ignored.

Change-Id: I2df2f80b8123714bea7e0771bf94b51ad5bb4b87
2013-05-09 05:56:26 +02:00
..
api phpcs: Fix WhiteSpace.LanguageConstructSpacing warnings 2013-05-09 05:56:26 +02:00
cache Update code formatting 2013-04-26 14:21:20 +00:00
content Update code formatting 2013-04-26 14:21:20 +00:00
db Exclude external_user table in DatabaseSqliteTest 2013-05-02 21:07:18 +02:00
debug Update formatting 2013-02-14 14:10:38 +01:00
filebackend Update code formatting 2013-04-26 14:21:20 +00:00
filerepo Update code formatting 2013-04-26 14:21:20 +00:00
GlobalFunctions Update code formatting 2013-04-26 14:21:20 +00:00
installer Tests: Make phpunit providers "public static". 2013-03-22 03:12:37 +01:00
jobqueue Update code formatting 2013-04-26 14:21:20 +00:00
json Update code formatting 2013-04-26 14:21:20 +00:00
libs Update code formatting 2013-04-26 14:21:20 +00:00
logging Update formatting 2013-02-15 12:35:50 +00:00
media Update code formatting 2013-04-26 14:21:20 +00:00
normal test: ignore code coverage for CleanUpTest 2013-03-26 12:54:03 +01:00
objectcache Update code formatting 2013-04-26 14:21:20 +00:00
parser tests: Don't set wgStyleSheetPath in addition to wgStylePath 2013-05-08 00:04:38 +00:00
search Update code formatting 2013-04-26 14:21:20 +00:00
site Update code formatting 2013-04-26 14:21:20 +00:00
specials Update code formatting 2013-04-26 14:21:20 +00:00
upload Update code formatting 2013-04-26 14:21:20 +00:00
ArticleTablesTest.php Update code formatting 2013-04-26 14:21:20 +00:00
ArticleTest.php Update formatting 2013-02-14 12:22:13 +01:00
BlockTest.php Update code formatting 2013-04-26 14:21:20 +00:00
CdbTest.php Update code formatting 2013-04-26 14:21:20 +00:00
CollationTest.php Update code formatting 2013-04-26 14:21:20 +00:00
DiffHistoryBlobTest.php Update code formatting 2013-04-26 14:21:20 +00:00
EditPageTest.php Merge "Fix more UnitTests for databases that do not use integer timestamps" 2013-03-08 22:54:28 +00:00
ExternalStoreTest.php pass codesniffer on tests/ 2013-01-28 12:14:26 +01:00
ExtraParserTest.php Revert "Misc follow-ups to I2fc3966e (a161c5e)" 2013-03-22 21:24:58 +00:00
FauxResponseTest.php tests: always call parent setUp 2012-10-23 19:04:40 +02:00
FormOptionsInitializationTest.php Update code formatting 2013-04-26 14:21:20 +00:00
FormOptionsTest.php Update formatting 2013-02-14 12:22:13 +01:00
HooksTest.php Update code formatting 2013-04-26 14:21:20 +00:00
HtmlTest.php Update code formatting 2013-04-26 14:21:20 +00:00
HttpTest.php Update code formatting 2013-04-26 14:21:20 +00:00
IPTest.php Update formatting 2013-02-14 12:22:13 +01:00
LanguageConverterTest.php Update code formatting 2013-04-26 14:21:20 +00:00
LicensesTest.php Update formatting 2013-02-14 12:22:13 +01:00
LinkerTest.php Tests: Make phpunit providers "public static". 2013-03-22 03:12:37 +01:00
LinksUpdateTest.php Update code formatting 2013-04-26 14:21:20 +00:00
LocalFileTest.php Update formatting 2013-02-14 12:22:13 +01:00
LocalisationCacheTest.php Updated plural rules from CLDR 22 2012-09-17 16:59:29 +00:00
MessageTest.php MessageTest: Split test and use setMwGlobals 2013-03-21 20:05:39 +01:00
MWFunctionTest.php Update code formatting 2013-04-26 14:21:20 +00:00
MWNamespaceTest.php Update code formatting 2013-04-26 14:21:20 +00:00
OutputPageTest.php Update formatting 2013-02-14 12:22:13 +01:00
PathRouterTest.php Update code formatting 2013-04-26 14:21:20 +00:00
PreferencesTest.php Update code formatting 2013-04-26 14:21:20 +00:00
Providers.php Update code formatting 2013-04-26 14:21:20 +00:00
RecentChangeTest.php Update code formatting 2013-04-26 14:21:20 +00:00
RequestContextTest.php Merge "Added space after switch/Removed spaces after unset" 2013-04-26 15:01:41 +00:00
ResourceLoaderTest.php Update code formatting 2013-04-26 14:21:20 +00:00
RevisionStorageTest.php Remove spaces in function signature 2013-03-18 20:44:43 +01:00
RevisionStorageTest_ContentHandlerUseDB.php Update code formatting 2013-04-26 14:21:20 +00:00
RevisionTest.php Update code formatting 2013-04-26 14:21:20 +00:00
SampleTest.php Update formatting 2013-02-14 12:36:35 +01:00
SanitizerTest.php Update code formatting 2013-04-26 14:21:20 +00:00
SanitizerValidateEmailTest.php Update formatting 2013-02-14 12:36:35 +01:00
SeleniumConfigurationTest.php Tests: Use more setMwGlobals 2013-03-21 20:35:44 +01:00
SiteConfigurationTest.php Update code formatting 2013-04-26 14:21:20 +00:00
StringUtilsTest.php Update code formatting 2013-04-26 14:21:20 +00:00
TemplateCategoriesTest.php Update code formatting 2013-04-26 14:21:20 +00:00
TestUser.php Update code formatting 2013-04-26 14:21:20 +00:00
TimeAdjustTest.php TimeAdjustTest: Use dataProvider 2013-03-23 11:17:02 +00:00
TimestampTest.php Merge "Fix TimestampTest broken by 7e3386d4" 2013-04-26 15:05:20 +00:00
TitleMethodsTest.php Update code formatting 2013-04-26 14:21:20 +00:00
TitlePermissionTest.php Update code formatting 2013-04-26 14:21:20 +00:00
TitleTest.php Update code formatting 2013-04-26 14:21:20 +00:00
UIDGeneratorTest.php Added UIDGenerator class for getting statistically unique IDs. 2013-02-07 17:38:12 +00:00
UserTest.php Update formatting 2013-02-14 12:36:35 +01:00
WebRequestTest.php Tests: Use more setMwGlobals 2013-03-21 20:35:44 +01:00
WikiPageTest.php Update code formatting 2013-04-26 14:21:20 +00:00
WikiPageTest_ContentHandlerUseDB.php Update code formatting 2013-04-26 14:21:20 +00:00
XmlJsTest.php
XmlSelectTest.php Update formatting 2013-02-14 12:56:23 +01:00
XmlTest.php Update formatting 2013-02-14 12:56:23 +01:00
ZipDirectoryReaderTest.php Update formatting 2013-02-14 12:56:23 +01:00