Line 12... |
Line 12... |
12 |
__DIR__ . '/Server', |
12 |
__DIR__ . '/Server', |
13 |
__DIR__ . '/Web', |
13 |
__DIR__ . '/Web', |
14 |
]); |
14 |
]); |
15 |
|
15 |
|
16 |
// Uncomment and set this to your target PHP version |
16 |
// Uncomment and set this to your target PHP version |
17 |
$rectorConfig->phpVersion(PHP_VERSION_ID); // for PHP 8, this might be 80000 for 8.0 |
17 |
$rectorConfig->phpVersion(80100); // for PHP 8, this might be 80000 for 8.0 |
18 |
|
18 |
|
19 |
// Include sets of rules for PHP version upgrades |
19 |
// Include sets of rules for PHP version upgrades |
20 |
// For upgrading to PHP 8.0 |
20 |
// For upgrading to PHP 8.0 |
21 |
$rectorConfig->sets([ |
21 |
$rectorConfig->sets([ |
22 |
SetList::PHP_80, |
22 |
SetList::PHP_80, |