Skip to content

Commit 51549b6

Browse files
committed
fix deprecation version
1 parent 3499d53 commit 51549b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/DependencyBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function addClassDependency(string $class, string $package, bool $require
4242

4343
public function requirePHP71(): void
4444
{
45-
trigger_deprecation('symfony/maker-bundle', '0.0.0', 'requirePHP71() is deprecated and will be removed in a future version.');
45+
trigger_deprecation('symfony/maker-bundle', 'v1.44.0', 'requirePHP71() is deprecated and will be removed in a future version.');
4646
}
4747

4848
/**

src/Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function __construct(
3636
$this->twigHelper = new GeneratorTwigHelper($fileManager);
3737
$this->namespacePrefix = trim($namespacePrefix, '\\');
3838

39-
if (null === $phpCompatUtil) {
39+
if (null !== $phpCompatUtil) {
4040
trigger_deprecation('symfony/maker-bundle', '1.25', 'Initializing Generator while providing an instance of PhpCompatUtil is deprecated.');
4141
}
4242

0 commit comments

Comments
 (0)