Skip to content

Commit 938e8bd

Browse files
committed
Code style fixes
1 parent 9f13a21 commit 938e8bd

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

composer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,14 @@
2626
"squizlabs/php_codesniffer": "~2.0"
2727
},
2828
"autoload": {
29-
"psr-4": {"DrupalComposer\\Composer\\": "src"}
29+
"psr-4": {
30+
"DrupalComposer\\Composer\\": "src"
31+
}
3032
},
3133
"autoload-dev": {
32-
"psr-4": {"DrupalComposer\\Composer\\Tests\\": "tests"}
34+
"psr-4": {
35+
"DrupalComposer\\Composer\\Tests\\": "tests"
36+
}
3337
},
3438
"scripts": {
3539
"test:unit": "phpunit --log-junit=reports/unitreport.xml --coverage-text --coverage-html=reports/coverage --coverage-clover=reports/coverage.xml",

src/DrupalInfo.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ protected function doWriteInfoFiles(PackageInterface $package)
163163
);
164164
} elseif ($this->io->isVerbose()) {
165165
$this->io->write(
166-
'<info>No info files found for ' .$package->getPrettyName() . '</info>'
166+
'<info>No info files found for ' . $package->getPrettyName() . '</info>'
167167
);
168168
}
169169
}
@@ -178,7 +178,7 @@ protected function doRollback(PackageInterface $package)
178178
$writer->rollback();
179179
} elseif ($this->io->isVerbose()) {
180180
$this->io->write(
181-
'<info>No info files found for ' .$package->getPrettyName() . '</info>'
181+
'<info>No info files found for ' . $package->getPrettyName() . '</info>'
182182
);
183183
}
184184
}
@@ -200,7 +200,7 @@ protected function getWriter(PackageInterface $package)
200200
/**
201201
* Find specific version info for a given package.
202202
*
203-
* @param PackageInterface $package
203+
* @param PackageInterface $package
204204
* @return string
205205
*/
206206
protected function findVersion(PackageInterface $package)
@@ -219,7 +219,7 @@ protected function findVersion(PackageInterface $package)
219219
/**
220220
* Find a timestamp that the release is from in the package.
221221
*
222-
* @param PackageInterface $package
222+
* @param PackageInterface $package
223223
* @return string
224224
* Unix timestamp.
225225
*/
@@ -283,7 +283,7 @@ protected function findPackage(PackageInterface $package)
283283
/**
284284
* Determine if this package should be processed.
285285
*
286-
* @param PackageInterface $package
286+
* @param PackageInterface $package
287287
* @return bool
288288
*/
289289
protected function processPackage(PackageInterface $package)
@@ -294,7 +294,7 @@ protected function processPackage(PackageInterface $package)
294294
/**
295295
* Gather the package from the given operation.
296296
*
297-
* @param OperationInterface $operation
297+
* @param OperationInterface $operation
298298
* @return \Composer\Package\PackageInterface
299299
* @throws \Exception
300300
*/
@@ -313,4 +313,5 @@ protected function getPackageFromOperation(OperationInterface $operation)
313313
}
314314
return $package;
315315
}
316+
316317
}

src/Writer/WriterInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ public function set(array $paths);
1717
/**
1818
* Rewrites the .info files with the provided version and timestamp.
1919
*
20-
* @param string $version
20+
* @param string $version
2121
* Version information to write out.
22-
* @param string $timestamp
22+
* @param string $timestamp
2323
* @return
2424
*/
2525
public function rewrite($version, $timestamp, $core = null, $project = null);

0 commit comments

Comments
 (0)