GithubHelp home page GithubHelp logo

Comments (5)

timbocode avatar timbocode commented on May 14, 2024 1

Yes, I think it's OK. I know that Classic SEO currently works on PHP 5.6 but that's not a road I want to go down. By making the minimum PHP version 7.x, it means I can dump outdated PHP methods and utilise new ones and that's something I will be looking at after 1.0 is released.

I also don't have the time or resources to test and support Classic SEO on unsupported versions of PHP so I'm happy to leave the minimum PHP requirement as 7.x.

PHP 5.6 was already EOL when the first public release of Classic SEO was made. Even PHP 7.2 is now in the "Security fixes only" stage.

After all, the minimum PHP requirements for ClassicPress itself is likely to be 7.x in the next major release.

from classicpress-seo.

xxsimoxx avatar xxsimoxx commented on May 14, 2024 1

Yes, I'm ok to close!

PHPCS

I'm checking only php because of warnings for minified files.
phpcs -p . --extensions=php --standard=PHPCompatibility --runtime-set testVersion X.Y

Version 5.6

clean

Version 7.0 to 7.4:

Only a warn about CMB2, that seems to me not creating problems.

FILE: ...tent/plugins/classicpress-seo/vendor/cmb2/includes/CMB2_Base.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 417 | WARNING | Since PHP 7.0, functions inspecting arguments, like
     |         | func_get_args(), no longer report the original value
     |         | as passed to a parameter, but will instead provide
     |         | the current value. The parameter "$message" was
     |         | used, and possibly changed (by reference), on line
     |         | 416.
----------------------------------------------------------------------

from classicpress-seo.

timbocode avatar timbocode commented on May 14, 2024

Are you OK if I close this?

from classicpress-seo.

timbocode avatar timbocode commented on May 14, 2024

One other thing @xxsimoxx would you be able to share your PHPCS tests? That would be a big help.

from classicpress-seo.

timbocode avatar timbocode commented on May 14, 2024

Thanks Simone.

from classicpress-seo.

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.