Skip to content

Commit

Permalink
fix(migrations): Don't use private apis
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Jan 10, 2025
1 parent 326419b commit 69ba007
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Migration/Version3009Date20200630194059.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
namespace OCA\AnnouncementCenter\Migration;

use Closure;
use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;

Expand Down
2 changes: 1 addition & 1 deletion lib/Migration/Version5000Date20210223091022.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
namespace OCA\AnnouncementCenter\Migration;

use Closure;
use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\DB\Types;
use OCP\IDBConnection;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
Expand Down
1 change: 0 additions & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<issueHandlers>
<UndefinedClass>
<errorLevel type="suppress">
<referencedClass name="Doctrine\DBAL\Types\Types" />
<referencedClass name="OC" />
<referencedClass name="OCA\Guests\UserBackend" />
<referencedClass name="Symfony\Component\Console\Command\Command" />
Expand Down

0 comments on commit 69ba007

Please sign in to comment.