git --no-pager grep 'enum '
Binary file admin/tool/componentlibrary/amd/build/lunr.min.js.map matches
admin/tool/componentlibrary/amd/src/lunr.js: * @enum {number}
admin/tool/uploaduser/classes/preview.php:        $linenum = 1; // Column header is first line.
admin/tool/uploaduser/classes/preview.php:        while ($linenum <= $this->previewrows and $fields = $this->cir->next()) {
admin/tool/uploaduser/classes/process.php:        $linenum = 1; // Column header is first line.
admin/tool/xmldb/lang/en/tool_xmldb.php:$string['enumvaluesincorrect'] = 'Incorrect values for enum field';
admin/tool/xmldb/lang/en/tool_xmldb.php:$string['wronglengthforenum'] = 'Incorrect length for enum field';
enrol/imsenterprise/lib.php:        foreach ($imsroles as $imsrolenum => $imsrolename) {
enrol/imsenterprise/settings.php:        foreach ($imsroles->get_imsroles() as $imsrolenum => $imsrolename) {
Binary file filter/codehighlighter/amd/build/prism.min.js matches
Binary file filter/codehighlighter/amd/build/prism.min.js.map matches
filter/codehighlighter/amd/src/prism.js:        typeDeclaration: 'class enum interface record struct',
group/import.php:    $linenum = 2; // since header is line 1
Binary file h5p/h5plib/v127/joubel/editor/ckeditor/ckeditor.js.map matches
lib/adodb/drivers/adodb-ado.inc.php:	 enum DBTYPEENUM
lib/adodb/drivers/adodb-ado5.inc.php:	 enum DBTYPEENUM
lib/adodb/drivers/adodb-pdo.inc.php:enum pdo_param_type {
Binary file lib/amd/build/popper.min.js.map matches
lib/amd/src/popper.js: * @enum {String}
Binary file lib/aws-sdk/src/data/kms/2014-11-01/api-2.json.php matches
lib/classes/param.php:enum param: string {
lib/dml/tests/dml_test.php:        $record->onenum = null;
lib/dml/tests/dml_test.php:        $record->onenum = 0;
lib/dml/tests/dml_test.php:        $record->onenum = true;
lib/dml/tests/dml_test.php:        $record->onenum = false;
lib/dml/tests/dml_test.php:        $record->onenum = 0;
lib/dml/tests/dml_test.php:        $record->onenum = 'onestring';
lib/dml/tests/dml_test.php:        $record->onenum = 0;
lib/dml/tests/dml_test.php:        $record->onenum = ''; // Empty string.
lib/dml/tests/dml_test.php:        $this->assertTrue(is_numeric($record->onenum) && $record->onenum == 0);
lib/dml/tests/dml_test.php:        $record->onenum = 0;
lib/dml/tests/dml_test.php:        $record->onenum = ((210.10 + 39.92) - 150.02);
lib/dml/tests/dml_test.php:        $record->onenum = 1.0;
lib/dml/tests/dml_test.php:        $record->onenum = null;
lib/dml/tests/dml_test.php:        $record->onenum = 0;
lib/dml/tests/dml_test.php:        $record->onenum = 0;
lib/dml/tests/dml_test.php:        $record->onenum = 'onestring';
lib/dml/tests/dml_test.php:        $record->onenum = 0;
lib/dml/tests/dml_test.php:        $record->onenum = ((210.10 + 39.92) - 150.02);
lib/dml/tests/dml_test.php:        $record->onenum = null;
lib/dml/tests/dml_test.php:        $record->onenum = 0;
lib/dml/tests/dml_test.php:        $record->onenum = true;
lib/dml/tests/dml_test.php:        $record->onenum = false;
lib/dml/tests/dml_test.php:        $record->onenum = 0;
lib/dml/tests/dml_test.php:        $record->onenum = 'onestring';
lib/dml/tests/dml_test.php:        $record->onenum = 0;
lib/dml/tests/dml_test.php:        $record->onenum = ''; // Empty string.
lib/dml/tests/dml_test.php:        $this->assertTrue(is_numeric($record->onenum) && $record->onenum == 0);
lib/dml/tests/dml_test.php:        $record->onenum = 0;
lib/dml/tests/dml_test.php:        $record->onenum = ((210.10 + 39.92) - 150.02);
lib/dml/tests/pgsql_native_moodle_database_test.php:        $record->onenum = 1.0;
lib/editor/tiny/js/tinymce/plugins/codesample/plugin.js:          typeDeclaration: 'class enum interface record struct',
Binary file lib/editor/tiny/js/tinymce/plugins/codesample/plugin.min.js matches
Binary file lib/editor/tiny/plugins/html/amd/build/codemirror-lazy.min.js matches
Binary file lib/editor/tiny/plugins/html/amd/build/codemirror-lazy.min.js.map matches
lib/editor/tiny/plugins/html/amd/src/codemirror-lazy.js:  "type enum interface implements namespace module declare": tags$1.definitionKeyword,
lib/editor/tiny/plugins/html/amd/src/codemirror-lazy.js:  nodeNames: "⚠ ArithOp ArithOp JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",
lib/editor/tiny/plugins/html/amd/src/codemirror-lazy.js:    /*@__PURE__*/snippetCompletion("enum ${name} {\n\t${}\n}", {
lib/google/src/Google/Service/Coordinate.php:   * enum field will result in an error 500.
lib/google/src/Google/Service/Coordinate.php:   * enum field will result in an error 500.
lib/google/src/Google/Service/Coordinate.php:   * enum field will result in an error 500.
lib/google/src/Google/Service/Proximitybeacon.php:   * value. Values must be one of the Beacon.Status enum values (case
lib/google/src/Google/Service/Proximitybeacon.php:   * enum values (case insensitive). Accepts multiple filters which will be
lib/htmlpurifier/HTMLPurifier/AttrDef/HTML/ContentEditable.php:        $enum = new HTMLPurifier_AttrDef_Enum($allowed);
lib/htmlpurifier/HTMLPurifier/AttrDef/HTML/FrameTarget.php: * Special-case enum attribute definition that lazy loads allowed frame targets
lib/openspout/src/Writer/XLSX/Options/PageOrientation.php:enum PageOrientation: string
lib/openspout/src/Writer/XLSX/Options/PaperSize.php:enum PaperSize: int
lib/outputcomponents.php:            $pagenum = $this->page - 1;
lib/outputcomponents.php:            $pagenum = $this->page + 1;
lib/outputcomponents.php:            if ($pagenum != $lastpage) {
lib/php-enum/readme_moodle.txt:Instructions to import php-enum into Moodle:
lib/php-enum/readme_moodle.txt:2/ Copy the LICENSE file and the src folder into the lib/php-enum folder
lib/php-enum/src/Enum.php: * Create an enum by implementing this class and adding class constants.
lib/php-enum/src/Enum.php:        /** @psalm-suppress DocblockTypeContradiction key can be null when deserializing an enum without the key */
lib/php-enum/src/Enum.php:     * Returns the enum key (i.e. the constant name).
lib/php-enum/src/Enum.php:     * Check if is valid enum value
lib/php-enum/src/Enum.php:     * Asserts valid enum value
lib/php-enum/src/Enum.php:     * Asserts valid enum value
lib/php-enum/src/Enum.php:            throw new \UnexpectedValueException("Value '$value' is not part of the enum " . static::class);
lib/php-enum/src/Enum.php:     * Check if is valid enum key
lib/php-enum/src/Enum.php:                $message = "No static method or enum constant '$name' in class " . static::class;
lib/scssphp/OutputStyle.php:     * an enum instead of using string constants.
lib/scssphp/OutputStyle.php:     * an enum instead of using string constants.
lib/tcpdf/tcpdf.php:	 * @param int|null $pagenum page number (empty = current page)
lib/tcpdf/tcpdf.php:			$pagenum = $this->page;
lib/tcpdf/tcpdf.php:	 * @param int|null $pagenum page number (empty = current page)
lib/tcpdf/tcpdf.php:	 * @param int|null $pagenum page number (empty = current page)
lib/tcpdf/tcpdf.php:	 * @param int|null $pagenum page number (empty = current page)
lib/tcpdf/tcpdf.php:				$pagenum = intval($pamatch[3][$pk]) + 1;
lib/tcpdf/tcpdf.php:				if (($pagenum >= $jtopage) AND ($pagenum < $jfrompage)) {
lib/tcpdf/tcpdf.php:					$newpage = ($pagenum + 1);
lib/tcpdf/tcpdf.php:				} elseif ($pagenum == $jfrompage) {
lib/tcpdf/tcpdf.php:				$pagenum = intval($pamatch[3][$pk]) + 1;
lib/tcpdf/tcpdf.php:				if ($pagenum >= $jpage) {
lib/tcpdf/tcpdf.php:					$newpage = ($pagenum - 1);
lib/tcpdf/tcpdf.php:				} elseif ($pagenum == $jpage) {
lib/tcpdf/tcpdf.php:				$pagenum = $outline['p'];
lib/tcpdf/tcpdf.php:				$pagenum = '{#'.($outline['p']).'}';
lib/tcpdf/tcpdf.php:					$pagenum = '{'.$pagenum.'}';
lib/tcpdf/tcpdf.php:				$pagenum = $pagenum.$gap.$rowfill;
lib/tcpdf/tcpdf.php:				$pagenum = $rowfill.$gap.$pagenum;
lib/tcpdf/tcpdf.php:				$pagenum = $outline['p'];
lib/tcpdf/tcpdf.php:				$pagenum = '{#'.($outline['p']).'}';
lib/tcpdf/tcpdf.php:					$pagenum = '{'.$pagenum.'}';
lib/tests/fixtures/attribute_helper_example.php:enum attribute_helper_enum: string {
lib/tests/param_test.php:            // Using enum values (why would you, but...).
lib/upgrade.txt:* The php-enum library has been added to Moodle core in /lib/php-enum.
lib/yuilib/3.18.1/handlebars-compiler/handlebars-compiler-debug.js:  " abstract enum int short" +
Binary file lib/yuilib/3.18.1/handlebars-compiler/handlebars-compiler-min.js matches
lib/yuilib/3.18.1/handlebars-compiler/handlebars-compiler.js:  " abstract enum int short" +
lib/zipstream/src/CompressionMethod.php:enum CompressionMethod: int
lib/zipstream/src/OperationMode.php:enum OperationMode
lib/zipstream/src/Version.php:enum Version: int
Binary file media/player/videojs/amd/build/video-lazy.min.js.map matches
media/player/videojs/amd/src/video-lazy.js:     * @enum {array}
media/player/videojs/amd/src/video-lazy.js:     * Is used to create "enum like" objects.
mod/book/classes/output/main_action_menu.php:        $nextpageid = $this->chapter->pagenum + 1;
mod/book/classes/output/main_action_menu.php:        $prevpageid = $this->chapter->pagenum - 1;
mod/book/classes/output/main_action_menu.php:            if (($chapter->pagenum == $id) && (!$chapter->hidden || $viewhidden)) {
mod/book/delete.php:        $chapters = $DB->get_recordset_select('book_chapters', 'bookid = :bookid AND pagenum > :pagenum', [
mod/book/edit.php:$pagenum    = optional_param('pagenum', 0, PARAM_INT);
mod/book/edit.php:    $chapter->pagenum    = $pagenum + 1;
mod/book/edit.php:$prevpage = $chapter->pagenum - 1;
mod/book/edit.php:                   SET pagenum = pagenum + 1
mod/book/edit.php:                 WHERE bookid = ? AND pagenum >= ?";
mod/book/edit_form.php:        if ($chapter->pagenum == 1) {
mod/book/edit_form.php:        $pagenum = $mform->getElement('pagenum');
mod/book/locallib.php:    $pagenum = 0; // chapter sort
mod/book/locallib.php:        $ch->pagenum = $pagenum;
mod/book/locallib.php:        if ($oldch->subchapter != $ch->subchapter or $oldch->pagenum != $ch->pagenum or $oldch->hidden != $ch->hidden) {
mod/book/move.php:        $ch->pagenum = $i;
mod/book/show.php:    $chapters = $DB->get_recordset('book_chapters', array('bookid'=>$book->id), 'pagenum ASC');
mod/book/tests/behat/book_activity_completion.feature:      | book        | title          | content        | pagenum | subchapter | hidden |
mod/book/tests/behat/reorganize_chapters.feature:      | book      | title                        | content                | pagenum |subchapter |
mod/book/tests/behat/show_hide_chapters.feature:      | book      | title          | content        | pagenum |subchapter |
mod/book/tests/generator/lib.php:            $record->pagenum = 1;
mod/book/tests/generator/lib.php:                   SET pagenum = pagenum + 1
mod/book/tests/generator/lib.php:                 WHERE bookid = ? AND pagenum >= ?";
mod/book/tool/exportimscp/locallib.php:        $imsitems .= $currspaces .'        <item identifier="ITEM-' . $book->course . '-' . $book->id . '-' . $chapter->pagenum .'" isvisible="true" identifierref="RES-' .
mod/book/tool/exportimscp/locallib.php:                $book->course . '-' . $book->id . '-' . $chapter->pagenum . "\">\n" .
mod/book/tool/exportimscp/locallib.php:        $imsresources .= '    <resource identifier="RES-' . $book->course . '-'  . $book->id . '-' . $chapter->pagenum . '" type="webcontent" xml:base="' .
mod/book/tool/exportimscp/locallib.php:                $chapter->pagenum . '/" href="index.html">' . "\n" .
mod/book/tool/exportimscp/locallib.php:                '      <file href="' . $chapter->pagenum . '/index.html" />' . implode($localfiles) . $cssdependency . "\n".
mod/book/tool/importhtml/locallib.php:                $chapter->pagenum       = $DB->get_field_sql('SELECT MAX(pagenum) FROM {book_chapters} WHERE bookid = ?', array($book->id)) + 1;
mod/glossary/lib.php:            $pagenum = $page - 1;
mod/glossary/lib.php:        $pagenum = $pagefrom;
mod/glossary/lib.php:        while ($pagenum <= $pageto) {
mod/glossary/lib.php:            $pagetoshow = $pagenum +1;
mod/glossary/lib.php:            if ($pagenum == $page && !$specialselected) {
mod/glossary/lib.php:            $pagenum = $page + 1;
mod/wiki/renderer.php:                $pagenum = $page - 1;
mod/wiki/renderer.php:                    $output .= '&nbsp;(<a class="previous" href="' . $baseurl . $pagevar . '=' . $pagenum . '">' . get_string('previous') . '</a>)&nbsp;';
mod/wiki/renderer.php:            $pagenum = $page + 1;
mod/wiki/renderer.php:                    $output .= '&nbsp;&nbsp;(<a class="next" href="' . $baseurl . $pagevar . '=' . $pagenum . '">' . get_string('next') . '</a>)';
search/classes/manager.php:     * @param int $pagenum The 0 based page number.
search/classes/manager.php:        $pagenum = min($pagenum, (static::MAX_RESULTS / $perpage) - 1);
search/classes/manager.php:        $mindoc = ($pagenum * $perpage) + 1;
search/classes/manager.php:        $maxdoc = ($pagenum + 1) * $perpage;