This repository has been archived by the owner on Jan 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZF2014-03 fixes
- Loading branch information
164 parents
b273593
+
7b4d532
+
f3d9b3a
+
f7ab865
+
d9d9b78
+
fefc773
+
83cbc8a
+
1b9fd60
+
8a8b989
+
10da323
+
e6aba5a
+
b71d0a2
+
2aa926c
+
8405746
+
bf1a8de
+
f16339d
+
ed1dbc8
+
dbf56da
+
bdb277e
+
364ced3
+
9fccdf3
+
40f5963
+
9d7ddea
+
e1e4aa8
+
870703b
+
958decf
+
e49a08e
+
a051e7e
+
b9f6e35
+
2bbef72
+
aea30ce
+
faec0a2
+
098e166
+
51d6372
+
8757ace
+
42477b6
+
32cf329
+
0ebadc5
+
188fa4d
+
a41bbf0
+
a29bbbc
+
941280d
+
d691226
+
e547023
+
d91c234
+
006ef75
+
69d1518
+
7dc0d1a
+
a995715
+
e780008
+
e810876
+
9e4090a
+
269bf01
+
3a1f2fd
+
0cab32d
+
704cc7f
+
e20c9e6
+
a0dfc1a
+
76b3e1c
+
fd429e8
+
187ea79
+
2b43ea6
+
e3b1be1
+
19f0ef6
+
33bf9c0
+
3729984
+
a5ce396
+
698dbe0
+
0efca0b
+
08b2a78
+
ddaa846
+
7fe4493
+
0da7331
+
7226b1d
+
851904c
+
a2eb795
+
f658a03
+
de83270
+
806df8a
+
4e7ff23
+
409b768
+
1b97191
+
d2649e3
+
f0162d1
+
6f01416
+
a2b3753
+
1786961
+
d157fcb
+
4444c37
+
192d20c
+
811122b
+
3a2cf9b
+
eb2029b
+
7a6edab
+
8d8a05d
+
c1ddf21
+
0090b4d
+
ef80e35
+
59b30de
+
4656098
+
377b920
+
ccba82c
+
5d2770e
+
41714a1
+
8adef43
+
a78628f
+
b35fa7a
+
3953c79
+
aa28e42
+
38f9a49
+
47ed633
+
0a6bf6e
+
b61d89d
+
a1fbb6f
+
238512b
+
f40a328
+
62dc143
+
328df3b
+
e12fe2d
+
e34a942
+
04e956d
+
a19a8c2
+
ac4b6c0
+
d28282e
+
bd5af3d
+
b976cb5
+
4feb67b
+
7164be7
+
40174df
+
e4918ae
+
1d9f9a2
+
c77ae57
+
223b881
+
c2f4e25
+
e08b166
+
e58e548
+
85e6bbd
+
0ac2052
+
c7ba6af
+
f443c57
+
1380626
+
5316b6e
+
a6136d4
+
d233be3
+
c100a2a
+
c6a0e2c
+
e7eef3c
+
812f35d
+
604cdcd
+
5472285
+
6e2f420
+
76c4d1c
+
c60cca9
+
77f718e
+
6bc8c90
+
6ec1d0f
+
53d9070
+
a67cdeb
+
5d412ee
+
132380c
+
2809ef0
+
a883a8d
+
4aa93a8
+
8e9a467
commit 274ca2b
Showing
34 changed files
with
289 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
*/ | ||
|
||
namespace ZendTest\View\Helper; | ||
|
||
use PHPUnit_Framework_TestCase as TestCase; | ||
use Zend\View\Renderer\PhpRenderer; | ||
|
||
/** | ||
* Tests for {@see \Zend\View\Helper\AbstractHtmlElement} | ||
* | ||
* @covers \Zend\View\Helper\AbstractHtmlElement | ||
*/ | ||
class AbstractHtmlElementTest extends TestCase | ||
{ | ||
/** | ||
* @var \Zend\View\Helper\AbstractHtmlElement|\PHPUnit_Framework_MockObject_MockObject | ||
*/ | ||
protected $helper; | ||
|
||
/** | ||
* {@inheritDoc} | ||
*/ | ||
public function setUp() | ||
{ | ||
$this->helper = $this->getMockForAbstractClass('Zend\View\Helper\AbstractHtmlElement'); | ||
|
||
$this->helper->setView(new PhpRenderer()); | ||
} | ||
|
||
/** | ||
* @group 5991 | ||
*/ | ||
public function testWillEscapeValueAttributeValuesCorrectly() | ||
{ | ||
$reflectionMethod = new \ReflectionMethod($this->helper, 'htmlAttribs'); | ||
|
||
$reflectionMethod->setAccessible(true); | ||
|
||
$this->assertSame( | ||
' data-value="breaking your HTML like a boss! \"', | ||
$reflectionMethod->invoke($this->helper, array('data-value' => 'breaking your HTML like a boss! \\')) | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<a href="page2">Page 2</a> > <a href="page2/page2_2">Page 2.2</a> > Page 2.2.2 | ||
<a href="page2">Page 2</a> > <a href="page2/page2_2">Page 2.2</a> > Page 2.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<a href="page2">Page 2</a> > <a href="page2/page2_3">Page 2.3</a> > <a href="page2/page2_3/page2_3_3">Page 2.3.3</a> > Page 2.3.3.1 | ||
<a href="page2">Page 2</a> > <a href="page2/page2_3">Page 2.3</a> > <a href="page2/page2_3/page2_3_3">Page 2.3.3</a> > Page 2.3.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<a href="page2">Page 2</a> > <a href="page2/page2_3">Page 2.3</a> > <a href="page2/page2_3/page2_3_3">Page 2.3.3</a> > <a href="page2/page2_3/page2_3_3/1">Page 2.3.3.1</a> | ||
<a href="page2">Page 2</a> > <a href="page2/page2_3">Page 2.3</a> > <a href="page2/page2_3/page2_3_3">Page 2.3.3</a> > <a href="page2/page2_3/page2_3_3/1">Page 2.3.3.1</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<a href="page2">Page 2</a>foo<a href="page2/page2_3">Page 2.3</a>foo<a href="page2/page2_3/page2_3_3">Page 2.3.3</a>fooPage 2.3.3.1 | ||
<a href="page2">Page 2</a>foo<a href="page2/page2_3">Page 2.3</a>foo<a href="page2/page2_3/page2_3_3">Page 2.3.3</a>fooPage 2.3.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<a href="page2">TextDomain1 2</a> > <a href="page2/page2_3">Page 2.3</a> > <a href="page2/page2_3/page2_3_3">TextDomain1 2.3.3</a> > TextDomain2 2.3.3.1 | ||
<a href="page2">TextDomain1 2</a> > <a href="page2/page2_3">Page 2.3</a> > <a href="page2/page2_3/page2_3_3">TextDomain1 2.3.3</a> > TextDomain2 2.3.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<a href="page2">Side 2</a> > <a href="page2/page2_3">Side 2.3</a> > <a href="page2/page2_3/page2_3_3">Page 2.3.3</a> > Side 2.3.3.1 | ||
<a href="page2">Side 2</a> > <a href="page2/page2_3">Side 2.3</a> > <a href="page2/page2_3/page2_3_3">Page 2.3.3</a> > Side 2.3.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<link rel="start" href="index" title="Home"> | ||
<link rel="next" href="page2/page2_3/page2_3_3/2" title="Page 2.3.3.2"> | ||
<link rel="prev" href="page2/page2_3/page2_3_3" title="Page 2.3.3"> | ||
<link rel="chapter" href="page1" title="Page 1"> | ||
<link rel="chapter" href="page2" title="Page 2"> | ||
<link rel="chapter" href="page3" title="Page 3"> | ||
<link rel="chapter" href="http://www.zym-project.com/" title="Zym"> | ||
<link rel="next" href="page2/page2_3/page2_3_3/2" title="Page 2.3.3.2"> | ||
<link rel="prev" href="page2/page2_3/page2_3_3" title="Page 2.3.3"> | ||
<link rel="chapter" href="page1" title="Page 1"> | ||
<link rel="chapter" href="page2" title="Page 2"> | ||
<link rel="chapter" href="page3" title="Page 3"> | ||
<link rel="chapter" href="http://www.zym-project.com/" title="Zym"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.