respect-validation/tests/integration
Henrique Moody 66f5475463
Update PHP support
Due to the current status of the development of the library, it seems
like we will be supporting version 1.1 for a long time. Even when we
release version 2.0 we will still give support for version 1.1 for a
while.

This commit will make sure that version 1.1 is fully supported for PHP
7.2 and 7.3. Also, it will remove the support for HHVM since it will not
keep the compatibility with PHP anymore [1].

In order to make that happen, this commit will create a TestCase from
Validation so we can use the same API to create mocks in both PHPUnit
versions 4.0 and 5.0.

During the development of this commit, I noticed that PHPUnit 4.0 had
issues to mock "SplFileInfo" and for that reason, this commit will also
replace those mocks by "SplFileInfo" instances.

[1]: https://hhvm.com/blog/2018/09/12/end-of-php-support-future-of-hack.html

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2018-12-02 11:09:24 +01:00
..
readme Set timezone for tests that work with dates 2015-11-04 14:59:04 -02:00
rules Update PHP support 2018-12-02 11:09:24 +01:00
assert-with-keys.phpt Remove "NestedValidationExceptionInterface" 2015-10-23 09:00:18 -02:00
bsn_1.phpt Create integration tests for "Bsn" rule 2015-11-09 06:54:43 -02:00
bsn_2.phpt Fix some coding standards with php-cs-fixer 2016-03-04 21:42:27 -03:00
bsn_3.phpt Fix some coding standards with php-cs-fixer 2016-03-04 21:42:27 -03:00
do_not_rely_on_nested_validation_exception_interface_for_check.phpt Remove "ValidationExceptionInterface" 2015-10-23 09:00:31 -02:00
exception_update.phpt Small coding standards and docs improvements 2015-10-24 01:32:07 -02:00
find_messages_should_apply_templates_to_flattened_messages.phpt Fix wrong behaviour on AbstractRelated 2016-09-17 20:23:38 +02:00
find_messages_should_return_composite_validation_messages_flattened.phpt Fix wrong behaviour on AbstractRelated 2016-09-17 20:23:38 +02:00
get_full_message_should_include_all_validation_messages_in_a_chain.phpt Remove "NestedValidationExceptionInterface" 2015-10-23 09:00:18 -02:00
get_messages_should_include_all_validation_messages_in_a_chain.phpt Remove "NestedValidationExceptionInterface" 2015-10-23 09:00:18 -02:00
issue-179.phpt Improvements and fixes on exceptions 2015-10-22 03:01:41 -02:00
issue-425.phpt Small coding standards and docs improvements 2015-10-24 01:32:07 -02:00
issue-446.phpt Remove "NestedValidationExceptionInterface" 2015-10-23 09:00:18 -02:00
issue-619.phpt Fix wrong behavior when using templates 2018-07-02 07:57:21 +02:00
issue-620.phpt Get the proper exception when using findMessage() 2016-09-17 21:04:24 +02:00
issue-689.phpt Try to use the getRelatedByName() method first 2016-09-17 21:11:55 +02:00
issue-690.phpt Always return a valid exception 2016-09-19 18:22:39 +02:00
issue-719.phpt Get the proper exception when using findMessage() 2016-09-17 21:04:24 +02:00
issue-727.phpt Always check the type then executing KeyNested 2016-09-12 18:06:10 +02:00
issue-739.phpt Try to find template from default templates first 2018-01-02 21:56:07 +01:00
issue-799.phpt Only return "name" as is if it's a string 2017-03-14 10:28:03 +01:00
issue-805.phpt Fix wrong behavior when using templates 2018-07-02 07:57:21 +02:00
issue-1033.phpt Fix wrong behavior with nested exceptions 2018-06-29 00:50:27 +01:00
issue_85_find_messages_should_not_trigger_catchable_fatal_error.phpt Remove "NestedValidationExceptionInterface" 2015-10-23 09:00:18 -02:00
keys_as_validator_names.phpt Remove "NestedValidationExceptionInterface" 2015-10-23 09:00:18 -02:00
not_should_work_by_builder.phpt Rename rule "Int" to "IntVal" 2015-10-07 11:46:57 -03:00
not_with_recursion.phpt Remove "NestedValidationExceptionInterface" 2015-10-23 09:00:18 -02:00
not_without_recursion.phpt Remove "ValidationExceptionInterface" 2015-10-23 09:00:31 -02:00
set_template_with_multiple_validators_should_use_template_as_full_message.phpt Fix wrong behavior when using templates 2018-07-02 07:57:21 +02:00
set_template_with_multiple_validators_should_use_template_as_main_message.phpt Remove "NestedValidationExceptionInterface" 2015-10-23 09:00:18 -02:00
set_template_with_single_validator_should_use_template_as_main_message.phpt Set template for the only rule in the chain 2016-04-08 13:39:57 -03:00
should_not_overwrite_defined_names.phpt Fix wrong behaviour on AbstractRelated 2016-09-17 20:23:38 +02:00
translator-assert.phpt Remove "NestedValidationExceptionInterface" 2015-10-23 09:00:18 -02:00
translator-check.phpt Remove "ValidationExceptionInterface" 2015-10-23 09:00:31 -02:00