creode/wordpress-blocks-rector

Rector rules for Upgrades to the WordPress blocks package

1.0.0 2025-06-17 14:12 UTC

This package is auto-updated.

Last update: 2025-06-17 14:31:20 UTC


README

Rector rules for performing upgrades to the WordPress blocks package.

Installation

composer require --dev creode/wordpress-blocks-rector

Usage

Upgrade from 0.x to 1.x

To upgrade from 0.x to 1.x, run the following command, replacing {theme-name} with the name of your WordPress theme:

vendor/bin/rector process wp-content/themes/{theme-name} --config=vendor/creode/wordpress-blocks-rector/config/blocks-1-0.php

Block Plugin Documentation

Documentation for the block plugins can be found here.