diff --git a/.travis.yml b/.travis.yml
index 0902d63d5..6d9b0109f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,8 @@ php:
- 7.0
- 7.1
- 7.2
+ - 7.3
+ - 7.4
before_install:
# turn off XDebug
diff --git a/examples/basic-example.php b/examples/basic-example.php
index cc870d835..9e5291ca9 100644
--- a/examples/basic-example.php
+++ b/examples/basic-example.php
@@ -122,7 +122,7 @@
Nette Forms basic example
-
+
Nette Forms basic example
diff --git a/examples/custom-control.php b/examples/custom-control.php
index 012a32e41..6ab26ccce 100644
--- a/examples/custom-control.php
+++ b/examples/custom-control.php
@@ -139,7 +139,7 @@ public static function validateDate(Nette\Forms\IControl $control)
Nette Forms custom control example
-
+
Nette Forms custom control example
diff --git a/examples/custom-rendering.php b/examples/custom-rendering.php
index b98022406..6ac92d341 100644
--- a/examples/custom-rendering.php
+++ b/examples/custom-rendering.php
@@ -116,7 +116,7 @@
background: #EEE;
}
-
+
Nette Forms custom rendering example
diff --git a/examples/custom-validator.php b/examples/custom-validator.php
index 94f057a95..6f384af18 100644
--- a/examples/custom-validator.php
+++ b/examples/custom-validator.php
@@ -47,7 +47,7 @@ public static function divisibilityValidator($item, $arg)
Nette Forms custom validator example
-
+
+
Nette Forms and HTML5
diff --git a/examples/live-validation.php b/examples/live-validation.php
index d66437359..5fe93dbc1 100644
--- a/examples/live-validation.php
+++ b/examples/live-validation.php
@@ -50,7 +50,7 @@
Nette Forms live validation example
-
+
+
Nette Forms localization example
diff --git a/examples/manual-rendering.php b/examples/manual-rendering.php
index 8c91820c0..77066c354 100644
--- a/examples/manual-rendering.php
+++ b/examples/manual-rendering.php
@@ -28,9 +28,7 @@
'f' => 'female',
]);
-$form->addText('email')
- ->setRequired(false)
- ->addRule($form::EMAIL, 'Incorrect email address');
+$form->addEmail('email');
$form->addSubmit('submit');
@@ -48,7 +46,7 @@
Nette Forms manual form rendering
-
+
diff --git a/src/Bridges/FormsLatte/FormMacros.php b/src/Bridges/FormsLatte/FormMacros.php
index 91f8d7fad..9d1d4e2ba 100644
--- a/src/Bridges/FormsLatte/FormMacros.php
+++ b/src/Bridges/FormsLatte/FormMacros.php
@@ -52,7 +52,7 @@ public function macroForm(MacroNode $node, PhpWriter $writer)
throw new CompileException('Did you mean