mfn/php-cs-fixer-config
Opinionated PHP-CS-Fixer ruleset for v3.11+ via a simple \Mfn\PhpCsFixer\Config::getRules() helper. Requires setRiskyAllowed(true). Minimal repo with issues disabled—PRs welcome to discuss technical changes.
Not much to say, these are my opinions.
GitHub issues are disabled, as there's likely not much to discuss here.
If you feel strongly about something, please create a PR and let's look at the technical side together.
The rules require setRiskyAllowed(true).
In your php-cs-fixer config:
require 'vendor/autoload.php';
$rules = \Mfn\PhpCsFixer\Config::getRules();
return (new PhpCsFixer\Config())
->setFinder(…)
->setRiskyAllowed(true)
->setRules($rules);
None? Pick what you want? I don't care, it's just a configuration.
How can I help you explore Laravel packages today?