You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
529 B

  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. use Nextcloud\Rector\Set\NextcloudSets;
  8. use Rector\Config\RectorConfig;
  9. return RectorConfig::configure()
  10. ->withPaths([
  11. __DIR__ . '/appinfo',
  12. __DIR__ . '/lib',
  13. __DIR__ . '/templates',
  14. __DIR__ . '/tests/php',
  15. ])
  16. ->withSkipPath(__DIR__ . '/lib/Vendor')
  17. ->withPhpSets(php73: true)
  18. ->withSets([
  19. NextcloudSets::NEXTCLOUD_27,
  20. ])
  21. ->withTypeCoverageLevel(0);