Fixed namespaces (PHPCI -> PHPCensor)
This commit is contained in:
parent
60d74b0b44
commit
60a2b7282a
238 changed files with 1014 additions and 863 deletions
|
|
@ -18,7 +18,7 @@ if (!is_array($writeServers)) {
|
|||
|
||||
$conf = [
|
||||
'paths' => [
|
||||
'migrations' => 'src/PHPCI/Migrations',
|
||||
'migrations' => 'src/PHPCensor/Migrations',
|
||||
],
|
||||
'environments' => [
|
||||
'default_migration_table' => 'migration',
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
return function (PHPCI\Plugin\Util\Factory $factory) {
|
||||
return function (PHPCensor\Plugin\Util\Factory $factory) {
|
||||
$factory->registerResource(
|
||||
// This function will be called when the resource is needed.
|
||||
function() {
|
||||
|
|
@ -18,6 +18,6 @@ return function (PHPCI\Plugin\Util\Factory $factory) {
|
|||
"ResourceArray",
|
||||
|
||||
// The resource will only be given when the type hint is:
|
||||
PHPCI\Plugin\Util\Factory::TYPE_ARRAY
|
||||
PHPCensor\Plugin\Util\Factory::TYPE_ARRAY
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue