psalm
Signed-off-by: dartcafe <github@dartcafe.de>
This commit is contained in:
Родитель
22bfa2b362
Коммит
f90cce9287
|
@ -23,7 +23,7 @@
|
|||
|
||||
namespace OCA\Polls\Migration;
|
||||
|
||||
use OCP\DB\Types;
|
||||
use Doctrine\DBAL\Types\Types;
|
||||
use OCP\IConfig;
|
||||
use OCP\IDBConnection;
|
||||
use OCP\Migration\SimpleMigrationStep;
|
||||
|
@ -46,7 +46,7 @@ class Version0104Date20200314074611 extends SimpleMigrationStep {
|
|||
$schema = $schemaClosure();
|
||||
$table = $schema->getTable('polls_polls');
|
||||
$table->changeColumn('description', [
|
||||
'type' => Types::TEXT,
|
||||
'type' => Types::getType('text'),
|
||||
'notnull' => true,
|
||||
'default' => ''
|
||||
]);
|
||||
|
|
|
@ -25,19 +25,12 @@
|
|||
<referencedClass name="OC\DB\Connection" />
|
||||
<referencedClass name="OC\DB\SchemaWrapper" />
|
||||
<referencedClass name="OCA\Circles\Api\v1\Circles" />
|
||||
<referencedClass name="Doctrine\DBAL\Exception\TableNotFoundException" />
|
||||
<referencedClass name="Doctrine\DBAL\Exception\UniqueConstraintViolationException" />
|
||||
<referencedClass name="Doctrine\DBAL\Types\Type" />
|
||||
</errorLevel>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass>
|
||||
<errorLevel type="suppress">
|
||||
<referencedClass name="Doctrine\DBAL\Schema\Schema" />
|
||||
<referencedClass name="Doctrine\DBAL\Schema\SchemaException" />
|
||||
<referencedClass name="Doctrine\DBAL\Driver\Statement" />
|
||||
<referencedClass name="Doctrine\DBAL\Schema\Table" />
|
||||
<referencedClass name="OC\DB\Connection" />
|
||||
<referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
|
||||
<referencedClass name="OCA\Circles\Model\Circle" />
|
||||
</errorLevel>
|
||||
</UndefinedDocblockClass>
|
||||
|
|
Загрузка…
Ссылка в новой задаче