PHP Data Structures (#791)

* Created Data Structure stubs and Ds\Collection
* PHP Documentation is licensed under CC-BY 3.0
* Update .gitignore
This commit is contained in:
dguhl 2020-05-19 17:30:08 +02:00 committed by GitHub
parent 36c94c1557
commit 3f0851898a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2598 additions and 1 deletions

2
.gitignore vendored
View File

@ -13,4 +13,4 @@ rest-client.private.env.json
#Composer
vendor
composer.lock
composer.lock

View File

@ -260,6 +260,17 @@ const CLASSES = array (
'DirectoryIterator' => 'SPL/SPL_c1.php',
'DivisionByZeroError' => 'Core/Core_c.php',
'DomainException' => 'SPL/SPL.php',
'Ds\\Collection' => 'ds/ds.php',
'Ds\\Deque' => 'ds/ds.php',
'Ds\\Hashable' => 'ds/ds.php',
'Ds\\Map' => 'ds/ds.php',
'Ds\\Pair' => 'ds/ds.php',
'Ds\\PriorityQueue' => 'ds/ds.php',
'Ds\\Queue' => 'ds/ds.php',
'Ds\\Sequence' => 'ds/ds.php',
'Ds\\Set' => 'ds/ds.php',
'Ds\\Stack' => 'ds/ds.php',
'Ds\\Vector' => 'ds/ds.php',
'EmptyIterator' => 'SPL/SPL.php',
'Error' => 'Core/Core_c.php',
'ErrorException' => 'Core/Core_c.php',

View File

@ -34,6 +34,9 @@ Execute `php generate-stub-map` and commit the resulting `PhpStormStubsMap.php`
### License
[Apache 2]
contains material by the PHP Documentation Group, licensed with [CC-BY 3.0]
[PHPDOC]:https://github.com/phpDocumentor/fig-standards/blob/master/proposed/phpdoc.md
[Apache 2]:https://www.apache.org/licenses/LICENSE-2.0
[Relevant open issues]:https://youtrack.jetbrains.com/issues/WI?q=%23Unresolved+Subsystem%3A+%7BPHP+lib+stubs%7D+order+by%3A+votes+
[CC-BY 3.0]:https://www.php.net/manual/en/cc.license.php

2583
ds/ds.php Normal file

File diff suppressed because it is too large Load Diff