Jeremy Mikola
95c4678564
PHPC-1005: Use convert_to_object() to create stdClass from array
...
This will ensure that the array symtable is properly converted to an object proptable in PHP 7.2 (e.g. integer key 0 converts to string key "0").
2017-09-06 14:14:15 -04:00
Jeremy Mikola
5d2a7741b7
Revert "PHPC-1004: Rename CursorId to CursorID"
...
This reverts commit 708c214034 .
2017-08-30 10:02:10 -04:00
Jeremy Mikola
708c214034
PHPC-1004: Rename CursorId to CursorID
2017-08-29 09:47:50 -04:00
Jeremy Mikola
e6b8479506
Reorganize SKIPIF blocks in tests and add missing NEEDS() checks
2017-03-15 10:41:04 -04:00
Jeremy Mikola
6ed6a34f5b
Only assert mongodb.debug INI in phpinfo() tests
...
The current phpinfo() tests were fragile and not compatible when build against libbson/libmongoc system libraries, which might also have different SSL options.
2017-02-07 16:37:12 -05:00
Jeremy Mikola
1badc1bcbb
PHPC-633: Include libmongoc SSL, crypto, and SASL details in phpinfo()
2016-12-20 11:37:25 -05:00
Jeremy Mikola
b0192b29d6
Reorder libbson and libmongoc output in phpinfo()
2016-12-19 14:32:08 -05:00
Jeremy Mikola
2c4a1edd98
More descriptive labels for ext/dep versions in phpinfo()
2016-12-19 14:03:50 -05:00
Jeremy Mikola
f37f589bbc
PHPC-783: Use mongoc_collection_find_with_opts() for Query exec
...
Query struct fields have been consolidated to a filter and opts BSON documents.
This also changes the Query debug output significantly.
2016-09-20 16:57:20 -04:00
Jeremy Mikola
c3fa0c1f8b
PHPC-748: Fix CursorID::__toString() and var_dump() for 32-bit
2016-07-15 11:15:54 -04:00
Jeremy Mikola
20e601a853
PHPC-539: Include read concern in Query debug output
2016-02-10 10:37:51 -05:00
Derick Rethans
fb6044a819
phpinfo() behaves totally different in HHVM
2015-08-28 16:57:54 +01:00
Jeremy Mikola
cb0249892a
Bump extension version to 1.0.0alpha1
2015-08-20 16:03:35 -04:00
Jeremy Mikola
965f8c3db4
PHPC-315: Support "root" type mapping for top-level documents
2015-07-14 19:52:24 -04:00
Jeremy Mikola
6eb0944565
PHPC-319: Convert top-level documents to stdClass by default
...
Update tests to expect stdClass for documents. Debug handlers and the Server getter methods will still decode documents as native arrays.
2015-07-11 00:38:05 -04:00
Jeremy Mikola
8cd6db686f
PHPC-317: Ensure "sort" query option serializes as BSON object
2015-07-06 15:46:06 -04:00
Hannes Magnusson
fe2571b042
Add test for the info/ini section
2015-05-13 21:20:22 -07:00
Hannes Magnusson
49c0567a57
PHPC-277: Ensure Query always serializes $query as a BSON object
2015-05-13 15:27:23 -07:00
Hannes Magnusson
ec91b77e46
PHPC-247: Use the bundled pregenerated fixtures
2015-04-23 16:13:36 -07:00
Hannes Magnusson
0afcb348dd
PHPC-249: empty array should be serialized as array
2015-04-16 13:46:58 -07:00
Jeremy Mikola
66193e83bc
PHPC-224: Consolidate Result and Cursor classes into one
...
This class is now simply Traversable (no longer IteratorAggregate) and adds isDead() and getId() methods from the original Cursor class.
2015-04-06 15:45:19 -04:00
Hannes Magnusson
227e7842cb
Use absolute paths in skipifs too
2015-03-25 14:08:39 -07:00
Hannes Magnusson
1cce49d21c
Use absolute paths on in tests so they can run easier on windows
2015-03-25 13:32:09 -07:00
Hannes Magnusson
5f8d990b53
PHPC-24 PHPC-77 PHPC-69 Provide a functioning Server object
2015-03-20 11:33:46 -07:00
Hannes Magnusson
70a184961f
PHPC-180: We now load 1024 users
2015-03-16 22:28:56 -07:00
Hannes Magnusson
ebffad28a4
PHPC-180: We now generate 1024 users, only load the first 100
2015-03-16 22:28:49 -07:00
Hannes Magnusson
3efb11c140
PHPC-180: Rename constant and pass the cleanup uri explicitly
...
- Use the new connection string constant that includes auth
- Call the cleanup routines explicitly when needed
2015-03-16 20:30:15 -07:00
Hannes Magnusson
a9823e706f
Ignore me. Trim trailing space
...
This has been annoying me for a long time, especially the '<?php '
2015-02-19 13:57:58 -08:00
Hannes Magnusson
481600d990
PHPC-157: Consolidate CommandResult and QueryResult classes
2015-02-18 11:09:36 -08:00
Hannes Magnusson
9e4277e402
PHPC-157: QueryResult and CommandResult are now Result
2015-02-18 11:00:07 -08:00
Hannes Magnusson
2acbc5bd2c
PHPC-137: var_dump()ing CursorID should show the Cursor ID
2015-01-26 16:50:29 -08:00
Hannes Magnusson
1c31f2f934
PHPC-133: var_dump()ing cursor
2015-01-09 15:36:11 -08:00
Hannes Magnusson
5e48dff242
PHPC-135: Fix memory leak var_dump()ing Query and add test
2015-01-09 12:36:41 -08:00
Hannes Magnusson
8e3bd3d8c7
PHPC-116: Cursor methods should call their respective iterator function handlers
2015-01-06 16:45:55 -08:00
Hannes Magnusson
bb5f45c313
PHPC-118: Use MongoDB\Driver namespace for phongo
2014-12-30 14:58:33 -08:00
Hannes Magnusson
659e9f9e6a
PHP-1336: Use Cursor->getId(), not Cursor->getCursorId()
2014-12-12 15:54:57 -08:00
Hannes Magnusson
7636ed4e76
PHP-1185: Add more Cursor related methods
2014-11-19 17:05:10 -08:00
Hannes Magnusson
0d68cea77d
Fixed PHP-1185: Implement Cursor class
2014-11-19 13:35:02 -08:00
Hannes Magnusson
5dc733469b
PHP-1183: Implement default Iterator class for QueryResult & CommandResult
2014-11-19 12:55:38 -08:00
Jeremy Mikola
f24e900fca
Functional tests for sorted queries
2014-10-16 16:02:26 -04:00