Comments (1)
It seems you're using old php version (7.x), you can do:
withPreparedSets(true)
as deadCode is first parameter to set, see:
from rector.
Related Issues (20)
- Latest illuminate/container 11.21.0 cause error Call to undefined method ReflectionParameter::getAttributes() on php 7.x HOT 3
- Remove -inline- unused variable assign HOT 1
- Rules are registered twice when using helper methods and result in error HOT 2
- earlyReturn confused by elseif HOT 4
- RemoveExtraParametersRector removes all parameters HOT 2
- Incorrect behavior of DowngradeNewInInitializerRector
- Much slower require on v1.2.4 HOT 4
- Incorrect behavior of ClassPropertyAssignToConstructorPromotionRector, MixedTypeRector HOT 1
- Use Destructure/Destructuring instead of Destruct in the name of some rules and constants HOT 2
- Incorrect behavior of EncapsedStringsToSprintfRector, WrapEncapsedVariableInCurlyBracesRector HOT 1
- Get ready for PHPStan 2.0 HOT 1
- "System error: "Method pass() was not found" HOT 2
- Error on running rector HOT 7
- [CodeQuality] Add new rule to change "static::CONSTANT" to "self::CONSTANT" HOT 4
- Incorrect behavior of TypedPropertyFromColumnTypeRector HOT 5
- Issue after upgrading from 1.2.4 to 1.2.5 HOT 4
- `composer update` failure on applying patches on `rector-src` on MacOS M3 HOT 2
- File analyzing problem HOT 2
- Features removed in a patch version HOT 1
- InlineConstructorDefaultToPropertyRector does not handle comments correctly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rector.