Commit Graph

5225 Commits

Author SHA1 Message Date
TomasVotruba 6d0e77fe1a skip traits in CountOnNullRector 2020-02-16 19:07:37 +01:00
TomasVotruba 895f09b150 fix paths 2020-02-16 18:42:57 +01:00
Tomas Votruba 58df5c5f31
Merge pull request #2859 from rectorphp/const-property
Apply properties to constants rule from SOLID
2020-02-16 17:51:17 +01:00
TomasVotruba d1b4779889 apply properties to constants rule from SOLID 2020-02-16 17:47:00 +01:00
John Linhart facca2a50b Adding failing test for RemoveAlwaysElseRector
With a foreach within an anonymous function
2020-02-15 15:26:41 +01:00
Aerendir f734a93272 Make `AnnotateThrowablesRector` continue on unhandled node types. 2020-02-15 00:56:09 +01:00
TomasVotruba 77c9d2924e remove duplicated tests 2020-02-14 23:53:37 +01:00
TomasVotruba 69c18b87ca fix fixtures 2020-02-14 23:50:42 +01:00
TomasVotruba 1c273c902c fix namespace 2020-02-14 23:48:53 +01:00
TomasVotruba 401d0aeaf6 fix namespaces, fixtures, add getThrowsTypes() 2020-02-14 23:35:40 +01:00
TomasVotruba 3bb87fcc1c correct location 2020-02-14 21:20:46 +01:00
TomasVotruba 00a3fb3a17 [SOLID] Add ChangeReadOnlyPropertyWithDefaultValueToConstantRector 2020-02-14 17:08:51 +01:00
TomasVotruba 1881f534de fixup! [DeadCode] Add RemoveDeadTryCatchRector 2020-02-14 15:48:45 +01:00
TomasVotruba af90cba019 [DeadCode] Add RemoveDeadTryCatchRector 2020-02-14 15:48:45 +01:00
TomasVotruba bf722ad9b5 move nette to rules 2020-02-14 10:51:33 +01:00
TomasVotruba 4e37157a88 fix non-Rector locations 2020-02-13 23:44:04 +01:00
TomasVotruba 86bcb6eb7b fix cs 2020-02-13 22:48:16 +01:00
TomasVotruba e564834329 docs link to the top to find quickly 2020-02-13 17:16:13 +01:00
TomasVotruba 42c5141d70 [Renaming] Add RenameFuncCallToStaticCallRector 2020-02-13 17:12:38 +01:00
TomasVotruba 09cf6f8a4a move core architecture to own set 2020-02-13 14:44:36 +01:00
TomasVotruba 13aff11638 fix statis int/float in ereg transformer 2020-02-13 11:10:09 +01:00
TomasVotruba 11f401daf9 fix ChangeQuerySetParametersMethodParameterFromArrayToArrayCollection location 2020-02-13 11:09:07 +01:00
TomasVotruba bc5eefdb76 improve AddSeeTestAnnotationRector 2020-02-11 14:40:59 +01:00
TomasVotruba 4aac338d20 improve ParamTypeDeclarationRector complexity 2020-02-11 14:11:47 +01:00
TomasVotruba 3e5dd77bb6 move Rector-rule based packages from /packages to /rules 2020-02-11 13:41:37 +01:00