summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Treat2019-10-31 20:49:02 +0000
committerRobert Treat2019-10-31 20:55:19 +0000
commit8a01924ebcf6bc0b0d90395e78b07f02df57d06c (patch)
tree2017874e896c71dbe31e33f6fedbd7fb56414202
parent80e18adc0b288f471e3284be53e1b8368811f877 (diff)
Grammer fixes noticed during spelling fixes review
-rw-r--r--classes/database/Postgres.php4
-rw-r--r--plugins/Report/plugin.php4
-rw-r--r--tests/selenium/README10
3 files changed, 9 insertions, 9 deletions
diff --git a/classes/database/Postgres.php b/classes/database/Postgres.php
index 0984cc66..500843c4 100644
--- a/classes/database/Postgres.php
+++ b/classes/database/Postgres.php
@@ -1737,7 +1737,7 @@ class Postgres extends ADODB_base {
* 'table' => table name,
* 'schema' => the schema name,
* )
- * @param $defaults if true, copy the defaults values as well
+ * @param $defaults if true, copy the default values as well
* @param $constraints if true, copy the constraints as well (CHECK on table & attr)
* @param $tablespace The tablespace name ('' means none/default)
*/
@@ -2366,7 +2366,7 @@ class Postgres extends ADODB_base {
/**
* Returns all available autovacuum per table information.
- * @param $table if given, return autovacuum info for the given table or return all information for all table
+ * @param $table if given, return autovacuum info for the given table or return all information for all tables
*
* @return A recordset
*/
diff --git a/plugins/Report/plugin.php b/plugins/Report/plugin.php
index 5c6c4df6..1ddbdc07 100644
--- a/plugins/Report/plugin.php
+++ b/plugins/Report/plugin.php
@@ -59,7 +59,7 @@ class Report extends Plugin {
/**
* This method returns the functions that will hook in the phpPgAdmin core.
- * To do include a function just put in the $hooks array the following code:
+ * To include a function just put in the $hooks array the following code:
* 'hook' => array('function1', 'function2').
*
* Example:
@@ -82,7 +82,7 @@ class Report extends Plugin {
/**
* This method returns the functions that will be used as actions.
- * To do include a function that will be used as action, just put in the $actions array the following code:
+ * To include a function that will be used as action, just put in the $actions array the following code:
*
* $actions = array(
* 'show_page',
diff --git a/tests/selenium/README b/tests/selenium/README
index a0dd36e5..0a05e245 100644
--- a/tests/selenium/README
+++ b/tests/selenium/README
@@ -13,13 +13,13 @@ Enjoy the tests.
HowTo write new tests
~~~~~~~~~~~~~~~~~~~~~
-Normally, the selenium's statis HTML tests files cannot behave differently in regard to the PG backend where the tests are run on. In order to address
+Normally, the selenium's static HTML tests files cannot behave differently in regard to the PG backend where the tests are run on. In order to address
this issue we are using PHP scripts that connect to each backends using the PPA database classes and allow you to use their methods,
-and especially the $data->has*() ones, throught the $data variable like in any other ppa script.
+and especially the $data->has*() ones, through the $data variable like in any other ppa script.
-TestSuite.php is the test suite script that build the list of tests groups (top left frame).
+TestSuite.php is the test suite script that builds the list of tests groups (top left frame).
-1. how TestSuite.php is working and why
+1. How TestSuite.php is working and why
TestSuite.php script is processing the test-builders scripts from ./tests/selenium/src in alphanumeric order. That's why each
test-builder's name should follow these rules: begin with 2numeric number, then -, then the script name (ex. 01-test1.php or 46-test46.php).
@@ -45,4 +45,4 @@ When executed from TestSuite.php, test-builders should:
server.
- Each selenium actions are mapped (or should be) as methods. As instance, if you want to use the clickAndWait action, you should call the
clickAndWait($locator) method. For the assertText, assertText($selector, $value), etc...
- - Use the addComment method to show comments anywhere in the tests page. Useful to explain whatthe next tests are going to do.
+ - Use the addComment method to show comments anywhere in the tests page. Useful to explain what the next tests are going to do.