Skip to content

Commit 6e45fad

Browse files
Merge pull request #192 from darkwebdesign/issue-179-7.3
#179: Update Add-on Bundle for Symfony 7.3
2 parents 06689ea + 7e9d87b commit 6e45fad

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

composer.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,19 @@
1010
],
1111
"require": {
1212
"php": "^8.2",
13-
"darkwebdesign/symfony-addon-pack": "7.3.*",
13+
"darkwebdesign/symfony-addon-pack": "7.3.*-dev",
1414
"doctrine/doctrine-bundle": "*",
15-
"doctrine/orm": "*",
1615
"symfony/config": "7.3.*",
1716
"symfony/dependency-injection": "7.3.*",
1817
"symfony/http-kernel": "7.3.*"
1918
},
2019
"require-dev": {
21-
"friendsofphp/php-cs-fixer": "^3.58",
20+
"friendsofphp/php-cs-fixer": "^3.93",
2221
"maglnet/composer-require-checker": "^4.17",
23-
"phpstan/extension-installer": "^1.3",
24-
"phpstan/phpstan": "^1.11",
25-
"phpstan/phpstan-symfony": "^1.4",
26-
"rector/rector": "^1.1"
22+
"phpstan/extension-installer": "^1.4",
23+
"phpstan/phpstan": "^2.1",
24+
"phpstan/phpstan-symfony": "^2.0",
25+
"rector/rector": "^2.3"
2726
},
2827
"autoload": {
2928
"psr-4": {

rector.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
declare(strict_types=1);
44

55
use Rector\Config\RectorConfig;
6-
use Rector\Set\ValueObject\LevelSetList;
76

87
return RectorConfig::configure()
98
->withPaths([
109
__DIR__ . '/src',
1110
])
12-
->withSets([
13-
LevelSetList::UP_TO_PHP_82,
14-
])
15-
->withImportNames(
16-
importShortClasses: false,
17-
);
11+
->withPhpSets()
12+
->withAttributesSets()
13+
->withPreparedSets(symfonyCodeQuality: true, symfonyConfigs: true)
14+
->withComposerBased(symfony: true)
15+
->withImportNames(importShortClasses: false, removeUnusedImports: true)
16+
->withTypeCoverageLevel(0)
17+
->withDeadCodeLevel(0)
18+
->withCodeQualityLevel(0);

0 commit comments

Comments
 (0)