Update commit number in Docker to update composer dependency (#2869)

pull/2897/head
Paul Yang 8 years ago committed by GitHub
parent ffa932bf10
commit 1387a6795c
  1. 2
      jenkins/docker/Dockerfile
  2. 2
      jenkins/docker32/Dockerfile
  3. 2
      php/ext/google/protobuf/array.c
  4. 2
      php/ext/google/protobuf/map.c
  5. 6
      php/ext/google/protobuf/type_check.c

@ -129,7 +129,7 @@ ENV MVN mvn --batch-mode
RUN cd /tmp && \ RUN cd /tmp && \
git clone https://github.com/google/protobuf.git && \ git clone https://github.com/google/protobuf.git && \
cd protobuf && \ cd protobuf && \
git reset bf379715c93b581eeb078cec1f0dd8a7d79df431 && \ git reset 6b27c1f981a9a93918e4039f236ead27165a8e91 && \
./autogen.sh && \ ./autogen.sh && \
./configure && \ ./configure && \
make -j4 && \ make -j4 && \

@ -64,7 +64,7 @@ RUN php -r "unlink('composer-setup.php');"
RUN cd /tmp && \ RUN cd /tmp && \
git clone https://github.com/google/protobuf.git && \ git clone https://github.com/google/protobuf.git && \
cd protobuf/php && \ cd protobuf/php && \
git reset 46ae90dc5e145b12fffa7e053a908a9f3e066286 && \ git reset 6b27c1f981a9a93918e4039f236ead27165a8e91 && \
ln -sfn /usr/bin/php5.5 /usr/bin/php && \ ln -sfn /usr/bin/php5.5 /usr/bin/php && \
ln -sfn /usr/bin/php-config5.5 /usr/bin/php-config && \ ln -sfn /usr/bin/php-config5.5 /usr/bin/php-config && \
ln -sfn /usr/bin/phpize5.5 /usr/bin/phpize && \ ln -sfn /usr/bin/phpize5.5 /usr/bin/phpize && \

@ -230,7 +230,7 @@ void repeated_field_create_with_field(zend_class_entry *ce,
zval **repeated_field TSRMLS_DC) { zval **repeated_field TSRMLS_DC) {
upb_fieldtype_t type = upb_fielddef_type(field); upb_fieldtype_t type = upb_fielddef_type(field);
const zend_class_entry *msg_ce = field_type_class(field TSRMLS_CC); const zend_class_entry *msg_ce = field_type_class(field TSRMLS_CC);
repeated_field_create_with_type(ce, type, msg_ce, repeated_field); repeated_field_create_with_type(ce, type, msg_ce, repeated_field TSRMLS_CC);
} }
void repeated_field_create_with_type(zend_class_entry *ce, void repeated_field_create_with_type(zend_class_entry *ce,

@ -247,7 +247,7 @@ void map_field_create_with_field(zend_class_entry *ce, const upb_fielddef *field
const upb_fielddef *value_field = map_field_value(field); const upb_fielddef *value_field = map_field_value(field);
map_field_create_with_type( map_field_create_with_type(
ce, upb_fielddef_type(key_field), upb_fielddef_type(value_field), ce, upb_fielddef_type(key_field), upb_fielddef_type(value_field),
field_type_class(value_field TSRMLS_CC), map_field); field_type_class(value_field TSRMLS_CC), map_field TSRMLS_CC);
} }
void map_field_create_with_type(zend_class_entry *ce, upb_fieldtype_t key_type, void map_field_create_with_type(zend_class_entry *ce, upb_fieldtype_t key_type,

@ -439,7 +439,8 @@ PHP_METHOD(Util, checkRepeatedField) {
zend_hash_get_current_data_ex(table, (void**)&memory, &pointer) == zend_hash_get_current_data_ex(table, (void**)&memory, &pointer) ==
SUCCESS; SUCCESS;
zend_hash_move_forward_ex(table, &pointer)) { zend_hash_move_forward_ex(table, &pointer)) {
repeated_field_handlers->write_dimension(repeated_field, NULL, *(zval**)memory); repeated_field_handlers->write_dimension(repeated_field, NULL,
*(zval**)memory TSRMLS_CC);
} }
Z_DELREF_P(repeated_field); Z_DELREF_P(repeated_field);
@ -497,7 +498,8 @@ PHP_METHOD(Util, checkMapField) {
SUCCESS; SUCCESS;
zend_hash_move_forward_ex(table, &pointer)) { zend_hash_move_forward_ex(table, &pointer)) {
zend_hash_get_current_key_zval_ex(table, &key, &pointer); zend_hash_get_current_key_zval_ex(table, &key, &pointer);
map_field_handlers->write_dimension(map_field, &key, *(zval**)value); map_field_handlers->write_dimension(map_field, &key,
*(zval**)value TSRMLS_CC);
} }
Z_DELREF_P(map_field); Z_DELREF_P(map_field);

Loading…
Cancel
Save