1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-31 11:39:37 +02:00

28 Commits

Author SHA1 Message Date
Marc Alexander
ce08da5165
[ticket/16748] Enable code sniffing for static placement and adjust code
PHPBB3-16748
2021-04-03 23:12:04 +02:00
Marc Alexander
b46e242013
Merge branch 'ticket/15392' into ticket/15392-master 2021-03-04 17:04:17 +01:00
DinHere
8c9d26db1f
[ticket/15392] Changed dirname(__FILE__) to __DIR__
Changed dirname(__FILE__) to __DIR__ everywhere

PHPBB3-15392
2021-03-03 22:24:10 +01:00
rxu
fff200b1d8
[ticket/16549] Rename class phpbb_lint_test rather than the test file
PHPBB3-16549
2020-10-18 11:26:44 +07:00
rxu
36bce1158f
[ticket/16549] Rename class phpbb_lint_test rather than the test file
PHPBB3-16549
2020-10-18 11:25:52 +07:00
rxu
2b6af5c334
[ticket/16549] rename lint_test.php
As of PHPUnit 9.1, test filename should match test class name.

PHPBB3-16549
2020-10-18 10:38:34 +07:00
rxu
3d87d61dae
[ticket/16549] Add void return type of template methods
PHPBB3-16549
2020-10-18 10:38:32 +07:00
rxu
7323e4467b
[ticket/16549] rename lint_test.php
As of PHPUnit 9.1, test filename should match test class name.

PHPBB3-16549
2020-10-18 10:36:41 +07:00
rxu
fb62d22013
[ticket/16549] Add void return type of template methods
PHPBB3-16549
2020-10-18 10:36:39 +07:00
rubencm
774c609c4a [ticket/16345] Small improvements
PHPBB3-16346
2020-08-14 08:29:06 +00:00
Marc Alexander
978d883abb
[ticket/14948] Remove checks for unsupported PHP versions
PHPBB3-14948
2019-05-09 21:58:29 +02:00
Derk
8bbf591cdb
Merge pull request #5491 from marc1706/ticket/14948
[ticket/14948] Update to PHP 7.1+ and Twig 2.x
2019-01-02 23:34:52 +01:00
Marc Alexander
5a0e426b38
[ticket/14948] Remove checks for unsupported PHP versions
PHPBB3-14948
2019-01-02 20:34:45 +01:00
Marc Alexander
14f9917db6
[ticket/15919] Don't run lint test against node_modules
Also, make sure to correctly handle opendir returning false instead of
the stream handle.

PHPBB3-15919
2018-12-23 14:35:58 +01:00
Andreas Fischer
b5fed65fe3 Merge branch '3.0.x' into 3.1.x
* 3.0.x:
  [ticket/13875] Ignore cache, ext, and store folder in lint test

Conflicts:
	tests/lint_test.php
2015-05-29 22:46:28 +02:00
Marc Alexander
ba205a6bce [ticket/13875] Ignore cache, ext, and store folder in lint test
PHPBB3-13875
2015-05-28 13:35:32 +02:00
Joas Schilling
923fdb0aa0 [ticket/13809] Test each file individually
PHPBB3-13809
2015-05-03 20:08:02 +02:00
Yuriy Rusko
a759704b39 [ticket/12594] Remove @package tags and update file headers
PHPBB3-12594
2014-05-27 20:51:13 +02:00
Nathan Guse
90f3cc48e5 Merge remote-tracking branch 'remotes/bantu/ticket/12046' into develop-olympus
* remotes/bantu/ticket/12046:
  [ticket/12046] Use PHP_BINARY environment variable in PHP lint test.
2014-01-17 20:50:04 -06:00
Andreas Fischer
981df153d2 [ticket/11699] Also exclude the phpBB/cache directory.
PHPBB3-11699
2013-11-29 14:02:50 +01:00
Andreas Fischer
0834a749e7 [ticket/11699] Properly exclude the .git directory. Namely missing dot prefix.
PHPBB3-11699
2013-11-29 14:00:55 +01:00
Andreas Fischer
4171ef9ed7 [ticket/12046] Use PHP_BINARY environment variable in PHP lint test.
PHPBB3-12046
2013-11-29 13:53:11 +01:00
Andreas Fischer
97b1d70a37 [ticket/11699] Exclude build/new_version and build/old_versions from lint.
PHPBB3-11699
2013-11-29 10:50:38 +01:00
Oleg Pudeyev
fb261e19ff [ticket/10716] Collect standard error from executed php process.
php executes everything via a shell. The standard error of this
top level shell is not captured by exec/shell_exec/popen/etc.
and there is no way to capture it. proc_open might work but it
is a nightmare to use and without multiplexing reads from
standard error and standard output it can deadlock.

Thus the solution in this commit. Put the command into a subshell
and redirect standard error to standard output for the subshell.

PHPBB3-10716
2012-12-04 18:52:27 -05:00
Oleg Pudeyev
8ea52b5619 [ticket/10716] Skip test if php is not in PATH.
PHPBB3-10716
2012-12-04 17:43:36 -05:00
Oleg Pudeyev
8897efe087 [ticket/10716] Exclude our dependencies from linting.
PHPBB3-10716
2012-12-04 16:42:58 -05:00
Oleg Pudeyev
4133fae99e [ticket/10716] Only lint on php 5.3+.
PHPBB3-10716
2012-12-04 13:58:14 -05:00
Oleg Pudeyev
af2887f3a7 [ticket/10716] php parse all php files as part of the test suite.
PHPBB3-10716
2012-12-04 03:34:51 -05:00