37 Commits

Author SHA1 Message Date
Tomas Votruba
8c259c8d92 add stubs over mirror class names in tests 2019-09-30 09:12:25 +02:00
Tomas Votruba
0da741a9a3 drop @return type from Iterator in tests 2019-09-27 14:40:09 +02:00
Tomas Votruba
ca7d0cba15 use PHP highlight for herenow doc 2019-09-18 09:14:06 +02:00
Tomas Votruba
4c9ecba04c [tests] switch testFiles to data providers 2019-09-12 10:18:26 +02:00
Tomas Votruba
82efb89940 use object types over strings 2019-09-06 12:29:55 +02:00
Tomas Votruba
79ffad4a0b add @see annotations 2019-09-03 14:05:21 +02:00
Tomas Votruba
6000b30369 [DeadCode] Add RemoveSetterOnlyPropertyAndMethodCallRector 2019-08-06 12:50:53 +02:00
Tomas Votruba
f4cefb18d3 add CallableNodeTraverserTrait 2019-06-04 23:39:57 +03:00
Tomas Votruba
a0bb1ed604 cs: fix array indent 2019-05-28 20:11:19 +02:00
Tomas Votruba
83d2219ca7 [TypeDeclaration] Add AddFunctionReturnTypeRector 2019-05-10 14:55:55 +02:00
Tomas Votruba
1fe23d12c8 merge getRectorClass() and getRectorConfiguration() 2019-04-29 07:36:22 +02:00
Tomas Votruba
7c9df2cefe rename Attribute to AttributeKey to prevent duplicated names with similar classes in 3rd party project 2019-04-13 14:21:36 +02:00
Jacob Dreesen
93dfcf288e Fix some code samples (#1239)
* Fix code sample

* Fix code sample

* Fix code sample

* Fix code sample
2019-03-20 02:48:38 +01:00
Tomas Votruba
f574c3374f use node-class based naming 2019-02-22 18:34:41 +01:00
Tomas Votruba
3175a8857a apply specific bool on code 2019-02-18 00:36:58 +01:00
Tomas Votruba
8515839d8f [CodeQuality] Add ExplicitBoolCompareRector 2019-02-18 00:23:57 +01:00
Tomas Votruba
2c878c7541 apply new static analysis 2019-01-25 16:06:56 +01:00
Tomas Votruba
25da54641b improve static code quality 2019-01-14 23:08:20 +01:00
Tomas Votruba
cfe7ecc2ff standardize /config directory location to root 2019-01-12 02:04:45 +01:00
Tomas Votruba
2a00f0d51b rename Wrong ns to Fixture in tests 2018-12-07 21:51:59 +01:00
Tomas Votruba
ef288d4045 [tests] rename test files to fixtures 2018-12-06 02:09:02 +01:00
Tomas Votruba
689555219f apply ConfiguredProvideConfigRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:17:06 +01:00
Tomas Votruba
54d13ece1d refactor with JoinWrongAndCorrectRector 2018-12-04 16:48:11 +01:00
Tomas Votruba
8dba0bd34f refactor /packages by JoinTestAndProvideFilesRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
73466ac247 rename test files method to provideFiles()
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 20:13:46 +01:00
Tomas Votruba
36dc29b56d merge Utils package to PhpParser 2018-11-08 13:04:38 +01:00
Tomas Votruba
05e5df7406 [cs] apply property sort 2018-10-31 16:35:15 +01:00
Tomas Votruba
2125e24e1f normalize printer to keep 1 single line in the end + apply to code 2018-10-27 14:57:53 +02:00
Tomas Votruba
5deb94f9ff unite refactor(node) naming to node, to make clear the main argument name 2018-10-15 14:45:34 +08:00
Tomas Votruba
d4009b3888 Add NameAnalyzerTrait 2018-10-15 14:36:25 +08:00
Tomas Votruba
9b569f6c44 make use of TypeAnalyzerTrait 2018-10-15 08:14:21 +08:00
Tomas Votruba
ecbf96a9ed [PHP] Add CallUserMethodRector 2018-10-07 22:03:32 +08:00
Tomas Votruba
ba5385cea1 simplify classes map 2018-08-29 19:10:29 +02:00
Tomas Votruba
dba8a478af add case with already callback 2018-08-29 19:04:21 +02:00
Tomas Votruba
8e88fd24b1 extends SimpleFunctionRector to SimpleFilter as well 2018-08-29 16:05:12 +02:00
Tomas Votruba
edb7c44483 add twig112 set 2018-08-29 14:52:27 +02:00
Tomas Votruba
e56dc665fe [Twig] Add SimpleFunctionRector [closes #599] 2018-08-29 14:42:26 +02:00