Test Failed
Push — master ( 3b2a6c...ac78fa )
by George
08:15 queued 05:36
created
src/Base.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      *
87 87
      * @access public
88 88
      *
89
-     * @param string $ps_file The path and name of the file to analyse.
89
+     * @param string $ps_file_name The path and name of the file to analyse.
90 90
      * @see http://dataprotocols.org/json-table-schema
91 91
      *
92 92
      * @return boolean Whether the file was successfully set.
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      * @access protected
157 157
      * @static
158 158
      *
159
-     * @return true on success or throws exception on error.
159
+     * @return boolean on success or throws exception on error.
160 160
      */
161 161
     protected static function setCsvHeaderColumns()
162 162
     {
Please login to merge, or discard this patch.
src/Validate/Format/DatetimeValidator.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -48,6 +48,7 @@
 block discarded – undo
48 48
      * @access protected
49 49
      *
50 50
      * @param string   The date format to validate against.
51
+     * @param string $ps_format
51 52
      *
52 53
      * @return boolean Whether the input is valid.
53 54
      */
Please login to merge, or discard this patch.
src/Validate/ForeignKey/PostgresqlValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         $ls_reference_fields = implode(" || ', ' || ", $pa_reference_fields);
28 28
 
29
-        $ls_validation_sql =   "SELECT
29
+        $ls_validation_sql = "SELECT
30 30
                                     COUNT(*)
31 31
                                 FROM
32 32
                                     $ps_reference_resource
Please login to merge, or discard this patch.
examples/example.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,18 +1,18 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This is an example of how you can use the JSON table module to validate
4
- * data from a CSV file against your own schema definition and then store
5
- * it in a PostgreSQL database.
6
- *
7
- * It's expected that this code should be used as a guide. Most likely
8
- * this code would converted into a function in an application or in an
9
- * API endpoint.
10
- *
11
- * To help make intended use of variables more understandable, this file,
12
- * along with the source code uses Hungarian Notation in the variable names.
13
- *
14
- * @see https://en.wikipedia.org/wiki/Hungarian_notation
15
- */
3
+     * This is an example of how you can use the JSON table module to validate
4
+     * data from a CSV file against your own schema definition and then store
5
+     * it in a PostgreSQL database.
6
+     *
7
+     * It's expected that this code should be used as a guide. Most likely
8
+     * this code would converted into a function in an application or in an
9
+     * API endpoint.
10
+     *
11
+     * To help make intended use of variables more understandable, this file,
12
+     * along with the source code uses Hungarian Notation in the variable names.
13
+     *
14
+     * @see https://en.wikipedia.org/wiki/Hungarian_notation
15
+     */
16 16
 use \JsonTable\Analyse;
17 17
 use \JsonTable\Store;
18 18
 
Please login to merge, or discard this patch.