Giter Site home page Giter Site logo

PHP7 compatibility about sentry-php HOT 5 CLOSED

ohtyap avatar ohtyap commented on June 10, 2024
PHP7 compatibility

from sentry-php.

Comments (5)

cleptric avatar cleptric commented on June 10, 2024 2

@ohtyap The fix went out in 4.5.0

from sentry-php.

cleptric avatar cleptric commented on June 10, 2024

The logger we provide is only compatible with the current PSR3 logger interface. We will add additional loggers in the future, for now, please create your own.

from sentry-php.

anibalsanchez avatar anibalsanchez commented on June 10, 2024

On a site with PHP PHP 8.0.28 and composer 2.2.18, after installing sentry/sentry 4.4.0, I'm getting the error:

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".

from sentry-php.

Jean85 avatar Jean85 commented on June 10, 2024

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".

These are issues bound to your dev environment or other dependencies: your last execution of Composer was done under PHP 8.1 (probably locally) and you produced a composer.lock for that version. Use a proper local dev environment with the right version of PHP to fix it.

from sentry-php.

Jean85 avatar Jean85 commented on June 10, 2024

The logger we provide is only compatible with the current PSR3 logger interface.

@cleptric the PSR-3 has been updated that way, but you still may use the previous signature (with wider argument types, but stricter return type) and maintain backward compatibility, see PSR Evolution for further details. As a practical example, see: https://3v4l.org/GivGp

from sentry-php.

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.