Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix/invalid_config_call Fixed the way Config class was called #1540

Open
wants to merge 1 commit into
base: 5.0.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Builder/Component/AbstractComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Phalcon\DevTools\Builder\Component;

use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\DevTools\Builder\Exception\BuilderException;
use Phalcon\DevTools\Builder\Path;
use Phalcon\DevTools\Script\Color;
Expand Down
2 changes: 1 addition & 1 deletion src/Builder/Path.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Phalcon\DevTools\Builder;

use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\Config\Adapter\Ini as ConfigIni;
use Phalcon\DevTools\Builder\Exception\BuilderException;
use RecursiveDirectoryIterator;
Expand Down
2 changes: 1 addition & 1 deletion src/Builder/Project/ProjectAware.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Phalcon\DevTools\Builder\Project;

use Phalcon\Config;
use Phalcon\Config\Config;

/**
* @property Config $options
Expand Down
2 changes: 1 addition & 1 deletion src/Builder/Project/ProjectBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Phalcon\DevTools\Builder\Project;

use Phalcon\Config;
use Phalcon\Config\Config;

/**
* Abstract Builder to create application skeletons
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Builtin/AllModels.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Phalcon\DevTools\Commands\Builtin;

use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\Config\Adapter\Ini as ConfigIni;
use Phalcon\DevTools\Builder\Component\AllModels as AllModelsBuilder;
use Phalcon\DevTools\Builder\Exception\BuilderException;
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Builtin/Migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Phalcon\DevTools\Commands\Builtin;

use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\DevTools\Commands\Command;
use Phalcon\DevTools\Commands\CommandsException;
use Phalcon\DevTools\Script\Color;
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Builtin/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Phalcon\DevTools\Commands\Builtin;

use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\Config\Adapter\Ini as ConfigIni;
use Phalcon\DevTools\Builder\Component\Model as ModelBuilder;
use Phalcon\DevTools\Builder\Exception\BuilderException;
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Builtin/Scaffold.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Phalcon\DevTools\Commands\Builtin;

use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\DevTools\Builder\Component\Scaffold as ScaffoldBuilder;
use Phalcon\DevTools\Builder\Exception\BuilderException;
use Phalcon\DevTools\Commands\Command;
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Phalcon\DevTools\Commands;

use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\Config\Adapter\Ini as IniConfig;
use Phalcon\Config\Adapter\Json as JsonConfig;
use Phalcon\Config\Adapter\Yaml as YamlConfig;
Expand Down
2 changes: 1 addition & 1 deletion src/Mvc/Controller/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Phalcon\Assets\Filters\Cssmin;
use Phalcon\Assets\Filters\Jsmin;
use Phalcon\Assets\Manager;
use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\DevTools\Resources\AssetsResource;
use Phalcon\DevTools\Utils\DbUtils;
use Phalcon\DevTools\Utils\FsUtils;
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Phalcon\DevTools\Providers;

use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\DevTools\Scanners\Config as ConfigScanner;
use Phalcon\Di\DiInterface;
use Phalcon\Di\ServiceProviderInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/RegistryProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Phalcon\DevTools\Providers;

use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\DevTools\Bootstrap;
use Phalcon\DevTools\Utils\FsUtils;
use Phalcon\Di\DiInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/UrlProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Phalcon\DevTools\Providers;

use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\Di\DiInterface;
use Phalcon\Di\ServiceProviderInterface;
use Phalcon\Url as UrlResolver;
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/VoltProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Phalcon\DevTools\Providers;

use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\DevTools\Mvc\View\Engine\Volt\Extension\Php as PhpExt;
use Phalcon\Di\DiInterface;
use Phalcon\Di\ServiceProviderInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace Phalcon\DevTools;

use InvalidArgumentException;
use Phalcon\Config;
use Phalcon\Config\Config;

class Utils
{
Expand Down
2 changes: 1 addition & 1 deletion src/Utils/DbUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Phalcon\DevTools\Utils;

use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\Di\Injectable;

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/_data/console/app/mysql/config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\Logger;

return new Config([
Expand Down
2 changes: 1 addition & 1 deletion tests/_data/console/app/postgresql/config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use Phalcon\Config;
use Phalcon\Config\Config;
use Phalcon\Logger;

return new Config([
Expand Down