Tomas Votruba
320cdcd8de
[MockeryToProphecy] Deprecate micro set as not practical ( #1899 )
2022-03-03 17:31:12 +01:00
Jeroen Thora
900b6fec40
Fix annotation to attribute rector with doctrine table and nested uniqueConstraints option ( #1850 )
2022-02-21 12:21:08 +01:00
Tomas Votruba
f374b9faa8
[PHP 8.0] Include keys in annotation to attribute transformation ( #1766 )
...
Co-authored-by: Morgan NEUTE <morgan.neute@niji.fr>
Co-authored-by: GitHub Action <action@github.com>
2022-02-05 11:33:29 +01:00
Tomas Votruba
68dde1af51
[TypeDeclaration] Skip controller render method on @var to type declaratoin ( #1576 )
...
Co-authored-by: GitHub Action <action@github.com>
2021-12-27 11:19:52 +00:00
Tomas Votruba
26cc1817b2
[Carbon] Remove fraction of few rules from history ( #1408 )
2021-12-06 19:07:51 +01:00
Tomas Votruba
df1391d979
[PHP 8.0] Retype expr by attribute parameter type ( #1376 )
2021-12-03 19:32:14 +00:00
Tomas Votruba
f83d744158
[PHP 8.1] Add nested attributes support - part #1 ( #1266 )
2021-11-20 11:28:47 +01:00
Tomas Votruba
f6a6b354b5
[PHP 8.0] Remove annotation un-nesting from PHP 8.0 annotations to attributes ( #1271 )
2021-11-18 21:44:48 +01:00
Abdul Malik Ikhsan
539f70a5b5
[Php70][Visibility] Avoid error Argument #1 ($scope) must be of type PHPStan\Analyser\Scope, null given ( #1120 )
...
Co-authored-by: GitHub Action <action@github.com>
2021-11-01 16:00:30 +00:00
Abdul Malik Ikhsan
57a6d7af31
[NodeTypeResolver] Skip Auto Import from doc on sub namespace class exists when already in use statement by other namespace ( #913 )
...
* [NodeTypeResolver] Skip sub namespace class exists when already in use statement by other namespace
* Fixed 🎉
* Fixed 🎉
* rectify
* Fixed 🎉
* clean up
* another use case fix
* fixture
* check found in use
* Fixed 🎉
* fix
* fix
* retry
* [ci-review] Rector Rectify
* phpstan
* clean up
* check \ prefix early
Co-authored-by: GitHub Action <action@github.com>
2021-09-23 14:50:22 +07:00
Abdul Malik Ikhsan
41dfd36407
[PHPStan] Update to PHPStan 0.12.99 ( #874 )
...
* [PHPStan] Update to PHPStan 0.12.99
* add BackedEnum to stub
* final touch: comment
* final touch: move to next if
* final touch: clean up
2021-09-13 20:27:39 +07:00
Abdul Malik Ikhsan
b8a6c976b4
[TypeDeclaration] Handle UnitEnum not exists check on ParamTypeByParentCallTypeRector ( #841 )
2021-09-07 07:48:24 +02:00
Tomas Votruba
3cf3e1fc25
[TypeDeclaration] Add ParamTypeByParentCallTypeRector ( #519 )
2021-07-28 19:34:42 +00:00
Tomas Votruba
9d51f3c47f
[Naming] Fix imported trait names ( #500 )
2021-07-23 16:32:29 +02:00
Tomas Votruba
34f7170479
misc
2021-07-23 01:14:21 +02:00
Tomas Votruba
c2589622b4
add stubs for nette
2021-07-23 01:05:25 +02:00
Tomas Votruba
ee5c692cd8
add Composer stubs for downgrade
2021-07-23 00:21:13 +02:00
Tomas Votruba
c406975a4b
skip parameter that does not existing in parent contract ( #370 )
2021-07-03 14:33:24 +00:00
Tomas Votruba
5282793145
Add enums ( #326 )
...
Co-authored-by: GitHub Action <action@github.com>
2021-06-28 23:07:40 +02:00
Tomas Votruba
a41384bc00
Fix doc importing on Doctrine annotation class rename ( #264 )
...
Co-authored-by: GitHub Action <action@github.com>
2021-06-22 10:30:29 +00:00
Tomas Votruba
f2c0023dad
[PHP 8.1] Add MyClabs enum to native ENUM ( #30 )
2021-05-14 09:46:56 +00:00
Tomas Votruba
c62899d062
[PHP 7.4] Use typed properties in tests ( #20 )
2021-05-11 19:27:47 +02:00
Tomas Votruba
f8b0ac301f
update to new phpstan rules, add static fixes ( #18 )
...
* update to new phpstan rules, add static fixes
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-05-11 17:48:41 +02:00
TomasVotruba
de37a73aad
fix stub loading
2021-05-06 16:11:59 +02:00
Tomas Votruba
71ae038df9
remove nette packages from dev requirements and replace with 2 stub classes ( #6372 )
2021-05-06 15:42:06 +02:00
Tomas Votruba
38248d08f4
Return array of nodes directly from refactor() if possible ( #6366 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-05-06 10:23:37 +02:00
Tomas Votruba
b2412ad62a
Refactor doctrine/annotation from dynamic to own static-reflection parser ( #5974 )
...
* remove doctrine/annotations
* Refactor doctrine/annotation parser to static reflection with phpdoc-parser
* remove doctirne-annotation-parser-syncer
* remove annotation stubs
* use nodes
* almost there
* [ci-review] Rector Rectify
* skip temporary
* phpstan: remove fixed messages
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-04 11:01:11 +02:00
Tomas Votruba
6ba046ef2b
add Doctrine configs ( #5945 )
2021-03-22 02:55:01 +01:00
TomasVotruba
fd8ad7dc88
move Gedmo and Doctrine stubs
2021-03-22 02:26:40 +01:00
Tomas Votruba
a781b3bd12
Remove dynamic type checks ( #5939 )
2021-03-21 19:41:17 +01:00
Tomas Votruba
4d760ddf44
[PHPStan] Add NoIsAStaticReflectionRule ( #5937 )
...
* [PHPStan] Add NoIsAStaticReflectionRule
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-21 15:12:38 +01:00
Tomas Votruba
163b37a30a
[Testing] Use single config-based testing to isolate scope unite testing for core + community packages ( #5837 )
2021-03-19 21:29:10 +01:00
Tomas Votruba
16b2b0376c
[PHPUnit] Decouple to own package ( #5905 )
2021-03-19 10:52:08 +01:00
Tomas Votruba
37eb07af6e
move stubs to composer-autoload ( #5890 )
...
* move stubs to composer-autoload
* remove duplicate classes
* apply Rector
2021-03-18 02:10:01 +01:00
Tomas Votruba
575131d0e2
[Compiler] Add downgrade-paths command ( #5887 )
2021-03-18 00:42:12 +01:00
Tomas Votruba
d7cb28e37a
[Symfony 5.1] Add RouteCollectionBuilderToRoutingConfiguratorRector ( #5835 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-13 16:11:49 +00:00
Tomas Votruba
9beb1da3c0
Move fixture requirement from command line to a test case ( #5832 )
2021-03-13 15:07:31 +01:00
Tomas Votruba
80c4fc8aab
[TypeDeclarationg] Add Tokens iterator to AddArrayReturnDocTypeRector and AddArrayParamDocTypeRector ( #5796 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-08 14:52:36 +00:00
Tomas Votruba
ba1444959d
[TypeDeclaration] Improve param by caller type #2 ( #5787 )
2021-03-07 14:27:17 +00:00
Tomas Votruba
c559114715
remove stub loader where not needed ( #5757 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-03 17:15:12 +00:00
Tomas Votruba
054de822ed
[DoctrineCodeQuality] Add tests ( #5540 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-14 19:51:04 +00:00
Tomas Votruba
713915d1b2
Polishing composer rules ( #5170 )
...
* [Composer] Add check for existing compsore.json
* update composer package
* coding style
* various static fixes
2021-01-13 13:02:14 +00:00
Floris Luiten
39a6b79f30
Fixed typo "lenght" ( #5096 )
...
* Fixed typo in docs "lenght" to "length"
* Fixed typo in class constant "lenght" to "length"
* Changed "lenght" instead of "length", fixing bug in class_exists using incorrect classname
2021-01-06 03:06:16 +07:00
Leonardo Losoviz
44e817fa0b
Access classes installed on DEV through their strings ( #4897 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-28 12:20:51 +01:00
Tomas Votruba
870a0f3822
[Laravel 5.8] Add CallOnAppArrayAccessToStandaloneAssignRector, PropertyDeferToDeferrableProviderToRector, MakeTaggedPassedToParameterIterableTypeRector ( #4637 )
...
* [Laravel 5.8] Add remember method
* [Laravel] Add PropertyDeferToDeferrableProviderToRector
* [Laravel] Add CallOnAppArrayAccessToStandaloneAssignRector
* [Laravel] Add MakeTaggedPassedToParameterIterableTypeRector
* [CI] changelog weekly only
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-18 01:22:40 +00:00
Tomas Votruba
9dbf490a10
add non-static call too ( #4592 )
2020-11-12 22:08:18 +00:00
Tomas Votruba
7e3f8bdafc
[Laravel] Add AddMockConsoleOutputFalseToConsoleTestsRector ( #4589 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-12 21:47:25 +01:00
Tomas Votruba
aa91f11a3f
[Laravel 5.7] Add ChangeQueryWhereDateValueWithCarbonRector ( #4586 )
...
* [Laravel] Add ChangeQueryWhereDateValueWithCarbonRector
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-12 15:28:50 +00:00
Tomas Votruba
4c6da2c4bf
[Laravel 5.7] Add parent boot rule ( #4580 )
...
* move file to templates, to remove confusion in the root
* use stable symplify
* [Laravel] Add AddParentBootToModelClassMethodRector
* [ci-review] Generate Rector & Nodes documentation
* [ci-review] propagate monorepo dependencies
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-11 17:09:57 +00:00
Tomas Votruba
b7e3dad887
add doctrine embedded php doc node ( #4424 )
...
* Add a tag value node for Doctrine Embedded tags
* fix getter name
Co-authored-by: Matthias Noback <matthiasnoback@gmail.com>
2020-10-15 20:48:23 +00:00