TomasVotruba
Repos
253
Followers
1287

Instant Upgrades and Automated Refactoring of any PHP 5.3+ code

6946
610

The Easiest way to add coding standard to your PHP project

1153
59

Reading this blog can cause serious lazyness

82
102

PHPStan rules to measure cognitive complexity of your classes and methods

68
1

PHPStan extension to require minimal type-coverage

44
5

Find Unused Public Elements in Your Code

37
3

Events

delete branch
TomasVotruba delete branch automated-regenerated-composer-lock
Created at 7 hours ago

[automated] Update Rector Dependencies (#1201)

Co-authored-by: TomasVotruba TomasVotruba@users.noreply.github.com

Created at 7 hours ago
pull request closed
[automated] Update Rector Dependencies

Automated changes by create-pull-request GitHub action

Created at 7 hours ago
create branch
TomasVotruba create branch automated-regenerated-composer-lock
Created at 7 hours ago
pull request opened
[automated] Update Rector Dependencies

Automated changes by create-pull-request GitHub action

Created at 7 hours ago

Updated Rector to commit 34ff3246d3d5f040ca66f30a1eb883923962aecd

https://github.com/rectorphp/rector-src/commit/34ff3246d3d5f040ca66f30a1eb883923962aecd [CodingStyle] Remove parent attribute usage on RemoveFinalFromConstRector (#3536)

Created at 11 hours ago

Updated Rector to commit 0d5169dd77c909421aa1de31aac7bdcd502d66aa

https://github.com/rectorphp/rector-src/commit/0d5169dd77c909421aa1de31aac7bdcd502d66aa [Php70] Remove previous attribute usage on ReduceMultipleDefaultSwitchRector (#3537)

Created at 11 hours ago

Updated Rector to commit 180d9a4fad89124d3f547af178f5179e4d4277ee

https://github.com/rectorphp/rector-src/commit/180d9a4fad89124d3f547af178f5179e4d4277ee [DeadCode] Remove previous attribute usage on RemoveDeadConditionAboveReturnRector (#3538)

Created at 11 hours ago
nette/utils 4.0

Both are fine 👍

Not sure why, maybe draft is blocker

Created at 11 hours ago
pull request closed
[CodingStyle] Remove parent attribute usage on RemoveFinalFromConstRector
Created at 11 hours ago
delete branch
TomasVotruba delete branch remove-parent-class-const
Created at 11 hours ago

[CodingStyle] Remove parent attribute usage on RemoveFinalFromConstRector (#3536)

  • CodingStyle] Remove parent attribute usage on RemoveFinalFromConstRector

  • [ci-review] Rector Rectify


Co-authored-by: GitHub Action actions@github.com

Created at 11 hours ago

[Php70] Remove previous attribute usage on ReduceMultipleDefaultSwitchRector (#3537)

Created at 11 hours ago
delete branch
TomasVotruba delete branch remove-prev-reduce-m
Created at 11 hours ago
pull request closed
[Php70] Remove previous attribute usage on ReduceMultipleDefaultSwitchRector

Ref https://github.com/rectorphp/rector/issues/7849

Created at 11 hours ago
delete branch
TomasVotruba delete branch remove-prev-dead
Created at 11 hours ago
pull request closed
[DeadCode] Remove previous attribute usage on RemoveDeadConditionAboveReturnRector

Ref https://github.com/rectorphp/rector/issues/7849

Created at 11 hours ago
issue comment
[DeadCode] Remove previous attribute usage on RemoveDeadConditionAboveReturnRector

Thanks

Created at 11 hours ago

[DeadCode] Remove previous attribute usage on RemoveDeadConditionAboveReturnRector (#3538)

  • [DeadCode] Remove previous attribute usage on RemoveDeadConditionAboveReturnRector

  • phpstan

Created at 11 hours ago

[ci-review] Rector Rectify

Created at 14 hours ago

Fix static calls on variables in RequireThisOnParentMethodCallRule (#19)

Created at 16 hours ago
issue comment
Fix static calls on variables in RequireThisOnParentMethodCallRule

Thanks :+1:

Created at 16 hours ago
pull request closed
Fix static calls on variables in RequireThisOnParentMethodCallRule

The RequireThisOnParentMethodCallRule was overly strict and reported all static calls on variables as well.

In most cases you should never make a static call on a variable (the only valid case would be making a static call on a variable that contains a class string), but that is not the scope of this rule.

Now the RequireThisOnParentMethodCallRule skips all static calls on variables

Created at 16 hours ago
Table attribute can be removed when become empty after migration from annotations to attributes

We used to have such backlog, but it attracted passer-by developers who came with idea, dropped it and never integrated the rule.

Instead, for the long-term project it's healthier to attract contributors, who open PR before creating issue and keep on improving the project :+1:

Created at 16 hours ago
issue comment
[ErrorNamesPropertyToConstantRector] add new rule to fix #280

We'll need a rebase here.

Created at 16 hours ago
nette/utils 4.0

This might be a blocker for many people. What is the added value here?

Created at 16 hours ago
nette/utils 4.0

Sure :+1:

Created at 16 hours ago