This repository has been archived by the owner on Jan 12, 2021. It is now read-only.
0.3.0
- Updated the base MediaWiki rule set from 0.8 to 15.0.0. This adds the following sniffs:
Generic.Files.OneObjectStructurePerFile
(replacesGeneric.Files.OneClass…
,…Interface…
,
and…TraitPerFile
)Generic.PHP.BacktickOperator
Generic.PHP.DiscourageGoto
(replacesMediaWiki.Usage.GotoUsage
)MediaWiki.AlternativeSyntax.LeadingZeroInFloat
MediaWiki.AlternativeSyntax.PHP7UnicodeSyntax
MediaWiki.AlternativeSyntax.ShortCastSyntax
MediaWiki.Files.ClassMatchesFilename
MediaWiki.Usage.DeprecatedConstantUsage
MediaWiki.Usage.ForbiddenFunctions
MediaWiki.Usage.ReferenceThis
MediaWiki.Usage.ScalarTypeHintUsage
MediaWiki.VariableAnalysis.ForbiddenGlobalVariables
MediaWiki.WhiteSpace.OpeningKeywordParenthesis
- Added
@package
to the disallowed PHPDoc tags