Skip to content

Commit

Permalink
Fixed errors manually. See issue zephir-lang/zephir#2016
Browse files Browse the repository at this point in the history
  • Loading branch information
ruudboon committed Nov 18, 2019
1 parent c313f0e commit 83faaee
Show file tree
Hide file tree
Showing 73 changed files with 73 additions and 73 deletions.
2 changes: 1 addition & 1 deletion src/Phalcon/Acl/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* Adapter for Phalcon\Acl adapters
*/
abstract class AbstractAdapter implements Phalcon\Acl\Adapter\AdapterInterface, \Phalcon\Events\EventsAwareInterface
abstract class AbstractAdapter implements \Phalcon\Acl\Adapter\AdapterInterface, \Phalcon\Events\EventsAwareInterface
{
/**
* Active access which the list is checking if some role can access it
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Acl/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* This class defines component entity and its description
*/
class Component implements Phalcon\Acl\ComponentInterface
class Component implements \Phalcon\Acl\ComponentInterface
{
/**
* Component description
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Acl/Role.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* This class defines role entity and its description
*/
class Role implements Phalcon\Acl\RoleInterface
class Role implements \Phalcon\Acl\RoleInterface
{
/**
* Role name
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Annotations/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* This is the base class for Phalcon\Annotations adapters
*/
abstract class AbstractAdapter implements Phalcon\Annotations\Adapter\AdapterInterface
abstract class AbstractAdapter implements \Phalcon\Annotations\Adapter\AdapterInterface
{
/**
* @var array
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Annotations/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Parses docblocks returning an array with the found annotations
*/
class Reader implements Phalcon\Annotations\ReaderInterface
class Reader implements \Phalcon\Annotations\ReaderInterface
{

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Assets/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $asset = new \Phalcon\Assets\Asset("js", "javascripts/jquery.js");
* ```
*/
class Asset implements Phalcon\Assets\AssetInterface
class Asset implements \Phalcon\Assets\AssetInterface
{
/**
* @var array | null
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Assets/Inline.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $inline = new \Phalcon\Assets\Inline("js", "alert('hello world');");
* ```
*/
class Inline implements Phalcon\Assets\AssetInterface
class Inline implements \Phalcon\Assets\AssetInterface
{
/**
* @var array | null
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Cache/Exception/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Exceptions thrown in Phalcon\Cache will use this class
*/
class Exception extends \Phalcon\Exception implements Psr\SimpleCache\CacheException
class Exception extends \Phalcon\Exception implements \Psr\SimpleCache\CacheException
{

}
2 changes: 1 addition & 1 deletion src/Phalcon/Cache/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Exceptions thrown in Phalcon\Cache will use this class
*/
class InvalidArgumentException extends \Phalcon\Exception implements Psr\SimpleCache\InvalidArgumentException
class InvalidArgumentException extends \Phalcon\Exception implements \Psr\SimpleCache\InvalidArgumentException
{

}
2 changes: 1 addition & 1 deletion src/Phalcon/Cli/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* $handle = $dispatcher->dispatch();
* ```
*/
class Dispatcher extends \Phalcon\Dispatcher\AbstractDispatcher implements Phalcon\Cli\DispatcherInterface
class Dispatcher extends \Phalcon\Dispatcher\AbstractDispatcher implements \Phalcon\Cli\DispatcherInterface
{
/**
* @var string
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Cli/Router/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* This class represents every route added to the router
*/
class Route implements Phalcon\Cli\Router\RouteInterface
class Route implements \Phalcon\Cli\Router\RouteInterface
{

const DEFAULT_DELIMITER = ' ';
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Cli/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* }
* ```
*/
class Task extends Injectable implements Phalcon\Cli\TaskInterface, \Phalcon\Events\EventsAwareInterface
class Task extends Injectable implements \Phalcon\Cli\TaskInterface, \Phalcon\Events\EventsAwareInterface
{

protected $eventsManager;
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Db/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* Base class for Phalcon\Db adapters
*/
abstract class AbstractAdapter implements Phalcon\Db\Adapter\AdapterInterface, \Phalcon\Events\EventsAwareInterface
abstract class AbstractAdapter implements \Phalcon\Db\Adapter\AdapterInterface, \Phalcon\Events\EventsAwareInterface
{
/**
* Connection ID
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Db/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* $connection->addColumn("robots", null, $column);
* ```
*/
class Column implements Phalcon\Db\ColumnInterface
class Column implements \Phalcon\Db\ColumnInterface
{
/**
* Bind Type Blob
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Db/Dialect.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* This is the base class to each database dialect. This implements
* common methods to transform intermediate code into its RDBMS related syntax
*/
abstract class Dialect implements Phalcon\Db\DialectInterface
abstract class Dialect implements \Phalcon\Db\DialectInterface
{

protected $escapeChar;
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Db/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* $connection->addIndex("robots", null, $index_primary);
* ```
*/
class Index implements Phalcon\Db\IndexInterface
class Index implements \Phalcon\Db\IndexInterface
{
/**
* Index columns
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Db/Reference.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* );
* ```
*/
class Reference implements Phalcon\Db\ReferenceInterface
class Reference implements \Phalcon\Db\ReferenceInterface
{
/**
* Local reference columns
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Di/AbstractInjectionAware.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* This abstract class offers common access to the DI in a class
*/
abstract class AbstractInjectionAware implements Phalcon\Di\InjectionAwareInterface
abstract class AbstractInjectionAware implements \Phalcon\Di\InjectionAwareInterface
{
/**
* Dependency Injector
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Di/Injectable.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
* @property \Phalcon\Session\Bag|\Phalcon\Session\BagInterface $persistent
* @property \Phalcon\Mvc\View|\Phalcon\Mvc\ViewInterface $view
*/
abstract class Injectable implements Phalcon\Di\InjectionAwareInterface
abstract class Injectable implements \Phalcon\Di\InjectionAwareInterface
{
/**
* Dependency Injector
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Di/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* $request = service->resolve();
* ```
*/
class Service implements Phalcon\Di\ServiceInterface
class Service implements \Phalcon\Di\ServiceInterface
{

protected $definition;
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Dispatcher/AbstractDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* This class can't be instantiated directly, you can use it to create your own
* dispatchers.
*/
abstract class AbstractDispatcher extends AbstractInjectionAware implements Phalcon\Dispatcher\DispatcherInterface, \Phalcon\Events\EventsAwareInterface
abstract class AbstractDispatcher extends AbstractInjectionAware implements \Phalcon\Dispatcher\DispatcherInterface, \Phalcon\Events\EventsAwareInterface
{

protected $activeHandler;
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Domain/Payload/Payload.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Holds the payload
*/
class Payload implements Phalcon\Domain\Payload\PayloadInterface
class Payload implements \Phalcon\Domain\Payload\PayloadInterface
{
/**
* Extra information
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Domain/Payload/PayloadInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* This interface is used for consumers
*/
interface PayloadInterface extends Phalcon\Domain\Payload\ReadableInterface, Phalcon\Domain\Payload\WriteableInterface
interface PayloadInterface extends \Phalcon\Domain\Payload\ReadableInterface, \Phalcon\Domain\Payload\WriteableInterface
{

}
2 changes: 1 addition & 1 deletion src/Phalcon/Events/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* }
* ```
*/
class Event implements Phalcon\Events\EventInterface
class Event implements \Phalcon\Events\EventInterface
{
/**
* Is event cancelable?
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Events/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* can create hooks or plugins that will offer monitoring of data, manipulation,
* conditional execution and much more.
*/
class Manager implements Phalcon\Events\ManagerInterface
class Manager implements \Phalcon\Events\ManagerInterface
{

const DEFAULT_PRIORITY = 100;
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* All framework exceptions should use or extend this exception
*/
class Exception extends \Exception implements Throwable
class Exception extends \Exception implements \Throwable
{

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Firewall/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* Adapter for Phalcon\Firewall adapters
*/
abstract class AbstractAdapter implements Phalcon\Firewall\Adapter\AdapterInterface, \Phalcon\Events\EventsAwareInterface
abstract class AbstractAdapter implements \Phalcon\Firewall\Adapter\AdapterInterface, \Phalcon\Events\EventsAwareInterface
{
/**
* Storing active identity object implementing Phalcon/Acl/RoleAware
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Flash/AbstractFlash.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* $flash->error("Cannot open the file");
* ```
*/
abstract class AbstractFlash extends AbstractInjectionAware implements Phalcon\Flash\FlashInterface
abstract class AbstractFlash extends AbstractInjectionAware implements \Phalcon\Flash\FlashInterface
{
/**
* @var bool
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Forms/Element/AbstractElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* This is a base class for form elements
*/
abstract class AbstractElement implements Phalcon\Forms\Element\ElementInterface
abstract class AbstractElement implements \Phalcon\Forms\Element\ElementInterface
{

protected $attributes;
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Html/Link/Serializer/Header.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* Class Phalcon\Http\Link\Serializer\Header
*/
class Header implements Phalcon\Html\Link\Serializer\SerializerInterface
class Header implements \Phalcon\Html\Link\Serializer\SerializerInterface
{

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Http/Cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* Provide OO wrappers to manage a HTTP cookie.
*/
class Cookie extends AbstractInjectionAware implements Phalcon\Http\CookieInterface
class Cookie extends AbstractInjectionAware implements \Phalcon\Http\CookieInterface
{

protected $domain;
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* $request->getLanguages();
* ```
*/
class Request extends AbstractInjectionAware implements Phalcon\Http\RequestInterface
class Request extends AbstractInjectionAware implements \Phalcon\Http\RequestInterface
{

private $filterService;
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Http/Request/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* }
* ```
*/
class File implements Phalcon\Http\Request\FileInterface
class File implements \Phalcon\Http\Request\FileInterface
{
/**
* @var string|null
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Http/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* $response->send();
* ```
*/
class Response implements Phalcon\Http\ResponseInterface, \Phalcon\Di\InjectionAwareInterface, \Phalcon\Events\EventsAwareInterface
class Response implements \Phalcon\Http\ResponseInterface, \Phalcon\Di\InjectionAwareInterface, \Phalcon\Events\EventsAwareInterface
{

protected $container;
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Http/Response/Cookies.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
* );
* ```
*/
class Cookies extends AbstractInjectionAware implements Phalcon\Http\Response\CookiesInterface
class Cookies extends AbstractInjectionAware implements \Phalcon\Http\Response\CookiesInterface
{

protected $cookies = array();
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Http/Response/Headers.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* This class is a bag to manage the response headers
*/
class Headers implements Phalcon\Http\Response\HeadersInterface
class Headers implements \Phalcon\Http\Response\HeadersInterface
{

protected $headers = array();
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Image/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* All image adapters must use this class
*/
abstract class AbstractAdapter implements Phalcon\Image\Adapter\AdapterInterface
abstract class AbstractAdapter implements \Phalcon\Image\Adapter\AdapterInterface
{

static protected $checked = false;
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Logger/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
abstract class AbstractAdapter implements Phalcon\Logger\Adapter\AdapterInterface
abstract class AbstractAdapter implements \Phalcon\Logger\Adapter\AdapterInterface
{
/**
* Name of the default formatter class
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Logger/Formatter/AbstractFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
abstract class AbstractFormatter implements Phalcon\Logger\Formatter\FormatterInterface
abstract class AbstractFormatter implements \Phalcon\Logger\Formatter\FormatterInterface
{

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Messages/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* Stores a message from various components
*/
class Message implements Phalcon\Messages\MessageInterface, \JsonSerializable
class Message implements \Phalcon\Messages\MessageInterface, \JsonSerializable
{
/**
* @var int
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Mvc/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
* }
* ```
*/
abstract class Controller extends Injectable implements Phalcon\Mvc\ControllerInterface
abstract class Controller extends Injectable implements \Phalcon\Mvc\ControllerInterface
{

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Mvc/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* $controller = $dispatcher->dispatch();
* ```
*/
class Dispatcher extends \Phalcon\Dispatcher\AbstractDispatcher implements Phalcon\Mvc\DispatcherInterface
class Dispatcher extends \Phalcon\Dispatcher\AbstractDispatcher implements \Phalcon\Mvc\DispatcherInterface
{

protected $defaultAction = 'index';
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Mvc/Micro/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* $app->mount($collection);
* ```
*/
class Collection implements Phalcon\Mvc\Micro\CollectionInterface
class Collection implements \Phalcon\Mvc\Micro\CollectionInterface
{

protected $handler;
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/Mvc/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
* }
* ```
*/
abstract class Model extends AbstractInjectionAware implements Phalcon\Mvc\EntityInterface, \Phalcon\Mvc\ModelInterface, \Phalcon\Mvc\Model\ResultInterface, \Serializable, \JsonSerializable
abstract class Model extends AbstractInjectionAware implements \Phalcon\Mvc\EntityInterface, \Phalcon\Mvc\ModelInterface, \Phalcon\Mvc\Model\ResultInterface, \Serializable, \JsonSerializable
{

const DIRTY_STATE_DETACHED = 2;
Expand Down
Loading

0 comments on commit 83faaee

Please sign in to comment.