phpBB Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.
Find a file
Nils Adermann bbc3105466 [ticket/9701] Prevent notices from being hidden by template tests
The template tests disable NOTICEs for the duration of template execution since
the current version of the template engine does not generate sufficiently clean
code. The error level is reset aftwards, however that part is skipped when
trigger_error is called which is converted into a regular exception by PHPUnit
and passed down until caught. Such exceptions are now caught to reset the error
level, and then the exception is rethrown.

This uncovered another issue in the template tests which only passed because
NOTICEs were unintentionally disabled at this point. assign_display is also
required to operate without NOTICEs. The respective code has been added around
its callee as well. However no handling of exceptions takes place there. If
another test checking for errors in that function is ever added similar catch
logic will have to be added there.

PHPBB3-9701
2010-07-08 22:46:28 +02:00
build [feature/webpi] Validate inline with MSSQL password policy. 2010-04-15 23:00:27 +01:00
git-tools/hooks [git-tools] Use @ instead of : in sed command in pre-commit hook for wider compatibility. 2010-04-13 21:44:18 +01:00
phpBB Merge branch 'ticket/p/9570' into develop-olympus 2010-07-08 20:02:34 +02:00
tests [ticket/9701] Prevent notices from being hidden by template tests 2010-07-08 22:46:28 +02:00
.gitignore [develop-olympus] Basic gitignore file for cache files and backups. 2010-05-02 23:44:42 +02:00