- Added spaces after if/foreach/catch
- Added new line before end of file
- Added or removed spaces before/after parenthesis, comma
- Added spaces around string concat
Change-Id: I0590070f1b3542108e242730e8d9a3ba9831e94f
These are ids used by extension(s) such as Wikibase
to add language links in the sidebar.
Bug: 62754
Change-Id: Ie21fc3ea500bd7de3c01a9d8ec05373f016f339a
There are some places especially in Wikibase where we need to get a site
based on the local navigation id. This feature really should go into core.
Change-Id: I02eb1673bea58f79d02db2e1ecd21cbc5b8cb0d1
Fix almost all occurences of the following sniffs:
Generic.CodeAnalysis.UselessOverridingMethod.Found
Generic.Formatting.NoSpaceAfterCast.SpaceFound
Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma
Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine
Generic.PHP.LowerCaseConstant.Found
PSR2.Classes.PropertyDeclaration.ScopeMissing
PSR2.Files.EndFileNewline.TooMany
PSR2.Methods.MethodDeclaration.StaticBeforeVisibility
Change-Id: I96aacef5bafe5a2bca659744fba1380999cfc37d
- this fixes an issue with test data which is a too large integer
interpreted as float on 32 bit systems
- see http://www.php.net/manual/de/language.types.integer.php#103506
- "On a 32-bit system, the largest value that can be held in an INT is
2147483647."
Change-Id: I577dfba3b32e93535c06329ee1b4de28366a1aac
This code is meant to replace the current interwiki code, but does not do so just yet. It is however used by the Wikibase extension. This allows us to try out some more things and have the code stabilize more before we migrate over existing interwiki functionality.
Change-Id: I23c47c2c3909a1500350fb560a5f2ec654e2c37e