TomasVotruba
8786d212cf
compsoer: add relase sripts
v0.8.8
2020-09-24 16:31:53 +02:00
TomasVotruba
02fe819743
lock php-parser to prevent uncontrolled issues
2020-09-24 16:31:18 +02:00
Tomas Votruba
d7f90774ee
allow php-parser 4.10 + fixes of args merge change ( #4277 )
...
* allow php-parser 4.10 + fixes of args merge change
* use fixed php-parser 4.10.1
2020-09-23 20:22:35 +00:00
Tomas Votruba
c43f611d85
[ci] show rector ci fail ( #4280 )
...
* [ci] show rector ci fail
* try --dry-run removal
* [rector] try --dry-run removal
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-23 11:29:42 +00:00
Tomas Votruba
7aad4bbf2f
[PHPStan] Enable regex constant rule ( #4279 )
2020-09-23 11:16:40 +02:00
Igor
52f02d8c91
[Naming] Make bool property respect is/has/was naming ( #4215 )
2020-09-22 20:22:10 +00:00
Tomas Votruba
d9dd72cd6c
[DOC] Add more spaces between node code samples ( #4271 )
2020-09-22 15:46:02 +02:00
Tomas Votruba
278bf8f43a
drop ScreenFile command, not really used or maintained ( #4270 )
2020-09-22 14:39:09 +02:00
Tomas Votruba
a73fc88add
[Docs] update docs with node examples ( #4269 )
2020-09-22 11:27:44 +02:00
Abdul Malik Ikhsan
8759d0ee78
[CodingStyle] Bug fix: ReservedKeywordAnalyzer should add _SESSION to NATIVE_VARIABLE_NAMES ( #4265 )
...
* Bug fix: ReservedKeywordAnalyzer should add _SESSION to NATIVE_VARIABLE_NAMES
* cs fix
2020-09-21 20:58:55 +00:00
Igor
19f700ba4e
[Naming] Factory to create PropertyRename ( #4255 )
...
* [Naming] Use factory to create PropertyRename
* Ignore new phpstan issues
* Move fixture to FixtureBasic to solve CI issue
* fix setUp vs dataProvider race condition
* fix autoload
Co-authored-by: TomasVotruba <tomas.vot@gmail.com>
2020-09-21 20:45:43 +00:00
Marek Šimeček
cace25434f
[Docs] Update node docs with examples how to create them - part 2 ( #4261 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-21 22:45:35 +02:00
Tomas Votruba
52ccfc0527
[DX] move Nette FileSytem to SmartFileSystem DI ( #4262 )
...
* move Nette FileSytem to SmartFileSystem DI
* move Symfony FileSytem to SmartFileSystem
* [ci] run rector diretly, without composer wrap
2020-09-19 09:27:29 +00:00
Igor
52f560a570
[Naming] Decouple conflict resolution ( #4253 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-19 10:29:39 +02:00
Marek Šimeček
e0cb8c228b
node docs ( #4259 )
2020-09-18 16:06:24 +02:00
Marek Šimeček
7400aea355
fix rector docs generator sorting issue ( #4260 )
2020-09-18 16:01:47 +02:00
TomasVotruba
3346419628
update sonar paths
2020-09-18 12:51:16 +02:00
Tomas Votruba
3c67d23c0e
[Docs] Fixup ( #4257 )
...
* fix cs
* misc
* [rector] misc
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-18 10:28:44 +00:00
Marek Šimeček
66bf80f891
changed files detector test ( #4256 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-18 12:06:01 +02:00
Tomas Votruba
2243583537
[Docs] update docs and type check ( #4241 )
2020-09-18 11:50:55 +02:00
Marek Šimeček
1c2afb2e56
node name resolver skip on identifier ( #4254 )
2020-09-18 10:45:22 +02:00
TomasVotruba
28ef0ed82e
type
2020-09-17 23:49:27 +02:00
TomasVotruba
338e4e54eb
compiler: use constants over paramter bind
2020-09-17 23:49:16 +02:00
Tomas Votruba
cb14a3e1da
Remove auto-bind parameter + fix array return type parent ( #4252 )
...
* remove auto-bind parameters
* add filter interface
2020-09-17 21:28:16 +00:00
Igor
1582dc46f4
[Naming] Decouple property renaming into PropertyRenamer ( #4242 )
2020-09-17 23:18:18 +02:00
Tomas Votruba
9bcfb9a3f9
static fixes ( #4250 )
...
* composer: update deps
* ignore statics
2020-09-17 19:42:45 +00:00
Tomas Votruba
52ada520f4
update link to correct README ( #4249 )
2020-09-17 21:25:40 +02:00
Igor
a3c9dabdf6
Fix PHPStan constants issues ( #4248 )
2020-09-17 21:24:34 +02:00
Tomas Votruba
2630e1b900
[StaticRemoval] Various fixes ( #4245 )
2020-09-17 09:34:27 +02:00
Tomas Votruba
9431c8107b
[MagicDisclosure] Fix FluentChainMethodCallToNormalMethodCallRector fix ( #4244 )
...
* [MagicDisclosure] Fix FluentChainMethodCallToNormalMethodCallRector for external getter
* [rector] [MagicDisclosure] Fix FluentChainMethodCallToNormalMethodCallRector for external getter
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-17 02:14:59 +00:00
Tomas Votruba
16c96d9ece
[MagicDisclosure] Fix alised date time ( #4243 )
...
* [MagicDisclosure] Add failing test case
* [MagicDisclosure] Fix alised date time
2020-09-16 23:37:21 +00:00
Marek Šimeček
3442308bba
Caching ( #4237 )
...
Co-authored-by: Marek Šimeček <marek.simecek@footshop.cz>
2020-09-16 20:11:35 +02:00
Abdul Malik Ikhsan
869441eb98
run dump-rectors for new IssetOnPropertyObjectToPropertyExistsRector rule ( #4226 )
v0.8.7
2020-09-15 14:30:36 +02:00
Abdul Malik Ikhsan
8ef90fd61a
Fixes #3939 Add IssetOnPropertyObjectToPropertyExists rule ( #4214 )
2020-09-15 13:29:25 +02:00
Tomas Votruba
1950ab5abd
phpstan fixes ( #4224 )
2020-09-15 11:16:43 +02:00
Igor
f2ecdeb0b1
[Naming] Foreach over "data", renames to "datum" ( #4221 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-15 10:23:13 +02:00
Markus Staab
59547a5cbe
Github Actions: add a job which tests the lowest supported versions ( #4220 )
...
* Github Actions: add a job which tests the lowest supported versions
* Update tests.yaml
* run lowest only on php 7.2
to reduce the number of generated jobs
* faise min webmozart/assert version
we need at least https://github.com/webmozart/assert/pull/160
* use quotes
2020-09-14 21:01:01 +02:00
Tomas Votruba
db15fb6f49
fix Symfony inline_function fallback ( #4219 )
2020-09-14 12:33:17 +00:00
Tomas Votruba
4711abebd1
[RemovingStatic] Add SingleStaticServiceToDynamicRector ( #4212 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-13 12:36:29 +02:00
Tomas Votruba
c2dae7fcf4
load rector-recipe.php only in case of GenerateCommand ( #4211 )
2020-09-13 02:32:55 +02:00
dobryy
4e04d96b9c
[DX] PHPStan rule to check getNodeTypes() return classes of PhpParser\Node
( #4210 )
...
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-09-12 23:14:31 +00:00
dobryy
4fee8c6773
[DX] PHPStan rule to check, that value objects do not have value object suffix ( #4206 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-13 01:08:21 +02:00
dobryy
28a55c973e
[DX] Add Rule that checks that Rule + value object have same starts ( #4202 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-12 23:19:08 +02:00
Abdul Malik Ikhsan
88d5711436
Fixes #3789 add skip Option to exclude files by rule ( #4182 )
2020-09-12 11:52:08 +02:00
Leonardo Losoviz
abb9a3ef90
Downgrade PHP7.1 features: nullable types and void return type ( #4192 )
2020-09-12 11:50:13 +02:00
Tomas Votruba
61da1015b0
[RemovingStatic] Do not cause this in static method ( #4204 )
2020-09-12 00:13:48 +00:00
Tomas Votruba
89e042feb9
[RemovingStatic] Add support for union types ( #4203 )
2020-09-12 00:25:23 +02:00
Tomas Votruba
42f377c825
drop html from RectorRecipe, buggy and confusing, handle manually ( #4199 )
2020-09-11 14:08:19 +00:00
dobryy
a6444fb801
[DX] Configurable rule must have configure code sample, and vice versa ( #4174 )
...
* [DX] Configurable rule must have configure code sample, and vice versa
* Add ConfiguredCodeSample
* heredocs
* code sample
* fix class
* drop AbstractConfigurableMatchTypeRector
Co-authored-by: TomasVotruba <tomas.vot@gmail.com>
2020-09-11 11:21:48 +02:00
Tomas Votruba
59c5a5e5ba
[NodeRepository] Merge function like finder to NodeRepository ( #4186 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-11 00:09:05 +02:00