Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"zendframework/zend-validator": "^2.11"
},
"require-dev": {
"phpunit/phpunit": "^5.7.23 || ^6.4.3",
"phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.15",
"psr/http-message": "^1.0",
"zendframework/zend-coding-standard": "~1.0.0"
},
Expand Down
476 changes: 244 additions & 232 deletions composer.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions test/ArrayInputTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
use Zend\InputFilter\Exception\InvalidArgumentException;

/**
* @covers Zend\InputFilter\ArrayInput
* @covers \Zend\InputFilter\ArrayInput
*/
class ArrayInputTest extends InputTest
{
public function setUp()
protected function setUp()
{
$this->input = new ArrayInput('foo');
}
Expand Down
4 changes: 2 additions & 2 deletions test/BaseInputFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
use Zend\InputFilter\UnfilteredDataInterface;

/**
* @covers Zend\InputFilter\BaseInputFilter
* @covers \Zend\InputFilter\BaseInputFilter
*/
class BaseInputFilterTest extends TestCase
{
Expand All @@ -33,7 +33,7 @@ class BaseInputFilterTest extends TestCase
*/
protected $inputFilter;

public function setUp()
protected function setUp()
{
$this->inputFilter = new BaseInputFilter();
}
Expand Down
4 changes: 2 additions & 2 deletions test/CollectionInputFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
use Zend\Validator\NotEmpty;

/**
* @covers Zend\InputFilter\CollectionInputFilter
* @covers \Zend\InputFilter\CollectionInputFilter
*/
class CollectionInputFilterTest extends TestCase
{
Expand All @@ -32,7 +32,7 @@ class CollectionInputFilterTest extends TestCase
*/
protected $inputFilter;

public function setUp()
protected function setUp()
{
$this->inputFilter = new CollectionInputFilter();
}
Expand Down
2 changes: 1 addition & 1 deletion test/FactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
use Zend\Validator;

/**
* @covers Zend\InputFilter\Factory
* @covers \Zend\InputFilter\Factory
*/
class FactoryTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion test/FileInput/HttpServerFileInputDecoratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class HttpServerFileInputDecoratorTest extends InputTest
/** @var HttpServerFileInputDecorator */
protected $input;

public function setUp()
protected function setUp()
{
$this->input = new FileInput('foo');
// Upload validator does not work in CLI test environment, disable
Expand Down
2 changes: 1 addition & 1 deletion test/FileInput/PsrFileInputDecoratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class PsrFileInputDecoratorTest extends InputTest
/** @var PsrFileInputDecorator */
protected $input;

public function setUp()
protected function setUp()
{
$this->input = new FileInput('foo');
// Upload validator does not work in CLI test environment, disable
Expand Down
4 changes: 2 additions & 2 deletions test/InputFilterAbstractServiceFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
use Zend\Validator\ValidatorPluginManager;

/**
* @covers Zend\InputFilter\InputFilterAbstractServiceFactory
* @covers \Zend\InputFilter\InputFilterAbstractServiceFactory
*/
class InputFilterAbstractServiceFactoryTest extends TestCase
{
Expand All @@ -43,7 +43,7 @@ class InputFilterAbstractServiceFactoryTest extends TestCase
*/
protected $factory;

public function setUp()
protected function setUp()
{
$this->services = new ServiceManager();
$this->filters = new InputFilterPluginManager($this->services);
Expand Down
2 changes: 1 addition & 1 deletion test/InputFilterAwareTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

/**
* @requires PHP 5.4
* @covers Zend\InputFilter\InputFilterAwareTrait
* @covers \Zend\InputFilter\InputFilterAwareTrait
*/
class InputFilterAwareTraitTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions test/InputFilterPluginManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
use Zend\Validator\ValidatorPluginManager;

/**
* @covers Zend\InputFilter\InputFilterPluginManager
* @covers \Zend\InputFilter\InputFilterPluginManager
*/
class InputFilterPluginManagerTest extends TestCase
{
Expand All @@ -40,7 +40,7 @@ class InputFilterPluginManagerTest extends TestCase
*/
protected $services;

public function setUp()
protected function setUp()
{
$this->services = new ServiceManager();
$this->manager = new InputFilterPluginManager($this->services);
Expand Down
4 changes: 2 additions & 2 deletions test/InputFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
use Zend\InputFilter\InputFilter;

/**
* @covers Zend\InputFilter\InputFilter
* @covers \Zend\InputFilter\InputFilter
*/
class InputFilterTest extends BaseInputFilterTest
{
Expand All @@ -26,7 +26,7 @@ class InputFilterTest extends BaseInputFilterTest
*/
protected $inputFilter;

public function setUp()
protected function setUp()
{
$this->inputFilter = new InputFilter();
}
Expand Down
4 changes: 2 additions & 2 deletions test/InputTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
use Zend\Validator\ValidatorInterface;

/**
* @covers Zend\InputFilter\Input
* @covers \Zend\InputFilter\Input
*/
class InputTest extends TestCase
{
Expand All @@ -30,7 +30,7 @@ class InputTest extends TestCase
*/
protected $input;

public function setUp()
protected function setUp()
{
$this->input = new Input('foo');
}
Expand Down