Skip to content

Commit c2c3d56

Browse files
author
Michael Hamilton
committed
Updated some references
1 parent db8b154 commit c2c3d56

Some content is hidden

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

50 files changed

+189301
-45
lines changed

.vscode/launch.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Listen for Xdebug",
9+
"type": "php",
10+
"request": "launch",
11+
"port": 9003,
12+
"stopOnEntry": true,
13+
"log": true,
14+
"pathMappings": {
15+
"/home/mihamil/arangodb-php": "${workspaceRoot}"
16+
}
17+
}
18+
]
19+
}

composer.lock

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/http-test.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// turn off tracing... it's too verbose here
1111
unset($connectionOptions[ConnectionOptions::OPTION_TRACE]);
1212

13+
$connectionOptions['endpoint'] = 'tcp://172.29.80.1:8529';
14+
$connectionOptions['AuthPasswd'] = 'arango';
15+
// echo '<pre>',print_r($connectionOptions),'</pre>';
16+
// die();
1317
$connection = new Connection($connectionOptions);
1418
$collectionHandler = new CollectionHandler($connection);
1519
$handler = new DocumentHandler($connection);
@@ -34,7 +38,7 @@
3438
// can test the HTTP layer
3539
for ($i = 0; $i < $n; ++$i) {
3640
$document = new Document(['value' => 'test' . $i]);
37-
41+
$document->set('value', 'test'.$i);
3842
$handler->save('test', $document);
3943
}
4044

lib/ArangoDBClient/Analyzer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* @package ArangoDBClient
2121
* @since 3.6
2222
*/
23+
#[\AllowDynamicProperties]
2324
class Analyzer
2425
{
2526
/**

lib/ArangoDBClient/Batch.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* @package ArangoDBClient
1818
* @since 1.1
1919
*/
20+
#[\AllowDynamicProperties]
2021
class Batch
2122
{
2223
/**
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
/**
3+
* ArangoDB PHP client testsuite
4+
* File: EdgeExtendedTest.php
5+
*
6+
* @package ArangoDBClient
7+
* @author Frank Mayer
8+
*/
9+
10+
namespace ArangoDBClient;
11+
12+
/**
13+
* Class EdgeExtendedTest
14+
*
15+
* @property Connection $connection
16+
* @property Collection $collection
17+
* @property Collection $edgeCollection
18+
* @property CollectionHandler $collectionHandler
19+
* @property DocumentHandler $documentHandler
20+
* @property EdgeHandler $edgeHandler
21+
*
22+
* @package ArangoDBClient
23+
*/
24+
#[\AllowDynamicProperties]
25+
class EvocaTestParent extends
26+
\PHPUnit_Framework_TestCase
27+
{
28+
29+
}

lib/ArangoDBClient/View.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* @package ArangoDBClient
2121
* @since 3.4
2222
*/
23+
#[\AllowDynamicProperties]
2324
class View
2425
{
2526
/**

phpinfo.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
3+
phpinfo();

phpunit11

Lines changed: 113465 additions & 0 deletions
Large diffs are not rendered by default.

phpunit5

Lines changed: 74577 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)