forked from zendframework/zf1
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathphpstan-php84.php
More file actions
57 lines (54 loc) · 2.5 KB
/
phpstan-php84.php
File metadata and controls
57 lines (54 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php declare(strict_types = 1);
if (version_compare(PHP_VERSION, '8.4', '<')) {
return [];
}
$ignoreErrors = [];
$ignoreErrors[] = [
'message' => '#^Cannot unset property Zend_Service_WindowsAzure_Storage_Batch\\:\\:\\$_operations because it might have hooks in a subclass\\.$#',
'identifier' => 'unset.possiblyHookedProperty',
'count' => 1,
'path' => __DIR__ . '/library/Zend/Service/WindowsAzure/Storage/Batch.php',
];
$ignoreErrors[] = [
'message' => '#^Cannot unset property Zend_Service_WindowsAzure_Storage_Blob_Stream\\:\\:\\$_storageClient because it might have hooks in a subclass\\.$#',
'identifier' => 'unset.possiblyHookedProperty',
'count' => 3,
'path' => __DIR__ . '/library/Zend/Service/WindowsAzure/Storage/Blob/Stream.php',
];
$ignoreErrors[] = [
'message' => '#^Cannot unset property Zend_Tool_Framework_Registry\\:\\:\\$_actionRepository because it might have hooks in a subclass\\.$#',
'identifier' => 'unset.possiblyHookedProperty',
'count' => 1,
'path' => __DIR__ . '/library/Zend/Tool/Framework/Registry.php',
];
$ignoreErrors[] = [
'message' => '#^Cannot unset property Zend_Tool_Framework_Registry\\:\\:\\$_client because it might have hooks in a subclass\\.$#',
'identifier' => 'unset.possiblyHookedProperty',
'count' => 1,
'path' => __DIR__ . '/library/Zend/Tool/Framework/Registry.php',
];
$ignoreErrors[] = [
'message' => '#^Cannot unset property Zend_Tool_Framework_Registry\\:\\:\\$_loader because it might have hooks in a subclass\\.$#',
'identifier' => 'unset.possiblyHookedProperty',
'count' => 1,
'path' => __DIR__ . '/library/Zend/Tool/Framework/Registry.php',
];
$ignoreErrors[] = [
'message' => '#^Cannot unset property Zend_Tool_Framework_Registry\\:\\:\\$_providerRepository because it might have hooks in a subclass\\.$#',
'identifier' => 'unset.possiblyHookedProperty',
'count' => 1,
'path' => __DIR__ . '/library/Zend/Tool/Framework/Registry.php',
];
$ignoreErrors[] = [
'message' => '#^Cannot unset property Zend_Tool_Framework_Registry\\:\\:\\$_request because it might have hooks in a subclass\\.$#',
'identifier' => 'unset.possiblyHookedProperty',
'count' => 1,
'path' => __DIR__ . '/library/Zend/Tool/Framework/Registry.php',
];
$ignoreErrors[] = [
'message' => '#^Cannot unset property Zend_Tool_Framework_Registry\\:\\:\\$_response because it might have hooks in a subclass\\.$#',
'identifier' => 'unset.possiblyHookedProperty',
'count' => 1,
'path' => __DIR__ . '/library/Zend/Tool/Framework/Registry.php',
];
return ['parameters' => ['ignoreErrors' => $ignoreErrors]];