You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,14 +23,16 @@ Developer notes
23
23
If you want to contribute to the repository you will need to install/configure some things first.
24
24
25
25
To run tests follow the steps:
26
-
- Run `./bin/ci/scripts/install_dependencies.sh`
27
-
- Run `./vendor/bin/phpcs lib/ --report=summary`
28
-
- Run `./vendor/bin/phpmd lib/ ansi phpmd.xml`
29
-
- Run `./vendor/bin/phpstan analyse lib/ -l 2 -c phpstan_lite.neon 2>&1`
30
-
- Run `php -f ./bin/ci/run_tests.php`
26
+
1) Run `./bin/ci/scripts/install_dependencies.sh`
27
+
2) Run `./vendor/bin/phpcs lib/ --report=summary`
28
+
3) Run `./vendor/bin/phpmd lib/ ansi phpmd.xml`
29
+
4) Run `./vendor/bin/phpstan analyse lib/ -l 2 -c phpstan_lite.neon 2>&1`
30
+
5) Run `php -f ./bin/ci/run_tests.php`
31
31
32
-
The last command will run all the tests including the quality tests (phpmd, phpcs, phpstan).
32
+
If you are on Windows environment simply run the file `quality.bat` located at the root of the project to run the step 2, 3 and 4 in once.
33
+
34
+
The last command will run all the unit tests of the project.
33
35
If an error appears, fix it then you can submit your pull request.
34
36
35
-
Don't worry if you don't have some services installed like "memcached", "couchdb", "couchbase", "mongodb", etc.
36
-
The tests will be skipped on your computer but will be running in Github CI/Travis CI.
37
+
Some tests will be skipped if you don't have special dependencies installed (Arangodb, Couchbase, Couchdb, Firestore credential and SDK, Dynamodb credential, etc.).\
38
+
So don't worry if those tests are skipped as long as they **pass** on the Github and Travis CIs.
Copy file name to clipboardExpand all lines: docs/DRIVERS.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,8 @@
10
10
* Cookie **(REMOVED in V9)**
11
11
* A cookie driver to store non-sensitive scalar (only) data. Limited storage up to 4Ko.
12
12
* Couchbase **(REMOVED in V9)**
13
-
* A very high-performance NoSQL driver using a key-value pair system, replaced by Couchbasev3 as of V9.
14
-
* Couchbasev3 **(Added in V8.0.8)**
13
+
* A very high-performance NoSQL driver using a key-value pair system, replaced by Couchbasev3 as of v8.0.8.
14
+
* Couchbasev3 **(Added in v8.0.8)**
15
15
* Same as Couchbase but for Couchbase PHP-SDK 3.0 support.
16
16
* Couchdb
17
17
* A very high-performance NoSQL driver using a key-value pair system.
@@ -21,7 +21,7 @@
21
21
* A development driver that return null for driverRead() and driverIsHit() (get actions) and true for other action such as driverDelete, DriverClear() etc.
22
22
* Devtrue **(REMOVED in V9)**
23
23
* A development driver that return true for everything including driverCheck().
24
-
* Devrandom **(Added in V8.0.8)**
24
+
* Devrandom **(Added in v8.0.8)**
25
25
* A development driver with configurable factor chance and data length.
26
26
* Dynamodb **(Added in V9)**
27
27
* An AWS cloud NoSQL driver using a key-value pair system. Be careful when flushing the table as it will delete and recreate the table due to a Dynamodb limitation.
@@ -43,7 +43,7 @@
43
43
* A high-performance memory driver using a in-memory data structure storage. Less efficient than Redis driver as it is an embedded library.
44
44
* Redis
45
45
* A very high-performance memory driver using a in-memory data structure storage. More efficient than Predis driver as it is an compiled library.
46
-
* Riak **(REMOVED in V8.0.6)**
46
+
* Riak **(REMOVED in v8.0.6)**
47
47
* A very high-performance NoSQL driver using a key-value pair system.
48
48
* Sqlite
49
49
* A Sqlite driver that use serialization for storing data for regular performances. A _$path_ config must be specified, else the system temporary directory will be used.
0 commit comments