Skip to content

Commit

Permalink
Removed deprecated PermissionSubtree::createFromQueryBuilder method (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
wiewiurdp authored Mar 7, 2025
1 parent 0344633 commit a874f98
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
24 changes: 0 additions & 24 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -23142,30 +23142,6 @@ parameters:
count: 1
path: src/lib/Repository/Values/Content/Location.php

-
message: '#^Method Ibexa\\Core\\Repository\\Values\\Content\\Query\\Criterion\\PermissionSubtree\:\:createFromQueryBuilder\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: src/lib/Repository/Values/Content/Query/Criterion/PermissionSubtree.php

-
message: '#^Method Ibexa\\Core\\Repository\\Values\\Content\\Query\\Criterion\\PermissionSubtree\:\:createFromQueryBuilder\(\) has parameter \$operator with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: src/lib/Repository/Values/Content/Query/Criterion/PermissionSubtree.php

-
message: '#^Method Ibexa\\Core\\Repository\\Values\\Content\\Query\\Criterion\\PermissionSubtree\:\:createFromQueryBuilder\(\) has parameter \$target with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: src/lib/Repository/Values/Content/Query/Criterion/PermissionSubtree.php

-
message: '#^Method Ibexa\\Core\\Repository\\Values\\Content\\Query\\Criterion\\PermissionSubtree\:\:createFromQueryBuilder\(\) has parameter \$value with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: src/lib/Repository/Values/Content/Query/Criterion/PermissionSubtree.php

-
message: '#^Method Ibexa\\Core\\Repository\\Values\\Content\\TrashItem\:\:getProperties\(\) has parameter \$dynamicProperties with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,4 @@
*/
class PermissionSubtree extends APISubtreeCriterion
{
/**
* @deprecated since 7.2, will be removed in 8.0. Use the constructor directly instead.
*/
public static function createFromQueryBuilder($target, $operator, $value)
{
@trigger_error('The ' . __METHOD__ . ' method is deprecated since version 7.2 and will be removed in 8.0.', E_USER_DEPRECATED);

return new self($value);
}
}

0 comments on commit a874f98

Please sign in to comment.