-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove eol support, and upgrade most packages (#30)
* Remove eol support, and upgrade most packages * More phpunit 8 deprecation notices to be removed * Remove duplicate travis builds
- Loading branch information
Showing
50 changed files
with
254 additions
and
174 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 |
---|---|---|
|
@@ -2,13 +2,12 @@ | |
/** | ||
* @copyright 2017 Hostnet B.V. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Hostnet\Component\Form; | ||
|
||
use Symfony\Component\Form\FormInterface; | ||
|
||
/** | ||
* @author Yannick de Lange <[email protected]> | ||
*/ | ||
abstract class AbstractFormHandler implements NamedFormHandlerInterface | ||
{ | ||
/** | ||
|
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 |
---|---|---|
|
@@ -2,13 +2,12 @@ | |
/** | ||
* @copyright 2017 Hostnet B.V. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Hostnet\Component\Form\Exception; | ||
|
||
use Hostnet\Component\Form\FormHandlerInterface; | ||
|
||
/** | ||
* @author Yannick de Lange <[email protected]> | ||
*/ | ||
class FormNotFoundException extends \RuntimeException | ||
{ | ||
/** | ||
|
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 |
---|---|---|
|
@@ -2,14 +2,12 @@ | |
/** | ||
* @copyright 2017 Hostnet B.V. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Hostnet\Component\Form; | ||
|
||
use Symfony\Component\HttpFoundation\Request; | ||
|
||
/** | ||
* @author Iltar van der Berg <[email protected]> | ||
* @author Yannick de Lange <[email protected]> | ||
*/ | ||
interface FormFailureHandlerInterface | ||
{ | ||
/** | ||
|
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 |
---|---|---|
|
@@ -2,15 +2,13 @@ | |
/** | ||
* @copyright 2017 Hostnet B.V. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Hostnet\Component\Form; | ||
|
||
use Symfony\Component\Form\FormInterface; | ||
use Symfony\Component\Form\FormTypeInterface; | ||
|
||
/** | ||
* @author Iltar van der Berg <[email protected]> | ||
* @author Yannick de Lange <[email protected]> | ||
*/ | ||
interface FormHandlerInterface | ||
{ | ||
/** | ||
|
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 |
---|---|---|
|
@@ -2,15 +2,13 @@ | |
/** | ||
* @copyright 2017 Hostnet B.V. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Hostnet\Component\Form; | ||
|
||
use Symfony\Component\Form\FormInterface; | ||
use Symfony\Component\HttpFoundation\Request; | ||
|
||
/** | ||
* @author Iltar van der Berg <[email protected]> | ||
* @author Yannick de Lange <[email protected]> | ||
*/ | ||
interface FormProviderInterface | ||
{ | ||
/** | ||
|
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 |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
/** | ||
* @copyright 2017 Hostnet B.V. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Hostnet\Component\Form; | ||
|
||
@trigger_error(sprintf( | ||
|
@@ -11,9 +13,6 @@ | |
), E_USER_DEPRECATED); | ||
|
||
/** | ||
* @author Iltar van der Berg <[email protected]> | ||
* @author Yannick de Lange <[email protected]> | ||
* | ||
* @deprecated Use {@see FormSuccessHandlerInterface} instead. | ||
*/ | ||
interface FormSuccesHandlerInterface extends FormSuccessHandlerInterface | ||
|
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 |
---|---|---|
|
@@ -2,14 +2,12 @@ | |
/** | ||
* @copyright 2017 Hostnet B.V. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Hostnet\Component\Form; | ||
|
||
use Symfony\Component\HttpFoundation\Request; | ||
|
||
/** | ||
* @author Iltar van der Berg <[email protected]> | ||
* @author Yannick de Lange <[email protected]> | ||
*/ | ||
interface FormSuccessHandlerInterface | ||
{ | ||
/** | ||
|
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 |
---|---|---|
|
@@ -2,11 +2,10 @@ | |
/** | ||
* @copyright 2017 Hostnet B.V. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Hostnet\Component\Form; | ||
|
||
/** | ||
* @author Yannick de Lange <[email protected]> | ||
*/ | ||
interface NamedFormHandlerInterface extends FormHandlerInterface | ||
{ | ||
/** | ||
|
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 |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
/** | ||
* @copyright 2017 Hostnet B.V. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Hostnet\Component\Form\Simple; | ||
|
||
use Hostnet\Component\Form\Exception\FormNotFoundException; | ||
|
@@ -14,10 +16,6 @@ | |
use Symfony\Component\Form\FormInterface; | ||
use Symfony\Component\HttpFoundation\Request; | ||
|
||
/** | ||
* @author Iltar van der Berg <[email protected]> | ||
* @author Yannick de Lange <[email protected]> | ||
*/ | ||
class SimpleFormProvider implements FormProviderInterface | ||
{ | ||
/** | ||
|
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
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
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 |
---|---|---|
|
@@ -2,20 +2,22 @@ | |
/** | ||
* @copyright 2017 Hostnet B.V. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Hostnet\Component\Form\Simple; | ||
|
||
use Hostnet\Component\Form\AbstractFormHandler; | ||
use PHPUnit\Framework\TestCase; | ||
use Symfony\Component\Form\FormInterface; | ||
|
||
/** | ||
* @author Yannick de Lange <[email protected]> | ||
* @covers Hostnet\Component\Form\AbstractFormHandler | ||
* @covers \Hostnet\Component\Form\AbstractFormHandler | ||
*/ | ||
class AbstractFormHandlerTest extends \PHPUnit_Framework_TestCase | ||
class AbstractFormHandlerTest extends TestCase | ||
{ | ||
private $handler; | ||
|
||
public function setUp() | ||
public function setUp(): void | ||
{ | ||
$this->handler = $this->getMockForAbstractClass(AbstractFormHandler::class); | ||
} | ||
|
Oops, something went wrong.