Skip to content

Update ActiveDataProvider::prepareModels() to avoid SQL error with UNION queries #232

Update ActiveDataProvider::prepareModels() to avoid SQL error with UNION queries

Update ActiveDataProvider::prepareModels() to avoid SQL error with UNION queries #232

Triggered via pull request August 16, 2024 11:12
Status Failure
Total duration 57s
Artifacts

lint.yaml

on: pull_request
PHP_CodeSniffer
42s
PHP_CodeSniffer
Fit to window
Zoom out
Zoom in

Annotations

9 errors
PHP_CodeSniffer: framework/data/ActiveDataProvider.php#L112
Expected at least 1 space before "-"; 0 found
PHP_CodeSniffer: framework/data/ActiveDataProvider.php#L112
Expected at least 1 space after "-"; 0 found
PHP_CodeSniffer: framework/data/ActiveDataProvider.php#L119
Whitespace found at end of line
PHP_CodeSniffer: framework/data/ActiveDataProvider.php#L122
Expected at least 1 space before "-"; 0 found
PHP_CodeSniffer: framework/data/ActiveDataProvider.php#L122
Expected at least 1 space after "-"; 0 found
PHP_CodeSniffer: framework/data/ActiveDataProvider.php#L126
Whitespace found at end of line
PHP_CodeSniffer: framework/db/BaseActiveRecord.php#L1786
Expected 1 space after FUNCTION keyword; 0 found
PHP_CodeSniffer: framework/db/mssql/Schema.php#L827
The closing brace for the class must go on the next line after the body
PHP_CodeSniffer
Process completed with exit code 1.