Comments

rakesh.gectcr created an issue. See original summary.

rakesh.gectcr’s picture

Issue summary: View changes
rakesh.gectcr’s picture

Status: Active » Needs review
StatusFileSize
new1.11 KB

Please review the patch

nitesh pawar’s picture

StatusFileSize
new1.3 KB

New Patch on latest revision

cilefen’s picture

Status: Needs review » Needs work
  1. +++ b/core/includes/bootstrap.inc
    @@ -578,11 +578,11 @@ function _drupal_exception_handler($exception) {
       // PHP 7 introduces Throwable, which covers both Error and
    -  // Exception throwables.
    +  // Exceptions throwable.
    

    I do not think this is a typo. The throwables are Error and Exception.

  2. +++ b/core/includes/bootstrap.inc
    @@ -994,11 +994,11 @@ function _drupal_shutdown_function() {
       // PHP 7 introduces Throwable, which covers both Error and
    -  // Exception throwables.
    +  // Exceptions throwable.
       catch (\Throwable $error) {
    

    Also, this is not a typo.

cilefen’s picture

Issue tags: -typos +Novice, +rc eligible
joshi.rohit100’s picture

Status: Needs work » Needs review
StatusFileSize
new1009 bytes
new808 bytes
rakesh.gectcr’s picture

StatusFileSize
new2.52 KB
cilefen’s picture

+++ b/core/includes/bootstrap.inc
@@ -348,10 +348,8 @@ function format_string($string, array $args) {
- *
- * @return
- *   TRUE if the text is valid UTF-8, FALSE if not.
- *
+ * @return bool TRUE if the text is valid UTF-8, FALSE if not.
+ * TRUE if the text is valid UTF-8, FALSE if not.

This looks like a typo.

rakesh.gectcr’s picture

@cilefen

It is there in the latest pull .

Is it better to keep like following.

* @return bool
- *   TRUE if the text is valid UTF-8, FALSE if not.
rakesh.gectcr’s picture

Change the 'compatibile typo compatible' and added the @return with bool

Status: Needs review » Needs work
rakesh.gectcr’s picture

StatusFileSize
new1.31 KB
rakesh.gectcr’s picture

Status: Needs work » Needs review

snehi’s picture

Status: Needs review » Reviewed & tested by the community

looks RTBC to me.

xjm’s picture

Status: Reviewed & tested by the community » Needs work

Thanks for the patch!

+++ b/core/includes/bootstrap.inc
@@ -348,10 +348,8 @@ function format_string($string, array $args) {
- *
- * @return
+ * @return bool
...
- *
  * @see \Drupal\Component\Utility\Unicode::validateUtf8()

These blank lines should actually not be removed per our standard. Reference: https://www.drupal.org/node/1354#drupal

rakesh.gectcr’s picture

Assigned: Unassigned » rakesh.gectcr
rakesh.gectcr’s picture

StatusFileSize
new1.24 KB
rakesh.gectcr’s picture

Status: Needs work » Needs review
rakesh.gectcr’s picture

@xjm

I have fixed that in the latest patch, Please review it

cilefen’s picture

Status: Needs review » Reviewed & tested by the community

@rakesh.gectcr Nice work. Next time, please provide an interdiff. It saves the reviewers' time.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 3b8efbf and pushed to 8.0.x. Thanks!

  • alexpott committed 3b8efbf on 8.0.x
    Issue #2594441 by rakesh.gectcr, joshi.rohit100, Nitesh Pawar, cilefen,...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.