FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
database/.cs.php at master · selective-php/database · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Nov 26, 2022. It is now read-only.
selective-php
/
database
Public archive
Notifications
You must be signed in to change notification settings
Fork
4
Star
23
Code
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
database
/
.cs.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
51 lines (49 loc) · 1.87 KB
Breadcrumbs
database
/
.cs.php
Copy path
File metadata and controls
51 lines (49 loc) · 1.87 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
use
PhpCsFixer
\
Config
;
return
(
new
Config
())
->
setUsingCache
(
false
)
->
setRiskyAllowed
(
true
)
->
setRules
(
[
'
@PSR1
'
=>
true
,
'
@PSR2
'
=>
true
,
'
@Symfony
'
=>
true
,
'
psr_autoloading
'
=>
true
,
// custom rules
'
align_multiline_comment
'
=> [
'
comment_type
'
=>
'
phpdocs_only
'
],
// psr-5
'
phpdoc_to_comment
'
=>
false
,
'
no_superfluous_phpdoc_tags
'
=>
false
,
'
array_indentation
'
=>
true
,
'
array_syntax
'
=> [
'
syntax
'
=>
'
short
'
],
'
cast_spaces
'
=> [
'
space
'
=>
'
none
'
],
'
concat_space
'
=> [
'
spacing
'
=>
'
one
'
],
'
compact_nullable_typehint
'
=>
true
,
'
declare_equal_normalize
'
=> [
'
space
'
=>
'
single
'
],
'
increment_style
'
=> [
'
style
'
=>
'
post
'
],
'
list_syntax
'
=> [
'
syntax
'
=>
'
short
'
],
'
echo_tag_syntax
'
=> [
'
format
'
=>
'
long
'
],
'
phpdoc_add_missing_param_annotation
'
=> [
'
only_untyped
'
=>
false
],
'
phpdoc_align
'
=>
false
,
'
phpdoc_no_empty_return
'
=>
false
,
'
phpdoc_order
'
=>
true
,
// psr-5
'
phpdoc_no_useless_inheritdoc
'
=>
false
,
'
protected_to_private
'
=>
false
,
'
yoda_style
'
=>
false
,
'
method_argument_space
'
=> [
'
on_multiline
'
=>
'
ensure_fully_multiline
'
],
'
ordered_imports
'
=> [
'
sort_algorithm
'
=>
'
alpha
'
,
'
imports_order
'
=> [
'
class
'
,
'
const
'
,
'
function
'
]
],
'
single_line_throw
'
=>
false
,
'
fully_qualified_strict_types
'
=>
true
,
'
global_namespace_import
'
=>
false
,
]
)
->
setFinder
(
PhpCsFixer
\Finder::
create
()
->
in
(
__DIR__
.
'
/src
'
)
->
in
(
__DIR__
.
'
/tests
'
)
->
name
(
'
*.php
'
)
->
ignoreDotFiles
(
true
)
->
ignoreVCS
(
true
)
);
Back
|
FazBrowse Home
|
New Git URL