Skip to content

Commit 7701fea

Browse files
Fix merge issues
1 parent d08cbe6 commit 7701fea

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

src/Symfony/Component/Console/Tests/Fixtures/Style/SymfonyStyle/command/command_13.php

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

33
use Symfony\Component\Console\Input\InputInterface;
44
use Symfony\Component\Console\Output\OutputInterface;
5-
use Symfony\Component\Console\Tests\Style\SymfonyStyleWithForcedLineLength;
65
use Symfony\Component\Console\Style\SymfonyStyle;
76

87
// ensure that nested tags have no effect on the color of the '//' prefix

src/Symfony/Component/Console/Tests/Fixtures/Style/SymfonyStyle/command/command_14.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
use Symfony\Component\Console\Input\InputInterface;
44
use Symfony\Component\Console\Output\OutputInterface;
5-
use Symfony\Component\Console\Tests\Style\SymfonyStyleWithForcedLineLength;
5+
use Symfony\Component\Console\Style\SymfonyStyle;
66

77
// ensure that block() behaves properly with a prefix and without type
88
return function (InputInterface $input, OutputInterface $output) {
9-
$output = new SymfonyStyleWithForcedLineLength($input, $output);
9+
$output = new SymfonyStyle($input, $output);
1010
$output->block(
1111
'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum',
1212
null,

src/Symfony/Component/Console/Tests/Fixtures/Style/SymfonyStyle/command/command_15.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
use Symfony\Component\Console\Input\InputInterface;
44
use Symfony\Component\Console\Output\OutputInterface;
5-
use Symfony\Component\Console\Tests\Style\SymfonyStyleWithForcedLineLength;
5+
use Symfony\Component\Console\Style\SymfonyStyle;
66

77
// ensure that block() behaves properly with a type and without prefix
88
return function (InputInterface $input, OutputInterface $output) {
9-
$output = new SymfonyStyleWithForcedLineLength($input, $output);
9+
$output = new SymfonyStyle($input, $output);
1010
$output->block(
1111
'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum',
1212
'TEST'

src/Symfony/Component/Validator/Constraints/EmailValidator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public function validate($value, Constraint $constraint)
5757
}
5858

5959
if ($constraint->strict) {
60-
if (!class_exists('\Egulias\EmailValidator\EmailValidator') || interface_exists('\Egulias\EmailValidator\Validation\EmailValidation')) {
61-
throw new RuntimeException('Strict email validation requires egulias/email-validator:~1.2');
60+
if (!class_exists('\Egulias\EmailValidator\EmailValidator')) {
61+
throw new RuntimeException('Strict email validation requires egulias/email-validator ~1.2|~2.0');
6262
}
6363

6464
$strictValidator = new \Egulias\EmailValidator\EmailValidator();

0 commit comments

Comments
 (0)