initial code #1
Annotations
10 errors and 2 warnings
stan:
src/Client.php#L10
Method Phodoval\CouchDB\Client::__construct() has parameter $clientOptions with no value type specified in iterable type array.
|
stan:
src/Client.php#L39
Method Phodoval\CouchDB\Client::put() has parameter $data with no value type specified in iterable type array.
|
stan:
src/Client.php#L48
Method Phodoval\CouchDB\Client::post() has parameter $data with no value type specified in iterable type array.
|
stan:
src/Client.php#L57
Method Phodoval\CouchDB\Client::delete() has parameter $options with no value type specified in iterable type array.
|
stan:
src/Database.php#L23
Method Phodoval\CouchDB\Database::createDocument() has parameter $data with no value type specified in iterable type array.
|
stan:
src/Database.php#L30
Cannot access offset 'rev' on mixed.
|
stan:
src/Database.php#L31
Cannot access offset 'rev' on mixed.
|
stan:
src/Database.php#L33
Parameter #2 $rev of class Phodoval\CouchDB\Document constructor expects string|null, mixed given.
|
stan:
src/Database.php#L43
Cannot access offset '_rev' on mixed.
|
stan:
src/Database.php#L44
Cannot access offset '_rev' on mixed.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
stan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|