# wp-parsely/3.14.1/rector.php

Parse.ly, version 3.14.1. 45 lines.

- Page: https://pluginprobe.com/plugins/wp-parsely/3.14.1/code/rector.php
- Raw: https://pluginprobe.com/plugins/wp-parsely/3.14.1/raw/rector.php
- Modified: 2024-01-22T09:04:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-parsely/3.14.1/code/rector.php#L10-L20`.

```php
<?php
/**
 * Rector configuration
 *
 * @package Parsely
 */

declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\Php54\Rector\Array_\LongArrayToShortArrayRector;
use Rector\Set\ValueObject\LevelSetList;

return static function ( RectorConfig $rector_config ): void {
	$rector_config->bootstrapFiles(
		array(
			__DIR__ . '/vendor/php-stubs/wordpress-stubs/wordpress-stubs.php',
		)
	);

	$rector_config->paths(
		array(
			__DIR__ . '/src',
			__DIR__ . '/tests',
			__DIR__ . '/views',
			__DIR__ . '/uninstall.php',
			__DIR__ . '/wp-parsely.php',
		)
	);

	// Define sets of rules.
	$rector_config->sets(
		array(
			LevelSetList::UP_TO_PHP_72,
		)
	);
	$rector_config->skip(
		array(
			LongArrayToShortArrayRector::class,
		)
	);

	$rector_config->indent( "\t", 1 );
};

```
