Skip to content

Commit a06abad

Browse files
committed
Regenerated PHPStan baseline
1 parent fca1340 commit a06abad

File tree

2 files changed

+26
-140
lines changed

2 files changed

+26
-140
lines changed

phpstan-baseline.neon

Lines changed: 25 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -4386,6 +4386,12 @@ parameters:
43864386
count: 1
43874387
path: src/bundle/Core/Imagine/PlaceholderProvider/RemoteProvider.php
43884388

4389+
-
4390+
message: '#^Parameter \#2 \$options of function curl_setopt_array expects array\{10002\: non\-empty\-string, 10001\: resource, 13\: int, 45\: bool\}, array\{10002\: string, 10001\: resource\|false, 13\: mixed, 45\: true\} given\.$#'
4391+
identifier: argument.type
4392+
count: 1
4393+
path: src/bundle/Core/Imagine/PlaceholderProvider/RemoteProvider.php
4394+
43894395
-
43904396
message: '#^Cannot access offset string on Ibexa\\Bundle\\Core\\Imagine\\PlaceholderProvider\.$#'
43914397
identifier: offsetAccess.nonOffsetAccessible
@@ -4770,6 +4776,12 @@ parameters:
47704776
count: 1
47714777
path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php
47724778

4779+
-
4780+
message: '#^Parameter \#2 \$options of function curl_setopt_array expects array\{10002\: non\-empty\-string, 19913\: bool, 52\: bool, 78\: int, 13\: int, 45\: bool, 44\: bool\}, array\{10002\: string, 19913\: false, 52\: true, 78\: int, 13\: int, 45\: true, 44\: true\} given\.$#'
4781+
identifier: argument.type
4782+
count: 1
4783+
path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php
4784+
47734785
-
47744786
message: '#^Access to protected property Ibexa\\Contracts\\Core\\Repository\\Values\\URL\\URL\:\:\$url\.$#'
47754787
identifier: property.protected
@@ -8436,12 +8448,6 @@ parameters:
84368448
count: 1
84378449
path: src/contracts/Repository/Values/Content/Query/Criterion/FullText.php
84388450

8439-
-
8440-
message: '#^Method Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Query\\Criterion\\IsFieldEmpty\:\:__construct\(\) has Ibexa\\Contracts\\Core\\Repository\\Exceptions\\InvalidArgumentException in PHPDoc @throws tag but it''s not thrown\.$#'
8441-
identifier: throws.unusedType
8442-
count: 1
8443-
path: src/contracts/Repository/Values/Content/Query/Criterion/IsFieldEmpty.php
8444-
84458451
-
84468452
message: '#^Call to function is_bool\(\) with bool will always evaluate to true\.$#'
84478453
identifier: function.alreadyNarrowedType
@@ -8496,12 +8502,6 @@ parameters:
84968502
count: 1
84978503
path: src/contracts/Repository/Values/Content/Query/Criterion/Location/Priority.php
84988504

8499-
-
8500-
message: '#^Method Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Query\\Criterion\\LogicalNot\:\:__construct\(\) has InvalidArgumentException in PHPDoc @throws tag but it''s not thrown\.$#'
8501-
identifier: throws.unusedType
8502-
count: 1
8503-
path: src/contracts/Repository/Values/Content/Query/Criterion/LogicalNot.php
8504-
85058505
-
85068506
message: '#^PHPDoc tag @param references unknown parameter\: \$criteria$#'
85078507
identifier: parameter.notFound
@@ -8874,12 +8874,6 @@ parameters:
88748874
count: 1
88758875
path: src/contracts/Repository/Values/ObjectState/ObjectStateCreateStruct.php
88768876

8877-
-
8878-
message: '#^Method Ibexa\\Contracts\\Core\\Repository\\Values\\URL\\Query\\Criterion\\LogicalNot\:\:__construct\(\) has InvalidArgumentException in PHPDoc @throws tag but it''s not thrown\.$#'
8879-
identifier: throws.unusedType
8880-
count: 1
8881-
path: src/contracts/Repository/Values/URL/Query/Criterion/LogicalNot.php
8882-
88838877
-
88848878
message: '#^Class Ibexa\\Contracts\\Core\\Repository\\Values\\URL\\SearchResult implements generic interface IteratorAggregate but does not specify its types\: TKey, TValue$#'
88858879
identifier: missingType.generics
@@ -10956,12 +10950,6 @@ parameters:
1095610950
count: 1
1095710951
path: src/lib/FieldType/FieldType.php
1095810952

10959-
-
10960-
message: '#^Method Ibexa\\Core\\FieldType\\FieldType\:\:validate\(\) has Ibexa\\Contracts\\Core\\Repository\\Exceptions\\InvalidArgumentException in PHPDoc @throws tag but it''s not thrown\.$#'
10961-
identifier: throws.unusedType
10962-
count: 1
10963-
path: src/lib/FieldType/FieldType.php
10964-
1096510953
-
1096610954
message: '#^Method Ibexa\\Core\\FieldType\\FieldType\:\:validatorConfigurationFromHash\(\) has parameter \$validatorConfigurationHash with no value type specified in iterable type array\.$#'
1096710955
identifier: missingType.iterableValue
@@ -11910,12 +11898,6 @@ parameters:
1191011898
count: 1
1191111899
path: src/lib/FieldType/Null/Type.php
1191211900

11913-
-
11914-
message: '#^Method Ibexa\\Core\\FieldType\\Null\\Type\:\:checkValueStructure\(\) has Ibexa\\Contracts\\Core\\Repository\\Exceptions\\InvalidArgumentException in PHPDoc @throws tag but it''s not thrown\.$#'
11915-
identifier: throws.unusedType
11916-
count: 1
11917-
path: src/lib/FieldType/Null/Type.php
11918-
1191911901
-
1192011902
message: '#^Method Ibexa\\Core\\FieldType\\Null\\Type\:\:checkValueStructure\(\) has no return type specified\.$#'
1192111903
identifier: missingType.return
@@ -12348,12 +12330,6 @@ parameters:
1234812330
count: 1
1234912331
path: src/lib/FieldType/User/Type.php
1235012332

12351-
-
12352-
message: '#^Method Ibexa\\Core\\FieldType\\User\\Type\:\:checkValueStructure\(\) has Ibexa\\Contracts\\Core\\Repository\\Exceptions\\InvalidArgumentException in PHPDoc @throws tag but it''s not thrown\.$#'
12353-
identifier: throws.unusedType
12354-
count: 1
12355-
path: src/lib/FieldType/User/Type.php
12356-
1235712333
-
1235812334
message: '#^Method Ibexa\\Core\\FieldType\\User\\Type\:\:checkValueStructure\(\) has no return type specified\.$#'
1235912335
identifier: missingType.return
@@ -13296,12 +13272,6 @@ parameters:
1329613272
count: 1
1329713273
path: src/lib/Limitation/BlockingLimitationType.php
1329813274

13299-
-
13300-
message: '#^Method Ibexa\\Core\\Limitation\\BlockingLimitationType\:\:evaluate\(\) has Ibexa\\Contracts\\Core\\Repository\\Exceptions\\BadStateException in PHPDoc @throws tag but it''s not thrown\.$#'
13301-
identifier: throws.unusedType
13302-
count: 1
13303-
path: src/lib/Limitation/BlockingLimitationType.php
13304-
1330513275
-
1330613276
message: '#^Return type \(void\) of method Ibexa\\Core\\Limitation\\ChangeOwnerLimitationType\:\:valueSchema\(\) should be compatible with return type \(array\<mixed\>\|int\) of method Ibexa\\Contracts\\Core\\Limitation\\Type\:\:valueSchema\(\)$#'
1330713277
identifier: method.childReturnType
@@ -13404,12 +13374,6 @@ parameters:
1340413374
count: 1
1340513375
path: src/lib/Limitation/NewSectionLimitationType.php
1340613376

13407-
-
13408-
message: '#^Method Ibexa\\Core\\Limitation\\NewSectionLimitationType\:\:evaluate\(\) has Ibexa\\Contracts\\Core\\Repository\\Exceptions\\BadStateException in PHPDoc @throws tag but it''s not thrown\.$#'
13409-
identifier: throws.unusedType
13410-
count: 1
13411-
path: src/lib/Limitation/NewSectionLimitationType.php
13412-
1341313377
-
1341413378
message: '#^Method Ibexa\\Core\\Limitation\\NewSectionLimitationType\:\:getCriterionByTarget\(\) has parameter \$targets with no value type specified in iterable type array\.$#'
1341513379
identifier: missingType.iterableValue
@@ -15252,12 +15216,6 @@ parameters:
1525215216
count: 1
1525315217
path: src/lib/MVC/Symfony/SiteAccess/Matcher/URIElement.php
1525415218

15255-
-
15256-
message: '#^Method Ibexa\\Core\\MVC\\Symfony\\SiteAccess\\Matcher\\URIElement\:\:getURIElements\(\) has LogicException in PHPDoc @throws tag but it''s not thrown\.$#'
15257-
identifier: throws.unusedType
15258-
count: 1
15259-
path: src/lib/MVC/Symfony/SiteAccess/Matcher/URIElement.php
15260-
1526115219
-
1526215220
message: '#^Method Ibexa\\Core\\MVC\\Symfony\\SiteAccess\\Matcher\\URIElement\:\:getURIElements\(\) return type has no value type specified in iterable type array\.$#'
1526315221
identifier: missingType.iterableValue
@@ -15384,12 +15342,6 @@ parameters:
1538415342
count: 1
1538515343
path: src/lib/MVC/Symfony/SiteAccess/Router.php
1538615344

15387-
-
15388-
message: '#^Method Ibexa\\Core\\MVC\\Symfony\\SiteAccess\\Router\:\:match\(\) has Ibexa\\Core\\MVC\\Exception\\InvalidSiteAccessException in PHPDoc @throws tag but it''s not thrown\.$#'
15389-
identifier: throws.unusedType
15390-
count: 1
15391-
path: src/lib/MVC/Symfony/SiteAccess/Router.php
15392-
1539315345
-
1539415346
message: '#^Method Ibexa\\Core\\MVC\\Symfony\\SiteAccess\\Router\:\:matchByName\(\) should return Ibexa\\Core\\MVC\\Symfony\\SiteAccess\|null but returns object\.$#'
1539515347
identifier: return.type
@@ -19171,7 +19123,7 @@ parameters:
1917119123
path: src/lib/Persistence/Legacy/Content/Gateway.php
1917219124

1917319125
-
19174-
message: '#^Argument of an invalid type DOMNodeList\<DOMNode\>\|false supplied for foreach, only iterables are supported\.$#'
19126+
message: '#^Argument of an invalid type DOMNodeList\<DOMNameSpaceNode\|DOMNode\>\|false supplied for foreach, only iterables are supported\.$#'
1917519127
identifier: foreach.nonIterable
1917619128
count: 1
1917719129
path: src/lib/Persistence/Legacy/Content/Gateway/DoctrineDatabase.php
@@ -20208,6 +20160,12 @@ parameters:
2020820160
count: 1
2020920161
path: src/lib/Persistence/Legacy/Content/Mapper.php
2021020162

20163+
-
20164+
message: '#^Possibly invalid array key type bool\|float\|int\|string\.$#'
20165+
identifier: offsetAccess.invalidOffset
20166+
count: 3
20167+
path: src/lib/Persistence/Legacy/Content/Mapper.php
20168+
2021120169
-
2021220170
message: '#^Property Ibexa\\Contracts\\Core\\Persistence\\Content\\Field\:\:\$id \(int\) does not accept null\.$#'
2021320171
identifier: assign.propertyType
@@ -20898,12 +20856,6 @@ parameters:
2089820856
count: 1
2089920857
path: src/lib/Persistence/Legacy/Content/Type/Handler.php
2090020858

20901-
-
20902-
message: '#^Method Ibexa\\Core\\Persistence\\Legacy\\Content\\Type\\Handler\:\:link\(\) has Ibexa\\Contracts\\Core\\Repository\\Exceptions\\BadStateException in PHPDoc @throws tag but it''s not thrown\.$#'
20903-
identifier: throws.unusedType
20904-
count: 1
20905-
path: src/lib/Persistence/Legacy/Content/Type/Handler.php
20906-
2090720859
-
2090820860
message: '#^Method Ibexa\\Core\\Persistence\\Legacy\\Content\\Type\\Handler\:\:link\(\) has no return type specified\.$#'
2090920861
identifier: missingType.return
@@ -44748,6 +44700,12 @@ parameters:
4474844700
count: 1
4474944701
path: tests/integration/Core/Repository/SearchService/RemoteIdIndexingTest.php
4475044702

44703+
-
44704+
message: '#^Possibly invalid array key type bool\|float\|int\|string\.$#'
44705+
identifier: offsetAccess.invalidOffset
44706+
count: 2
44707+
path: tests/integration/Core/Repository/SearchService/RemoteIdIndexingTest.php
44708+
4475144709
-
4475244710
message: '#^Access to an undefined property Ibexa\\Contracts\\Core\\Repository\\Values\\ValueObject\:\:\$remoteId\.$#'
4475344711
identifier: property.notFound
@@ -61908,12 +61866,6 @@ parameters:
6190861866
count: 1
6190961867
path: tests/lib/Persistence/Legacy/Content/Gateway/DoctrineDatabaseTest.php
6191061868

61911-
-
61912-
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\Gateway\\DoctrineDatabaseTest\:\:getDatabaseGateway\(\) has Doctrine\\DBAL\\DBALException in PHPDoc @throws tag but it''s not thrown\.$#'
61913-
identifier: throws.unusedType
61914-
count: 1
61915-
path: tests/lib/Persistence/Legacy/Content/Gateway/DoctrineDatabaseTest.php
61916-
6191761869
-
6191861870
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\Gateway\\DoctrineDatabaseTest\:\:insertRelationFixture\(\) has no return type specified\.$#'
6191961871
identifier: missingType.return
@@ -62298,12 +62250,6 @@ parameters:
6229862250
count: 1
6229962251
path: tests/lib/Persistence/Legacy/Content/Language/CachingLanguageHandlerTest.php
6230062252

62301-
-
62302-
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\Language\\Gateway\\DoctrineDatabaseTest\:\:getDatabaseGateway\(\) has Doctrine\\DBAL\\DBALException in PHPDoc @throws tag but it''s not thrown\.$#'
62303-
identifier: throws.unusedType
62304-
count: 1
62305-
path: tests/lib/Persistence/Legacy/Content/Language/Gateway/DoctrineDatabaseTest.php
62306-
6230762253
-
6230862254
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\Language\\Gateway\\DoctrineDatabaseTest\:\:testDeleteLanguage\(\) has no return type specified\.$#'
6230962255
identifier: missingType.return
@@ -63636,12 +63582,6 @@ parameters:
6363663582
count: 1
6363763583
path: tests/lib/Persistence/Legacy/Content/MapperTest.php
6363863584

63639-
-
63640-
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\ObjectState\\Gateway\\DoctrineDatabaseTest\:\:getDatabaseGateway\(\) has Doctrine\\DBAL\\DBALException in PHPDoc @throws tag but it''s not thrown\.$#'
63641-
identifier: throws.unusedType
63642-
count: 1
63643-
path: tests/lib/Persistence/Legacy/Content/ObjectState/Gateway/DoctrineDatabaseTest.php
63644-
6364563585
-
6364663586
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\ObjectState\\Gateway\\DoctrineDatabaseTest\:\:testDeleteObjectState\(\) has no return type specified\.$#'
6364763587
identifier: missingType.return
@@ -63978,12 +63918,6 @@ parameters:
6397863918
count: 1
6397963919
path: tests/lib/Persistence/Legacy/Content/ObjectState/ObjectStateHandlerTest.php
6398063920

63981-
-
63982-
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\Section\\Gateway\\DoctrineDatabaseTest\:\:getDatabaseGateway\(\) has Doctrine\\DBAL\\DBALException in PHPDoc @throws tag but it''s not thrown\.$#'
63983-
identifier: throws.unusedType
63984-
count: 1
63985-
path: tests/lib/Persistence/Legacy/Content/Section/Gateway/DoctrineDatabaseTest.php
63986-
6398763921
-
6398863922
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\Section\\Gateway\\DoctrineDatabaseTest\:\:testAssignSectionToContent\(\) has no return type specified\.$#'
6398963923
identifier: missingType.return
@@ -64728,12 +64662,6 @@ parameters:
6472864662
count: 2
6472964663
path: tests/lib/Persistence/Legacy/Content/Type/Gateway/DoctrineDatabaseTest.php
6473064664

64731-
-
64732-
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\Type\\Gateway\\DoctrineDatabaseTest\:\:getGateway\(\) has Doctrine\\DBAL\\DBALException in PHPDoc @throws tag but it''s not thrown\.$#'
64733-
identifier: throws.unusedType
64734-
count: 1
64735-
path: tests/lib/Persistence/Legacy/Content/Type/Gateway/DoctrineDatabaseTest.php
64736-
6473764665
-
6473864666
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\Type\\Gateway\\DoctrineDatabaseTest\:\:getTypeCreationContentClassNameExpectations\(\) should return array\<array\<string\>\> but returns array\<int, list\<list\<int\|string\>\|string\>\>\.$#'
6473964667
identifier: return.type
@@ -65106,12 +65034,6 @@ parameters:
6510665034
count: 1
6510765035
path: tests/lib/Persistence/Legacy/Content/Type/Update/Handler/DoctrineDatabaseTest.php
6510865036

65109-
-
65110-
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\Gateway\\DoctrineDatabaseTest\:\:getGateway\(\) has Doctrine\\DBAL\\DBALException in PHPDoc @throws tag but it''s not thrown\.$#'
65111-
identifier: throws.unusedType
65112-
count: 1
65113-
path: tests/lib/Persistence/Legacy/Content/UrlAlias/Gateway/DoctrineDatabaseTest.php
65114-
6511565037
-
6511665038
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\Gateway\\DoctrineDatabaseTest\:\:getGateway\(\) should return Ibexa\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\Gateway\\DoctrineDatabase but returns Ibexa\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\Gateway\.$#'
6511765039
identifier: return.type
@@ -65496,12 +65418,6 @@ parameters:
6549665418
count: 1
6549765419
path: tests/lib/Persistence/Legacy/Content/UrlAlias/UrlAliasHandlerTest.php
6549865420

65499-
-
65500-
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\UrlAliasHandlerTest\:\:getLanguageHandler\(\) has Doctrine\\DBAL\\DBALException in PHPDoc @throws tag but it''s not thrown\.$#'
65501-
identifier: throws.unusedType
65502-
count: 1
65503-
path: tests/lib/Persistence/Legacy/Content/UrlAlias/UrlAliasHandlerTest.php
65504-
6550565421
-
6550665422
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\UrlAliasHandlerTest\:\:getPartlyMockedHandler\(\) has parameter \$methods with no value type specified in iterable type array\.$#'
6550765423
identifier: missingType.iterableValue
@@ -66546,12 +66462,6 @@ parameters:
6654666462
count: 1
6654766463
path: tests/lib/Persistence/Legacy/Content/UrlAlias/UrlAliasMapperTest.php
6654866464

66549-
-
66550-
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\UrlWildcard\\Gateway\\DoctrineDatabaseTest\:\:getGateway\(\) has Doctrine\\DBAL\\DBALException in PHPDoc @throws tag but it''s not thrown\.$#'
66551-
identifier: throws.unusedType
66552-
count: 1
66553-
path: tests/lib/Persistence/Legacy/Content/UrlWildcard/Gateway/DoctrineDatabaseTest.php
66554-
6655566465
-
6655666466
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\UrlWildcard\\Gateway\\DoctrineDatabaseTest\:\:testDeleteUrlWildcard\(\) has no return type specified\.$#'
6655766467
identifier: missingType.return
@@ -66600,12 +66510,6 @@ parameters:
6660066510
count: 1
6660166511
path: tests/lib/Persistence/Legacy/Content/UrlWildcard/Gateway/DoctrineDatabaseTest.php
6660266512

66603-
-
66604-
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\UrlWildcard\\UrlWildcardHandlerTest\:\:getHandler\(\) has Doctrine\\DBAL\\DBALException in PHPDoc @throws tag but it''s not thrown\.$#'
66605-
identifier: throws.unusedType
66606-
count: 1
66607-
path: tests/lib/Persistence/Legacy/Content/UrlWildcard/UrlWildcardHandlerTest.php
66608-
6660966513
-
6661066514
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\Content\\UrlWildcard\\UrlWildcardHandlerTest\:\:testCreate\(\) has no return type specified\.$#'
6661166515
identifier: missingType.return
@@ -67218,24 +67122,12 @@ parameters:
6721867122
count: 1
6721967123
path: tests/lib/Persistence/Legacy/URL/Query/CriterionHandler/ValidityTest.php
6722067124

67221-
-
67222-
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\User\\Gateway\\DoctrineDatabaseTest\:\:getDatabaseGateway\(\) has Doctrine\\DBAL\\DBALException in PHPDoc @throws tag but it''s not thrown\.$#'
67223-
identifier: throws.unusedType
67224-
count: 1
67225-
path: tests/lib/Persistence/Legacy/User/Gateway/DoctrineDatabaseTest.php
67226-
6722767125
-
6722867126
message: '#^Property Ibexa\\Tests\\Core\\Persistence\\Legacy\\User\\Gateway\\DoctrineDatabaseTest\:\:\$databaseGateway \(Ibexa\\Core\\Persistence\\Legacy\\User\\Gateway\\DoctrineDatabase\) in isset\(\) is not nullable\.$#'
6722967127
identifier: isset.property
6723067128
count: 1
6723167129
path: tests/lib/Persistence/Legacy/User/Gateway/DoctrineDatabaseTest.php
6723267130

67233-
-
67234-
message: '#^Method Ibexa\\Tests\\Core\\Persistence\\Legacy\\User\\Role\\Gateway\\DoctrineDatabaseTest\:\:getDatabaseGateway\(\) has Doctrine\\DBAL\\DBALException in PHPDoc @throws tag but it''s not thrown\.$#'
67235-
identifier: throws.unusedType
67236-
count: 1
67237-
path: tests/lib/Persistence/Legacy/User/Role/Gateway/DoctrineDatabaseTest.php
67238-
6723967131
-
6724067132
message: '#^Property Ibexa\\Tests\\Core\\Persistence\\Legacy\\User\\Role\\Gateway\\DoctrineDatabaseTest\:\:\$databaseGateway \(Ibexa\\Core\\Persistence\\Legacy\\User\\Role\\Gateway\\DoctrineDatabase\) in isset\(\) is not nullable\.$#'
6724167133
identifier: isset.property
@@ -74892,12 +74784,6 @@ parameters:
7489274784
count: 1
7489374785
path: tests/lib/Search/Legacy/Content/AbstractTestCase.php
7489474786

74895-
-
74896-
message: '#^Method Ibexa\\Tests\\Core\\Search\\Legacy\\Content\\AbstractTestCase\:\:getContentTypeHandler\(\) has Doctrine\\DBAL\\DBALException in PHPDoc @throws tag but it''s not thrown\.$#'
74897-
identifier: throws.unusedType
74898-
count: 1
74899-
path: tests/lib/Search/Legacy/Content/AbstractTestCase.php
74900-
7490174787
-
7490274788
message: '#^Method Ibexa\\Tests\\Core\\Search\\Legacy\\Content\\AbstractTestCase\:\:getConverterRegistry\(\) has no return type specified\.$#'
7490374789
identifier: missingType.return

src/bundle/Core/URLChecker/Handler/HTTPHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ private function createCurlHandlerForUrl(URL $url, array &$handlers, int $connec
132132
if ($options['ignore_certificate']) {
133133
curl_setopt_array($handler, [
134134
CURLOPT_SSL_VERIFYPEER => false,
135-
CURLOPT_SSL_VERIFYHOST => false,
135+
CURLOPT_SSL_VERIFYHOST => 0,
136136
]);
137137
}
138138

0 commit comments

Comments
 (0)