ibexa / rector
Ibexa Rector refactoring tool rule sets
Installs: 89 474
Dependents: 28
Suggesters: 0
Security: 0
Stars: 1
Watchers: 11
Forks: 2
pkg:composer/ibexa/rector
Requires
- php: >=8.3
- rector/rector: ^2.0
- symfony/console: ^7.3
- symfony/filesystem: ^7.3
- symfony/finder: ^7.3
Requires (Dev)
- ibexa/code-style: ~2.0.0
- nikic/php-parser: ^4.18
- phpstan/phpstan: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-symfony: ^2.0
- phpunit/phpunit: ^10
- qossmic/deptrac-shim: ^0.24.0 || ^1.0.2
Conflicts
- rector/rector: 2.2.6
- dev-main / 5.0.x-dev
- v5.0.5
- v5.0.4
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- v5.0.0-rc1
- v5.0.0-beta1
- 4.6.x-dev
- v4.6.26
- v4.6.25
- v4.6.24
- v4.6.23
- v4.6.22
- v4.6.21
- v4.6.20
- v4.6.19
- dev-configure-ibexa-constraints-for-annotation-to-attribute
- dev-adding-rule-fieldnameresolver-getfieldnames-to-getfieldtypes
- dev-cachable_supports_method_interface
- dev-rename-load-content
This package is auto-updated.
Last update: 2026-01-19 09:46:42 UTC
README
This package is part of Ibexa DXP.
This package provides a set of Rector rules to allow automatic upgrades between Ibexa DXP versions.
To use this package, install Ibexa DXP and follow installation instructions below.
Installation
composer require --dev ibexa/rector:^5.0
Usage
- Create
./rector.phpfile in your project, with the following contents, adjusted to your project structure:declare(strict_types=1); use Ibexa\Contracts\Rector\Sets\IbexaSetList; use Rector\Config\RectorConfig; return RectorConfig::configure() ->withPaths( [ __DIR__ . '/src', // see if it matches your project structure __DIR__ . '/tests' ] ) ->withSets( [ IbexaSetList::IBEXA_50->value // rule set for upgrading to Ibexa DXP 5.0 ] ) ;
- Execute Rector
php ./bin/rector process <directory>
CONTRIBUTING
See contribution guideline to learn how to add rules.
COPYRIGHT
Copyright (C) 1999-2025 Ibexa AS (formerly eZ Systems AS). All rights reserved.
LICENSE
This source code is available separately under the following licenses:
A - Ibexa Business Use License Agreement (Ibexa BUL), version 2.4 or later versions (as license terms may be updated from time to time) Ibexa BUL is granted by having a valid Ibexa DXP (formerly eZ Platform Enterprise) subscription, as described at: https://www.ibexa.co/product For the full Ibexa BUL license text, please see:
- LICENSE-bul file placed in the root of this source code, or
- https://www.ibexa.co/software-information/licenses-and-agreements (latest version applies)
AND
B - GNU General Public License, version 2 Grants an copyleft open source license with ABSOLUTELY NO WARRANTY. For the full GPL license text, please see:
- LICENSE file placed in the root of this source code, or
- https://www.gnu.org/licenses/old-licenses/gpl-2.0.html