Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

CS fixes (tabs for spaces)

Bugfix: sprintf() was missing.
  • Loading branch information...
commit a27471c967e3b9f5b2d84d6a4ab17ed5941cd3b2 1 parent 951d962
@till till authored
View
8 src/Composer/Package/Dumper/ArrayDumper.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();
View
2  src/Composer/Package/Dumper/BaseDumper.php
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.