Tomas Votruba
4735479369
[PHP 5.5] Skip StringClassNameToClassConstantRector for is_a() checks ( #5512 )
2021-02-11 17:24:08 +00:00
Tomas Votruba
ecbef2bcaa
[Tests] remove getPhpVersion() helped method, use configs instead ( #5477 )
2021-02-09 17:25:16 +00:00
Abdul Malik Ikhsan
92fef472e4
[PHP 5.5] Move ClassConstantToSelfClassRector from Php 7.4 to Php 5.5 set ( #5347 )
2021-01-28 16:02:34 +00:00
Abdul Malik Ikhsan
c2c5228199
[TypeDeclaration] Improve FlipTypeControlToUseExclusiveTypeRector : add Nullable support for Assign expr ( #5254 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-20 11:41:35 +00:00
Tomas Votruba
024a97d019
[RemovingStatic] Decouple static ( #5207 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-16 22:45:18 +01:00
Abdul Malik Ikhsan
e1c89d17f6
[fixtures] Enable validate-fixture-skip-naming check ( #5081 )
...
* [fixtures] Enable validate-fixture-skip-naming check
* full path vendor vendor/symplify/easy-testing/bin/easy-testing validate-fixture-skip-naming rules tests
* 21 files
* more fixture
* various fix
* various fix
* more fixtures
* apply to packages rules tests utils
* more fixtures
* more fixtures
* more fixtures
* more fixtures
* more fixtures
* more fixtures
* more fixtures
* fixture fix
* done
* fixture fix
2021-01-04 14:18:27 +01:00
Abdul Malik Ikhsan
24e17588c1
[Utils] Run validate-fixture-namespace/classname to rules/ directories ( #4935 )
2020-12-22 18:12:20 +01:00
Tomas Votruba
37b3cecda3
Upgrade to php-parser 4.10.4 and PHPStan 0.12.63 ( #4926 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-20 22:05:48 +01:00
Tomas Votruba
2030badc19
[PHP 8.0] Add nette utils strings replace, static fixes ( #4741 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-01 14:52:24 +01:00
Tomas Votruba
79f3611dc9
remove ci-detector, make no-progress-bar api compatible with other CI tools ( #4734 )
2020-11-29 18:37:13 +01:00
Tomas Votruba
a7705ed0a5
[Symplify 9] First update + switch to RuleDocGenerator ( #4616 )
...
* [composer] bump to Symplify 9
* [Symplify 9] Update phpstan rules
* bump to Symplify 9 BETA2
* update AbstractKernel from Tests to Testing namespace
* decoupling removing node trait
* remove fluent calls
* removing variadic
* [CodingStyle] Improve AnnotateThrowablesRector
* bump deps
* Make use of RuleDocGenerator
* first short
* [DocumentationGenerator] Drop deprecated package, RuleSetGenerator now handles it
* import namespace
* update docs
2020-11-16 17:50:38 +00: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
Abdul Malik Ikhsan
449801e1f3
Add regex uri to regex constant ( #4504 )
...
Co-authored-by: Jan Lohage <j2L4e@users.noreply.github.com>
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-29 19:04:33 +01:00
Tomas Votruba
0f2e6d407e
[DoctrineAnnotaitonGenerated] Update to doctrine/annotations 1.11 + fix static ( #4479 )
2020-10-25 14:43:05 +01:00
Tomas Votruba
7aad4bbf2f
[PHPStan] Enable regex constant rule ( #4279 )
2020-09-23 11:16:40 +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
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
7ac228c638
[CI] Add type-declaration set ( #4089 )
...
* [CI] Add type-declaration set
* [rector] [CI] Add type-declaration set
* [cs] [CI] Add type-declaration set
* skip nullable void
* add anonymous parent/interface support
* refactor MultiExceptionCatchRector to use Catch_ over integers
* type fixes
* fix unoin array type override
* remove unused test cases
* drop overcomplicated InlineValidationRulesToArrayDefinitionRector
* skip assign on var
* [rector] skip assign on var
* [cs] skip assign on var
* [rector] [cs] skip assign on var
* skip assign on var
* fixes
* [rector] fixes
* [cs] fixes
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-01 17:56:30 +00:00
TomasVotruba
fe72e003ed
use constants in configs
2020-07-30 13:53:53 +02:00
dobryy
f37cd4cac3
[Order] Apply rule
2020-07-26 15:11:41 +02:00
TomasVotruba
7ed4cb19c4
simplify config globs
2020-07-25 20:14:28 +02:00
TomasVotruba
eac7fb24fe
[PHP 5.5] Skip exception to string by default, probably on purpose
2020-07-23 12:59:10 +02:00
TomasVotruba
0944b75f7e
correct namespace in configs
2020-07-18 11:58:17 +02:00
TomasVotruba
0c816d60f8
[config] switch rules config from YAML to PHP
2020-07-16 12:48:54 +02:00
TomasVotruba
166ee211ec
move StringFormTypeToClassRector to symfony30 set
2020-07-12 22:56:51 +02:00
TomasVotruba
2023d41061
fix import of already existing param/var/return type or class annotation
2020-07-12 19:38:46 +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
87448dfa37
[PHP 5.5] Fix StringToClass name whilst import
2020-05-13 16:05:11 +02:00
TomasVotruba
0c67709fd0
[Legacy] Add FunctionToStaticMethodRector
2020-05-13 15:50:30 +02:00
TomasVotruba
ef5501d06c
various cs cleanup
2020-05-03 21:33:36 +02:00
TomasVotruba
e9cf6e1544
Add basic concat support to PregReplaceEModifierRector
2020-03-25 14:19:37 +01:00
TomasVotruba
9827f7ec07
refactoring
2020-03-25 13:50:03 +01:00
TomasVotruba
b113c38670
[PHP 5.5] Prevent error on non-string value in PregReplaceEModifierRector
2020-03-25 13:42:33 +01:00
TomasVotruba
d608507f2e
rename PHP sets to comply with standard
2020-03-24 23:44:42 +01:00