mirror of
https://github.com/j0k3r/php-readability.git
synced 2026-09-27 06:26:17 +00:00
https://github.com/phpstan/phpstan/blob/2.1.x/UPGRADING.md Required also bumping Rector since it uses PHPStan internally.
19 lines
412 B
PHP
19 lines
412 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Set\ValueObject\LevelSetList;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([
|
|
__DIR__ . '/src',
|
|
__DIR__ . '/tests',
|
|
])
|
|
->withBootstrapFiles([
|
|
__DIR__ . '/vendor/bin/.phpunit/phpunit/vendor/autoload.php',
|
|
__DIR__ . '/vendor/autoload.php',
|
|
])
|
|
->withSets([LevelSetList::UP_TO_PHP_74])
|
|
;
|