Skip to content

Add an option to allow users to detect "soft deletes" #58

Add an option to allow users to detect "soft deletes"

Add an option to allow users to detect "soft deletes" #58

Triggered via pull request January 13, 2025 07:42
Status Failure
Total duration 44s
Artifacts

ci.yml

on: pull_request
cs-stan  /  Coding Standard & Static Analysis
22s
cs-stan / Coding Standard & Static Analysis
Matrix: testsuite / testsuite-linux
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 2 warnings
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/TrashBehavior.php#L42
Syntax error, unexpected T_STRING, expecting ';' on line 42
cs-stan / Coding Standard & Static Analysis
Ignored error pattern #Call to an undefined method Cake\\ORM\\Table::cascadingRestoreTrash\(\)# was not matched in reported errors.
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/TrashBehavior.php#L6
Type ArrayObject is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/TrashBehavior.php#L9
Type Cake\Database\Expression\BetweenExpression is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/TrashBehavior.php#L10
Type Cake\Database\Expression\ComparisonExpression is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/TrashBehavior.php#L11
Type Cake\Database\Expression\IdentifierExpression is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/TrashBehavior.php#L12
Type Cake\Database\Expression\QueryExpression is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/TrashBehavior.php#L13
Type Cake\Database\Expression\UnaryExpression is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/TrashBehavior.php#L14
Type Cake\Database\Query\SelectQuery is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/TrashBehavior.php#L15
Type Cake\Datasource\EntityInterface is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/TrashBehavior.php#L16
Type Cake\Event\EventInterface is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/TrashBehavior.php#L17
Type Cake\I18n\DateTime is not used in this file.
ParseError: src/Model/Behavior/TrashBehavior.php#L42
src/Model/Behavior/TrashBehavior.php:42:10: ParseError: Syntax error, unexpected T_STRING, expecting ';' on line 42 (see https://psalm.dev/173)
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 2.
testsuite / testsuite-linux (8.1, mysql, highest, false)
Process completed with exit code 2.
testsuite / testsuite-linux (8.1, pgsql, highest, false)
Process completed with exit code 2.
testsuite / testsuite-linux (8.1, sqlite, lowest, false)
Process completed with exit code 2.
testsuite / testsuite-linux (8.3, sqlite, highest, false)
Process completed with exit code 2.
testsuite / testsuite-linux (8.2, mysql, false)
Process completed with exit code 2.
testsuite / testsuite-linux (8.4, mysql, highest, false)
Process completed with exit code 2.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/TrashBehavior.php#L350
Silencing errors is discouraged; found: @param bool...
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/TrashBehavior.php#L351
Silencing errors is discouraged; found: @return string...