Commit Graph

42 Commits

Author SHA1 Message Date
LolGleb f94b4fb19f [phpstorm-stubs] Fixed testMethodsDefaultParametersValue and added default values for parameters that missed it. 2023-09-14 10:01:56 +02:00
Ivan Fedorov 24c80bebff [phpstorm-stubs] update for PHP 8.3 2023-08-28 14:41:18 +02:00
Ivan Fedorov 71aa908299 [phpstorm-stubs] move SQLITE3_DETERMINISTIC to correct stub 2022-11-03 21:45:55 +01:00
Ivan Fedorov 8191142e5a [phpstorm-stubs] update stubs according to php 5.6 2022-07-12 17:35:50 +02:00
Ivan Fedorov 363c7059fc [phpstorm-stubs] fixes after review 2021-12-06 17:24:42 +01:00
Ivan Fedorov 9a52eba08b [phpstorm-stubs] update stubs according to php 7.0 2021-12-06 17:24:42 +01:00
Ivan Fedorov 27d6f9e08e
Tentative return types (#1234)
[phpstorm-stubs] add tentative return type hints
2021-09-23 16:17:05 +02:00
Ivan Fedorov b4e2510fcd csfixer + format function 2021-08-14 20:08:16 +02:00
Ivan Fedorov ed5b861e62 update stubs to suite different php versions 2021-08-14 20:08:16 +02:00
Ivan Fedorov 8ed3223576 update stubs map + cs fixer 2021-07-28 13:42:43 +02:00
Ivan Fedorov e85c5dd61c typehints for sql 2021-07-28 13:42:43 +02:00
Ivan Fedorov 9a29812c1b update stubs to suite different php versions 2021-07-28 13:42:43 +02:00
Werner Spiegel f63b5ffc1e Update sqlite3.php
SQLite3::backup() returns boolean, see: https://www.php.net/manual/en/sqlite3.backup.php
2021-07-19 17:16:30 +03:00
Ivan Fedorov bf5488f1f8 improve return type for SQLite3::query 2021-05-31 20:54:18 +03:00
Brian Fenton ba412f3aa8 add boolean values to sqlite3 returns 2021-05-31 20:34:24 +03:00
Ivan Fedorov d067f1b72f batch update of all stubs with defined code style 2021-03-17 17:45:32 +03:00
Ivan Fedorov ced393334f add test to check method parameters default values 2021-02-02 21:13:33 +03:00
Ivan Fedorov 0159fb574b add test for optional parameters in methods 2021-02-02 12:58:24 +03:00
Ivan Fedorov 44640f75da add tests for param typehints in methods 2021-01-25 19:29:22 +03:00
Ivan Fedorov fbe33d7723 update stubs according to reflection 2020-12-18 14:05:02 +01:00
Ivan Fedorov 12546c066f add tests for class constants and class constant values. Update stubs 2020-12-15 16:13:05 +03:00
Benjamin Morel 1dd00553f7 SQLite3::enableExceptions() return value 2020-12-14 12:32:40 +03:00
Lars Moelleken 24139c6ba4 optimize "checkHtmlTags"-check
-> TODO: 175 HTML erros
2020-12-14 12:15:52 +03:00
Lars Moelleken b60f4da52d Rename more parameter names of methods for PHP 8 2020-12-14 12:15:52 +03:00
Lars Moelleken 9f6bfb660b more phpdoc fixes
fix tests: "PHP Fatal error:  Uncaught PhpParser\Error: Variadic parameter cannot have a default value on line 767"

fix tests: "Type mismatch array_key_exists: $array"

fix tests: "parameter 'withComments' with typehint 'bool' but typehints available only since php 7"
2020-12-14 12:15:52 +03:00
Maxim.Kolmakov 290ed5453b Rename parameter names of methods for PHP 8 2020-11-20 12:44:12 +01:00
andrey-sokolov 5543cc70f3
Phpdotnet docs validation (#947)
* Php stubs description validation (#890) parameters check and some description and return type fixes

Co-authored-by: Maxim.Kolmakov <maxim.kolmakov@jetbrains.com>
2020-11-03 17:06:54 +03:00
Kirill Smelov 2886b2f507 Provide #[ArrayShape] for some functions 2020-10-12 18:27:59 +03:00
Lars Moelleken 99c598ca53 use "&" for references
+ fix some return types
+ normalize the param phpdocs
+ normalize the "php.net" links (language "en" as default)
2020-08-23 01:03:37 +02:00
Maxim.Kolmakov 960ea48b9a PHP 8 stubs
Continue
2020-07-16 20:44:21 +02:00
Maxim.Kolmakov 244920f3ec PHP 8 stubs
Continue
2020-07-16 18:46:58 +02:00
Maxim.Kolmakov f23297fad6 PHP 8 stubs
Continue
2020-07-16 18:30:50 +02:00
zlianon eff2ef85ad Remove whitespaces from stubs. 2020-05-13 21:13:07 +03:00
Maxim.Kolmakov b1041ca152 Cleanup @since tags with old versions <5.3 2020-01-22 18:26:13 +01:00
Maxim.Kolmakov a8b8caf544 PHP 7.4 stubs initial support + switch to PHP 7.4 docker image 2019-12-05 17:54:10 +01:00
Ivan Fedorov 79f9860eea update since versions in core to make it major
seems that new features are being introduced only in major releases so it doesn't makes sense to display redundant .0 patch version in 'since' tag and more over such major version will allow to create matching between language level and since version in phpstorm and create appropriate inspection like it's done for 'deprecated' inspection
2019-10-31 12:29:32 +03:00
Artemy Pestretsov ea4d53c2d4 Add hand-picked changes from pr553 2019-06-26 15:26:31 +03:00
Gert de Pagter db07f4569d Use https for @link annotations (#367)
* Replace http with https

* Replace http with https in readme
2018-08-13 14:15:36 +03:00
tsufeki 130e3f8e82 Fix typos and wrong typehints in function signatures. 2018-01-30 20:42:46 +01:00
Andrey Sokolov 56d8bbe782 Updated SQLite3 methods. 2017-12-22 17:58:54 +03:00
SOFe f767018646
Fixed misplaced @since in sqlite3.php 2017-05-25 17:43:44 +08:00
Artem Khvastunov 5906b85691 WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00