| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public static function fromPreferredInstall($preferredInstall) : self |
||
| 17 | { |
||
| 18 | return new self(sprintf( |
||
| 19 | 'The detected preferred install required for the git verification to work correctly is "source", ' |
||
| 20 | . 'but your composer.json configuration reported %s.' |
||
| 21 | . "\n" |
||
| 22 | . 'Please edit your composer.json to enforce "source" installation as described at ' |
||
| 23 | . 'https://getcomposer.org/doc/06-config.md#preferred-install', |
||
| 24 | json_encode($preferredInstall) |
||
| 25 | )); |
||
| 26 | } |
||
| 27 | } |
||
| 28 |