Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 37cc687

Browse files
committed
Merge branch 'feature/template-exceptions'
Close #203
2 parents de15920 + d1a6773 commit 37cc687

File tree

5 files changed

+29
-3
lines changed

5 files changed

+29
-3
lines changed

src/Template/ArrayParametersTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
namespace Zend\Expressive\Template;
1111

1212
use Traversable;
13-
use Zend\Expressive\Exception;
1413

1514
trait ArrayParametersTrait
1615
{

src/Template/DefaultParamsTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
namespace Zend\Expressive\Template;
1111

1212
use Traversable;
13-
use Zend\Expressive\Exception;
1413
use Zend\Stdlib\ArrayUtils;
1514

1615
trait DefaultParamsTrait
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
/**
3+
* Zend Framework (http://framework.zend.com/)
4+
*
5+
* @see https://github.com/zendframework/zend-expressive for the canonical source repository
6+
* @copyright Copyright (c) 2015 Zend Technologies USA Inc. (http://www.zend.com)
7+
* @license https://github.com/zendframework/zend-expressive/blob/master/LICENSE.md New BSD License
8+
*/
9+
10+
namespace Zend\Expressive\Template\Exception;
11+
12+
interface ExceptionInterface
13+
{
14+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
/**
3+
* Zend Framework (http://framework.zend.com/)
4+
*
5+
* @see https://github.com/zendframework/zend-expressive for the canonical source repository
6+
* @copyright Copyright (c) 2015 Zend Technologies USA Inc. (http://www.zend.com)
7+
* @license https://github.com/zendframework/zend-expressive/blob/master/LICENSE.md New BSD License
8+
*/
9+
10+
namespace Zend\Expressive\Template\Exception;
11+
12+
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
13+
{
14+
}

test/Template/ArrayParametersTraitTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use ArrayIterator;
1010
use PHPUnit_Framework_TestCase as TestCase;
1111
use stdClass;
12-
use Zend\Expressive\Exception\InvalidArgumentException;
12+
use Zend\Expressive\Template\Exception\InvalidArgumentException;
1313

1414
class ArrayParametersTraitTest extends TestCase
1515
{

0 commit comments

Comments
 (0)