Skip to content

Commit f426441

Browse files
committed
Upgrade dependencies
1 parent 19ea8ed commit f426441

File tree

9 files changed

+1949
-1997
lines changed

9 files changed

+1949
-1997
lines changed

.php_cs.dist renamed to .php-cs-fixer.dist.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

3-
return PhpCsFixer\Config::create()
3+
$config = new PhpCsFixer\Config();
4+
return $config
45
->setUsingCache(false)
56
->setRiskyAllowed(true)
67
->setRules(array(

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
},
5858
"require-dev": {
5959
"elao/web-profiler-extra-bundle": "2.*",
60-
"friendsofphp/php-cs-fixer": "2.*",
60+
"friendsofphp/php-cs-fixer": "3.*",
6161
"pdepend/pdepend": "2.*",
6262
"phpmd/phpmd": "2.*",
6363
"phpunit/phpunit": "^9.3.8",

composer.lock

Lines changed: 802 additions & 783 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.phar

37.6 KB
Binary file not shown.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"dependencies": {
3-
"@symfony/webpack-encore": "^1.0.4",
3+
"@symfony/webpack-encore": "^1.5.0",
44
"less": "^4.0.0",
5-
"less-loader": "^9.0.0",
5+
"less-loader": "^10.0.1",
66
"webpack-notifier": "^1.6.0"
77
},
88
"license": "MIT",

phing.phar

33.4 KB
Binary file not shown.

src/PhpOfBy/AdminBundle/Controller/DashboardController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use EasyCorp\Bundle\EasyAdminBundle\Config\Dashboard;
77
use EasyCorp\Bundle\EasyAdminBundle\Config\MenuItem;
88
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractDashboardController;
9-
use EasyCorp\Bundle\EasyAdminBundle\Router\CrudUrlGenerator;
9+
use EasyCorp\Bundle\EasyAdminBundle\Router\AdminUrlGenerator;
1010
use PhpOfBy\ContentBundle\Entity\Article;
1111
use PhpOfBy\SecurityBundle\Entity\User;
1212
use Symfony\Component\HttpFoundation\Response;
@@ -22,7 +22,7 @@ class DashboardController extends AbstractDashboardController
2222
*/
2323
public function index(): Response
2424
{
25-
$routeBuilder = $this->get(CrudUrlGenerator::class)->build();
25+
$routeBuilder = $this->get(AdminUrlGenerator::class);
2626

2727
return $this->redirect($routeBuilder->setController(UserCrudController::class)->generateUrl());
2828
}

symfony.lock

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,6 @@
134134
"laminas/laminas-code": {
135135
"version": "3.4.1"
136136
},
137-
"laminas/laminas-eventmanager": {
138-
"version": "3.2.1"
139-
},
140-
"laminas/laminas-zendframework-bridge": {
141-
"version": "1.0.4"
142-
},
143137
"monolog/monolog": {
144138
"version": "1.23.0"
145139
},
@@ -506,6 +500,9 @@
506500
"symfony/polyfill-php80": {
507501
"version": "v1.17.0"
508502
},
503+
"symfony/polyfill-php81": {
504+
"version": "v1.23.0"
505+
},
509506
"symfony/polyfill-uuid": {
510507
"version": "v1.18.0"
511508
},

yarn.lock

Lines changed: 1137 additions & 1202 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)