Use rector, PHPUnit, Codeception and PHPStan to find and fix issues.
The command is also available as scheduler task. This finally allows to regularly execute imports. This also allows to import from CLI context with differently configured timeouts.