Skip to content

Commit a295eb8

Browse files
committed
Bumbed stubs
1 parent ffda65e commit a295eb8

File tree

323 files changed

+1217
-2090
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

323 files changed

+1217
-2090
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ Autocomplete Phalcon v4 plugin for PhpStorm based on the [Phalcon/ide-stubs](htt
33

44
# Creating .jar
55
```bash
6-
zip -r phpstorm-phalcon-4-plugin-v4.0.0.jar *
6+
zip -r phpstorm-phalcon-4-plugin-v4.0.3.jar *
77
```

plugin/META-INF/plugin.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<idea-plugin version="2">
22
<id>io.ruudboon.phpstorm-phalcon-4-autocomplete</id>
33
<name>Phalcon 4 Autocomplete</name>
4-
<version>4.0.0</version>
4+
<version>4.0.3</version>
55
<vendor email="[email protected]" url="https://github.com/ruudboon/phpstorm-phalcon-4-autocomplete">Ruud Boon</vendor>
66

77
<description><![CDATA[
88
Provides autocomplete functionality for Phalcon 4.
99
]]></description>
1010

1111
<change-notes><![CDATA[
12-
<h3>4.0.0</h3>
12+
<h3>4.0.3</h3>
1313
<ul>
14-
<li>IDE Stubs for Phalcon 4.0.0</li>
14+
<li>IDE Stubs for Phalcon 4.0.3</li>
1515
</ul>
1616
]]>
1717
</change-notes>

plugin/src/Phalcon/Acl/Adapter/AbstractAdapter.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010
namespace Phalcon\Acl\Adapter;
1111

1212
use Phalcon\Events\ManagerInterface;
13-
use Phalcon\Events\EventsAwareInterface;
1413

1514
/**
1615
* Adapter for Phalcon\Acl adapters
1716
*/
18-
abstract class AbstractAdapter implements AdapterInterface, EventsAwareInterface
17+
abstract class AbstractAdapter implements \Phalcon\Acl\Adapter\AdapterInterface, \Phalcon\Events\EventsAwareInterface
1918
{
2019
/**
2120
* Active access which the list is checking if some role can access it
@@ -121,10 +120,10 @@ public function setDefaultAction(int $defaultAccess)
121120
/**
122121
* Sets the events manager
123122
*
124-
* @param ManagerInterface $eventsManager
123+
* @param \Phalcon\Events\ManagerInterface $eventsManager
125124
* @return void
126125
*/
127-
public function setEventsManager(ManagerInterface $eventsManager)
126+
public function setEventsManager(\Phalcon\Events\ManagerInterface $eventsManager)
128127
{
129128
}
130129
}

plugin/src/Phalcon/Acl/Adapter/AdapterInterface.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
*/
1010
namespace Phalcon\Acl\Adapter;
1111

12-
use Phalcon\Acl\ComponentInterface;
13-
use Phalcon\Acl\RoleInterface;
14-
1512
/**
1613
* Interface for Phalcon\Acl adapters
1714
*/
@@ -130,14 +127,14 @@ public function getNoArgumentsDefaultAction(): int;
130127
/**
131128
* Return an array with every role registered in the list
132129
*
133-
* @return array|RoleInterface[]
130+
* @return array|\Phalcon\Acl\RoleInterface[]
134131
*/
135132
public function getRoles(): array;
136133

137134
/**
138135
* Return an array with every component registered in the list
139136
*
140-
* @return array|ComponentInterface[]
137+
* @return array|\Phalcon\Acl\ComponentInterface[]
141138
*/
142139
public function getComponents(): array;
143140

plugin/src/Phalcon/Acl/Adapter/Memory.php

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@
1010
namespace Phalcon\Acl\Adapter;
1111

1212
use Phalcon\Acl\Enum;
13-
use Phalcon\Acl\Role;
14-
use Phalcon\Acl\RoleInterface;
15-
use Phalcon\Acl\Component;
16-
use Phalcon\Acl\Exception;
17-
use Phalcon\Events\Manager as EventsManager;
18-
use Phalcon\Acl\RoleAware;
19-
use Phalcon\Acl\ComponentAware;
20-
use Phalcon\Acl\ComponentInterface;
21-
use ReflectionFunction;
2213

2314
/**
2415
* Manages ACL lists in memory
@@ -83,7 +74,7 @@
8374
* }
8475
* ```
8576
*/
86-
class Memory extends AbstractAdapter
77+
class Memory extends \Phalcon\Acl\Adapter\AbstractAdapter
8778
{
8879
/**
8980
* Access
@@ -371,7 +362,7 @@ public function getNoArgumentsDefaultAction(): int
371362
/**
372363
* Return an array with every role registered in the list
373364
*
374-
* @return array|RoleInterface[]
365+
* @return array|\Phalcon\Acl\RoleInterface[]
375366
*/
376367
public function getRoles(): array
377368
{
@@ -380,7 +371,7 @@ public function getRoles(): array
380371
/**
381372
* Return an array with every component registered in the list
382373
*
383-
* @return array|ComponentInterface[]
374+
* @return array|\Phalcon\Acl\ComponentInterface[]
384375
*/
385376
public function getComponents(): array
386377
{

plugin/src/Phalcon/Acl/Component.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* This class defines component entity and its description
1414
*/
15-
class Component implements ComponentInterface
15+
class Component implements \Phalcon\Acl\ComponentInterface
1616
{
1717
/**
1818
* Component description

plugin/src/Phalcon/Acl/Role.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* This class defines role entity and its description
1414
*/
15-
class Role implements RoleInterface
15+
class Role implements \Phalcon\Acl\RoleInterface
1616
{
1717
/**
1818
* Role name

plugin/src/Phalcon/Annotations/Adapter/AbstractAdapter.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@
99
*/
1010
namespace Phalcon\Annotations\Adapter;
1111

12-
use Phalcon\Annotations\Reader;
13-
use Phalcon\Annotations\Exception;
1412
use Phalcon\Annotations\Collection;
15-
use Phalcon\Annotations\Reflection;
13+
use Phalcon\Annotations\Reader;
1614
use Phalcon\Annotations\ReaderInterface;
15+
use Phalcon\Annotations\Reflection;
1716

1817
/**
1918
* This is the base class for Phalcon\Annotations adapters
2019
*/
21-
abstract class AbstractAdapter implements AdapterInterface
20+
abstract class AbstractAdapter implements \Phalcon\Annotations\Adapter\AdapterInterface
2221
{
2322
/**
2423
* @var array
@@ -95,9 +94,9 @@ public function getReader(): ReaderInterface
9594
/**
9695
* Sets the annotations parser
9796
*
98-
* @param ReaderInterface $reader
97+
* @param \Phalcon\Annotations\ReaderInterface $reader
9998
*/
100-
public function setReader(ReaderInterface $reader)
99+
public function setReader(\Phalcon\Annotations\ReaderInterface $reader)
101100
{
102101
}
103102
}

plugin/src/Phalcon/Annotations/Adapter/AdapterInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
*/
1010
namespace Phalcon\Annotations\Adapter;
1111

12-
use Phalcon\Annotations\Reflection;
1312
use Phalcon\Annotations\Collection;
1413
use Phalcon\Annotations\ReaderInterface;
14+
use Phalcon\Annotations\Reflection;
1515

1616
/**
1717
* This interface must be implemented by adapters in Phalcon\Annotations
@@ -71,7 +71,7 @@ public function getReader(): ReaderInterface;
7171
/**
7272
* Sets the annotations parser
7373
*
74-
* @param ReaderInterface $reader
74+
* @param \Phalcon\Annotations\ReaderInterface $reader
7575
*/
76-
public function setReader(ReaderInterface $reader);
76+
public function setReader(\Phalcon\Annotations\ReaderInterface $reader);
7777
}

plugin/src/Phalcon/Annotations/Adapter/Apcu.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
*/
1010
namespace Phalcon\Annotations\Adapter;
1111

12-
use Phalcon\Annotations\Reflection;
13-
1412
/**
1513
* Stores the parsed annotations in APCu. This adapter is suitable for production
1614
*
@@ -20,7 +18,7 @@
2018
* $annotations = new Apcu();
2119
* ```
2220
*/
23-
class Apcu extends AbstractAdapter
21+
class Apcu extends \Phalcon\Annotations\Adapter\AbstractAdapter
2422
{
2523
/**
2624
* @var string
@@ -59,10 +57,10 @@ public function read(string $key)
5957
* Writes parsed annotations to APCu
6058
*
6159
* @param string $key
62-
* @param Reflection $data
60+
* @param \Phalcon\Annotations\Reflection $data
6361
* @return bool
6462
*/
65-
public function write(string $key, Reflection $data): bool
63+
public function write(string $key, \Phalcon\Annotations\Reflection $data): bool
6664
{
6765
}
6866
}

plugin/src/Phalcon/Annotations/Adapter/Memory.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@
99
*/
1010
namespace Phalcon\Annotations\Adapter;
1111

12-
use Phalcon\Annotations\Reflection;
13-
1412
/**
1513
* Stores the parsed annotations in memory. This adapter is the suitable
1614
* development/testing
1715
*/
18-
class Memory extends AbstractAdapter
16+
class Memory extends \Phalcon\Annotations\Adapter\AbstractAdapter
1917
{
2018
/**
2119
* @var mixed
@@ -37,10 +35,10 @@ public function read(string $key)
3735
* Writes parsed annotations to memory
3836
*
3937
* @param string $key
40-
* @param Reflection $data
38+
* @param \Phalcon\Annotations\Reflection $data
4139
* @return void
4240
*/
43-
public function write(string $key, Reflection $data)
41+
public function write(string $key, \Phalcon\Annotations\Reflection $data)
4442
{
4543
}
4644
}

plugin/src/Phalcon/Annotations/Adapter/Stream.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
*/
1010
namespace Phalcon\Annotations\Adapter;
1111

12-
use Phalcon\Annotations\Reflection;
13-
use Phalcon\Annotations\Exception;
14-
use RuntimeException;
15-
1612
/**
1713
* Stores the parsed annotations in files. This adapter is suitable for production
1814
*
@@ -26,7 +22,7 @@
2622
* );
2723
* ```
2824
*/
29-
class Stream extends AbstractAdapter
25+
class Stream extends \Phalcon\Annotations\Adapter\AbstractAdapter
3026
{
3127
/**
3228
* @var string
@@ -59,10 +55,10 @@ public function read(string $key)
5955
* Writes parsed annotations to files
6056
*
6157
* @param string $key
62-
* @param Reflection $data
58+
* @param \Phalcon\Annotations\Reflection $data
6359
* @return void
6460
*/
65-
public function write(string $key, Reflection $data)
61+
public function write(string $key, \Phalcon\Annotations\Reflection $data)
6662
{
6763
}
6864
}

plugin/src/Phalcon/Annotations/AnnotationsFactory.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
namespace Phalcon\Annotations;
1111

1212
use Phalcon\Annotations\Adapter\AdapterInterface;
13-
use Phalcon\Config;
1413
use Phalcon\Factory\AbstractFactory;
15-
use Phalcon\Helper\Arr;
1614

1715
/**
1816
* Factory to create annotations components
@@ -30,7 +28,7 @@ public function __construct(array $services = array())
3028
}
3129

3230
/**
33-
* @param array|Config $config = [
31+
* @param array|\Phalcon\Config $config = [
3432
* 'adapter' => 'apcu',
3533
* 'options' => [
3634
* 'prefix' => 'phalcon',
@@ -39,7 +37,7 @@ public function __construct(array $services = array())
3937
* ]
4038
* ]
4139
*
42-
* Factory to create an instace from a Config object
40+
* Factory to create an instance from a Config object
4341
* @return mixed
4442
*/
4543
public function load($config)

plugin/src/Phalcon/Annotations/Collection.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
*/
1010
namespace Phalcon\Annotations;
1111

12-
use Countable;
13-
use Iterator;
14-
1512
/**
1613
* Represents a collection of annotations. This class allows to traverse a group
1714
* of annotations easily
@@ -29,7 +26,7 @@
2926
* $annotation = $classAnnotations->get("Cacheable");
3027
* ```
3128
*/
32-
class Collection implements Iterator, Countable
29+
class Collection implements \Iterator, \Countable
3330
{
3431
/**
3532
* @var array

plugin/src/Phalcon/Annotations/Reader.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@
99
*/
1010
namespace Phalcon\Annotations;
1111

12-
use ReflectionClass;
13-
1412
/**
1513
* Parses docblocks returning an array with the found annotations
1614
*/
17-
class Reader implements ReaderInterface
15+
class Reader implements \Phalcon\Annotations\ReaderInterface
1816
{
1917

2018
/**

plugin/src/Phalcon/Application/AbstractApplication.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111

1212
use Phalcon\Di\DiInterface;
1313
use Phalcon\Di\Injectable;
14-
use Phalcon\Events\EventsAwareInterface;
1514
use Phalcon\Events\ManagerInterface;
1615

1716
/**
1817
* Base class for Phalcon\Cli\Console and Phalcon\Mvc\Application.
1918
*/
20-
abstract class AbstractApplication extends Injectable implements EventsAwareInterface
19+
abstract class AbstractApplication extends Injectable implements \Phalcon\Events\EventsAwareInterface
2120
{
2221
/**
2322
* @var DiInterface
@@ -43,9 +42,9 @@ abstract class AbstractApplication extends Injectable implements EventsAwareInte
4342
/**
4443
* Phalcon\AbstractApplication constructor
4544
*
46-
* @param DiInterface $container
45+
* @param \Phalcon\Di\DiInterface $container
4746
*/
48-
public function __construct(DiInterface $container = null)
47+
public function __construct(\Phalcon\Di\DiInterface $container = null)
4948
{
5049
}
5150

@@ -125,10 +124,10 @@ public function setDefaultModule(string $defaultModule): AbstractApplication
125124
/**
126125
* Sets the events manager
127126
*
128-
* @param ManagerInterface $eventsManager
127+
* @param \Phalcon\Events\ManagerInterface $eventsManager
129128
* @return void
130129
*/
131-
public function setEventsManager(ManagerInterface $eventsManager)
130+
public function setEventsManager(\Phalcon\Events\ManagerInterface $eventsManager)
132131
{
133132
}
134133
}

plugin/src/Phalcon/Assets/Asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* $asset = new \Phalcon\Assets\Asset("js", "javascripts/jquery.js");
1717
* ```
1818
*/
19-
class Asset implements AssetInterface
19+
class Asset implements \Phalcon\Assets\AssetInterface
2020
{
2121
/**
2222
* @var array | null

0 commit comments

Comments
 (0)