Hi, my friends!
Someone can I help me?
My stage of the test with sonarqube is return quality gate error [UNSTABLE], your version is [ sonar: scannerHome = tool ‘SonarScanner3.2.0.1227’].
The error is “ERROR: Unable to parse file [path of the code] at line 27”. The developers says that the code is correct, but the sonarqube tests return this error.
``
`ERROR: Unable to parse file [file://path/Product/Model/ProductScopesRepository.php] at line 33
ERROR: Parse error at line 33 column 26:
23: * @inheritDoc
24: /
25: class ProductScopesRepository implements ProductScopesRepositoryInterface
26: {
27: /*
28: * @param ProductScopesCollection $collection
29: * @param ProductScopesResource $resource
30: * @param LoggerInterface $logger
31: /
32: public function __construct(
33: private readonly ProductScopesCollection $collection,
^
34: private readonly ProductScopesResource $resource,
35: private readonly LoggerInterface $logger
36: ) {
37: }
38:
39: /*
40: * @inheritDoc
41: *
42: * @throws LocalizedException
43: */