| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function __construct($version) |
||
| 30 | { |
||
| 31 | $this->version = $version; |
||
| 32 | |||
| 33 | $this->updater = new Updater(null, false, Updater::STRATEGY_GITHUB); |
||
| 34 | /* @var $strategy \Humbug\SelfUpdate\Strategy\GithubStrategy */ |
||
| 35 | $strategy = $this->updater->getStrategy(); |
||
| 36 | $strategy->setPackageName('phpoole/cecil'); |
||
| 37 | $strategy->setPharName('cecil.phar'); |
||
| 38 | $strategy->setCurrentLocalVersion($this->version); |
||
| 39 | $strategy->setStability('any'); |
||
| 40 | } |
||
| 41 | |||
| 61 |