mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-25 23:39:23 -05:00
65a626f940
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 |
||
---|---|---|
.. | ||
Data | ||
Persistence | ||
Bootstrap.php | ||
ConfigurationTest.php | ||
ControllerTest.php | ||
ControllerWithDbTest.php | ||
ControllerWithGcsTest.php | ||
FilterTest.php | ||
FormatV2Test.php | ||
I18nTest.php | ||
JsonApiTest.php | ||
MigrateTest.php | ||
ModelTest.php | ||
phpunit.xml | ||
RequestTest.php | ||
ViewTest.php | ||
Vizhash16x16Test.php | ||
YourlsProxyTest.php |