Improper declaration of Drupal\hospital_price_transparency\Plugin\Validation\Constraint\HptZipFileConstraint::validatedBy()

Created on 29 April 2024, 7 months ago
Updated 13 May 2024, 6 months ago

Problem/Motivation

See https://git.drupalcode.org/project/hospital_price_transparency/-/jobs/14...

1) Drupal\Tests\hospital_price_transparency\Kernel\HptValidationTest::testValidation
PHPUnit\Framework\Exception: PHP Fatal error: Declaration of Drupal\hospital_price_transparency\Plugin\Validation\Constraint\HptZipFileConstraint::validatedBy() must be compatible with Symfony\Component\Validator\Constraint::validatedBy(): string in /builds/project/hospital_price_transparency/src/Plugin/Validation/Constraint/HptZipFileConstraint.php on line 35
Fatal error: Declaration of Drupal\hospital_price_transparency\Plugin\Validation\Constraint\HptZipFileConstraint::validatedBy() must be compatible with Symfony\Component\Validator\Constraint::validatedBy(): string in /builds/project/hospital_price_transparency/src/Plugin/Validation/Constraint/HptZipFileConstraint.php on line 35
/builds/project/hospital_price_transparency/vendor/phpunit/phpunit/src/Framework/TestSuite.php:685
/builds/project/hospital_price_transparency/vendor/phpunit/phpunit/src/Framework/TestSuite.php:685
/builds/project/hospital_price_transparency/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
/builds/project/hospital_price_transparency/vendor/phpunit/phpunit/src/TextUI/Command.php:146
/builds/project/hospital_price_transparency/vendor/phpunit/phpunit/src/TextUI/Command.php:99
/builds/project/hospital_price_transparency/vendor/bin/phpunit:122

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States danflanagan8 St. Louis, US

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024