paste.chapril.org-privatebin/tst
El RIDO 65a626f940 inputs sanitation & remove some obsolete version checks
using filter_vars instead of filter_input, because our unit tests depend on manipulating global arrays, which are not used by filter_input - we would have to mock the function in the unit testing, it therefore is cleaner to use the same code paths in testing as in production

some inputs in I18n and TrafficLimiter remain unfiltered, since we already validate them by other means (IP lib and/or preg_match)

our minimum PHP version is 7.3, so we can drop the two < 5.6 fallback checks
2024-03-23 11:27:25 +01:00
..
Data Merge branch 'master' into php8 2022-11-17 06:04:12 +01:00
Persistence Merge branch 'master' into php8 2022-11-17 06:04:12 +01:00
Bootstrap.php inputs sanitation & remove some obsolete version checks 2024-03-23 11:27:25 +01:00
ConfigurationTest.php Merge branch 'master' into php8 2021-10-07 22:17:11 +02:00
ControllerTest.php Merge branch 'master' into php8 2022-12-20 18:28:19 +01:00
ControllerWithDbTest.php Merge branch 'master' into php8 2022-11-17 06:04:12 +01:00
ControllerWithGcsTest.php Merge branch 'master' into php8 2022-11-17 06:04:12 +01:00
FilterTest.php change tests for phpunit 9 support, breaking support with phpunit 5.6 2020-10-11 10:31:24 +02:00
FormatV2Test.php updating tests by dropping PHPunit 4.6 support 2020-10-10 12:08:58 +02:00
I18nTest.php prevent regression around presence or absence of en.json 2023-12-18 21:49:21 +01:00
JsonApiTest.php Allow for shortenviayourls in query params 2024-03-16 16:55:49 -04:00
MigrateTest.php Merge branch 'master' into php8 2022-11-17 06:04:12 +01:00
ModelTest.php Merge branch 'master' into php8 2022-11-17 06:04:12 +01:00
phpunit.xml Merge branch 'master' into php8 2022-11-17 06:04:12 +01:00
RequestTest.php Merge branch 'master' into php8 2022-12-20 18:28:19 +01:00
ViewTest.php test: default value for email configuration item;nit necessary to close php comment 2023-09-10 09:58:04 +02:00
Vizhash16x16Test.php Merge branch 'master' into php8 2022-11-17 06:04:12 +01:00
YourlsProxyTest.php Merge remote-tracking branch 'origin/master' into php8 2022-11-03 18:55:30 +00:00