Skip to content
Snippets Groups Projects
Commit 4d805e5d authored by catch's avatar catch
Browse files

Issue #3461945 by mstrelan, bbrala: Fix instances of floats passed to functions expecting ints

parent 996c75cb
No related branches found
No related tags found
21 merge requests!11131[10.4.x-only-DO-NOT-MERGE]: Issue ##2842525 Ajax attached to Views exposed filter form does not trigger callbacks,!9470[10.3.x-only-DO-NOT-MERGE]: #3331771 Fix file_get_contents(): Passing null to parameter,!8736Update the Documention As per the Function uses.,!8528Issue #3456871 by Tim Bozeman: Support NULL services,!8513Issue #3453786: DefaultSelection should document why values for target_bundles NULL and [] behave as they do,!3878Removed unused condition head title for views,!3818Issue #2140179: $entity->original gets stale between updates,!3742Issue #3328429: Create item list field formatter for displaying ordered and unordered lists,!3731Claro: role=button on status report items,!3154Fixes #2987987 - CSRF token validation broken on routes with optional parameters.,!3133core/modules/system/css/components/hidden.module.css,!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes,!2812Issue #3312049: [Followup] Fix Drupal.Commenting.FunctionComment.MissingReturnType returns for NULL,!2378Issue #2875033: Optimize joins and table selection in SQL entity query implementation,!2062Issue #3246454: Add weekly granularity to views date sort,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!877Issue #2708101: Default value for link text is not saved,!617Issue #3043725: Provide a Entity Handler for user cancelation,!579Issue #2230909: Simple decimals fail to pass validation,!560Move callback classRemove outside of the loop,!555Issue #3202493
Pipeline #226657 canceled
Pipeline: drupal

#226659

    ...@@ -164,7 +164,7 @@ protected function processQueues() { ...@@ -164,7 +164,7 @@ protected function processQueues() {
    // Each queue will be processed immediately when it is reached for the // Each queue will be processed immediately when it is reached for the
    // first time, as zero > currentTime will never be true. // first time, as zero > currentTime will never be true.
    if ($process_from > $this->time->getCurrentMicroTime()) { if ($process_from > $this->time->getCurrentMicroTime()) {
    $this->usleep(round($process_from - $this->time->getCurrentMicroTime(), 3) * 1000000); $this->usleep((int) round($process_from - $this->time->getCurrentMicroTime(), 3) * 1000000);
    } }
    try { try {
    ......
    ...@@ -138,7 +138,7 @@ public static function generateSampleValue(FieldDefinitionInterface $field_defin ...@@ -138,7 +138,7 @@ public static function generateSampleValue(FieldDefinitionInterface $field_defin
    } }
    else { else {
    // Textfield handling. // Textfield handling.
    $max = ceil($settings['max_length'] / 3); $max = (int) ceil($settings['max_length'] / 3);
    $value = substr($random->sentences(mt_rand(1, $max), FALSE), 0, $settings['max_length']); $value = substr($random->sentences(mt_rand(1, $max), FALSE), 0, $settings['max_length']);
    } }
    ......
    ...@@ -1023,8 +1023,8 @@ function simpletest_script_get_test_list() { ...@@ -1023,8 +1023,8 @@ function simpletest_script_get_test_list() {
    } }
    if ((int) $args['ci-parallel-node-total'] > 1) { if ((int) $args['ci-parallel-node-total'] > 1) {
    $slow_tests_per_job = ceil(count($slow_tests) / $args['ci-parallel-node-total']); $slow_tests_per_job = (int) ceil(count($slow_tests) / $args['ci-parallel-node-total']);
    $tests_per_job = ceil(count($test_list) / $args['ci-parallel-node-total']); $tests_per_job = (int) ceil(count($test_list) / $args['ci-parallel-node-total']);
    $test_list = array_merge(array_slice($slow_tests, ($args['ci-parallel-node-index'] -1) * $slow_tests_per_job, $slow_tests_per_job), array_slice($test_list, ($args['ci-parallel-node-index'] - 1) * $tests_per_job, $tests_per_job)); $test_list = array_merge(array_slice($slow_tests, ($args['ci-parallel-node-index'] -1) * $slow_tests_per_job, $slow_tests_per_job), array_slice($test_list, ($args['ci-parallel-node-index'] - 1) * $tests_per_job, $tests_per_job));
    } }
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment