| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function addAssetEngine(AssetEngine $assetEngine) |
||
| 28 | { |
||
| 29 | $extensions = $assetEngine->getExtensions(); |
||
| 30 | |||
| 31 | $e = $this->engines[] = $assetEngine; |
||
|
|
|||
| 32 | |||
| 33 | foreach ($extensions as $extension) |
||
| 34 | { |
||
| 35 | $this->enginesByExtension[$extension] = $e; |
||
| 36 | } |
||
| 37 | |||
| 38 | $this->foldersToWatch[$assetEngine->getFolder()] = $e; |
||
| 39 | } |
||
| 40 | |||
| 56 |
Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.