Skip to content

Commit 5ddab56

Browse files
authored
Merge pull request #67 from davidyell/remove-test-bootstrap-deprecations
Remove the use of deprecated dispatcher factory
2 parents 4ab312a + 591c815 commit 5ddab56

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/Schema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public function baseColumnType($column)
272272
return null;
273273
}
274274

275-
if (Type::map($type)) {
275+
if (Type::getMap($type)) {
276276
$type = Type::build($type)->getBaseType();
277277
}
278278

tests/bootstrap.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Cake\Core\Plugin;
1616
use Cake\Datasource\ConnectionManager;
1717
use Cake\Log\Log;
18-
use Cake\Routing\DispatcherFactory;
1918

2019
require_once 'vendor/autoload.php';
2120

@@ -115,7 +114,4 @@
115114

116115
Plugin::load('DebugKit', ['path' => ROOT, 'bootstrap' => true]);
117116

118-
DispatcherFactory::add('Routing');
119-
DispatcherFactory::add('ControllerFactory');
120-
121117
loadPHPUnitAliases();

0 commit comments

Comments
 (0)