1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 21:54:00 +02:00

[ticket/13733] Properly test setting validate_classes to false/true

PHPBB3-13733
This commit is contained in:
Marc Alexander
2016-01-19 23:32:07 +01:00
parent e954b0b82b
commit 0defce65c8
3 changed files with 76 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
<?php
namespace vendor2\foo\migrations;
class bar
{
}

View File

@@ -0,0 +1,54 @@
<?php
namespace vendor2\foo\migrations;
class foo implements \phpbb\db\migration\migration_interface
{
/**
* {@inheritdoc}
*/
static public function depends_on()
{
return array();
}
/**
* {@inheritdoc}
*/
public function effectively_installed()
{
return false;
}
/**
* {@inheritdoc}
*/
public function update_schema()
{
return array();
}
/**
* {@inheritdoc}
*/
public function revert_schema()
{
return array();
}
/**
* {@inheritdoc}
*/
public function update_data()
{
return array();
}
/**
* {@inheritdoc}
*/
public function revert_data()
{
return array();
}
}