@@ -80,11 +80,11 @@ public function testFormOpenBasicWithCsrf(): void
8080 $ this ->setRequest ();
8181 $ this ->setCsrfFilter ();
8282
83- $ Value = csrf_hash ();
84- $ Name = csrf_token ();
83+ $ value = csrf_hash ();
84+ $ name = csrf_token ();
8585 $ expected = <<<EOH
8686 <form action="http://example.com/index.php/foo/bar" name="form" id="form" method="POST" accept-charset="utf-8">
87- <input type="hidden" name=" {$ Name }" value=" {$ Value }">
87+ <input type="hidden" name=" {$ name }" value=" {$ value }">
8888 EOH ;
8989
9090 $ attributes = [
@@ -133,11 +133,11 @@ public function testFormOpenWithoutActionWithCsrf(): void
133133 $ this ->setRequest ();
134134 $ this ->setCsrfFilter ();
135135
136- $ Value = csrf_hash ();
137- $ Name = csrf_token ();
136+ $ value = csrf_hash ();
137+ $ name = csrf_token ();
138138 $ expected = <<<EOH
139139 <form action="http://example.com/index.php" name="form" id="form" method="POST" accept-charset="utf-8">
140- <input type="hidden" name=" {$ Name }" value=" {$ Value }">
140+ <input type="hidden" name=" {$ name }" value=" {$ value }">
141141 EOH ;
142142 $ attributes = [
143143 'name ' => 'form ' ,
@@ -168,11 +168,11 @@ public function testFormOpenWithoutMethodWithCsrf(): void
168168 $ this ->setRequest ();
169169 $ this ->setCsrfFilter ();
170170
171- $ Value = csrf_hash ();
172- $ Name = csrf_token ();
171+ $ value = csrf_hash ();
172+ $ name = csrf_token ();
173173 $ expected = <<<EOH
174174 <form action="http://example.com/index.php/foo/bar" name="form" id="form" method="post" accept-charset="utf-8">
175- <input type="hidden" name=" {$ Name }" value=" {$ Value }">
175+ <input type="hidden" name=" {$ name }" value=" {$ value }">
176176 EOH ;
177177 $ attributes = [
178178 'name ' => 'form ' ,
@@ -207,11 +207,11 @@ public function testFormOpenWithHiddenWithCsrf(): void
207207 $ this ->setRequest ();
208208 $ this ->setCsrfFilter ();
209209
210- $ Value = csrf_hash ();
211- $ Name = csrf_token ();
210+ $ value = csrf_hash ();
211+ $ name = csrf_token ();
212212 $ expected = <<<EOH
213213 <form action="http://example.com/index.php/foo/bar" name="form" id="form" method="POST" accept-charset="utf-8">
214- <input type="hidden" name=" {$ Name }" value=" {$ Value }">
214+ <input type="hidden" name=" {$ name }" value=" {$ value }">
215215 <input type="hidden" name="foo" value="bar">
216216
217217 EOH ;
@@ -251,11 +251,11 @@ public function testFormOpenMultipartWithCsrf(): void
251251 $ this ->setRequest ();
252252 $ this ->setCsrfFilter ();
253253
254- $ Value = csrf_hash ();
255- $ Name = csrf_token ();
254+ $ value = csrf_hash ();
255+ $ name = csrf_token ();
256256 $ expected = <<<EOH
257257 <form action="http://example.com/index.php/foo/bar" name="form" id="form" method="POST" enctype="multipart/form-data" accept-charset="utf-8">
258- <input type="hidden" name=" {$ Name }" value=" {$ Value }">
258+ <input type="hidden" name=" {$ name }" value=" {$ value }">
259259 EOH ;
260260 $ attributes = [
261261 'name ' => 'form ' ,
0 commit comments