Fixing PHPCSFixer settings

'closure_fn_spacing'=>'none'
This commit is contained in:
Bruce Wells 2022-12-26 11:03:39 -05:00 committed by GitHub
parent 3a18c7d47f
commit cbc2f4f798
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ $config
// PHP code must use the long `<?php` tags or short-echo `<?=` tags and not other tag variations.
'full_opening_tag' => true,
// Spaces should be properly placed in a function declaration.
'function_declaration' => ['closure_function_spacing'=>'none'],
'function_declaration' => ['closure_function_spacing'=>'none', 'closure_fn_spacing'=>'none'],
// Replace core functions calls returning constants with the constants.
'function_to_constant' => true,
// Ensure single space between function's argument and its typehint.