Skip to content

Commit

Permalink
Import statements must not begin with a leading backslash
Browse files Browse the repository at this point in the history
Change-Id: I660c379830c30a22964b351d073d5438875cf14f
  • Loading branch information
umherirrender committed Oct 25, 2019
1 parent 75391d4 commit 17fe832
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<exclude name="PSR2.Classes.ClassDeclaration.InterfaceSameLine" />
<exclude name="PSR2.Classes.ClassDeclaration.FirstInterfaceSameLine" />
<exclude name="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterHint" />
<exclude name="PSR12.Files.ImportStatement.LeadingSlash" />
</rule>

<rule ref="Generic.Files.LineLength">
Expand Down
2 changes: 1 addition & 1 deletion view/src/EntityMetaTagsCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Wikibase\View;

use \Wikibase\DataModel\Entity\EntityDocument;
use Wikibase\DataModel\Entity\EntityDocument;

/**
* Interface for creating meta tags (e.g. title and description) for all different kinds of EntityDocument.
Expand Down

0 comments on commit 17fe832

Please sign in to comment.