Skip to content

Symfony 7.0 compatibility #11

@b1rdex

Description

@b1rdex

The bundle is not compatible with 7.0

PHP Fatal error:  Declaration of Jsvrcek\Bundle\IcsBundle\DependencyInjection\Configuration::getConfigTreeBuilder()
must be compatible with Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder():
Symfony\Component\Config\Definition\Builder\TreeBuilder

Workaround:

  1. remove composer dependency jsvrcek/ics-bundle
  2. add composer dependency jsvrcek/ics
  3. add these lines to services.yml (to services section):
    Jsvrcek\ICS\CalendarExport:
    Jsvrcek\ICS\CalendarStream:
    Jsvrcek\ICS\Utility\Formatter:

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