Skip to content

Commit 7a9726d

Browse files
committed
Merge branch 'PHP-8.2'
- PHP-8.2: Customize the link of some constants in the manual
2 parents cb84079 + 148ac36 commit 7a9726d

File tree

8 files changed

+75
-4
lines changed

8 files changed

+75
-4
lines changed

ext/ffi/ffi.stub.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ final class FFI
1010
/**
1111
* @var int
1212
* @cvalue __BIGGEST_ALIGNMENT__
13+
* @link ffi-ffi.constants.biggest-alignment
1314
*/
1415
public const __BIGGEST_ALIGNMENT__ = UNKNOWN;
1516

ext/ffi/ffi_arginfo.h

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

ext/snmp/snmp.stub.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,62 +186,74 @@ class SNMP
186186
/**
187187
* @var int
188188
* @cvalue SNMP_VERSION_1
189+
* @link snmp.class.constants.version-1
189190
*/
190191
public const VERSION_1 = UNKNOWN;
191192
/**
192193
* @var int
193194
* @cvalue SNMP_VERSION_2c
195+
* @link snmp.class.constants.version-2c
194196
*/
195197
public const VERSION_2c = UNKNOWN;
196198
/**
197199
* @var int
198200
* @cvalue SNMP_VERSION_2c
201+
* @link snmp.class.constants.version-2c
199202
*/
200203
public const VERSION_2C = UNKNOWN;
201204
/**
202205
* @var int
203206
* @cvalue SNMP_VERSION_3
207+
* @link snmp.class.constants.version-3
204208
*/
205209
public const VERSION_3 = UNKNOWN;
206210

207211
/**
208212
* @var int
209213
* @cvalue PHP_SNMP_ERRNO_NOERROR
214+
* @link snmp.class.constants.errno-noerror
210215
*/
211216
public const ERRNO_NOERROR = UNKNOWN;
212217
/**
213218
* @var int
214219
* @cvalue PHP_SNMP_ERRNO_ANY
220+
* @link snmp.class.constants.errno-any
215221
*/
216222
public const ERRNO_ANY = UNKNOWN;
217223
/**
218224
* @var int
219225
* @cvalue PHP_SNMP_ERRNO_GENERIC
226+
* @link snmp.class.constants.errno-generic
220227
*/
221228
public const ERRNO_GENERIC = UNKNOWN;
222229
/**
223230
* @var int
224231
* @cvalue PHP_SNMP_ERRNO_TIMEOUT
232+
* @link snmp.class.constants.errno-timeout
225233
*/
226234
public const ERRNO_TIMEOUT = UNKNOWN;
227235
/**
228236
* @var int
229237
* @cvalue PHP_SNMP_ERRNO_ERROR_IN_REPLY
238+
* @link snmp.class.constants.errno-error-in-reply
230239
*/
231240
public const ERRNO_ERROR_IN_REPLY = UNKNOWN;
232241
/**
233242
* @var int
234243
* @cvalue PHP_SNMP_ERRNO_OID_NOT_INCREASING
244+
* @link snmp.class.constants.errno-oid-not-increasing
235245
*/
236246
public const ERRNO_OID_NOT_INCREASING = UNKNOWN;
237247
/**
238248
* @var int
239249
* @cvalue PHP_SNMP_ERRNO_OID_PARSING_ERROR
250+
* @link snmp.class.constants.errno-oid-parsing-error
240251
*/
241252
public const ERRNO_OID_PARSING_ERROR = UNKNOWN;
242253
/**
243254
* @var int
244255
* @cvalue PHP_SNMP_ERRNO_MULTIPLE_SET_QUERIES
256+
* @link snmp.class.constants.errno-multiple-set-queries
245257
*/
246258
public const ERRNO_MULTIPLE_SET_QUERIES = UNKNOWN;
247259

ext/snmp/snmp_arginfo.h

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

ext/sqlite3/sqlite3.stub.php

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ class SQLite3
7474
/**
7575
* @var int
7676
* @cvalue SQLITE_OK
77+
* @link sqlite3.class.constants.ok
7778
*/
7879
public const OK = UNKNOWN;
7980

@@ -82,11 +83,13 @@ class SQLite3
8283
/**
8384
* @var int
8485
* @cvalue SQLITE_DENY
86+
* @link sqlite3.class.constants.deny
8587
*/
8688
public const DENY = UNKNOWN;
8789
/**
8890
* @var int
8991
* @cvalue SQLITE_IGNORE
92+
* @link sqlite3.class.constants.ignore
9093
*/
9194
public const IGNORE = UNKNOWN;
9295

@@ -95,172 +98,206 @@ class SQLite3
9598
/**
9699
* @var int
97100
* @cvalue SQLITE_CREATE_INDEX
101+
* @link sqlite3.class.constants.create-index
98102
*/
99103
public const CREATE_INDEX = UNKNOWN;
100104
/**
101105
* @var int
102106
* @cvalue SQLITE_CREATE_TABLE
107+
* @link sqlite3.class.constants.create-table
103108
*/
104109
public const CREATE_TABLE = UNKNOWN;
105110
/**
106111
* @var int
107112
* @cvalue SQLITE_CREATE_TEMP_INDEX
113+
* @link sqlite3.class.constants.create-temp-index
108114
*/
109115
public const CREATE_TEMP_INDEX = UNKNOWN;
110116
/**
111117
* @var int
112118
* @cvalue SQLITE_CREATE_TEMP_TABLE
119+
* @link sqlite3.class.constants.create-temp-table
113120
*/
114121
public const CREATE_TEMP_TABLE = UNKNOWN;
115122
/**
116123
* @var int
117124
* @cvalue SQLITE_CREATE_TEMP_TRIGGER
125+
* @link sqlite3.class.constants.create-temp-trigger
118126
*/
119127
public const CREATE_TEMP_TRIGGER = UNKNOWN;
120128
/**
121129
* @var int
122130
* @cvalue SQLITE_CREATE_TEMP_VIEW
131+
* @link sqlite3.class.constants.create-temp-view
123132
*/
124133
public const CREATE_TEMP_VIEW = UNKNOWN;
125134
/**
126135
* @var int
127136
* @cvalue SQLITE_CREATE_TRIGGER
137+
* @link sqlite3.class.constants.create-trigger
128138
*/
129139
public const CREATE_TRIGGER = UNKNOWN;
130140
/**
131141
* @var int
132142
* @cvalue SQLITE_CREATE_VIEW
143+
* @link sqlite3.class.constants.create-view
133144
*/
134145
public const CREATE_VIEW = UNKNOWN;
135146
/**
136147
* @var int
137148
* @cvalue SQLITE_DELETE
149+
* @link sqlite3.class.constants.delete
138150
*/
139151
public const DELETE = UNKNOWN;
140152
/**
141153
* @var int
142154
* @cvalue SQLITE_DROP_INDEX
155+
* @link sqlite3.class.constants.drop-index
143156
*/
144157
public const DROP_INDEX = UNKNOWN;
145158
/**
146159
* @var int
147160
* @cvalue SQLITE_DROP_TABLE
161+
* @link sqlite3.class.constants.drop-table
148162
*/
149163
public const DROP_TABLE = UNKNOWN;
150164
/**
151165
* @var int
152166
* @cvalue SQLITE_DROP_TEMP_INDEX
167+
* @link sqlite3.class.constants.drop-temp-index
153168
*/
154169
public const DROP_TEMP_INDEX = UNKNOWN;
155170
/**
156171
* @var int
157172
* @cvalue SQLITE_DROP_TEMP_TABLE
173+
* @link sqlite3.class.constants.drop-temp-table
158174
*/
159175
public const DROP_TEMP_TABLE = UNKNOWN;
160176
/**
161177
* @var int
162178
* @cvalue SQLITE_DROP_TEMP_TRIGGER
179+
* @link sqlite3.class.constants.drop-temp-trigger
163180
*/
164181
public const DROP_TEMP_TRIGGER = UNKNOWN;
165182
/**
166183
* @var int
167184
* @cvalue SQLITE_DROP_TEMP_VIEW
185+
* @link sqlite3.class.constants.drop-temp-view
168186
*/
169187
public const DROP_TEMP_VIEW = UNKNOWN;
170188
/**
171189
* @var int
172190
* @cvalue SQLITE_DROP_TRIGGER
191+
* @link sqlite3.class.constants.drop-trigger
173192
*/
174193
public const DROP_TRIGGER = UNKNOWN;
175194
/**
176195
* @var int
177196
* @cvalue SQLITE_DROP_VIEW
197+
* @link sqlite3.class.constants.drop-view
178198
*/
179199
public const DROP_VIEW = UNKNOWN;
180200
/**
181201
* @var int
182202
* @cvalue SQLITE_INSERT
203+
* @link sqlite3.class.constants.insert
183204
*/
184205
public const INSERT = UNKNOWN;
185206
/**
186207
* @var int
187208
* @cvalue SQLITE_PRAGMA
209+
* @link sqlite3.class.constants.pragma
188210
*/
189211
public const PRAGMA = UNKNOWN;
190212
/**
191213
* @var int
192214
* @cvalue SQLITE_READ
215+
* @link sqlite3.class.constants.read
193216
*/
194217
public const READ = UNKNOWN;
195218
/**
196219
* @var int
197220
* @cvalue SQLITE_SELECT
221+
* @link sqlite3.class.constants.select
198222
*/
199223
public const SELECT = UNKNOWN;
200224
/**
201225
* @var int
202226
* @cvalue SQLITE_TRANSACTION
227+
* @link sqlite3.class.constants.transaction
203228
*/
204229
public const TRANSACTION = UNKNOWN;
205230
/**
206231
* @var int
207232
* @cvalue SQLITE_UPDATE
233+
* @link sqlite3.class.constants.update
208234
*/
209235
public const UPDATE = UNKNOWN;
210236
/**
211237
* @var int
212238
* @cvalue SQLITE_ATTACH
239+
* @link sqlite3.class.constants.attach
213240
*/
214241
public const ATTACH = UNKNOWN;
215242
/**
216243
* @var int
217244
* @cvalue SQLITE_DETACH
245+
* @link sqlite3.class.constants.detach
218246
*/
219247
public const DETACH = UNKNOWN;
220248
/**
221249
* @var int
222250
* @cvalue SQLITE_ALTER_TABLE
251+
* @link sqlite3.class.constants.alter-table
223252
*/
224253
public const ALTER_TABLE = UNKNOWN;
225254
/**
226255
* @var int
227256
* @cvalue SQLITE_REINDEX
257+
* @link sqlite3.class.constants.reindex
228258
*/
229259
public const REINDEX = UNKNOWN;
230260
/**
231261
* @var int
232262
* @cvalue SQLITE_ANALYZE
263+
* @link sqlite3.class.constants.analyze
233264
*/
234265
public const ANALYZE = UNKNOWN;
235266
/**
236267
* @var int
237268
* @cvalue SQLITE_CREATE_VTABLE
269+
* @link sqlite3.class.constants.create-vtable
238270
*/
239271
public const CREATE_VTABLE = UNKNOWN;
240272
/**
241273
* @var int
242274
* @cvalue SQLITE_DROP_VTABLE
275+
* @link sqlite3.class.constants.drop-vtable
243276
*/
244277
public const DROP_VTABLE = UNKNOWN;
245278
/**
246279
* @var int
247280
* @cvalue SQLITE_FUNCTION
281+
* @link sqlite3.class.constants.function
248282
*/
249283
public const FUNCTION = UNKNOWN;
250284
/**
251285
* @var int
252286
* @cvalue SQLITE_SAVEPOINT
287+
* @link sqlite3.class.constants.savepoint
253288
*/
254289
public const SAVEPOINT = UNKNOWN;
255290
/**
256291
* @var int
257292
* @cvalue SQLITE_COPY
293+
* @link sqlite3.class.constants.copy
258294
*/
259295
public const COPY = UNKNOWN;
260296
#ifdef SQLITE_RECURSIVE
261297
/**
262298
* @var int
263299
* @cvalue SQLITE_RECURSIVE
300+
* @link sqlite3.class.constants.recursive
264301
*/
265302
public const RECURSIVE = UNKNOWN;
266303
#endif

ext/sqlite3/sqlite3_arginfo.h

Lines changed: 1 addition & 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)