@@ -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 | } |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | if ($requiredVersion !== $version) { |
160 | 160 | $this->assertPackageIsWhiteListed($package); |
161 | 161 | if (!$package->git) { |
162 | - throw new Exception("Package {$package->name} required to be installed from source"); |
|
162 | + throw new Exception("package {$package->name} required to be installed from source"); |
|
163 | 163 | } |
164 | 164 | if ($autoFix) { |
165 | 165 | $fix = true; |
@@ -555,7 +555,7 @@ discard block |
||
555 | 555 | protected function assertPackageIsWhiteListed($package) |
556 | 556 | { |
557 | 557 | if ($this->isPackageWhiteListed($package) === false) { |
558 | - throw new Exception("Package {$package->name} is not in white list"); |
|
558 | + throw new Exception("package {$package->name} is not in white list"); |
|
559 | 559 | } |
560 | 560 | } |
561 | 561 |