Permalink
Browse files

CS fixes (tabs for spaces)

Bugfix: sprintf() was missing.
  • Loading branch information...
till committed Aug 13, 2012
1 parent 951d962 commit a27471c967e3b9f5b2d84d6a4ab17ed5941cd3b2
Showing with 5 additions and 5 deletions.
  1. +4 −4 src/Composer/Package/Dumper/ArrayDumper.php
  2. +1 −1 src/Composer/Package/Dumper/BaseDumper.php
@@ -21,7 +21,7 @@
*/
class ArrayDumper
{
- /**
+ /**
* @var array
*/
protected static $keys = array(
@@ -41,9 +41,9 @@ class ArrayDumper
'support',
);
- /**
- * @return array
- */
+ /**
+ * @return array
+ */
public function dump(PackageInterface $package)
{
$data = array();
@@ -159,7 +159,7 @@ protected function packageHg($fileName, $sourceRef, $workDir)
'hg archive --rev %s --type %s %s',
$sourceRef,
$format,
- escapeshellarg('%s/%s', $this->path, $fileName)
+ escapeshellarg(sprintf('%s/%s', $this->path, $fileName))
);
$this->process->execute($command, $output, $workDir);
}

0 comments on commit a27471c

Please sign in to comment.