Problem/Motivation

The latest version beta2 cause this Error: Class "Webmozart\Assert\Assert" not found in Drupal\firebase_php\Service\FirebasePhpMessagingService->__construct() (line 103 of modules/contrib/firebase_php/src/Service/FirebasePhpMessagingService.php

Steps to reproduce

Try to send a notifcation and you will get the error

Proposed resolution

Add Webmozart\Assert to require composer.json

Remaining tasks

Patch

User interface changes

None

API changes

None

Data model changes

None

CommentFileSizeAuthor
#2 3594476-2.patch363 bytesanas_maw
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

anas_maw created an issue. See original summary.

anas_maw’s picture

Status: Active » Needs review
StatusFileSize
new363 bytes

This patch will solve the issue

ptmkenny made their first commit to this issue’s fork.

ptmkenny’s picture

Thank you for reporting this. Instead of requiring webmozart/assert, I will remove the dependency by refactoring. I'll try to make a release in the next few hours.

  • ptmkenny committed 4a5b5c9a on 8.0.x
    fix: #3594476 Error: Class "Webmozart\Assert\Assert" not found
    
    By:...
ptmkenny’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.