Skip to content

Optimize code

Optimize code #1284

Triggered via pull request August 21, 2023 05:08
Status Success
Total duration 12m 52s
Artifacts

framework.yml

on: pull_request
Matrix: linux
Matrix: macos
Fit to window
Zoom out
Zoom in

Annotations

3 errors
imi - PHP 8.0
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires hprose/hprose-swoole ^2.0.12 -> satisfiable by hprose/hprose-swoole[v2.0.12]. - hprose/hprose-swoole v2.0.12 requires ext-hprose >=1.6.5 -> it is missing from your system. Install or enable PHP's hprose extension. To enable extensions, verify that they are enabled in your .ini files: - /etc/php/8.0/cli/php.ini - /etc/php/8.0/cli/conf.d/10-mysqlnd.ini - /etc/php/8.0/cli/conf.d/10-opcache.ini - /etc/php/8.0/cli/conf.d/10-pdo.ini - /etc/php/8.0/cli/conf.d/15-xml.ini - /etc/php/8.0/cli/conf.d/20-amqp.ini - /etc/php/8.0/cli/conf.d/20-apcu.ini - /etc/php/8.0/cli/conf.d/20-ast.ini - /etc/php/8.0/cli/conf.d/20-bcmath.ini - /etc/php/8.0/cli/conf.d/20-bz2.ini - /etc/php/8.0/cli/conf.d/20-calendar.ini - /etc/php/8.0/cli/conf.d/20-ctype.ini - /etc/php/8.0/cli/conf.d/20-curl.ini - /etc/php/8.0/cli/conf.d/20-dba.ini - /etc/php/8.0/cli/conf.d/20-dom.ini - /etc/php/8.0/cli/conf.d/20-enchant.ini - /etc/php/8.0/cli/conf.d/20-exif.ini - /etc/php/8.0/cli/conf.d/20-ffi.ini - /etc/php/8.0/cli/conf.d/20-fileinfo.ini - /etc/php/8.0/cli/conf.d/20-ftp.ini - /etc/php/8.0/cli/conf.d/20-gd.ini - /etc/php/8.0/cli/conf.d/20-gettext.ini - /etc/php/8.0/cli/conf.d/20-gmp.ini - /etc/php/8.0/cli/conf.d/20-iconv.ini - /etc/php/8.0/cli/conf.d/20-igbinary.ini - /etc/php/8.0/cli/conf.d/20-imagick.ini - /etc/php/8.0/cli/conf.d/20-imap.ini - /etc/php/8.0/cli/conf.d/20-intl.ini - /etc/php/8.0/cli/conf.d/20-ldap.ini - /etc/php/8.0/cli/conf.d/20-mbstring.ini - /etc/php/8.0/cli/conf.d/20-memcache.ini - /etc/php/8.0/cli/conf.d/20-mongodb.ini - /etc/php/8.0/cli/conf.d/20-msgpack.ini - /etc/php/8.0/cli/conf.d/20-mysqli.ini - /etc/php/8.0/cli/conf.d/20-odbc.ini - /etc/php/8.0/cli/conf.d/20-pdo_dblib.ini - /etc/php/8.0/cli/conf.d/20-pdo_firebird.ini - /etc/php/8.0/cli/conf.d/20-pdo_mysql.ini - /etc/php/8.0/cli/conf.d/20-pdo_odbc.ini - /etc/php/8.0/cli/conf.d/20-pdo_pgsql.ini - /etc/php/8.0/cli/conf.d/20-pdo_sqlite.ini - /etc/php/8.0/cli/conf.d/20-pdo_sqlsrv.ini - /etc/php/8.0/cli/conf.d/20-pgsql.ini - /etc/php/8.0/cli/conf.d/20-phar.ini - /etc/php/8.0/cli/conf.d/20-posix.ini - /etc/php/8.0/cli/conf.d/20-pspell.ini - /etc/php/8.0/cli/conf.d/20-readline.ini - /etc/php/8.0/cli/conf.d/20-redis.ini - /etc/php/8.0/cli/conf.d/20-shmop.ini - /etc/php/8.0/cli/conf.d/20-simplexml.ini - /etc/php/8.0/cli/conf.d/20-snmp.ini - /etc/php/8.0/cli/conf.d/20-soap.ini - /etc/php/8.0/cli/conf.d/20-sockets.ini - /etc/php/8.0/cli/conf.d/20-sqlite3.ini - /etc/php/8.0/cli/conf.d/20-sqlsrv.ini - /etc/php/8.0/cli/conf.d/20-sysvmsg.ini - /etc/php/8.0/cli/conf.d/20-sysvsem.ini - /etc/php/8.0/cli/conf.d/20-sysvshm.ini - /etc/php/8.0/cli/conf.d/20-tidy.ini - /etc/php/8.0/cli/conf.d/20-tokenizer.ini - /etc/php/8.0/cli/conf.d/20-xmlreader.ini - /etc/php/8.0/cli/conf.d/20-xmlwriter.ini - /etc/php/8.0/cli/conf.d/20-xsl.ini - /etc/php/8.0/cli/conf.d/20-yaml.ini - /etc/php/8.0/cli/conf.d/20-zip.ini - /etc/php/8.0/cli/conf.d/20-zmq.ini - /etc/php/8.0/cli/conf.d/25-memcached.ini - /etc/php/8.0/cli/conf.d/30-ds.ini - /etc/php/8.0/cli/conf.d/99-pecl.ini You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-hprose` to temporarily ignore these required extensions.
imi - PHP 8.1
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires hprose/hprose-swoole ^2.0.12 -> satisfiable by hprose/hprose-swoole[v2.0.12]. - hprose/hprose-swoole v2.0.12 requires ext-hprose >=1.6.5 -> it is missing from your system. Install or enable PHP's hprose extension. To enable extensions, verify that they are enabled in your .ini files: - /etc/php/8.1/cli/php.ini - /etc/php/8.1/cli/conf.d/10-mysqlnd.ini - /etc/php/8.1/cli/conf.d/10-opcache.ini - /etc/php/8.1/cli/conf.d/10-pdo.ini - /etc/php/8.1/cli/conf.d/15-xml.ini - /etc/php/8.1/cli/conf.d/20-amqp.ini - /etc/php/8.1/cli/conf.d/20-apcu.ini - /etc/php/8.1/cli/conf.d/20-ast.ini - /etc/php/8.1/cli/conf.d/20-bcmath.ini - /etc/php/8.1/cli/conf.d/20-bz2.ini - /etc/php/8.1/cli/conf.d/20-calendar.ini - /etc/php/8.1/cli/conf.d/20-ctype.ini - /etc/php/8.1/cli/conf.d/20-curl.ini - /etc/php/8.1/cli/conf.d/20-dba.ini - /etc/php/8.1/cli/conf.d/20-dom.ini - /etc/php/8.1/cli/conf.d/20-enchant.ini - /etc/php/8.1/cli/conf.d/20-exif.ini - /etc/php/8.1/cli/conf.d/20-ffi.ini - /etc/php/8.1/cli/conf.d/20-fileinfo.ini - /etc/php/8.1/cli/conf.d/20-ftp.ini - /etc/php/8.1/cli/conf.d/20-gd.ini - /etc/php/8.1/cli/conf.d/20-gettext.ini - /etc/php/8.1/cli/conf.d/20-gmp.ini - /etc/php/8.1/cli/conf.d/20-iconv.ini - /etc/php/8.1/cli/conf.d/20-igbinary.ini - /etc/php/8.1/cli/conf.d/20-imagick.ini - /etc/php/8.1/cli/conf.d/20-imap.ini - /etc/php/8.1/cli/conf.d/20-intl.ini - /etc/php/8.1/cli/conf.d/20-ldap.ini - /etc/php/8.1/cli/conf.d/20-mbstring.ini - /etc/php/8.1/cli/conf.d/20-memcache.ini - /etc/php/8.1/cli/conf.d/20-mongodb.ini - /etc/php/8.1/cli/conf.d/20-msgpack.ini - /etc/php/8.1/cli/conf.d/20-mysqli.ini - /etc/php/8.1/cli/conf.d/20-odbc.ini - /etc/php/8.1/cli/conf.d/20-pdo_dblib.ini - /etc/php/8.1/cli/conf.d/20-pdo_firebird.ini - /etc/php/8.1/cli/conf.d/20-pdo_mysql.ini - /etc/php/8.1/cli/conf.d/20-pdo_odbc.ini - /etc/php/8.1/cli/conf.d/20-pdo_pgsql.ini - /etc/php/8.1/cli/conf.d/20-pdo_sqlite.ini - /etc/php/8.1/cli/conf.d/20-pdo_sqlsrv.ini - /etc/php/8.1/cli/conf.d/20-pgsql.ini - /etc/php/8.1/cli/conf.d/20-phar.ini - /etc/php/8.1/cli/conf.d/20-posix.ini - /etc/php/8.1/cli/conf.d/20-pspell.ini - /etc/php/8.1/cli/conf.d/20-readline.ini - /etc/php/8.1/cli/conf.d/20-redis.ini - /etc/php/8.1/cli/conf.d/20-shmop.ini - /etc/php/8.1/cli/conf.d/20-simplexml.ini - /etc/php/8.1/cli/conf.d/20-snmp.ini - /etc/php/8.1/cli/conf.d/20-soap.ini - /etc/php/8.1/cli/conf.d/20-sockets.ini - /etc/php/8.1/cli/conf.d/20-sqlite3.ini - /etc/php/8.1/cli/conf.d/20-sqlsrv.ini - /etc/php/8.1/cli/conf.d/20-sysvmsg.ini - /etc/php/8.1/cli/conf.d/20-sysvsem.ini - /etc/php/8.1/cli/conf.d/20-sysvshm.ini - /etc/php/8.1/cli/conf.d/20-tidy.ini - /etc/php/8.1/cli/conf.d/20-tokenizer.ini - /etc/php/8.1/cli/conf.d/20-xmlreader.ini - /etc/php/8.1/cli/conf.d/20-xmlwriter.ini - /etc/php/8.1/cli/conf.d/20-xsl.ini - /etc/php/8.1/cli/conf.d/20-yaml.ini - /etc/php/8.1/cli/conf.d/20-zip.ini - /etc/php/8.1/cli/conf.d/20-zmq.ini - /etc/php/8.1/cli/conf.d/25-memcached.ini - /etc/php/8.1/cli/conf.d/30-ds.ini - /etc/php/8.1/cli/conf.d/99-pecl.ini You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-hprose` to temporarily ignore these required extensions.
imi - PHP 8.2
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires hprose/hprose-swoole ^2.0.12 -> satisfiable by hprose/hprose-swoole[v2.0.12]. - hprose/hprose-swoole v2.0.12 requires ext-hprose >=1.6.5 -> it is missing from your system. Install or enable PHP's hprose extension. To enable extensions, verify that they are enabled in your .ini files: - /etc/php/8.2/cli/php.ini - /etc/php/8.2/cli/conf.d/10-mysqlnd.ini - /etc/php/8.2/cli/conf.d/10-opcache.ini - /etc/php/8.2/cli/conf.d/10-pdo.ini - /etc/php/8.2/cli/conf.d/15-xml.ini - /etc/php/8.2/cli/conf.d/20-amqp.ini - /etc/php/8.2/cli/conf.d/20-apcu.ini - /etc/php/8.2/cli/conf.d/20-ast.ini - /etc/php/8.2/cli/conf.d/20-bcmath.ini - /etc/php/8.2/cli/conf.d/20-bz2.ini - /etc/php/8.2/cli/conf.d/20-calendar.ini - /etc/php/8.2/cli/conf.d/20-ctype.ini - /etc/php/8.2/cli/conf.d/20-curl.ini - /etc/php/8.2/cli/conf.d/20-dba.ini - /etc/php/8.2/cli/conf.d/20-dom.ini - /etc/php/8.2/cli/conf.d/20-enchant.ini - /etc/php/8.2/cli/conf.d/20-exif.ini - /etc/php/8.2/cli/conf.d/20-ffi.ini - /etc/php/8.2/cli/conf.d/20-fileinfo.ini - /etc/php/8.2/cli/conf.d/20-ftp.ini - /etc/php/8.2/cli/conf.d/20-gd.ini - /etc/php/8.2/cli/conf.d/20-gettext.ini - /etc/php/8.2/cli/conf.d/20-gmp.ini - /etc/php/8.2/cli/conf.d/20-iconv.ini - /etc/php/8.2/cli/conf.d/20-igbinary.ini - /etc/php/8.2/cli/conf.d/20-imagick.ini - /etc/php/8.2/cli/conf.d/20-imap.ini - /etc/php/8.2/cli/conf.d/20-intl.ini - /etc/php/8.2/cli/conf.d/20-ldap.ini - /etc/php/8.2/cli/conf.d/20-mbstring.ini - /etc/php/8.2/cli/conf.d/20-memcache.ini - /etc/php/8.2/cli/conf.d/20-mongodb.ini - /etc/php/8.2/cli/conf.d/20-msgpack.ini - /etc/php/8.2/cli/conf.d/20-mysqli.ini - /etc/php/8.2/cli/conf.d/20-odbc.ini - /etc/php/8.2/cli/conf.d/20-pdo_dblib.ini - /etc/php/8.2/cli/conf.d/20-pdo_firebird.ini - /etc/php/8.2/cli/conf.d/20-pdo_mysql.ini - /etc/php/8.2/cli/conf.d/20-pdo_odbc.ini - /etc/php/8.2/cli/conf.d/20-pdo_pgsql.ini - /etc/php/8.2/cli/conf.d/20-pdo_sqlite.ini - /etc/php/8.2/cli/conf.d/20-pdo_sqlsrv.ini - /etc/php/8.2/cli/conf.d/20-pgsql.ini - /etc/php/8.2/cli/conf.d/20-phar.ini - /etc/php/8.2/cli/conf.d/20-posix.ini - /etc/php/8.2/cli/conf.d/20-pspell.ini - /etc/php/8.2/cli/conf.d/20-readline.ini - /etc/php/8.2/cli/conf.d/20-redis.ini - /etc/php/8.2/cli/conf.d/20-shmop.ini - /etc/php/8.2/cli/conf.d/20-simplexml.ini - /etc/php/8.2/cli/conf.d/20-snmp.ini - /etc/php/8.2/cli/conf.d/20-soap.ini - /etc/php/8.2/cli/conf.d/20-sockets.ini - /etc/php/8.2/cli/conf.d/20-sqlite3.ini - /etc/php/8.2/cli/conf.d/20-sqlsrv.ini - /etc/php/8.2/cli/conf.d/20-sysvmsg.ini - /etc/php/8.2/cli/conf.d/20-sysvsem.ini - /etc/php/8.2/cli/conf.d/20-sysvshm.ini - /etc/php/8.2/cli/conf.d/20-tidy.ini - /etc/php/8.2/cli/conf.d/20-tokenizer.ini - /etc/php/8.2/cli/conf.d/20-xmlreader.ini - /etc/php/8.2/cli/conf.d/20-xmlwriter.ini - /etc/php/8.2/cli/conf.d/20-xsl.ini - /etc/php/8.2/cli/conf.d/20-yaml.ini - /etc/php/8.2/cli/conf.d/20-zip.ini - /etc/php/8.2/cli/conf.d/20-zmq.ini - /etc/php/8.2/cli/conf.d/25-memcached.ini - /etc/php/8.2/cli/conf.d/30-ds.ini - /etc/php/8.2/cli/conf.d/99-pecl.ini You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-hprose` to temporarily ignore these required extensions.