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
Tomas Votruba
014c019449
[fixtures] require skip prefix on skipped files ( #5079 )
...
* skip unnecesary test case
* namespace corrections, skip prefix corrections
* hide for now
* skip new phpstan cases
2021-01-03 15:54:27 +00:00
Abdul Malik Ikhsan
c11a506b2b
[PHP 7.0] Skip StaticCallOnNonStaticToInstanceCallRector on dynamic static call ( #4962 )
...
* [PHP 7.0] Fixes #4954 Skip StaticCallOnNonStaticToInstanceCallRector on dynamic static call
* fixture
2020-12-23 15:37:17 +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
db63a96397
[PHP 8.0] CI test fixes ( #4805 )
...
* [Downgrade PHP 8.0] Fix Union type
* run variable rename
* allow test
* fix regex
* allow run
* remove test dependency on DateTime changing api
* normalize
2020-12-06 10:19:17 +00:00
Abdul Malik Ikhsan
1e667b454f
[CI] Add PHP 8.0 to Github actions tests ( #4779 )
2020-12-05 12:10:44 +01:00
Tomas Votruba
5201e949a1
[PHPStanExtensions] Add ForbiddenMethodCallOnTypeRule + move from docComment and Comments to PhpDocInfo ( #4780 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-05 00:22:12 +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
Marek Šimeček
1c2afb2e56
node name resolver skip on identifier ( #4254 )
2020-09-18 10:45:22 +02:00
Dmytro Naumenko
7d56c0aad9
Fix variable name resolving for static method calls ( #4021 )
...
* Fix variable name resolving for static method calls
* Enhanced error reporting
2020-08-27 10:59:10 +02:00
Dmytro Naumenko
fc6e584721
Failing test: Reset in a condition produces a LogicException ( #3997 )
2020-08-22 15:20:56 +02:00
Tomas Votruba
786095f328
refactoring of variable name counted ( #3999 )
...
* fix variable rename scoping
* [rector] fix variable rename scoping
* [cs] fix variable rename scoping
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-22 13:02:55 +00:00
Dmytro Naumenko
04597e9685
Failing test: Multiple resets of the same func in a array ( #3998 )
2020-08-22 13:03:27 +02:00
Oliver Nybroe
4090c58ce1
Add failing test case for #3981 ( #3986 )
2020-08-19 15:45:50 +02:00
dobryy
2e7bdca4e2
[DX] Rename namespaces respect node type ( #3973 )
2020-08-18 17:57:30 +02:00
Felix Sokoliuk
5d6e5964b9
add failing test case for issue 3824
2020-07-30 00:29:45 +02:00
Jonathan Goode
7da3310cf6
Move existing Rector from the coding-style
set to the php70
set
2020-07-21 10:23:25 +01: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
6a53e7014f
code style
2020-06-21 12:03:35 +02:00
Derrick Schoen
7fc8036946
Fix syntax
...
Remove unused variable
2020-06-20 19:48:52 -04:00
derrickschoen
ba657c6fe1
Update rules/php70/tests/Rector/MethodCall/ThisCallOnStaticMethodToStaticCallRector/Fixture/fixture.php.inc
...
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-06-20 19:41:06 -04:00
derrickschoen
a3a039a0c0
Update rules/php70/tests/Rector/MethodCall/ThisCallOnStaticMethodToStaticCallRector/Fixture/fixture.php.inc
...
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-06-20 19:40:50 -04:00
Derrick Schoen
7cbf77f952
Make the test use RunnableInterface
2020-06-20 19:20:12 -04:00
Derrick Schoen
c2da307e2d
If a class could be inherited, "$this->"" needs to become "static::" instead of "self::"
2020-06-19 09:09:46 -04:00
TomasVotruba
98b1277549
various suffix fixes
2020-04-23 22:31:58 +02:00
TomasVotruba
d608507f2e
rename PHP sets to comply with standard
2020-03-24 23:44:42 +01:00