Skip to content

Commit 4fc4814

Browse files
author
Jani Taskinen
committed
- Fixed bug #43365 (Several enums have trailing commas)
1 parent d44d675 commit 4fc4814

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

ext/pcre/php_pcre.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ enum {
5353
PHP_PCRE_INTERNAL_ERROR,
5454
PHP_PCRE_BACKTRACK_LIMIT_ERROR,
5555
PHP_PCRE_RECURSION_LIMIT_ERROR,
56-
PHP_PCRE_BAD_UTF8_ERROR,
56+
PHP_PCRE_BAD_UTF8_ERROR
5757
};
5858

5959
typedef struct {

ext/pdo/php_pdo_driver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ enum pdo_param_type {
6868
PDO_PARAM_STMT, /* hierarchical result set */
6969

7070
/* get_col ptr should point to a zend_bool */
71-
PDO_PARAM_BOOL,
71+
PDO_PARAM_BOOL
7272
};
7373

7474
/* magic flag to denote a parameter as being input/output */

ext/spl/spl_directory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ PHP_MINIT_FUNCTION(spl_directory);
3535
typedef enum {
3636
SPL_FS_INFO, /* must be 0 */
3737
SPL_FS_DIR,
38-
SPL_FS_FILE,
38+
SPL_FS_FILE
3939
} SPL_FS_OBJ_TYPE;
4040

4141
typedef struct _spl_filesystem_object spl_filesystem_object;

ext/spl/spl_iterators.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ enum {
9494
enum {
9595
/* public */
9696
REGIT_USE_KEY = 0x00000001,
97-
REGIT_INVERTED = 0x00000002,
97+
REGIT_INVERTED = 0x00000002
9898
};
9999

100100
typedef enum {
@@ -103,7 +103,7 @@ typedef enum {
103103
REGIT_MODE_ALL_MATCHES,
104104
REGIT_MODE_SPLIT,
105105
REGIT_MODE_REPLACE,
106-
REGIT_MODE_MAX,
106+
REGIT_MODE_MAX
107107
} regex_mode;
108108

109109
typedef struct _spl_dual_it_object {

main/streams/php_stream_filter_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ struct _php_stream_bucket_brigade {
6464
typedef enum {
6565
PSFS_ERR_FATAL, /* error in data stream */
6666
PSFS_FEED_ME, /* filter needs more data; stop processing chain until more is available */
67-
PSFS_PASS_ON, /* filter generated output buckets; pass them on to next in chain */
67+
PSFS_PASS_ON /* filter generated output buckets; pass them on to next in chain */
6868
} php_stream_filter_status_t;
6969

7070
/* Buckets API. */

0 commit comments

Comments
 (0)