Skip to content

Commit

Permalink
Enabled SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly.Refe…
Browse files Browse the repository at this point in the history
…renceViaFullyQualifiedName
  • Loading branch information
marekdedic committed Dec 23, 2023
1 parent 2ca9354 commit 16d94ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
-->

<!-- Temporarily disabled -->
<exclude name="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedName"/>
<exclude name="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedNameWithoutNamespace"/>
<exclude name="SlevomatCodingStandard.Namespaces.UseOnlyWhitelistedNamespaces.NonFullyQualified"/>
<exclude name="SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing"/>
<exclude name="SlevomatCodingStandard.TypeHints.DisallowMixedTypeHint.DisallowedMixedTypeHint"/>
<exclude name="SlevomatCodingStandard.TypeHints.LongTypeHints.UsedLongTypeHint"/>
Expand Down
4 changes: 3 additions & 1 deletion stubs/WordPress-test/class-wp-unittestcase-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
* @package wordpress-stubs
*/

use PHPUnit\Framework\TestCase;

/**
*/
class WP_UnitTestCase_Base extends PHPUnit\Framework\TestCase {
class WP_UnitTestCase_Base extends TestCase {

}

0 comments on commit 16d94ed

Please sign in to comment.