Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
29 lines (27 loc) · 1.11 KB

File metadata and controls

29 lines (27 loc) · 1.11 KB
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
<?php
if (!file_exists(__DIR__.'/src')) {
exit(0);
}
return PhpCsFixer\Config::create()
->setRules(array(
'@Symfony' => true,
'@Symfony:risky' => true,
'@PHPUnit48Migration:risky' => true,
'php_unit_no_expectation_annotation' => false, // part of `PHPUnitXYMigration:risky` ruleset, to be enabled when PHPUnit 4.x support will be dropped, as we don't want to rewrite exceptions handling twice
'array_syntax' => array('syntax' => 'long'),
'blank_line_before_statement' => false, // as currently, some of methods are defined as one-liners
'braces' => false, // as currently, some of methods are defined as one-liners
'ordered_imports' => true,
'self_accessor' => false, // due to limitations of Late Static Binding under legacy PHP versions
))
->setRiskyAllowed(true)
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__)
->append(array(__FILE__))
->exclude(array(
'src/Iconv/Resources',
'src/Intl/Normalizer/Resources',
))
)
;
Morty Proxy This is a proxified and sanitized view of the page, visit original site.