Skip to content

Commit

Permalink
Some phpcs fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
fago committed Mar 16, 2022
1 parent 670f13e commit 3c001be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Core/Language/LanguageManagerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ public function getLanguageManager() {
return $this->languageManager;
}

}
}
3 changes: 2 additions & 1 deletion tests/src/Core/Extension/ModuleHandlerTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace drunomics\ServiceUtils\Tests\Core\Extension;

use PHPUnit\Framework\TestCase;
use drunomics\ServiceUtils\Core\Extension\ModuleHandlerTrait;
use Drupal\Core\DependencyInjection\Container;
use Drupal\Core\Extension\ModuleHandlerInterface;
Expand All @@ -10,7 +11,7 @@
* @coversDefaultClass \drunomics\ServiceUtils\Core\Extension\ModuleHandlerTrait
* @group ServiceUtils
*/
class ModuleHandlerTraitTest extends \PHPUnit\Framework\TestCase {
class ModuleHandlerTraitTest extends TestCase {

use ModuleHandlerTrait;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/Core/Path/AliasManagerTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function testGetter() {
* @covers ::setAliasManager
*/
public function testSetter() {
// Verify the set service is returned.
// Verify the set service is returned.
$this->mockContainerWithFakeService(['calls' => 0]);
$service = $this->prophesize()
->willImplement(AliasManagerInterface::class)
Expand Down

0 comments on commit 3c001be

Please sign in to comment.