Skip to content

Commit

Permalink
Fix coding style issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
darthsteven committed Apr 26, 2024
1 parent 1e0e1da commit e2a7c06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/Url/DrupalGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace IonBazan\ComposerDiff\Url;

use Composer\Package\CompletePackageInterface;
use Composer\Package\PackageInterface;

class DrupalGenerator extends GitlabGenerator
Expand Down Expand Up @@ -75,7 +74,7 @@ private function getVersionReference(PackageInterface $package)
*/
private function getDrupalProjectName(PackageInterface $package)
{
if ($package->getName() === self::DRUPAL_CORE) {
if (self::DRUPAL_CORE === $package->getName()) {
return 'drupal';
}

Expand Down
1 change: 0 additions & 1 deletion tests/Url/DrupalGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace IonBazan\ComposerDiff\Tests\Url;

use Composer\Package\CompletePackageInterface;
use Composer\Package\PackageInterface;
use IonBazan\ComposerDiff\Url\DrupalGenerator;

Expand Down

0 comments on commit e2a7c06

Please sign in to comment.