glpi-project / rector-glpi
Rector rules for GLPI.
Installs: 340
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:rector-extension
pkg:composer/glpi-project/rector-glpi
Requires
- php: >=8.2
- rector/rector: ^2.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.93
- php-parallel-lint/php-parallel-lint: ^1.4
- phpstan/phpstan: ^2.1
- phpstan/phpstan-phpunit: ^2.0
- phpunit/phpunit: ^11.5
README
This repository provides a Rector extension that can be used in both GLPI and GLPI plugins.
Installation
To install this Rector extension, run the composer require --dev glpi-project/rector-glpi.
Once installed, you will need to register the GLPI rule set in you Rector configuration file:
return RectorConfig::configure()
->withSets([
+ \RectorGlpi\Set\GlpiSetList::GLPI_DEFAULT_SET,
])
;