Skip to content

Commit 560235b

Browse files
author
Anton
authored
Merge pull request #310 from AntonShevchuk/master
Renamed migrations
2 parents 3323b45 + d46fc1d commit 560235b

9 files changed

Lines changed: 7 additions & 20 deletions

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ php:
66
- master
77
matrix:
88
allow_failures:
9-
- php: 7.2
109
- php: master
1110
before_install:
1211
- nvm install stable

application/configs/testing/php.php

Lines changed: 0 additions & 12 deletions
This file was deleted.

data/migrations/20170316120432_module_users.php renamed to data/migrations/20170316120432_users.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use Phinx\Migration\AbstractMigration;
44

5-
class ModuleUsers extends AbstractMigration
5+
class Users extends AbstractMigration
66
{
77
/**
88
* Change Method.

data/migrations/20170316120433_default_users.php renamed to data/migrations/20170316120433_users_data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use Phinx\Migration\AbstractMigration;
44

5-
class DefaultUsers extends AbstractMigration
5+
class UsersData extends AbstractMigration
66
{
77
/**
88
* Migrate Up.

data/migrations/20170316122256_module_acl.php renamed to data/migrations/20170316122256_acl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use Phinx\Migration\AbstractMigration;
44

5-
class ModuleAcl extends AbstractMigration
5+
class Acl extends AbstractMigration
66
{
77
/**
88
* Change Method.

data/migrations/20170316122257_default_acl.php renamed to data/migrations/20170316122257_acl_data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use Phinx\Migration\AbstractMigration;
44

5-
class DefaultAcl extends AbstractMigration
5+
class AclData extends AbstractMigration
66
{
77
/**
88
* Migrate Up.

data/migrations/20170316134406_module_pages.php renamed to data/migrations/20170316134406_pages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use Phinx\Migration\AbstractMigration;
44

5-
class ModulePages extends AbstractMigration
5+
class Pages extends AbstractMigration
66
{
77
/**
88
* Change Method.

data/migrations/20170316134407_default_pages.php renamed to data/migrations/20170316134407_pages_data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use Phinx\Migration\AbstractMigration;
44

5-
class DefaultPages extends AbstractMigration
5+
class PagesData extends AbstractMigration
66
{
77
/**
88
* Migrate Up.

tests/src/ControllerTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ protected static function assertController($controller)
122122
*/
123123
protected static function assertRedirect($module, $controller, $params = array(), $code = StatusCode::FOUND)
124124
{
125-
$url = Router::getUrl($module, $controller, $params);
125+
$url = Router::getFullUrl($module, $controller, $params);
126126

127127
/**
128128
* @var RedirectException $exception

0 commit comments

Comments
 (0)