1
0
Fork 0

[Composer] Fixed typos

pull/16/head
pborreli 2011-09-15 01:22:33 +00:00
parent b6ec172997
commit f7735c396f
4 changed files with 8 additions and 8 deletions

View File

@ -343,7 +343,7 @@ class Solver
continue;
}
// obsolete same packages even when noObsletes
// obsolete same packages even when noObsoletes
if ($noObsoletes && (!$package->equals($provider))) {
continue;
}
@ -1567,7 +1567,7 @@ class Solver
$seen = array();
$literals = $conflictRule->getLiterals();
/* unecessary because unlike rule.d, watch2 == 2nd literal, unless watch2 changed
/* unnecessary because unlike rule.d, watch2 == 2nd literal, unless watch2 changed
if (sizeof($literals) == 2) {
$literals[1] = $this->literalFromId($conflictRule->watch2);
}
@ -1599,7 +1599,7 @@ class Solver
$this->analyzeUnsolvableRule($why, $lastWeakWhy);
$literals = $why->getLiterals();
/* unecessary because unlike rule.d, watch2 == 2nd literal, unless watch2 changed
/* unnecessary because unlike rule.d, watch2 == 2nd literal, unless watch2 changed
if (sizeof($literals) == 2) {
$literals[1] = $this->literalFromId($why->watch2);
}

View File

@ -28,7 +28,7 @@ abstract class BasePackage implements PackageInterface
protected $id;
/**
* All descendents' constructors should call this parent constructor
* All descendants' constructors should call this parent constructor
*
* @param string $name The package's name
*/
@ -54,7 +54,7 @@ abstract class BasePackage implements PackageInterface
* No version or release type information should be included in any of the
* names. Provided or replaced package names need to be returned as well.
*
* @return array An array of strings refering to this package
* @return array An array of strings referring to this package
*/
public function getNames()
{

View File

@ -13,7 +13,7 @@
namespace Composer\Package\LinkConstraint;
/**
* Defines a conjuctive set of constraints on the target of a package link
* Defines a conjunctive set of constraints on the target of a package link
*
* @author Nils Adermann <naderman@naderman.de>
*/
@ -24,7 +24,7 @@ class MultiConstraint implements LinkConstraintInterface
/**
* Sets operator and version to compare a package with
*
* @param array $constraints A conjuctive set of constraints
* @param array $constraints A conjunctive set of constraints
*/
public function __construct(array $constraints)
{

View File

@ -33,7 +33,7 @@ interface PackageInterface
* No version or release type information should be included in any of the
* names. Provided or replaced package names need to be returned as well.
*
* @return array An array of strings refering to this package
* @return array An array of strings referring to this package
*/
function getNames();