32 Commits

Author SHA1 Message Date
Abdul Malik Ikhsan
35d8693187
[NetteUtilsCodeQuality] Fixes #4686 Add SubstrMinusToStringEndsWithRector (#4687)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-26 13:33:51 +01:00
Tomas Votruba
0513315056
Change file system approach of MultipleClassFileToPsr4ClassesRector to file without namespace node (#4522)
* Change file system approach of MultipleClassFileToPsr4ClassesRector to file without namespace node

* update DecoupleClassMethodToOwnClassRector

* [ci] add rebase jobp

* disable fail fast for unit tests

* misc
2020-10-31 12:59:40 +00:00
Tomas Votruba
91a354c080
[NetteCodeQuality] Fix ChangeFormArrayAccessToAnnotatedControlVariableRector for in-closure (#4506)
* [NetteCodeQuality] Fix ChangeFormArrayAccessToAnnotatedControlVariableRector for in-closure

* [ci-review] Rector Rectify

* [ci-review] Rector Rectify

* [ci-review] Rector Rectify

* fix name

* fix unknown mixed type on fluent

* [ci-review] Rector Rectify

Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-29 21:25:35 +00:00
Tomas Votruba
2bd1eac705
use dev nette deps to resolve form/application types (#3879) 2020-08-03 08:51:44 +00:00
Tomas Votruba
39ec802963
[NetteCodeQuality] Fix unset, on purpose (#3877) 2020-08-02 19:54:15 +02:00
Tomas Votruba
552b97d90e
add param type test case (#3876) 2020-08-02 16:58:56 +00:00
Tomas Votruba
b99a3cbdb2
add case with type form (#3874) 2020-08-02 12:58:14 +00:00
Tomas Votruba
bb6a53fef0
[NetteCodeQuality] Skip isset on form input + multiplier check (#3872) 2020-08-02 12:57:05 +02:00
Tomas Votruba
ee957111c4
fix import slash (#3871) 2020-08-02 10:04:46 +00:00
Tomas Votruba
91bda1b75b
[NetteCodeQuality] Get component (#3870) 2020-08-02 11:39:52 +02:00
Tomas Votruba
6186cdeab7
skip form (#3869) 2020-08-02 01:24:58 +02:00
Tomas Votruba
62ac58e60d
add failing test case + add support for previous assign type dim fetch (#3868) 2020-08-02 00:57:35 +02:00
Tomas Votruba
fa2caf77ed
[NetteCodeQuality] Add ArrayAccessSetControlToAddComponentMethodCallRector (#3867) 2020-08-02 00:18:40 +02:00
TomasVotruba
1c2045e710 add assign to root stmt to prevent non-existing variable 2020-07-30 23:33:13 +02:00
TomasVotruba
fd6f905651 cover parent createComponent() too 2020-07-30 23:00:55 +02:00
TomasVotruba
b9fd318ac2 skip on method call 2020-07-30 22:16:38 +02:00
TomasVotruba
bdb7256626 [Nette] Add ArrayDimFetchControlToGetComponentMethodCallRector 2020-07-30 22:11:52 +02:00
TomasVotruba
9f51a32d36 [Nette] Rename follow up variables too 2020-07-30 20:29:09 +02:00
TomasVotruba
2da8e94ef1 [Nette] Skip nested control access to /ChangeControlArrayAccessToAnnotatedControlVariableRector 2020-07-30 17:57:22 +02:00
TomasVotruba
955f7a7e76 refactor arra dim fetch to exclusive rules 2020-07-27 13:18:18 +02:00
TomasVotruba
42decbb0c5 add nested callback case 2020-07-27 07:27:17 +02:00
TomasVotruba
63c515a834 [Nette] Load data from __construct of same class 2020-07-27 02:07:36 +02:00
TomasVotruba
16e3745eac decopule AbstractArrayDimFetchToAnnotatedControlVariableRector 2020-07-27 01:30:16 +02:00
TomasVotruba
d6624f343e add duplicated assign case 2020-07-27 01:10:39 +02:00
TomasVotruba
496934818a [Nette] skip non contorl adding add methods 2020-07-27 00:25:03 +02:00
TomasVotruba
b377b73ad4 decouple NetteFormMethodNameToControlType value object 2020-07-27 00:04:53 +02:00
TomasVotruba
0c64e0a3ab add skip assign expr 2020-07-26 22:37:47 +02:00
TomasVotruba
90c789e38b add switch test case 2020-07-26 22:14:27 +02:00
TomasVotruba
86d8666438 [Nette] move quality rules to nette-code-quality directory 2020-07-26 18:48:18 +02:00
TomasVotruba
a8a6e7bcad rename file to fileInfo 2020-06-30 01:45:05 +02:00
TomasVotruba
7f49658112 change test(string ) to test(SmartFileInfo ) in tests 2020-06-25 20:02:36 +02:00
TomasVotruba
fa0d8d238c [NetteCodeQuality] Add MoveInjectToExistingConstructorRector 2020-06-24 22:19:10 +02:00