Skip to content

Compatibility with php 7.0 #2

Description

@gregurco

In composer.json you marked that this plugin supports php 7.0, but you used void as return type (ref: https://github.com/Neirda24/GuzzleBundleHeaderDisableCachePlugin/blob/master/src/EventListener/NoCacheSubscriber.php#L36) but this feature was introduced in php 7.1 (ref: https://wiki.php.net/rfc/void_return_type). You have two options:

  • rise php version in composer.json to 7.1
  • remove usage of all features introduced in php 7.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions