BrandOriented / PimcoreCiHubConnector

This bundle adds full integration between Pimcore and CI-HUB Connector. Now you can add, delete and download all assets, lock and unlock, get all versions for specified asset and much more.
https://brandoriented.io/
Other
5 stars 6 forks source link

Traits cannot have constants #10

Closed betterapp closed 5 months ago

betterapp commented 5 months ago

Pimcore version(s) affected

11

Description

Symfony\Component\ErrorHandler\Error\FatalError^ {#4156
  #message: "Compile Error: Traits cannot have constants"
  #code: 0
  #file: "./vendor/bo-hub/ci-hub-api-bundle/src/Provider/Traits/HasBaseAssetProvider.php"
  #line: 32
  -error: array:4 [
    "type" => 64
    "message" => "Traits cannot have constants"

How to reproduce

The error is showing up in PHP 8.1 const in trait are available from PHP 8.2

Possible Solution

Add require for SimpleRESTAdapterBundle for PHP 8.2 in composer.json

Additional Context

No response

betterapp commented 5 months ago

https://github.com/BrandOriented/PimcoreCiHubConnector/pull/12

labudzinski commented 5 months ago

Pull request has been merged