Skip to content

Added a flag to toggle between sql editor buttons #6219

Added a flag to toggle between sql editor buttons

Added a flag to toggle between sql editor buttons #6219

Triggered via pull request May 4, 2024 05:16
Status Failure
Total duration 7m 19s
Artifacts

lint-and-analyse-php.yml

on: pull_request
Matrix: analyse-php
Matrix: lint-php-files
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
InvalidReturnType: src/Config/Settings.php#L2834
src/Config/Settings.php:2834:23: InvalidReturnType: The declared return type 'array{ActionLinksMode: 'both'|'icons'|'text', AllowArbitraryServer: bool, AllowSharedBookmarks: bool, AllowThirdPartyFraming: 'sameorigin'|bool, AllowUserDropDatabase: bool, ArbitraryServerRegexp: string, AuthLog: string, AuthLogSuccess: bool, AvailableCharsets: array<array-key, string>, BZipDump: bool, BrowseMIME: bool, BrowseMarkerEnable: bool, BrowsePointerEnable: bool, CSPAllow: string, CaptchaApi: string, CaptchaCsp: string, CaptchaLoginPrivateKey: string, CaptchaLoginPublicKey: string, CaptchaMethod: 'checkbox'|'invisible', CaptchaRequestParam: string, CaptchaResponseParam: string, CaptchaSiteVerifyURL: string, CharEditing: 'input'|'textarea', CharTextareaCols: int<1, max>, CharTextareaRows: int<1, max>, CheckConfigurationPermissions: bool, CodemirrorEnable: bool, CompressOnFly: bool, Confirm: bool, Console: array{AlwaysExpand: bool, CurrentQuery: bool, DarkTheme: bool, EnterExecutes: bool, GroupQueries: bool, Height: int<1, max>, Mode: 'collapse'|'info'|'show', Order: 'asc'|'desc', OrderBy: 'count'|'exec'|'time', StartHistory: bool}, ConsoleEnterExecutes: bool, CookieSameSite: 'Lax'|'None'|'Strict', DBG: array{demo: bool, simple2fa: bool, sql: bool, sqllog: bool}, DefaultConnectionCollation: string, DefaultForeignKeyChecks: 'default'|'disable'|'enable', DefaultFunctions: array<string, string>, DefaultLang: string, DefaultQueryDatabase: string, DefaultQueryTable: string, DefaultTabDatabase: string, DefaultTabServer: string, DefaultTabTable: string, DefaultTransformations: array{Bool2Text: array{0: string, 1: string}, DateFormat: array{0: int<0, max>, 1: string, 2: 'local'|'utc'}, External: array{0: int, 1: string, 2: int, 3: int}, Hex: array{0: int<0, max>}, Inline: array{0: int<0, max>, 1: int<0, max>, wrapper_link: null|string, wrapper_params: array<array-key, string>}, PreApPend: array{0: string, 1: string}, Substring: array{0: int, 1: 'all'|int, 2: string}, TextImageLink: array{0: null|string, 1: int<0, max>, 2: int<0, max>}, TextLink: array{0: null|string, 1: null|string, 2: bool|null}}, DisableMultiTableMaintenance: bool, DisableShortcutKeys: bool, DisplayServersList: bool, EnableAutocompleteForTablesAndColumns: bool, ExecTimeLimit: int<0, max>, Export: array{as_separate_files: bool, asfile: bool, charset: string, codegen_format: 0|1, codegen_structure_or_data: 'data'|'structure'|'structure_and_data', compression: 'gzip'|'none'|'zip', csv_columns: bool, csv_enclosed: string, csv_escaped: string, csv_null: string, csv_removeCRLF: bool, csv_separator: string, csv_structure_or_data: 'data'|'structure'|'structure_and_data', csv_terminated: string, excel_columns: bool, excel_edition: 'mac_excel2003'|'mac_excel2008'|'win', excel_null: string, excel_removeCRLF: bool, excel_structure_or_data: 'data'|'structure'|'structure_and_data', file_template_database: string, file_template_server: string, file_template_table: string, format: string, htmlword_columns: bool, htmlword_null: string, htmlword_structure_or_data: 'data'|'structure'|'structure_and_data', json_pretty_print: bool, json_structure_or_data: 'data'|'structure'|'structure_and_data', json_unicode: bool, latex_caption: bool, latex_columns: bool, latex_comments: bool, latex_data_caption: string, latex_data_continued_caption: string, latex_data_label: string, latex_mime: bool, latex_null: string, latex_relation: bool, latex_structure_caption: string, latex_structure_continued_caption: string, latex_structure_label: string, latex_structure_or_data: 'data'|'structure'|'structure_and_data', lock_tables: bool, mediawiki_caption: bool, mediawiki_headers: bool, mediawiki_structure_or_data: 'data'|'structure'|'structure_and_data', method: 'custom'|'custom-no-form'|'quick', ods_columns: bool, ods_null: string, ods_structure_or_data: 'data'|'structure'|'structure_and_data', odt_columns: bool, odt_comments: bool, odt_mime: bool, odt_null: string, odt_relation: bool, odt_structure_or_data: 'data'|'structure'|'structure_and_data', onserver: bool, onserver_overwrite: bool, pdf_report_title: string, p
InvalidReturnStatement: src/Config/Settings.php#L2837
src/Config/Settings.php:2837:16: InvalidReturnStatement: The inferred type 'array{ActionLinksMode: 'both'|'icons'|'text', AllowArbitraryServer: bool, AllowSharedBookmarks: bool, AllowThirdPartyFraming: 'sameorigin'|bool, AllowUserDropDatabase: bool, ArbitraryServerRegexp: string, AuthLog: string, AuthLogSuccess: bool, AvailableCharsets: array<array-key, string>, BZipDump: bool, BrowseMIME: bool, BrowseMarkerEnable: bool, BrowsePointerEnable: bool, CSPAllow: string, CaptchaApi: string, CaptchaCsp: string, CaptchaLoginPrivateKey: string, CaptchaLoginPublicKey: string, CaptchaMethod: 'checkbox'|'invisible', CaptchaRequestParam: string, CaptchaResponseParam: string, CaptchaSiteVerifyURL: string, CharEditing: 'input'|'textarea', CharTextareaCols: int<1, max>, CharTextareaRows: int<1, max>, CheckConfigurationPermissions: bool, CodemirrorEnable: bool, CompressOnFly: bool, Confirm: bool, Console: array{AlwaysExpand: bool, CurrentQuery: bool, DarkTheme: bool, EnterExecutes: bool, GroupQueries: bool, Height: int<1, max>, Mode: 'collapse'|'info'|'show', Order: 'asc'|'desc', OrderBy: 'count'|'exec'|'time', StartHistory: bool}, ConsoleEnterExecutes: bool, CookieSameSite: 'Lax'|'None'|'Strict', DBG: array{demo: bool, simple2fa: bool, sql: bool, sqllog: bool}, DefaultConnectionCollation: string, DefaultForeignKeyChecks: 'default'|'disable'|'enable', DefaultFunctions: array<string, string>, DefaultLang: string, DefaultQueryDatabase: string, DefaultQueryTable: string, DefaultTabDatabase: 'operations'|'search'|'sql'|'structure', DefaultTabServer: 'databases'|'privileges'|'status'|'variables'|'welcome', DefaultTabTable: 'browse'|'insert'|'search'|'sql'|'structure', DefaultTransformations: array{Bool2Text: array{0: string, 1: string}, DateFormat: array{0: int<0, max>, 1: string, 2: 'local'|'utc'}, External: array{0: int, 1: string, 2: int, 3: int}, Hex: array{0: int<0, max>}, Inline: array{0: int<0, max>, 1: int<0, max>, wrapper_link: null|string, wrapper_params: array<array-key, string>}, PreApPend: array{0: string, 1: string}, Substring: array{0: int, 1: 'all'|int, 2: string}, TextImageLink: array{0: null|string, 1: int<0, max>, 2: int<0, max>}, TextLink: array{0: null|string, 1: null|string, 2: bool|null}}, DisableMultiTableMaintenance: bool, DisableShortcutKeys: bool, DisplayServersList: bool, EnableAutocompleteForTablesAndColumns: bool, ExecTimeLimit: int<0, max>, Export: array{as_separate_files: bool, asfile: bool, charset: string, codegen_format: 0|1, codegen_structure_or_data: 'data'|'structure'|'structure_and_data', compression: 'gzip'|'none'|'zip', csv_columns: bool, csv_enclosed: string, csv_escaped: string, csv_null: string, csv_removeCRLF: bool, csv_separator: string, csv_structure_or_data: 'data'|'structure'|'structure_and_data', csv_terminated: string, excel_columns: bool, excel_edition: 'mac_excel2003'|'mac_excel2008'|'win', excel_null: string, excel_removeCRLF: bool, excel_structure_or_data: 'data'|'structure'|'structure_and_data', file_template_database: string, file_template_server: string, file_template_table: string, format: string, htmlword_columns: bool, htmlword_null: string, htmlword_structure_or_data: 'data'|'structure'|'structure_and_data', json_pretty_print: bool, json_structure_or_data: 'data'|'structure'|'structure_and_data', json_unicode: bool, latex_caption: bool, latex_columns: bool, latex_comments: bool, latex_data_caption: string, latex_data_continued_caption: string, latex_data_label: string, latex_mime: bool, latex_null: string, latex_relation: bool, latex_structure_caption: string, latex_structure_continued_caption: string, latex_structure_label: string, latex_structure_or_data: 'data'|'structure'|'structure_and_data', lock_tables: bool, mediawiki_caption: bool, mediawiki_headers: bool, mediawiki_structure_or_data: 'data'|'structure'|'structure_and_data', method: 'custom'|'custom-no-form'|'quick', ods_columns: bool, ods_null: string, ods_structure_or_data: 'data'|'structure'|'structure_and_data', odt_columns: bool, odt_comments: bool, odt_mime: bool, odt_null: string, odt_relation: bool, odt_structure_o
analyse-php (8.1)
Process completed with exit code 2.
lint-php-files (8.1)
Process completed with exit code 2.
analyse-php (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint-php-files (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.