30 Commits

Author SHA1 Message Date
TomasVotruba
c2c1066374 [rector] apply on rules 2020-07-19 20:52:42 +02:00
TomasVotruba
3fdc40127b correct descriptions 2020-07-15 19:25:56 +02:00
TomasVotruba
ee291d1fdc use strings over ::class in type detection, as they ge tprifexed by phar builder 2020-07-12 16:38:04 +02:00
Tomas Votruba
8079293989
Merge pull request #3683 from rectorphp/fix-php74-floats-to-ints
[Php74] Fix AddLiteralSeparatorToNumberRector if float number has zero after …
2020-07-10 13:32:20 +02:00
TomasVotruba
c5768ae170 CI: fix name position 2020-07-06 22:07:11 +02:00
TomasVotruba
ffa21f6707 [PHP 7.4] Make RestoreDefaultNullToNullableTypePropertyRector skip nullable defined in ctor 2020-07-06 21:59:01 +02:00
Ludek Benedik
6632cc1baa Fix AddLiteralSeparatorToNumberRector if float number has zero after decimal point separator (1000.0) 2020-07-06 15:20:33 +02:00
TomasVotruba
a8a6e7bcad rename file to fileInfo 2020-06-30 01:45:05 +02:00
TomasVotruba
0cb82c2a6f apply new Naming_ 2020-06-30 00:57:38 +02:00
TomasVotruba
7f49658112 change test(string ) to test(SmartFileInfo ) in tests 2020-06-25 20:02:36 +02:00
TomasVotruba
a593afb017 [PHP 7.4] Add safe_types option 2020-06-16 22:34:52 +02:00
TomasVotruba
b7ef016f7d [PHP 7.4] Make spready work only for integer keys 2020-06-15 15:35:54 +02:00
TomasVotruba
b98d937ffb fix child blocked property type 2020-06-07 17:08:11 +02:00
TomasVotruba
ff655f3360 add inject property test case 2020-06-07 16:44:16 +02:00
TomasVotruba
9016ebcfd9 add test case for nullable array in typed properties 2020-06-07 16:15:12 +02:00
TomasVotruba
2781a713cf fix skip non-class for nullable types 2020-06-07 13:47:37 +02:00
TomasVotruba
12e7e39b67 [PHP 7.4] Allow run typed properties on class-like types only 2020-06-07 13:08:18 +02:00
TomasVotruba
64215c43e6 [PHP 7.4] Prevent already used property name 2020-06-07 01:18:09 +02:00
TomasVotruba
53e9cc6c06 [PHP 7.4] Prevent child typed property override by abstract 2020-06-07 00:18:49 +02:00
TomasVotruba
212cbd209e [PHP 7.4] Add conflicting short import typed property fix 2020-06-06 18:20:00 +02:00
TomasVotruba
b0bd524e53 apply constant decouple 2020-05-06 23:40:31 +02:00
TomasVotruba
9c65e7ac75 [SOLID] Add RepeatedLiteralToClassConstantRector 2020-05-06 23:36:28 +02:00
TomasVotruba
790ab2fb06 allow ReservedFnFunctionRector on older PHP 7.3 2020-05-06 17:08:20 +02:00
TomasVotruba
1bf62ac1c7 [cs] sort private methods by call order and property by complexity 2020-04-26 02:57:47 +02:00
TomasVotruba
925f117825 fix mixed false postive 2020-04-16 15:53:10 +02:00
TomasVotruba
4c4e56b168 make use of isStaticCallNamed() 2020-04-05 00:52:49 +02:00
Tomas Votruba
8492af2af1
[PHP 7.4] Fix ChangeReflectionTypeToStringToGetNameRector (#3064)
* [PHP 7.4] Fix ChangeReflectionTypeToStringToGetNameRector

* fixup! [Rector CI] Fixed Rector issues

* fixup! [Rector CI] Fixed CS issues

Co-authored-by: rector-bot <tomas@getrector.org>
2020-03-25 15:53:26 +01:00
TomasVotruba
f5d8804c20 improve PhpVersionFeature autocomplete by PHPStorm 2020-03-24 23:49:19 +01:00
TomasVotruba
ff6a3d3140 [PHP 7.4] Add RestoreDefaultNullToNullableTypePropertyRector 2020-03-24 23:45:15 +01:00
TomasVotruba
d608507f2e rename PHP sets to comply with standard 2020-03-24 23:44:42 +01:00