mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-17 17:47:13 +00:00
* Removed support for Laravel 8 and therefore for PHP < 8.0 * Update php-cs-fixer to v3 * composer fix-style
15 lines
352 B
PHP
15 lines
352 B
PHP
<?php
|
|
require __DIR__ . '/vendor/autoload.php';
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->in(__DIR__)
|
|
->exclude('tests');
|
|
|
|
$config = require __DIR__ . '/.php-cs-fixer.common.php';
|
|
|
|
return (new PhpCsFixer\Config())
|
|
->setFinder($finder)
|
|
->setRules($config)
|
|
->setRiskyAllowed(true)
|
|
->setCacheFile(__DIR__ . '/.php-cs-fixer.cache');
|