mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:16:18 +02:00
Merge branch '3.2.x'
This commit is contained in:
@ -67,6 +67,12 @@ class phpbb_lint_test extends phpbb_test_case
|
|||||||
{
|
{
|
||||||
$files = array();
|
$files = array();
|
||||||
$dh = opendir($root);
|
$dh = opendir($root);
|
||||||
|
|
||||||
|
if ($dh === false)
|
||||||
|
{
|
||||||
|
return $files;
|
||||||
|
}
|
||||||
|
|
||||||
while (($filename = readdir($dh)) !== false)
|
while (($filename = readdir($dh)) !== false)
|
||||||
{
|
{
|
||||||
if ($filename == '.' || $filename == '..')
|
if ($filename == '.' || $filename == '..')
|
||||||
@ -89,6 +95,7 @@ class phpbb_lint_test extends phpbb_test_case
|
|||||||
// PHP Fatal error: Cannot declare class Container because the name is already in use in /var/www/projects/phpbb3/tests/../phpBB/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services1-1.php on line 20
|
// PHP Fatal error: Cannot declare class Container because the name is already in use in /var/www/projects/phpbb3/tests/../phpBB/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services1-1.php on line 20
|
||||||
// https://gist.github.com/e003913ffd493da63cbc
|
// https://gist.github.com/e003913ffd493da63cbc
|
||||||
dirname(__FILE__) . '/../phpBB/vendor',
|
dirname(__FILE__) . '/../phpBB/vendor',
|
||||||
|
dirname(__FILE__) . '/../node_modules',
|
||||||
)))
|
)))
|
||||||
{
|
{
|
||||||
$files = array_merge($files, $this->check($path));
|
$files = array_merge($files, $this->check($path));
|
||||||
|
Reference in New Issue
Block a user