File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,20 @@ public function enterNode(Node $node)
99
99
$ template = <<<'php'
100
100
<?php declare(strict_types = 1);
101
101
102
+ /**
103
+ * GENERATED FILE - DO NOT EDIT!
104
+ *
105
+ * This file is generated automatically when running bin/generate-function-metadata.php
106
+ * and the result is merged from bin/functionMetadata_original.php and by looking at jetbrains/phpstorm-stubs methods
107
+ * and functions with the #[Pure] attribute.
108
+ *
109
+ * If you want to add new entries here follow these steps:
110
+ * 1) verify on https://phpstan.org/try whether the entry you are going to add does not already work as expected.
111
+ * 2) Contribute the functions that have 'hasSideEffects' => true as a modification to bin/functionMetadata_original.php.
112
+ * 3) Contribute the #[Pure] functions without side effects to https://github.com/JetBrains/phpstorm-stubs
113
+ * 4) Once the PR from 3) is merged, please update the package here and run ./bin/generate-function-metadata.php.
114
+ */
115
+
102
116
return [
103
117
%s
104
118
];
Original file line number Diff line number Diff line change 1
1
<?php declare (strict_types = 1 );
2
2
3
+ /**
4
+ * GENERATED FILE - DO NOT EDIT!
5
+ *
6
+ * This file is generated automatically when running bin/generate-function-metadata.php
7
+ * and the result is merged from bin/functionMetadata_original.php and by looking at jetbrains/phpstorm-stubs methods
8
+ * and functions with the #[Pure] attribute.
9
+ *
10
+ * If you want to add new entries here follow these steps:
11
+ * 1) verify on https://phpstan.org/try whether the entry you are going to add does not already work as expected.
12
+ * 2) Contribute the functions that have 'hasSideEffects' => true as a modification to bin/functionMetadata_original.php.
13
+ * 3) Contribute the #[Pure] functions without side effects to https://github.com/JetBrains/phpstorm-stubs
14
+ * 4) Once the PR from 3) is merged, please update the package here and run ./bin/generate-function-metadata.php.
15
+ */
16
+
3
17
return [
4
18
'CURLFile::getFilename ' => ['hasSideEffects ' => false ],
5
19
'CURLFile::getMimeType ' => ['hasSideEffects ' => false ],
You can’t perform that action at this time.
0 commit comments