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)
9999 $ template = <<<'php'
100100<?php declare(strict_types = 1);
101101
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+
102116return [
103117%s
104118];
Original file line number Diff line number Diff line change 11<?php declare (strict_types = 1 );
22
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+
317return [
418 'CURLFile::getFilename ' => ['hasSideEffects ' => false ],
519 'CURLFile::getMimeType ' => ['hasSideEffects ' => false ],
You can’t perform that action at this time.
0 commit comments