Skip to content

Commit

Permalink
Changed FQCN to string in class aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
mikadamczyk committed Oct 15, 2024
1 parent 42bd075 commit 2a43f5a
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 44 deletions.
36 changes: 0 additions & 36 deletions phpstan-baseline.neon

This file was deleted.

1 change: 0 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-symfony/extension.neon
- phpstan-baseline.neon

parameters:
level: 8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ private function getExpressions(iterable $criteria, CriterionMapper $mapper): ar
}
}

class_alias(\Ibexa\Contracts\CoreSearch\Persistence\CriterionMapper\AbstractCompositeCriterionMapper::class, \Ibexa\ProductCatalog\Local\Persistence\Legacy\Common\CriterionMapper\AbstractCompositeCriterionMapper::class);
class_alias(\Ibexa\Contracts\CoreSearch\Persistence\CriterionMapper\AbstractCompositeCriterionMapper::class, '\Ibexa\ProductCatalog\Local\Persistence\Legacy\Common\CriterionMapper\AbstractCompositeCriterionMapper');
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ protected function getComparisonValue(FieldValueCriterion $criterion)
}
}

class_alias(\Ibexa\Contracts\CoreSearch\Persistence\CriterionMapper\AbstractFieldCriterionMapper::class, \Ibexa\ProductCatalog\Local\Persistence\Legacy\Common\CriterionMapper\AbstractFieldCriterionMapper::class);
class_alias(\Ibexa\Contracts\CoreSearch\Persistence\CriterionMapper\AbstractFieldCriterionMapper::class, '\Ibexa\ProductCatalog\Local\Persistence\Legacy\Common\CriterionMapper\AbstractFieldCriterionMapper');
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ final public function getCriteria(): array
}
}

class_alias(\Ibexa\Contracts\CoreSearch\Values\Query\Criterion\AbstractCompositeCriterion::class, \Ibexa\Contracts\ProductCatalog\Values\Common\Query\Criterion\AbstractCompositeCriterion::class);
class_alias(\Ibexa\Contracts\CoreSearch\Values\Query\Criterion\AbstractCompositeCriterion::class, '\Ibexa\Contracts\ProductCatalog\Values\Common\Query\Criterion\AbstractCompositeCriterion');
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ interface CriterionInterface
{
}

class_alias(\Ibexa\Contracts\CoreSearch\Values\Query\Criterion\CriterionInterface::class, \Ibexa\Contracts\ProductCatalog\Values\Common\Query\Criterion\CriterionInterface::class);
class_alias(\Ibexa\Contracts\CoreSearch\Values\Query\Criterion\CriterionInterface::class, '\Ibexa\Contracts\ProductCatalog\Values\Common\Query\Criterion\CriterionInterface');
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ public function getOperator(): string
}
}

class_alias(\Ibexa\Contracts\CoreSearch\Values\Query\Criterion\FieldValueCriterion::class, \Ibexa\Contracts\ProductCatalog\Values\Common\Query\Criterion\FieldValueCriterion::class);
class_alias(\Ibexa\Contracts\CoreSearch\Values\Query\Criterion\FieldValueCriterion::class, '\Ibexa\Contracts\ProductCatalog\Values\Common\Query\Criterion\FieldValueCriterion');
2 changes: 1 addition & 1 deletion src/contracts/Values/Query/Criterion/LogicalAnd.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class LogicalAnd extends AbstractCompositeCriterion
{
}

class_alias(\Ibexa\Contracts\CoreSearch\Values\Query\Criterion\LogicalAnd::class, \Ibexa\Contracts\ProductCatalog\Values\Common\Query\Criterion\LogicalAnd::class);
class_alias(\Ibexa\Contracts\CoreSearch\Values\Query\Criterion\LogicalAnd::class, '\Ibexa\Contracts\ProductCatalog\Values\Common\Query\Criterion\LogicalAnd');
2 changes: 1 addition & 1 deletion src/contracts/Values/Query/Criterion/LogicalOr.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class LogicalOr extends AbstractCompositeCriterion
{
}

class_alias(\Ibexa\Contracts\CoreSearch\Values\Query\Criterion\LogicalOr::class, \Ibexa\Contracts\ProductCatalog\Values\Common\Query\Criterion\LogicalOr::class);
class_alias(\Ibexa\Contracts\CoreSearch\Values\Query\Criterion\LogicalOr::class, '\Ibexa\Contracts\ProductCatalog\Values\Common\Query\Criterion\LogicalOr');

0 comments on commit 2a43f5a

Please sign in to comment.