Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add php-cs-fixer coding standards validation to Travis CI #14100

Merged
merged 93 commits into from
Jun 12, 2017
Merged
Changes from 1 commit
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
b3db9af
php-cs-fixer: PSR2 rule.
rob006 May 1, 2017
b7b6ba4
php-cs-fixer: PSR2 rule - fix views.
rob006 May 1, 2017
ee994de
Travis setup refactoring.
rob006 May 1, 2017
e124c48
Add php-cs-fixer to travis cs tests.
rob006 May 1, 2017
3134257
Fix tests on hhvm-3.12
rob006 May 1, 2017
f03521f
improve travis config
rob006 May 1, 2017
9b2354f
composer update
rob006 May 1, 2017
12cb4f9
revert composer update
rob006 May 1, 2017
7b170fd
Merge remote-tracking branch 'origin/php-cs-fixer' into php-cs-fixer
rob006 May 1, 2017
e76e436
Merge branch 'master' into php-cs-fixer
rob006 May 1, 2017
27671b7
improve travis config
rob006 May 1, 2017
701da2a
Fix CS.
rob006 May 1, 2017
972b156
Extract config to separate classes.
rob006 May 2, 2017
5dd5810
Extract config to separate classes.
rob006 May 2, 2017
d47bb95
Add file header.
rob006 May 2, 2017
ea649b8
Force short array syntax.
rob006 May 2, 2017
6b876ab
binary_operator_spaces fixer
rob006 May 2, 2017
cba2a16
Fix broken tests
rob006 May 2, 2017
8512d39
cast_spaces fixer
rob006 May 2, 2017
83c6308
concat_space fixer
rob006 May 2, 2017
efd2257
dir_constant fixer
rob006 May 2, 2017
8a89653
ereg_to_preg fixer
rob006 May 2, 2017
ddedd1a
function_typehint_space fixer
rob006 May 2, 2017
77c80b5
hash_to_slash_comment fixer
rob006 May 2, 2017
3b214cc
is_null fixer
rob006 May 2, 2017
6306a6c
linebreak_after_opening_tag fixer
rob006 May 2, 2017
a685c67
lowercase_cast fixer
rob006 May 2, 2017
7eb54cc
magic_constant_casing fixer
rob006 May 2, 2017
017b36f
modernize_types_casting fixer
rob006 May 2, 2017
638b202
native_function_casing fixer
rob006 May 2, 2017
dddd5c5
new_with_braces fixer
rob006 May 2, 2017
6db976e
no_alias_functions fixer
rob006 May 2, 2017
9865424
no_blank_lines_after_class_opening fixer
rob006 May 2, 2017
c9f7805
no_blank_lines_after_phpdoc fixer
rob006 May 2, 2017
549e2dd
no_empty_comment fixer
rob006 May 2, 2017
fe0d5ff
no_empty_phpdoc fixer
rob006 May 2, 2017
9f916dd
no_empty_statement fixer
rob006 May 2, 2017
990c934
no_extra_consecutive_blank_lines fixer
rob006 May 2, 2017
b67de31
no_leading_import_slash fixer
rob006 May 2, 2017
bddd78c
no_leading_namespace_whitespace fixer
rob006 May 2, 2017
539db67
no_mixed_echo_print fixer
rob006 May 2, 2017
a036c6b
no_multiline_whitespace_around_double_arrow fixer
rob006 May 2, 2017
29618a7
no_multiline_whitespace_before_semicolons fixer
rob006 May 2, 2017
dc95290
no_php4_constructor fixer
rob006 May 2, 2017
67fd02d
no_short_bool_cast fixer
rob006 May 2, 2017
bc5be0a
no_singleline_whitespace_before_semicolons fixer
rob006 May 2, 2017
14e44f1
no_spaces_around_offset fixer
rob006 May 2, 2017
25bd92e
no_trailing_comma_in_list_call fixer
rob006 May 2, 2017
09ff1f4
no_trailing_comma_in_singleline_array fixer
rob006 May 2, 2017
4499e3a
no_unneeded_control_parentheses fixer
rob006 May 2, 2017
380d5ee
no_unused_imports fixer
rob006 May 2, 2017
f894605
no_useless_return fixer
rob006 May 2, 2017
cb0bb39
no_whitespace_before_comma_in_array fixer
rob006 May 2, 2017
fbe8df0
no_whitespace_in_blank_line fixer
rob006 May 2, 2017
d415eea
not_operator_with_successor_space fixer
rob006 May 2, 2017
e6bf067
object_operator_without_whitespace fixer
rob006 May 2, 2017
e9b091a
ordered_imports fixer
rob006 May 2, 2017
54ebeee
php_unit_construct fixer
rob006 May 2, 2017
8abb4cd
php_unit_dedicate_assert fixer
rob006 May 2, 2017
9660682
php_unit_fqcn_annotation fixer
rob006 May 2, 2017
ec9f2df
phpdoc_indent fixer
rob006 May 2, 2017
d356c74
phpdoc_no_access fixer
rob006 May 2, 2017
5ed0ca8
phpdoc_no_empty_return fixer
rob006 May 2, 2017
f0321df
phpdoc_no_package fixer
rob006 May 2, 2017
50d9257
phpdoc_no_useless_inheritdoc fixer
rob006 May 2, 2017
05880ed
Fix broken tests
rob006 May 2, 2017
34ec1f0
phpdoc_return_self_reference fixer
rob006 May 2, 2017
8cc15ea
phpdoc_single_line_var_spacing fixer
rob006 May 2, 2017
22ec069
phpdoc_single_line_var_spacing fixer
rob006 May 2, 2017
40cc979
phpdoc_to_comment fixer
rob006 May 2, 2017
bfd49f7
phpdoc_trim fixer
rob006 May 2, 2017
b9d2f89
phpdoc_var_without_name fixer
rob006 May 2, 2017
6eb170b
psr4 fixer
rob006 May 2, 2017
ffc1cbd
self_accessor fixer
rob006 May 2, 2017
fc05e26
short_scalar_cast fixer
rob006 May 2, 2017
4ee4aa1
single_blank_line_before_namespace fixer
rob006 May 2, 2017
ed6bcbd
single_quote fixer
rob006 May 2, 2017
f8a42cf
standardize_not_equals fixer
rob006 May 2, 2017
6533946
ternary_operator_spaces fixer
rob006 May 2, 2017
7a86e41
trailing_comma_in_multiline_array fixer
rob006 May 2, 2017
aaa3780
trim_array_spaces fixer
rob006 May 2, 2017
be475a7
protected_to_private fixer
rob006 May 2, 2017
a602eea
unary_operator_spaces fixer
rob006 May 2, 2017
cef2c60
whitespace_after_comma_in_array fixer
rob006 May 2, 2017
7d95e2d
`parent::setRules()` -> `$this->setRules()`
rob006 May 2, 2017
1e61a37
blank_line_after_opening_tag fixer
rob006 May 3, 2017
315f021
Update finder config.
rob006 May 3, 2017
5a857bd
Revert changes for YiiRequirementChecker.
rob006 May 3, 2017
0013b76
Fix array formatting.
rob006 May 3, 2017
6914223
Merge branch 'master' into php-cs-fixer
rob006 Jun 12, 2017
fb61bd9
Add missing import.
rob006 Jun 12, 2017
277a48a
Fix CS for new code merged from master.
rob006 Jun 12, 2017
c7b4e4a
Fix some indentation issues.
rob006 Jun 12, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
phpdoc_no_empty_return fixer
  • Loading branch information
rob006 committed May 2, 2017
commit 5ed0ca89b7b848b5a3ce696d01279e2aaa333f41
1 change: 1 addition & 0 deletions cs/src/YiiConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ public function __construct($name = 'yii-cs-config')
'phpdoc_indent' => true,
// 'phpdoc_inline_tag' => true, // see https://github.com/yiisoft/yii2/issues/11635
'phpdoc_no_access' => true,
'phpdoc_no_empty_return' => true,
]);
}

Expand Down