@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | if ($requiredVersion !== $version) { |
| 148 | 148 | $this->assertPackageAllowed($package); |
| 149 | 149 | if (!$package->git) { |
| 150 | - throw new Exception("Package {$package->name} required to be installed from source"); |
|
| 150 | + throw new Exception("package {$package->name} required to be installed from source"); |
|
| 151 | 151 | } |
| 152 | 152 | if ($autoFix) { |
| 153 | 153 | $fix = true; |
@@ -483,7 +483,7 @@ discard block |
||
| 483 | 483 | protected function assertPackageAllowed($package) |
| 484 | 484 | { |
| 485 | 485 | if (!$this->isPackageAllowed($package)) { |
| 486 | - throw new Exception("Package {$package->name} is not in white list"); |
|
| 486 | + throw new Exception("package {$package->name} is not in white list"); |
|
| 487 | 487 | } |
| 488 | 488 | } |
| 489 | 489 | |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | { |
| 49 | 49 | $absPath = stream_resolve_include_path($path); |
| 50 | 50 | if ($absPath === false) { |
| 51 | - throw new Exception("File $path could not be found"); |
|
| 51 | + throw new Exception("file $path could not be found"); |
|
| 52 | 52 | } |
| 53 | 53 | include $absPath; |
| 54 | 54 | } |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | { |
| 77 | 77 | if ($job) { |
| 78 | 78 | if (!array_key_exists($job, $this['jobs'])) { |
| 79 | - throw new Exception("Job $job is not configured"); |
|
| 79 | + throw new Exception("job $job is not configured"); |
|
| 80 | 80 | } |
| 81 | 81 | return $this['jobs'][$job]; |
| 82 | 82 | } |