Skip to content

Commit

Permalink
Automatically set time limit in all cases
Browse files Browse the repository at this point in the history
Release transpiled using https://phabel.io, the PHP transpiler
  • Loading branch information
danog committed Jan 2, 2022
1 parent 0a41cd8 commit da600f5
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 32 deletions.
3 changes: 3 additions & 0 deletions ___transpiledWithPhabel.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php if (!getenv("PHABEL_INSIDE_COMPOSER")) die("danog/madelineproto: This package requires transpilation using the phabel.io composer plugin.
To use this package please run composer update, enabling execution of plugins and generation of the lockfile.
");
72 changes: 40 additions & 32 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,40 +23,16 @@
"ext-pthreads": "*"
},
"require": {
"php-64bit": ">=8.0",
"danog/primemodule": "^1",
"erusev/parsedown": "^1.7",
"symfony/polyfill-mbstring": "*",
"phabel/phabel": "^1.0",
"php-64bit": "*",
"ext-mbstring": "*",
"ext-json": "*",
"ext-xml": "*",
"ext-dom": "*",
"ext-filter": "*",
"ext-hash": "*",
"ext-zlib": "*",
"ext-fileinfo": "*",
"amphp/amp": "^2",
"amphp/http-client": "^4",
"amphp/socket": "^1",
"amphp/dns": "^1",
"amphp/byte-stream": "^1",
"amphp/file": "^2",
"amphp/mysql": "^2",
"amphp/postgres": "^1.2",
"danog/dns-over-https": "^0.2",
"amphp/http-client-cookies": "^1",
"danog/tg-file-decoder": "^0.1",
"danog/magicalserializer": "^1.0",
"league/uri": "^6",
"danog/ipc": "^0.1",
"amphp/log": "^1.1",
"danog/loop": "^0.1.0",
"phpseclib/phpseclib": "^3",
"amphp/redis": "^1.0",
"symfony/polyfill-php80": "^1.18",
"amphp/websocket-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/log": "^1"
"ext-fileinfo": "*"
},
"require-dev": {
"phpdocumentor/reflection-docblock": "^5.2",
Expand Down Expand Up @@ -87,7 +63,8 @@
"files": [
"src/BigIntegor.php",
"src/YieldReturnValue.php",
"src/polyfill.php"
"src/polyfill.php",
"___transpiledWithPhabel.php"
]
},
"autoload-dev": {
Expand Down Expand Up @@ -124,12 +101,43 @@
"docs": "php tools/build_docs.php",
"test": "@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit --coverage-text --config tests/phpunit.xml",
"bin": "echo 'bin not installed'",
"post-install-cmd": ["@composer bin all install --ansi"],
"post-update-cmd": ["@composer bin all update --ansi"]
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
]
},
"extra": {
"phabel": {
"revision": 0
"revision": 0,
"require": {
"danog/primemodule": "^1",
"erusev/parsedown": "^1.7",
"symfony/polyfill-mbstring": "*",
"amphp/amp": "^2",
"amphp/http-client": "^4",
"amphp/socket": "^1",
"amphp/dns": "^1",
"amphp/byte-stream": "^1",
"amphp/file": "^2",
"amphp/mysql": "^2",
"amphp/postgres": "^1.2",
"danog/dns-over-https": "^0.2",
"amphp/http-client-cookies": "^1",
"danog/tg-file-decoder": "^0.1",
"danog/magicalserializer": "^1.0",
"league/uri": "^6",
"danog/ipc": "^0.1",
"amphp/log": "^1.1",
"danog/loop": "^0.1.0",
"phpseclib/phpseclib": "^3",
"amphp/redis": "^1.0",
"symfony/polyfill-php80": "^1.18",
"amphp/websocket-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/log": "^1"
}
}
}
}
}

0 comments on commit da600f5

Please sign in to comment.