Skip to content

Instantly share code, notes, and snippets.

View BenSchlottau's full-sized avatar

Benjamin Schlottau BenSchlottau

View GitHub Profile
@BenSchlottau
BenSchlottau / pint.json
Created July 13, 2023 11:23 — forked from lloricode/pint.json
Optimal Laravel Pint Configuration
{
"preset": "psr12",
"exclude": [
"config",
"build"
],
"notPath": [
"ray.php"
],
"rules": {
@BenSchlottau
BenSchlottau / .php-cs-fixer.php
Created April 2, 2022 21:16 — forked from laravel-shift/.php-cs-fixer.php
PHP CS Fixer - Laravel Coding Style Ruleset
<?php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$rules = [
'array_indentation' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => [
'default' => 'single_space',