Skip to content

Commit e2a7c06

Browse files
committed
Fix coding style issues.
1 parent 1e0e1da commit e2a7c06

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Url/DrupalGenerator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace IonBazan\ComposerDiff\Url;
44

5-
use Composer\Package\CompletePackageInterface;
65
use Composer\Package\PackageInterface;
76

87
class DrupalGenerator extends GitlabGenerator
@@ -75,7 +74,7 @@ private function getVersionReference(PackageInterface $package)
7574
*/
7675
private function getDrupalProjectName(PackageInterface $package)
7776
{
78-
if ($package->getName() === self::DRUPAL_CORE) {
77+
if (self::DRUPAL_CORE === $package->getName()) {
7978
return 'drupal';
8079
}
8180

tests/Url/DrupalGeneratorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace IonBazan\ComposerDiff\Tests\Url;
44

5-
use Composer\Package\CompletePackageInterface;
65
use Composer\Package\PackageInterface;
76
use IonBazan\ComposerDiff\Url\DrupalGenerator;
87

0 commit comments

Comments
 (0)