mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 07:58:58 +01:00
Update psalm & avoid cs-fixer timeouts
This commit is contained in:
parent
90a25e3738
commit
2452eff7fd
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<files psalm-version="dev-master@1b12255fb19da5c25413fb0071ab3d1f006bb67b">
|
<files psalm-version="dev-master@75fcfe3540e378856b49cf60c8d9cfb1cdc434f2">
|
||||||
<file src="src/API.php">
|
<file src="src/API.php">
|
||||||
<ArgumentTypeCoercion>
|
<ArgumentTypeCoercion>
|
||||||
<code>$settings</code>
|
<code>$settings</code>
|
||||||
@ -209,11 +209,8 @@
|
|||||||
</file>
|
</file>
|
||||||
<file src="src/Db/Driver/Mysql.php">
|
<file src="src/Db/Driver/Mysql.php">
|
||||||
<ArgumentTypeCoercion>
|
<ArgumentTypeCoercion>
|
||||||
<code>$config</code>
|
|
||||||
<code>$config</code>
|
<code>$config</code>
|
||||||
<code><![CDATA[$config->withDatabase(null)]]></code>
|
<code><![CDATA[$config->withDatabase(null)]]></code>
|
||||||
<code><![CDATA[$settings->getIdleTimeout()]]></code>
|
|
||||||
<code><![CDATA[$settings->getMaxConnections()]]></code>
|
|
||||||
</ArgumentTypeCoercion>
|
</ArgumentTypeCoercion>
|
||||||
<PossiblyNullArrayAccess>
|
<PossiblyNullArrayAccess>
|
||||||
<code><![CDATA[$connection->query("SHOW VARIABLES LIKE 'max_connections'")->fetchRow()['Value']]]></code>
|
<code><![CDATA[$connection->query("SHOW VARIABLES LIKE 'max_connections'")->fetchRow()['Value']]]></code>
|
||||||
@ -1347,6 +1344,10 @@
|
|||||||
<code>\is_int($dc_id)</code>
|
<code>\is_int($dc_id)</code>
|
||||||
<code><![CDATA[isset($this->datacenter)]]></code>
|
<code><![CDATA[isset($this->datacenter)]]></code>
|
||||||
</RedundantConditionGivenDocblockType>
|
</RedundantConditionGivenDocblockType>
|
||||||
|
<UndefinedFunction>
|
||||||
|
<code>memprof_dump_pprof($file)</code>
|
||||||
|
<code>memprof_enabled()</code>
|
||||||
|
</UndefinedFunction>
|
||||||
<UndefinedThisPropertyFetch>
|
<UndefinedThisPropertyFetch>
|
||||||
<code><![CDATA[$this->full_chats]]></code>
|
<code><![CDATA[$this->full_chats]]></code>
|
||||||
</UndefinedThisPropertyFetch>
|
</UndefinedThisPropertyFetch>
|
||||||
@ -1386,11 +1387,6 @@
|
|||||||
<code><![CDATA[$this->new_outgoing]]></code>
|
<code><![CDATA[$this->new_outgoing]]></code>
|
||||||
</PossiblyNullArrayOffset>
|
</PossiblyNullArrayOffset>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/MTProtoSession/AuthKeyHandler.php">
|
|
||||||
<PossiblyUndefinedMethod>
|
|
||||||
<code>expires</code>
|
|
||||||
</PossiblyUndefinedMethod>
|
|
||||||
</file>
|
|
||||||
<file src="src/MTProtoSession/CallHandler.php">
|
<file src="src/MTProtoSession/CallHandler.php">
|
||||||
<MissingClosureReturnType>
|
<MissingClosureReturnType>
|
||||||
<code><![CDATA[fn (WrappedFuture $f) => $f->await()]]></code>
|
<code><![CDATA[fn (WrappedFuture $f) => $f->await()]]></code>
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
resolveFromConfigFile="true"
|
resolveFromConfigFile="true"
|
||||||
findUnusedCode="false"
|
findUnusedCode="false"
|
||||||
findUnusedBaselineEntry="false"
|
findUnusedBaselineEntry="false"
|
||||||
|
ignoreInternalFunctionFalseReturn="true"
|
||||||
|
ignoreInternalFunctionNullReturn="true"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xmlns="https://getpsalm.org/schema/config"
|
xmlns="https://getpsalm.org/schema/config"
|
||||||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
|
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
|
||||||
|
@ -16,6 +16,8 @@ mv MadelineProtoDocs-master/ docs
|
|||||||
git submodule init schemas
|
git submodule init schemas
|
||||||
git submodule update schemas
|
git submodule update schemas
|
||||||
|
|
||||||
|
export COMPOSER_PROCESS_TIMEOUT=10000
|
||||||
|
|
||||||
composer update
|
composer update
|
||||||
composer build
|
composer build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user