mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 20:35:23 +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"?>
|
||||
<files psalm-version="dev-master@1b12255fb19da5c25413fb0071ab3d1f006bb67b">
|
||||
<files psalm-version="dev-master@75fcfe3540e378856b49cf60c8d9cfb1cdc434f2">
|
||||
<file src="src/API.php">
|
||||
<ArgumentTypeCoercion>
|
||||
<code>$settings</code>
|
||||
@ -209,11 +209,8 @@
|
||||
</file>
|
||||
<file src="src/Db/Driver/Mysql.php">
|
||||
<ArgumentTypeCoercion>
|
||||
<code>$config</code>
|
||||
<code>$config</code>
|
||||
<code><![CDATA[$config->withDatabase(null)]]></code>
|
||||
<code><![CDATA[$settings->getIdleTimeout()]]></code>
|
||||
<code><![CDATA[$settings->getMaxConnections()]]></code>
|
||||
</ArgumentTypeCoercion>
|
||||
<PossiblyNullArrayAccess>
|
||||
<code><![CDATA[$connection->query("SHOW VARIABLES LIKE 'max_connections'")->fetchRow()['Value']]]></code>
|
||||
@ -1347,6 +1344,10 @@
|
||||
<code>\is_int($dc_id)</code>
|
||||
<code><![CDATA[isset($this->datacenter)]]></code>
|
||||
</RedundantConditionGivenDocblockType>
|
||||
<UndefinedFunction>
|
||||
<code>memprof_dump_pprof($file)</code>
|
||||
<code>memprof_enabled()</code>
|
||||
</UndefinedFunction>
|
||||
<UndefinedThisPropertyFetch>
|
||||
<code><![CDATA[$this->full_chats]]></code>
|
||||
</UndefinedThisPropertyFetch>
|
||||
@ -1386,11 +1387,6 @@
|
||||
<code><![CDATA[$this->new_outgoing]]></code>
|
||||
</PossiblyNullArrayOffset>
|
||||
</file>
|
||||
<file src="src/MTProtoSession/AuthKeyHandler.php">
|
||||
<PossiblyUndefinedMethod>
|
||||
<code>expires</code>
|
||||
</PossiblyUndefinedMethod>
|
||||
</file>
|
||||
<file src="src/MTProtoSession/CallHandler.php">
|
||||
<MissingClosureReturnType>
|
||||
<code><![CDATA[fn (WrappedFuture $f) => $f->await()]]></code>
|
||||
|
@ -4,6 +4,8 @@
|
||||
resolveFromConfigFile="true"
|
||||
findUnusedCode="false"
|
||||
findUnusedBaselineEntry="false"
|
||||
ignoreInternalFunctionFalseReturn="true"
|
||||
ignoreInternalFunctionNullReturn="true"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="https://getpsalm.org/schema/config"
|
||||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
|
||||
|
@ -16,7 +16,9 @@ mv MadelineProtoDocs-master/ docs
|
||||
git submodule init schemas
|
||||
git submodule update schemas
|
||||
|
||||
export COMPOSER_PROCESS_TIMEOUT=10000
|
||||
|
||||
composer update
|
||||
composer build
|
||||
|
||||
if [ "$(git diff)" != "" ]; then echo "Please run composer build!"; exit 1; fi
|
||||
if [ "$(git diff)" != "" ]; then echo "Please run composer build!"; exit 1; fi
|
||||
|
Loading…
Reference in New Issue
Block a user