Bypass composer cache

This commit is contained in:
Daniil Gentili 2019-05-10 22:19:21 +00:00
parent d1be0834cc
commit a8eb7622a8
3 changed files with 3 additions and 3 deletions

2
docs

@ -1 +1 @@
Subproject commit e8e22ca165ac1bc8a7435d5d55b3e94b1883d9d8
Subproject commit 0fcff8e5a31af300511949c4dbafc7be6c0d4dd7

View File

@ -25,7 +25,7 @@ $p->addFromString('.git/refs/heads/master', $argv[3]);
$p->setStub('<?php
$backtrace = debug_backtrace();
if (in_array(basename($backtrace[0]["file"]), ["madeline.php", "phar.php"]) && isset($backtrace[1]["file"]) && !defined("PHAR_DEBUG")) {
if ($backtrace && in_array(basename($backtrace[0]["file"]), ["madeline.php", "phar.php"]) && isset($backtrace[1]["file"]) && !defined("PHAR_DEBUG")) {
chdir(dirname($backtrace[1]["file"]));
if ($contents = file_get_contents("https://phar.madelineproto.xyz/phar.php?v=new")) {
file_put_contents($backtrace[0]["file"], $contents);

View File

@ -14,7 +14,7 @@ echo '{
"name": "danog/madelineprototests",
"minimum-stability":"dev",
"require": {
"danog/madelineproto": "dev-'$TRAVIS_BRANCH'#'$TRAVIS_COMMIT'",
"danog/madelineproto": "dev-'$TRAVIS_BRANCH'",
"amphp/dns": "dev-master#861cc857b1ba6e02e8a7439c30403682785fce96 as 0.9.9",
"amphp/file": "dev-master#5a69fca406ac5fd220de0aa68c887bc8046eb93c as 0.3.3",
"amphp/uri": "dev-master#f3195b163275383909ded7770a11d8eb865cbc86 as 0.1.3"