2019-12-26 22:02:36 +01:00
|
|
|
#!/bin/bash -e
|
2019-12-26 19:47:24 +01:00
|
|
|
|
|
|
|
rm -rf vendor/danog/madelineproto/docs
|
|
|
|
|
2021-03-30 16:10:37 +02:00
|
|
|
#sed -re 's/\?(\w*) (\$\w+)/\2 = NULL/g;s/= null = null/=null/ig;s/: self//g' -i vendor/league/uri-interfaces/src/Contracts/UriInterface.php
|
|
|
|
#php $(dirname $0)/prepare-5.php
|
2019-12-26 19:47:24 +01:00
|
|
|
|
2021-03-30 16:10:37 +02:00
|
|
|
#sed -i 's/handleConnectionWindowIncrement[(]\$windowSize[)]/handleConnectionWindowIncrement(int $windowSize)/g' vendor/amphp/http-client/src/Connection/Internal/Http2ConnectionProcessor.php
|
2021-04-06 16:50:56 +02:00
|
|
|
|
|
|
|
#sed -ri 's/^\{/{ use \\MyCallableMaker;/g;s/\\Closure::fromCallable[(]\[(.+), (.+)\][)]/\1->callableFromInstanceMethod(\2)/g;s/Closure::fromCallable[(]\[(.+), (.+)\][)]/\1->callableFromInstanceMethod(\2)/g' $l
|