Skip to content

Commit 01ce881

Browse files
committed
break out required packs/aliases into actual packages
1 parent 9e60da8 commit 01ce881

File tree

9 files changed

+22
-18
lines changed

9 files changed

+22
-18
lines changed

src/Resources/scaffolds/6.0/auth.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
'homepage',
1111
],
1212
'packages' => [
13-
'profiler' => 'dev',
13+
'symfony/web-profiler-bundle' => 'dev',
14+
'symfony/stopwatch' => 'dev',
1415
],
1516
'configure' => function(FileManager $files) {
1617
$services = new YamlSourceManipulator($files->getFileContents('config/services.yaml'));

src/Resources/scaffolds/6.0/bootstrapcss.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
return [
77
'description' => 'Add bootstrap css/js.',
88
'packages' => [
9-
'twig' => 'all',
10-
'encore' => 'all',
9+
'symfony/twig-bundle' => 'all',
10+
'symfony/webpack-encore-bundle' => 'all',
1111
],
1212
'js_packages' => [
1313
'bootstrap' => '^5.0.0',

src/Resources/scaffolds/6.0/change-password.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
'auth',
77
],
88
'packages' => [
9-
'form' => 'all',
10-
'validator' => 'all',
9+
'symfony/form' => 'all',
10+
'symfony/validator' => 'all',
1111
]
1212
];

src/Resources/scaffolds/6.0/homepage.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
return [
44
'description' => 'Create a basic homepage controller/template/test.',
55
'packages' => [
6-
'twig' => 'all',
7-
'phpunit' => 'dev',
6+
'symfony/twig-bundle' => 'all',
7+
'phpunit/phpunit' => 'dev',
8+
'symfony/phpunit-bridge' => 'dev',
89
'zenstruck/browser' => 'dev',
910
]
1011
];

src/Resources/scaffolds/6.0/profile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
'auth',
77
],
88
'packages' => [
9-
'form' => 'all',
10-
'validator' => 'all',
9+
'symfony/form' => 'all',
10+
'symfony/validator' => 'all',
1111
]
1212
];

src/Resources/scaffolds/6.0/register.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
'auth',
99
],
1010
'packages' => [
11-
'form' => 'all',
12-
'validator' => 'all',
11+
'symfony/form' => 'all',
12+
'symfony/validator' => 'all',
1313
],
1414
'configure' => function(FileManager $files) {
1515
$userEntity = $files->getFileContents('src/Entity/User.php');

src/Resources/scaffolds/6.0/reset-password.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
'auth',
99
],
1010
'packages' => [
11-
'form' => 'all',
12-
'validator' => 'all',
13-
'mailer' => 'all',
11+
'symfony/form' => 'all',
12+
'symfony/validator' => 'all',
13+
'symfony/mailer' => 'all',
1414
'symfonycasts/reset-password-bundle' => 'all',
1515
'zenstruck/mailer-test' => 'dev',
1616
],

src/Resources/scaffolds/6.0/user.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
return [
44
'description' => 'Create a basic user and unit test.',
55
'packages' => [
6-
'orm' => 'all',
7-
'security' => 'all',
8-
'phpunit' => 'dev',
6+
'doctrine/orm' => 'all',
7+
'doctrine/doctrine-bundle' => 'all',
8+
'symfony/security-bundle' => 'all',
9+
'phpunit/phpunit' => 'dev',
10+
'symfony/phpunit-bridge' => 'dev',
911
'zenstruck/foundry' => 'dev',
1012
]
1113
];

src/Resources/scaffolds/6.0/user/src/Entity/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function setPassword(string $password): self
9191
/**
9292
* @see UserInterface
9393
*/
94-
public function eraseCredentials()
94+
public function eraseCredentials(): void
9595
{
9696
// If you store any temporary, sensitive data on the user, clear it here
9797
// $this->plainPassword = null;

0 commit comments

Comments
 (0)