arangodb / arangodb-php

PHP ODM for ArangoDB
https://www.arangodb.com
Apache License 2.0
182 stars 46 forks source link

Support PHP 8.2 #301

Open Sweetchuck opened 1 year ago

Sweetchuck commented 1 year ago

Run tests with PHP 8.2 gives the following output:

Deprecated: Creation of dynamic property ArangoDBClient\AdminTest::$adminHandler is deprecated in ./tests/AdminTest.php on line 22
Deprecated: Creation of dynamic property ArangoDBClient\AdminTest::$connection is deprecated in ./tests/AdminTest.php on line 21
Deprecated: Creation of dynamic property ArangoDBClient\Analyzer::$_features is deprecated in ./lib/ArangoDBClient/Analyzer.php on line 69
Deprecated: Creation of dynamic property ArangoDBClient\Analyzer::$_properties is deprecated in ./lib/ArangoDBClient/Analyzer.php on line 68
Deprecated: Creation of dynamic property ArangoDBClient\Analyzer::$_type is deprecated in ./lib/ArangoDBClient/Analyzer.php on line 67
Deprecated: Creation of dynamic property ArangoDBClient\AnalyzerTest::$analyzerHandler is deprecated in ./tests/AnalyzerTest.php on line 35
Deprecated: Creation of dynamic property ArangoDBClient\AnalyzerTest::$connection is deprecated in ./tests/AnalyzerTest.php on line 34
Deprecated: Creation of dynamic property ArangoDBClient\AqlUserFunctionTest::$connection is deprecated in ./tests/AqlUserFunctionTest.php on line 35
Deprecated: Creation of dynamic property ArangoDBClient\Batch::$batchSize is deprecated in ./lib/ArangoDBClient/Batch.php on line 112
Deprecated: Creation of dynamic property ArangoDBClient\BatchTest::$collectionHandler is deprecated in ./tests/BatchTest.php on line 36
Deprecated: Creation of dynamic property ArangoDBClient\BatchTest::$collection is deprecated in ./tests/BatchTest.php on line 44
Deprecated: Creation of dynamic property ArangoDBClient\BatchTest::$connection is deprecated in ./tests/BatchTest.php on line 33
Deprecated: Creation of dynamic property ArangoDBClient\BatchTest::$documentHandler is deprecated in ./tests/BatchTest.php on line 35
Deprecated: Creation of dynamic property ArangoDBClient\BatchTest::$edgeCollection is deprecated in ./tests/BatchTest.php on line 54
Deprecated: Creation of dynamic property ArangoDBClient\CollectionBasicTest::$collectionHandler is deprecated in ./tests/CollectionBasicTest.php on line 33
Deprecated: Creation of dynamic property ArangoDBClient\CollectionBasicTest::$connection is deprecated in ./tests/CollectionBasicTest.php on line 32
Deprecated: Creation of dynamic property ArangoDBClient\CollectionExtendedTest::$collectionHandler is deprecated in ./tests/CollectionExtendedTest.php on line 41
Deprecated: Creation of dynamic property ArangoDBClient\CollectionExtendedTest::$collection is deprecated in ./tests/CollectionExtendedTest.php on line 40
Deprecated: Creation of dynamic property ArangoDBClient\CollectionExtendedTest::$connection is deprecated in ./tests/CollectionExtendedTest.php on line 39
Deprecated: Creation of dynamic property ArangoDBClient\CollectionExtendedTest::$documentHandler is deprecated in ./tests/CollectionExtendedTest.php on line 42
Deprecated: Creation of dynamic property ArangoDBClient\ConnectionTest::$collectionHandler is deprecated in ./tests/ConnectionTest.php on line 39
Deprecated: Creation of dynamic property ArangoDBClient\ConnectionTest::$connection is deprecated in ./tests/ConnectionTest.php on line 38
Deprecated: Creation of dynamic property ArangoDBClient\CustomDocumentClassTest::$connection is deprecated in ./tests/CustomDocumentClassTest.php on line 38
Deprecated: Creation of dynamic property ArangoDBClient\CustomEdgeClassTest::$connection is deprecated in ./tests/CustomEdgeClassTest.php on line 38
Deprecated: Creation of dynamic property ArangoDBClient\DatabaseTest::$connection is deprecated in ./tests/DatabaseTest.php on line 34
Deprecated: Creation of dynamic property ArangoDBClient\DocumentBasicTest::$collectionHandler is deprecated in ./tests/DocumentBasicTest.php on line 38
Deprecated: Creation of dynamic property ArangoDBClient\DocumentBasicTest::$collection is deprecated in ./tests/DocumentBasicTest.php on line 46
Deprecated: Creation of dynamic property ArangoDBClient\DocumentBasicTest::$connection is deprecated in ./tests/DocumentBasicTest.php on line 37
Deprecated: Creation of dynamic property ArangoDBClient\DocumentExtendedTest::$collectionHandler is deprecated in ./tests/DocumentExtendedTest.php on line 38
Deprecated: Creation of dynamic property ArangoDBClient\DocumentExtendedTest::$collection is deprecated in ./tests/DocumentExtendedTest.php on line 39
Deprecated: Creation of dynamic property ArangoDBClient\DocumentExtendedTest::$connection is deprecated in ./tests/DocumentExtendedTest.php on line 37
Deprecated: Creation of dynamic property ArangoDBClient\DocumentExtendedTest::$documentHandler is deprecated in ./tests/DocumentExtendedTest.php on line 42
Deprecated: Creation of dynamic property ArangoDBClient\EdgeBasicTest::$collectionHandler is deprecated in ./tests/EdgeBasicTest.php on line 38
Deprecated: Creation of dynamic property ArangoDBClient\EdgeBasicTest::$collection is deprecated in ./tests/EdgeBasicTest.php on line 56
Deprecated: Creation of dynamic property ArangoDBClient\EdgeBasicTest::$connection is deprecated in ./tests/EdgeBasicTest.php on line 37
Deprecated: Creation of dynamic property ArangoDBClient\EdgeBasicTest::$edgeCollection is deprecated in ./tests/EdgeBasicTest.php on line 52
Deprecated: Creation of dynamic property ArangoDBClient\EdgeExtendedTest::$collectionHandler is deprecated in ./tests/EdgeExtendedTest.php on line 39
Deprecated: Creation of dynamic property ArangoDBClient\EdgeExtendedTest::$collection is deprecated in ./tests/EdgeExtendedTest.php on line 40
Deprecated: Creation of dynamic property ArangoDBClient\EdgeExtendedTest::$connection is deprecated in ./tests/EdgeExtendedTest.php on line 38
Deprecated: Creation of dynamic property ArangoDBClient\EdgeExtendedTest::$documentCollection is deprecated in ./tests/EdgeExtendedTest.php on line 61
Deprecated: Creation of dynamic property ArangoDBClient\EdgeExtendedTest::$edgeCollection is deprecated in ./tests/EdgeExtendedTest.php on line 57
Deprecated: Creation of dynamic property ArangoDBClient\EdgeExtendedTest::$edgeHandler is deprecated in ./tests/EdgeExtendedTest.php on line 56
Deprecated: Creation of dynamic property ArangoDBClient\FoxxBasicTest::$connection is deprecated in ./tests/FoxxBasicTest.php on line 28
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$connection is deprecated in ./tests/GeneralGraphExtendedTest.php on line 34
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$e1 is deprecated in ./tests/GeneralGraphExtendedTest.php on line 42
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$e2 is deprecated in ./tests/GeneralGraphExtendedTest.php on line 43
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$edge1Array is deprecated in ./tests/GeneralGraphExtendedTest.php on line 102
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$edge2Array is deprecated in ./tests/GeneralGraphExtendedTest.php on line 108
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$edge3Array is deprecated in ./tests/GeneralGraphExtendedTest.php on line 114
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$edge4Array is deprecated in ./tests/GeneralGraphExtendedTest.php on line 119
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$edge5Array is deprecated in ./tests/GeneralGraphExtendedTest.php on line 124
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$edge6Array is deprecated in ./tests/GeneralGraphExtendedTest.php on line 129
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$graphHandler is deprecated in ./tests/GeneralGraphExtendedTest.php on line 62
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$graph is deprecated in ./tests/GeneralGraphExtendedTest.php on line 58
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$graphName is deprecated in ./tests/GeneralGraphExtendedTest.php on line 36
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$v1 is deprecated in ./tests/GeneralGraphExtendedTest.php on line 37
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$v2 is deprecated in ./tests/GeneralGraphExtendedTest.php on line 38
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$v3 is deprecated in ./tests/GeneralGraphExtendedTest.php on line 39
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$v4 is deprecated in ./tests/GeneralGraphExtendedTest.php on line 40
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$v5 is deprecated in ./tests/GeneralGraphExtendedTest.php on line 41
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$vertex1Array is deprecated in ./tests/GeneralGraphExtendedTest.php on line 65
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$vertex2Array is deprecated in ./tests/GeneralGraphExtendedTest.php on line 70
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$vertex3Array is deprecated in ./tests/GeneralGraphExtendedTest.php on line 75
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$vertex4Array is deprecated in ./tests/GeneralGraphExtendedTest.php on line 80
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$vertex5Array is deprecated in ./tests/GeneralGraphExtendedTest.php on line 85
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$vertex6Array is deprecated in ./tests/GeneralGraphExtendedTest.php on line 91
Deprecated: Creation of dynamic property ArangoDBClient\GeneralGraphExtendedTest::$vertex7Array is deprecated in ./tests/GeneralGraphExtendedTest.php on line 96
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$collectionHandler is deprecated in ./tests/GraphBasicTest.php on line 41
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$connection is deprecated in ./tests/GraphBasicTest.php on line 40
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graphHandler is deprecated in ./tests/GraphBasicTest.php on line 303
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graphHandler is deprecated in ./tests/GraphBasicTest.php on line 353
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graphHandler is deprecated in ./tests/GraphBasicTest.php on line 374
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graphHandler is deprecated in ./tests/GraphBasicTest.php on line 391
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graphHandler is deprecated in ./tests/GraphBasicTest.php on line 408
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graphHandler is deprecated in ./tests/GraphBasicTest.php on line 423
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graphHandler is deprecated in ./tests/GraphBasicTest.php on line 487
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graphHandler is deprecated in ./tests/GraphBasicTest.php on line 566
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graphHandler is deprecated in ./tests/GraphBasicTest.php on line 647
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graph is deprecated in ./tests/GraphBasicTest.php on line 298
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graph is deprecated in ./tests/GraphBasicTest.php on line 320
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graph is deprecated in ./tests/GraphBasicTest.php on line 351
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graph is deprecated in ./tests/GraphBasicTest.php on line 371
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graph is deprecated in ./tests/GraphBasicTest.php on line 389
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graph is deprecated in ./tests/GraphBasicTest.php on line 419
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graph is deprecated in ./tests/GraphBasicTest.php on line 483
Deprecated: Creation of dynamic property ArangoDBClient\GraphBasicTest::$graph is deprecated in ./tests/GraphBasicTest.php on line 563
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$connection is deprecated in ./tests/GraphExtendedTest.php on line 120
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$edge1aArray is deprecated in ./tests/GraphExtendedTest.php on line 110
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$edge1aName is deprecated in ./tests/GraphExtendedTest.php on line 72
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$edge1Array is deprecated in ./tests/GraphExtendedTest.php on line 97
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$edge1Name is deprecated in ./tests/GraphExtendedTest.php on line 69
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$edge2Array is deprecated in ./tests/GraphExtendedTest.php on line 101
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$edge2Name is deprecated in ./tests/GraphExtendedTest.php on line 70
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$edge3Array is deprecated in ./tests/GraphExtendedTest.php on line 106
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$edge3Name is deprecated in ./tests/GraphExtendedTest.php on line 71
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$edgeCollectionName is deprecated in ./tests/GraphExtendedTest.php on line 115
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$edgeLabel1 is deprecated in ./tests/GraphExtendedTest.php on line 73
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$edgeLabel2 is deprecated in ./tests/GraphExtendedTest.php on line 74
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$edgeLabel3 is deprecated in ./tests/GraphExtendedTest.php on line 75
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$graphHandler is deprecated in ./tests/GraphExtendedTest.php on line 124
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$graph is deprecated in ./tests/GraphExtendedTest.php on line 121
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$graphName is deprecated in ./tests/GraphExtendedTest.php on line 119
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$vertex1aArray is deprecated in ./tests/GraphExtendedTest.php on line 94
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$vertex1aName is deprecated in ./tests/GraphExtendedTest.php on line 68
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$vertex1Array is deprecated in ./tests/GraphExtendedTest.php on line 78
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$vertex1Name is deprecated in ./tests/GraphExtendedTest.php on line 64
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$vertex2Array is deprecated in ./tests/GraphExtendedTest.php on line 82
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$vertex2Name is deprecated in ./tests/GraphExtendedTest.php on line 65
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$vertex3Array is deprecated in ./tests/GraphExtendedTest.php on line 86
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$vertex3Name is deprecated in ./tests/GraphExtendedTest.php on line 66
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$vertex4Array is deprecated in ./tests/GraphExtendedTest.php on line 90
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$vertex4Name is deprecated in ./tests/GraphExtendedTest.php on line 67
Deprecated: Creation of dynamic property ArangoDBClient\GraphExtendedTest::$vertexCollectionName is deprecated in ./tests/GraphExtendedTest.php on line 114
Deprecated: Creation of dynamic property ArangoDBClient\QueryCacheTest::$cacheHandler is deprecated in ./tests/QueryCacheTest.php on line 35
Deprecated: Creation of dynamic property ArangoDBClient\QueryCacheTest::$collectionHandler is deprecated in ./tests/QueryCacheTest.php on line 36
Deprecated: Creation of dynamic property ArangoDBClient\QueryCacheTest::$collection is deprecated in ./tests/QueryCacheTest.php on line 50
Deprecated: Creation of dynamic property ArangoDBClient\QueryCacheTest::$connection is deprecated in ./tests/QueryCacheTest.php on line 34
Deprecated: Creation of dynamic property ArangoDBClient\QueryTest::$connection is deprecated in ./tests/QueryTest.php on line 34
Deprecated: Creation of dynamic property ArangoDBClient\QueryTest::$queryHandler is deprecated in ./tests/QueryTest.php on line 35
Deprecated: Creation of dynamic property ArangoDBClient\StatementTest::$collectionHandler is deprecated in ./tests/StatementTest.php on line 47
Deprecated: Creation of dynamic property ArangoDBClient\StatementTest::$collection is deprecated in ./tests/StatementTest.php on line 56
Deprecated: Creation of dynamic property ArangoDBClient\StatementTest::$connection is deprecated in ./tests/StatementTest.php on line 46
Deprecated: Creation of dynamic property ArangoDBClient\StreamingTransactionTest::$collection1 is deprecated in ./tests/StreamingTransactionTest.php on line 59
Deprecated: Creation of dynamic property ArangoDBClient\StreamingTransactionTest::$collection2 is deprecated in ./tests/StreamingTransactionTest.php on line 63
Deprecated: Creation of dynamic property ArangoDBClient\StreamingTransactionTest::$collectionHandler is deprecated in ./tests/StreamingTransactionTest.php on line 43
Deprecated: Creation of dynamic property ArangoDBClient\StreamingTransactionTest::$connection is deprecated in ./tests/StreamingTransactionTest.php on line 42
Deprecated: Creation of dynamic property ArangoDBClient\StreamingTransactionTest::$transactionHandler is deprecated in ./tests/StreamingTransactionTest.php on line 69
Deprecated: Creation of dynamic property ArangoDBClient\TransactionTest::$collection1 is deprecated in ./tests/TransactionTest.php on line 54
Deprecated: Creation of dynamic property ArangoDBClient\TransactionTest::$collection2 is deprecated in ./tests/TransactionTest.php on line 58
Deprecated: Creation of dynamic property ArangoDBClient\TransactionTest::$collectionHandler is deprecated in ./tests/TransactionTest.php on line 38
Deprecated: Creation of dynamic property ArangoDBClient\TransactionTest::$connection is deprecated in ./tests/TransactionTest.php on line 37
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$connection is deprecated in ./tests/TraversalTest.php on line 124
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edge1Array is deprecated in ./tests/TraversalTest.php on line 106
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edge1Name is deprecated in ./tests/TraversalTest.php on line 75
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edge2Array is deprecated in ./tests/TraversalTest.php on line 109
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edge2Name is deprecated in ./tests/TraversalTest.php on line 76
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edge3Array is deprecated in ./tests/TraversalTest.php on line 112
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edge3Name is deprecated in ./tests/TraversalTest.php on line 77
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edge4Array is deprecated in ./tests/TraversalTest.php on line 115
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edge4Name is deprecated in ./tests/TraversalTest.php on line 78
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edge5Array is deprecated in ./tests/TraversalTest.php on line 118
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edge5Name is deprecated in ./tests/TraversalTest.php on line 79
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edgeCollectionName is deprecated in ./tests/TraversalTest.php on line 130
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edgeLabel1 is deprecated in ./tests/TraversalTest.php on line 80
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edgeLabel2 is deprecated in ./tests/TraversalTest.php on line 81
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edgeLabel3 is deprecated in ./tests/TraversalTest.php on line 82
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edgeLabel4 is deprecated in ./tests/TraversalTest.php on line 83
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$edgeLabel5 is deprecated in ./tests/TraversalTest.php on line 84
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$graphHandler is deprecated in ./tests/TraversalTest.php on line 135
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$graph is deprecated in ./tests/TraversalTest.php on line 125
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$graphName is deprecated in ./tests/TraversalTest.php on line 123
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$vertex1Array is deprecated in ./tests/TraversalTest.php on line 86
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$vertex1Name is deprecated in ./tests/TraversalTest.php on line 70
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$vertex2Array is deprecated in ./tests/TraversalTest.php on line 90
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$vertex2Name is deprecated in ./tests/TraversalTest.php on line 71
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$vertex3Array is deprecated in ./tests/TraversalTest.php on line 94
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$vertex3Name is deprecated in ./tests/TraversalTest.php on line 72
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$vertex4Array is deprecated in ./tests/TraversalTest.php on line 98
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$vertex4Name is deprecated in ./tests/TraversalTest.php on line 73
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$vertex5Array is deprecated in ./tests/TraversalTest.php on line 102
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$vertex5Name is deprecated in ./tests/TraversalTest.php on line 74
Deprecated: Creation of dynamic property ArangoDBClient\TraversalTest::$vertexCollectionName is deprecated in ./tests/TraversalTest.php on line 129
Deprecated: Creation of dynamic property ArangoDBClient\UserBasicTest::$connection is deprecated in ./tests/UserBasicTest.php on line 33
Deprecated: Creation of dynamic property ArangoDBClient\UserBasicTest::$userHandler is deprecated in ./tests/UserBasicTest.php on line 34
Deprecated: Creation of dynamic property ArangoDBClient\View::$_type is deprecated in ./lib/ArangoDBClient/View.php on line 67
Deprecated: Creation of dynamic property ArangoDBClient\ViewTest::$connection is deprecated in ./tests/ViewTest.php on line 34
Deprecated: Creation of dynamic property ArangoDBClient\ViewTest::$viewHandler is deprecated in ./tests/ViewTest.php on line 35
xevolic commented 1 year ago

Hi there.

At first I would like to thank you for much of good work and supporting this library.

In our organization we use ArangoDB server in version 3.6.x and we use this library in version 3.6.0

We are migrating our application to use PHP 8.2 and we have noticed such deprecation notices as above.

In case of Creation of dynamic property in some classes it looks like an issue made by programmer's mistake: some class properties are missing in the code and they are created dynamically.

Do you plan to fix them?

I also noticed, that in devel branch in composer.json there is following version of PHP:

  "require": {
    "php": ">=5.6.0"
  }

but unit tests you use never version of PHP (at least 7.1).

Do you plan upgrade the code to support PHP 8.2 with no deprecation messages?

LaravelFreelancerNL commented 5 months ago

Feel free to check out my php driver for ArangoDB

I made it a few years ago due to lack of updates. There's a query builder as well and a Laravel driver is in the works.