summaryrefslogtreecommitdiff
path: root/src/tests (follow)
AgeCommit message (Collapse)Author
2026-03-29Add a test for validate idempotence of (un)serializeHEADmasterjvoisin
2026-03-25Add a test for Dateinterval::__constructjvoisin
As it has been privately reported that the rule might not be working, so better safe than sorry. Moreover, we didn't have tests for `__construct`
2026-02-22Log session ID lengths on failureChristian Göttsche
2026-02-22Generalize disabled_functions_regexp_multiple.phpt expected outputChristian Göttsche
On uncommon architectures, like s390x, `-2` instead of `-1` might be printed.
2026-02-15tests: add several skip reasonsChristian Göttsche
Co-authored-by: Julien "jvoisin" Voisin <julien.voisin@dustri.org>
2025-10-24feat(log): add the possibility to log to a filelog2filejvoisin
2025-10-14Add a testjvoisin
2025-09-01Add support for PHP8.5jvoisin
2024-09-06Skip a test on PHP8.4jvoisin
2024-07-09Fix compilation for PHP84+jvoisin
PHP changed some includes for PHP8.4. This commit also adds php8.4-rc to the CI This fixes #497 and #496 Reported-by: rainerjung
2024-06-09Use more generic expected test result formatChristian Göttsche
2024-06-09Add option to specify the allowed "php" wrapper typesChristian Göttsche
In addition of the current possibility to filter wrappers by their protocol name, also add the option to filter the "php" wrapper by the requested kind. Especially the 'filter' backend can be disabled that way.
2024-06-06Fix misc typosChristian Göttsche
2024-01-15Add a test for issue #479jvoisin
2024-01-09Add some comments to a rulejvoisin
This should help diagnose https://github.com/jvoisin/snuffleupagus/issues/477
2023-12-13print key and value on INI violationsChristian Göttsche
On violations of INI settings include the key and if appropriate the value in the log message. This helps to locate offenders and fine tune the configuration itself.
2023-11-26Fix typosChristian Göttsche
2023-09-18Get rid of some travis-ci leftoversjvoisin
2023-08-02Update broken_conf_no_file_specified.phptPete Cooper
typo
2023-08-02Update loading.phptPete Cooper
typo
2023-04-29Improve how the parser is generatedjvoisin
- use long variant of options for re2c in its makefile - use `define` instead of magic numbers - add some consts - trailing `;` are now mandatory for conditions - NULL bytes are no longer allowed in configuration file - the parser shouldn't crash in the absence of trailing new line at the end of its configuration file
2023-02-02Url encode functions arguments when logging themjvoisin
2023-01-31Add sp.log_max_lenjvoisin
2023-01-04Fix the CI for PHP8.2jvoisin
2022-12-11Add support for PHP8.2jvoisin
2022-12-10Fix a minor typo in the testsuitejvoisin
2022-12-09Portability improvements for PHP8.2jvoisin
2022-12-08Add unserialize_noclassjvoisin
2022-08-21Fix sloppy comparisonjvoisin
2022-07-12Refactoring of the previous commitjvoisin
2022-07-12Disable extended checks for readonly_exec by defaultjvoisin
2022-07-12extended checks for readonly_exec, enabled by defaultBen Fuhrmannek
introduced config options: readonly_exec.extended_checks() or xchecks() readonly_exec.no_extended_checks() or noxchecks()
2022-07-12allow file:// prefix in include() wich readonly_exec modeBen Fuhrmannek
2022-07-12Log `eval` content when matching on its parameterjvoisin
2022-06-27Dump the eval'ed codejvoisin
2022-06-13Fix the CI on PHP8.0 and PHP8.1jvoisin
2022-05-16Don't run disabled_functions_param_str_representation_php8 on php7jvoisin
2022-05-02Add more tests for php8jvoisin
2022-04-17Fix dom-related test on Debian 11 on PHP7.4jvoisin
2022-03-20Fix compilation on PHP<7.2jvoisin
2022-01-12removed redundant tests + minor fixesBen Fuhrmannek
2022-01-11fixed incorrect test descriptionBen Fuhrmannek
2022-01-11fixed test caseBen Fuhrmannek
2022-01-11handle opcache test case failureBen Fuhrmannek
2022-01-11skip test if pcntl is missingBen Fuhrmannek
2022-01-07proper test case cleanupBen Fuhrmannek
2022-01-05fix test case for php7Ben Fuhrmannek
2021-12-20removed upload script x-bit check at load time, thus allowing root-user to ↵Ben Fuhrmannek
execute test cases
2021-12-20check compatibility with linuxBen Fuhrmannek
2021-12-14test cases for testing edge cases, eval and cmd executionBen Fuhrmannek