148 Commits

Author SHA1 Message Date
John Paul E. Balandan, CPA
d932e877fa
Use one trait per statement 2021-07-09 22:57:57 +08:00
John Paul E. Balandan, CPA
21afd7f055
Enable single_space_after_construct fixer 2021-07-09 22:57:51 +08:00
John Paul E. Balandan, CPA
bc29beb5ee
Use single quotes when possible 2021-07-09 22:57:39 +08:00
John Paul E. Balandan, CPA
c56a5b1963
Simplify single line comments 2021-07-09 22:57:27 +08:00
John Paul E. Balandan, CPA
7df9693f24
Enable initial single_** rules which does not change current code 2021-07-09 22:56:59 +08:00
John Paul E. Balandan, CPA
a374f94cfc
Enable return_type_declaration fixer 2021-07-09 02:21:42 +08:00
John Paul E. Balandan, CPA
1b7d725407
Enable return_assignment fixer 2021-07-09 02:17:17 +08:00
John Paul E. Balandan, CPA
2bdb38d03d
Enable regular_callable_call fixer 2021-07-09 02:13:53 +08:00
John Paul E. Balandan, CPA
a70577b5cc
Enable random_api_migration fixer 2021-07-09 02:10:16 +08:00
John Paul E. Balandan, CPA
f39a3b8f00
Merge pull request #4921 from paulbalandan/o-rules
Define "o" rules
2021-07-09 00:46:24 +08:00
John Paul E. Balandan, CPA
9224fb398d
Set ordering rules 2021-07-09 00:12:48 +08:00
John Paul E. Balandan, CPA
cc20a0b21d
Enable operator_linebreak rule 2021-07-09 00:12:42 +08:00
John Paul E. Balandan, CPA
d932904208
Object accessors should be without whitespace 2021-07-09 00:12:30 +08:00
John Paul E. Balandan, CPA
1dc72c1d65
Convert is_null to null === and fix phpstan errors 2021-07-09 00:08:00 +08:00
John Paul E. Balandan, CPA
30b1bc1a8b
Define implode_call and include rules 2021-07-09 00:07:22 +08:00
John Paul E. Balandan, CPA
7beece1cbe
Explicitly define all available options 2021-07-07 21:11:20 +08:00
John Paul E. Balandan, CPA
2b2097a90b
Add rule to remove some phpdoc tags and sort the rules 2021-07-07 21:02:35 +08:00
John Paul E. Balandan, CPA
651a4e9e6e
Enable no_null_property_initialization fixer (#4901) 2021-07-04 17:00:32 +08:00
John Paul E. Balandan, CPA
b198a43554
Remove unused imports and non-printable characters 2021-07-03 01:50:48 +08:00
John Paul E. Balandan, CPA
3b9ef14ac6
Enable other "no" rules with little impact 2021-07-03 01:31:26 +08:00
John Paul E. Balandan, CPA
3e1b205205
Enable PSR-12 normative rules 2021-07-03 00:56:44 +08:00
John Paul E. Balandan, CPA
8ac891bd3f
Conditionally enable no_blank_lines_after_phpdoc fixer 2021-07-03 00:44:18 +08:00
John Paul E. Balandan, CPA
86ece118f5
Enable no_blank_lines_after_class_opening fixer 2021-07-03 00:36:27 +08:00
John Paul E. Balandan, CPA
e1b3ec0835
Enable escape_implicit_backslashes fixer (#4880) 2021-07-02 23:58:00 +08:00
John Paul E. Balandan, CPA
05988508d1
Enable remaining rules in "f" (#4888) 2021-07-02 16:58:12 +08:00
John Paul E. Balandan, CPA
308d0bed2d
Enable explicit_indirect_variable (#4881) 2021-06-28 22:10:44 +08:00
John Paul E. Balandan, CPA
7b7d251f89
Convert to explicit those implicit string variables (#4882) 2021-06-28 22:08:40 +08:00
John Paul E. Balandan, CPA
376cf18ee8
Merge pull request #4874 from paulbalandan/phpunit-strict-mode
Strive for stricter assertions
2021-06-28 21:14:23 +08:00
John Paul E. Balandan, CPA
2d11584a0e
Strive for stricter assertions 2021-06-27 00:49:59 +08:00
John Paul E. Balandan, CPA
39f6889af8
Enable echo_tag_syntax until error_suppression fixers 2021-06-26 23:30:55 +08:00
John Paul E. Balandan, CPA
24e77262aa
Merge pull request #4873 from paulbalandan/other-p-rules
Defining the trailing "p" rules
2021-06-26 20:55:55 +08:00
John Paul E. Balandan, CPA
02a439b7d2
Configure rules in "d" 2021-06-26 20:55:33 +08:00
John Paul E. Balandan, CPA
304fbd3e20
Ensure classes follow PSR-4 2021-06-25 23:17:22 +08:00
John Paul E. Balandan, CPA
fa57ddd4e1
Change protected properties and methods to private when possible 2021-06-25 23:12:37 +08:00
John Paul E. Balandan, CPA
bd108340e5
Modernize exponentiation 2021-06-25 23:12:31 +08:00
John Paul E. Balandan, CPA
047d061f20
Var annotations should be correct and proper 2021-06-25 23:12:17 +08:00
John Paul E. Balandan, CPA
36613e69b9
Disable requiring size and covers by default 2021-06-25 22:45:55 +08:00
John Paul E. Balandan, CPA
11023ccd6e
Ensure all assertions are invoked the same 2021-06-25 22:45:49 +08:00
John Paul E. Balandan, CPA
32f74f1fff
Convert test annotation to prefix 2021-06-25 22:45:39 +08:00
John Paul E. Balandan, CPA
d47cd9e172
Change visibility of setUp and tearDown to original protected 2021-06-25 22:45:31 +08:00
John Paul E. Balandan, CPA
9ee4abd2c3
PHPUnit classes MUST be used in namespaced version 2021-06-25 22:45:24 +08:00
John Paul E. Balandan, CPA
04874954ee
Simplify mocks used 2021-06-25 22:45:13 +08:00
John Paul E. Balandan, CPA
39cfd814b8
Test methods should camelCased 2021-06-25 22:45:09 +08:00
John Paul E. Balandan, CPA
f8bba8c9e1
Covers should be using FQCN 2021-06-25 22:44:57 +08:00
John Paul E. Balandan, CPA
224f347996
Normalize tests to use dedicated PHPUnit assertions 2021-06-25 22:34:50 +08:00
John Paul E. Balandan, CPA
7e4e56c72a
Test classes should be marked as final and internal 2021-06-25 22:27:37 +08:00
John Paul E. Balandan, CPA
f5dff11202
Merge pull request #4847 from paulbalandan/no-alias-language-construct-call
Master language constructs shall be used instead of aliases.
2021-06-19 02:09:26 +08:00
John Paul E. Balandan, CPA
6524cccbd2
Master language constructs shall be used instead of aliases. 2021-06-19 01:34:44 +08:00
John Paul E. Balandan, CPA
1b0fa3507c
All instances created with new keyword must be followed by braces. 2021-06-19 01:31:47 +08:00
John Paul E. Balandan, CPA
23dbbfc472
Native functions and type hints should be written in correct case 2021-06-18 00:52:34 +08:00