Skip to content

Commit b7d0897

Browse files
committed
stream: add missing error mode and store constants
1 parent cced189 commit b7d0897

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

main/streams/stream_errors.stub.php

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,48 @@ public function getParam(): ?string {}
1111
public function getWrapperName(): string {}
1212
}
1313

14+
/**
15+
* @var int
16+
* @cvalue PHP_STREAM_ERROR_MODE_ERROR
17+
*/
18+
const STREAM_ERROR_MODE_ERROR = UNKNOWN;
19+
/**
20+
* @var int
21+
* @cvalue PHP_STREAM_ERROR_MODE_EXCEPTION
22+
*/
23+
const STREAM_ERROR_MODE_EXCEPTION = UNKNOWN;
24+
/**
25+
* @var int
26+
* @cvalue PHP_STREAM_ERROR_MODE_SILENT
27+
*/
28+
const STREAM_ERROR_MODE_SILENT = UNKNOWN;
29+
30+
/**
31+
* @var int
32+
* @cvalue PHP_STREAM_ERROR_STORE_AUTO
33+
*/
34+
const STREAM_ERROR_STORE_AUTO = UNKNOWN;
35+
/**
36+
* @var int
37+
* @cvalue PHP_STREAM_ERROR_STORE_NONE
38+
*/
39+
const STREAM_ERROR_STORE_NONE = UNKNOWN;
40+
/**
41+
* @var int
42+
* @cvalue PHP_STREAM_ERROR_STORE_NON_TERM
43+
*/
44+
const STREAM_ERROR_STORE_NON_TERMINAL = UNKNOWN;
45+
/**
46+
* @var int
47+
* @cvalue PHP_STREAM_ERROR_STORE_TERMINAL
48+
*/
49+
const STREAM_ERROR_STORE_TERMINAL = UNKNOWN;
50+
/**
51+
* @var int
52+
* @cvalue PHP_STREAM_ERROR_STORE_ALL
53+
*/
54+
const STREAM_ERROR_STORE_ALL = UNKNOWN;
55+
1456
/**
1557
* @var int
1658
* @cvalue STREAM_ERROR_CODE_NONE

main/streams/stream_errors_arginfo.h

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)