Giter Club home page Giter Club logo

Comments (5)

sstalle avatar sstalle commented on July 19, 2024

Thank you for your report, @yamlfd. It would help a lot if you could provide the exact code you are running, because I don't see any continue statements on line 1418 of the most recent development release of httprl.module from https://www.drupal.org/project/httprl

from php7cc.

alexhass avatar alexhass commented on July 19, 2024

See http://cgit.drupalcode.org/httprl/tree/httprl.module?h=7.x-1.x

I have tested against the latest release, but this is dev and it is full of continue's.

from php7cc.

sstalle avatar sstalle commented on July 19, 2024

Check for continue outside loop was added to the master branch. I tried running it against the http://cgit.drupalcode.org/httprl/tree/httprl.module?h=7.x-1.x, but it did not produce any warnings. I also tried native PHP syntax checking:

$ php -v
PHP 7.0.10-dev (cli) (built: Jul  5 2016 17:02:11) ( NTS DEBUG )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.10-dev, Copyright (c) 1999-2016, by Zend Technologies
$ php -l httprl.module
No syntax errors detected in httprl.module

Please feel free to reopen if you can provide a failing test case.

from php7cc.

alexhass avatar alexhass commented on July 19, 2024

I tried your PHP 7 Compatibility Checker version 1.1.0 agains the last release https://ftp.drupal.org/files/projects/httprl-7.x-1.14.zip and it complained.

from php7cc.

alexhass avatar alexhass commented on July 19, 2024

Ah, sorry - confusend myself... your checker does NOT complain. That is the bug. PHP itself complains if it includes the httprl module in Drupal.

php -l httprl.module
No syntax errors detected in httprl.module

This also gives me no info, but if the module is enabled in Drupal - PHP stops with an exception.

from php7cc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.