Skip to content
/ rector Public
generated from ibexa/bundle-template

Ibexa Rector refactoring tool rule sets

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE
Unknown
LICENSE-bul
Notifications You must be signed in to change notification settings

ibexa/rector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b1dbda7 · Mar 17, 2025

History

45 Commits
Mar 15, 2025
Mar 13, 2025
Mar 14, 2025
Apr 23, 2024
Apr 23, 2024
Apr 23, 2024
Jul 25, 2024
Jan 22, 2025
Apr 23, 2024
Apr 23, 2024
Mar 17, 2025
Mar 2, 2025
Apr 23, 2024
Mar 2, 2025
Mar 2, 2025
Feb 25, 2025

Repository files navigation

Ibexa DXP Rector

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

  1. Create ./rector.php file 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
                           ]
                       )
    ;
  2. 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:

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:

About

Ibexa Rector refactoring tool rule sets

Topics

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE
Unknown
LICENSE-bul

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages