-
# Upgrade your PHP code to use PHP 8.2 features using Rector — Amit Merchant — A blog on PHP, JavaScript, and more
In this post, I’ll show you how to upgrade your PHP code to use PHP 8.2 features usi…
-
1. The "Symfony\Component\Console\Command\Command::$defaultName" property is considered final. You should not override it in "Contentful\ContentfulBundle\Command\Delivery\InfoCommand".
1. The "Symfon…
-
Hello there,
I'm upgrading a project from 1.38 to 2.0. With the Rector rule, the upgrade is really smooth, thanks @nikophil !
I just have a minor issue, in one Factory, in the `defaults()` metho…
-
Rector is available as PHAR with prefixed dependencies since 0.6.x. This solves dependency issues that both project faced earlier.
https://www.tomasvotruba.cz/blog/2019/12/02/how-to-box-symfony-app…
-
### Feature request
In https://github.com/rectorphp/rector-src/pull/4769 rector dropped automatic loading of PHPStan extensions, because it seems to much work to maintain the feature.
As of this…
-
@TomasVotruba
TLDR:
- Be able to sign up/in on rector-ci.org with github account
- Change from commit hooks to PR hooks (when PR is opened)
- Close PR if original PR is closed
- Configure/ac…
-
The "Ayuntamiento" send me more data from their loops. And it really sucks. Only 9 days and a lot of zeros an outlying values.
![suyos](https://cloud.githubusercontent.com/assets/1782996/18751494/8a…
-
Hi,
Maybe it's not the best place for that issue, as I've found the link in the article that has broken code samples, but the issue is a bit bigger.
I've tried following [this article](https://…
anyt updated
12 months ago
-
composer.json :
```JSON
"require-dev": {
"rector/rector": "^1.0",
"contao/contao-rector": "dev-main",
"phpstan/phpstan": "^1.12"
},
```
rector.php
```PHP
u…
-
We use this for calculation fields because we can't use closures and support PHP 5.2.
I am not maintaining backwards compat with PHP 5.2 at the expense of users on PHP 7.2. You've had a decade to u…