Ibexa Code Style Fixer

Installs: 268 654

Dependents: 32

Suggesters: 0

Security: 0

Stars: 0

Watchers: 13

Forks: 0

Open Issues: 0


v2.0.0 2024-04-23 12:10 UTC

This package is auto-updated.

Last update: 2024-04-23 12:13:57 UTC


This package contains Ibexa Coding Standards which are aimed to include plugins
for code style tools, plugins for CI, IDE settings, Git hooks, GitHub templates related
to contributions, etc.

Installation and backward compatibility promise

This package doesn't follow strict SemVer BC promise due to maintenance reasons. Backward compatibility is guaranteed within a single minor release, instead of a major one.

We recommend installing it using tilde (~) composer constraint followed by X.Y.Z version number format, e.g.:

composer req --dev ibexa/code-style:~2.0.0

This ensures that composer will install v2.0.* patch releases only. Minor releases might receive configuration updates either needed by Ibexa DXP packages or other changes forced by PHP CS Fixer package itself.


Third party packages

Create a .php-cs-fixer.php file in your project root directory with the following content:


$factory = new Ibexa\CodeStyle\PhpCsFixer\InternalConfigFactory();

// You can omit the call below if you want Ibexa ruleset with no custom rules
    // Your rules go here
$config = $factory->buildConfig();
        ->in(__DIR__ . '/src')
        ->in(__DIR__ . '/tests')

return $config;

Ibexa packages

Create a .php-cs-fixer.php file in your project root directory with the following content:


return Ibexa\CodeStyle\PhpCsFixer\InternalConfigFactory::build()
            ->in(__DIR__ . '/src')
            ->in(__DIR__ . '/tests')


See FAQ for common questions about contributing to Ibexa-related packages.


Copyright (C) 1999-2021 Ibexa AS (formerly eZ Systems AS). All rights reserved.


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:


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: