Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117756619
.php-cs-fixer.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
.php-cs-fixer.php
View Options
<?php
declare
(
strict_types
=
1
);
use
PhpCsFixer\Config
;
use
PhpCsFixer\Finder
;
use
PhpCsFixer\Runner\Parallel\ParallelConfigFactory
;
$finder
=
Finder
::
create
()
->
in
([
__DIR__
.
'/plugins'
])
->
ignoreDotFiles
(
false
)
->
name
(
'*.inc'
)
->
name
(
'*.php.dist'
);
return
(
new
Config
())
->
setParallelConfig
(
ParallelConfigFactory
::
detect
())
->
setRiskyAllowed
(
true
)
->
setRules
([
'@PHP74Migration'
=>
true
,
'@PHP74Migration:risky'
=>
true
,
'@PHP80Migration'
=>
true
,
'@PSR1'
=>
true
,
'@PSR12'
=>
true
,
'concat_space'
=>
[
'spacing'
=>
'one'
,
],
'declare_strict_types'
=>
false
,
'phpdoc_add_missing_param_annotation'
=>
false
,
'use_arrow_functions'
=>
false
,
'void_return'
=>
false
,
'yoda_style'
=>
[
'equal'
=>
false
,
'identical'
=>
false
,
],
// TODO - risky
'no_unset_on_property'
=>
false
,
'random_api_migration'
=>
false
,
'strict_param'
=>
false
,
// php 7.2 compat
'assign_null_coalescing_to_coalesce_equal'
=>
false
,
])
->
setFinder
(
$finder
)
->
setCacheFile
(
sys_get_temp_dir
()
.
'/php-cs-fixer.'
.
md5
(
__DIR__
)
.
'.cache'
);
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Apr 4, 8:47 AM (2 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
59/27/853029fba0da4f9fdea350ca8784
Default Alt Text
.php-cs-fixer.php (1 KB)
Attached To
Mode
rRPK roundcubemail-plugins-kolab
Attached
Detach File
Event Timeline