Skip to content

Apply fixes from StyleCI #2

Apply fixes from StyleCI

Apply fixes from StyleCI #2

Triggered via push October 29, 2023 10:34
Status Failure
Total duration 55s
Artifacts

backend.yml

on: push
Matrix: run / phpstan
Matrix: run / test
Fit to window
Zoom out
Zoom in

Annotations

54 errors
run / PHPStan PHP 7.3: extend.php#L84
Ternary operator condition is always true.
run / PHPStan PHP 7.3: src/BestAnswerRepository.php#L34
Access to an undefined property Flarum\Discussion\Discussion::$is_private.
run / PHPStan PHP 7.3: src/BestAnswerRepository.php#L38
Access to an undefined property Flarum\Discussion\Discussion::$user_id.
run / PHPStan PHP 7.3: src/BestAnswerRepository.php#L60
Access to an undefined property Flarum\Discussion\Discussion::$tags.
run / PHPStan PHP 7.3: src/Listeners/SaveBestAnswerToDatabase.php#L91
Negated boolean expression is always false.
run / PHPStan PHP 7.3: src/Listeners/SaveBestAnswerToDatabase.php#L112
Negated boolean expression is always false.
run / PHPStan PHP 7.3: src/Listeners/SaveBestAnswerToDatabase.php#L112
Result of && is always false.
run / PHPStan PHP 7.3: src/Listeners/SaveBestAnswerToDatabase.php#L120
Left side of && is always true.
run / PHPStan PHP 7.3: src/Listeners/SaveBestAnswerToDatabase.php#L152
Call to an undefined method Flarum\Discussion\Discussion::tags().
run / PHPStan PHP 7.3: src/Listeners/SaveBestAnswerToDatabase.php#L162
Call to an undefined method Flarum\Discussion\Discussion::tags().
run / PHPStan PHP 8.2
The job was canceled because "_7_3" failed.
run / PHPStan PHP 8.2: extend.php#L84
Ternary operator condition is always true.
run / PHPStan PHP 8.2: src/BestAnswerRepository.php#L34
Access to an undefined property Flarum\Discussion\Discussion::$is_private.
run / PHPStan PHP 8.2: src/BestAnswerRepository.php#L38
Access to an undefined property Flarum\Discussion\Discussion::$user_id.
run / PHPStan PHP 8.2: src/BestAnswerRepository.php#L60
Access to an undefined property Flarum\Discussion\Discussion::$tags.
run / PHPStan PHP 8.2: src/Listeners/SaveBestAnswerToDatabase.php#L91
Negated boolean expression is always false.
run / PHPStan PHP 8.2: src/Listeners/SaveBestAnswerToDatabase.php#L112
Negated boolean expression is always false.
run / PHPStan PHP 8.2: src/Listeners/SaveBestAnswerToDatabase.php#L112
Result of && is always false.
run / PHPStan PHP 8.2: src/Listeners/SaveBestAnswerToDatabase.php#L120
Left side of && is always true.
run / PHPStan PHP 8.2: src/Listeners/SaveBestAnswerToDatabase.php#L152
Call to an undefined method Flarum\Discussion\Discussion::tags().
run / PHPStan PHP 8.2: src/Listeners/SaveBestAnswerToDatabase.php#L162
Call to an undefined method Flarum\Discussion\Discussion::tags().
run / PHPStan PHP 8.1
The job was canceled because "_7_3" failed.
run / PHPStan PHP 8.1: extend.php#L84
Ternary operator condition is always true.
run / PHPStan PHP 8.1: src/BestAnswerRepository.php#L34
Access to an undefined property Flarum\Discussion\Discussion::$is_private.
run / PHPStan PHP 8.1: src/BestAnswerRepository.php#L38
Access to an undefined property Flarum\Discussion\Discussion::$user_id.
run / PHPStan PHP 8.1: src/BestAnswerRepository.php#L60
Access to an undefined property Flarum\Discussion\Discussion::$tags.
run / PHPStan PHP 8.1: src/Listeners/SaveBestAnswerToDatabase.php#L91
Negated boolean expression is always false.
run / PHPStan PHP 8.1: src/Listeners/SaveBestAnswerToDatabase.php#L112
Negated boolean expression is always false.
run / PHPStan PHP 8.1: src/Listeners/SaveBestAnswerToDatabase.php#L112
Result of && is always false.
run / PHPStan PHP 8.1: src/Listeners/SaveBestAnswerToDatabase.php#L120
Left side of && is always true.
run / PHPStan PHP 8.1: src/Listeners/SaveBestAnswerToDatabase.php#L152
Call to an undefined method Flarum\Discussion\Discussion::tags().
run / PHPStan PHP 8.1: src/Listeners/SaveBestAnswerToDatabase.php#L162
Call to an undefined method Flarum\Discussion\Discussion::tags().
run / PHPStan PHP 7.4
The job was canceled because "_7_3" failed.
run / PHPStan PHP 7.4: extend.php#L84
Ternary operator condition is always true.
run / PHPStan PHP 7.4: src/BestAnswerRepository.php#L34
Access to an undefined property Flarum\Discussion\Discussion::$is_private.
run / PHPStan PHP 7.4: src/BestAnswerRepository.php#L38
Access to an undefined property Flarum\Discussion\Discussion::$user_id.
run / PHPStan PHP 7.4: src/BestAnswerRepository.php#L60
Access to an undefined property Flarum\Discussion\Discussion::$tags.
run / PHPStan PHP 7.4: src/Listeners/SaveBestAnswerToDatabase.php#L91
Negated boolean expression is always false.
run / PHPStan PHP 7.4: src/Listeners/SaveBestAnswerToDatabase.php#L112
Negated boolean expression is always false.
run / PHPStan PHP 7.4: src/Listeners/SaveBestAnswerToDatabase.php#L112
Result of && is always false.
run / PHPStan PHP 7.4: src/Listeners/SaveBestAnswerToDatabase.php#L120
Left side of && is always true.
run / PHPStan PHP 7.4: src/Listeners/SaveBestAnswerToDatabase.php#L152
Call to an undefined method Flarum\Discussion\Discussion::tags().
run / PHPStan PHP 7.4: src/Listeners/SaveBestAnswerToDatabase.php#L162
Call to an undefined method Flarum\Discussion\Discussion::tags().
run / PHPStan PHP 8.0
The job was canceled because "_7_3" failed.
run / PHPStan PHP 8.0: extend.php#L84
Ternary operator condition is always true.
run / PHPStan PHP 8.0: src/BestAnswerRepository.php#L34
Access to an undefined property Flarum\Discussion\Discussion::$is_private.
run / PHPStan PHP 8.0: src/BestAnswerRepository.php#L38
Access to an undefined property Flarum\Discussion\Discussion::$user_id.
run / PHPStan PHP 8.0: src/BestAnswerRepository.php#L60
Access to an undefined property Flarum\Discussion\Discussion::$tags.
run / PHPStan PHP 8.0: src/Listeners/SaveBestAnswerToDatabase.php#L91
Negated boolean expression is always false.
run / PHPStan PHP 8.0: src/Listeners/SaveBestAnswerToDatabase.php#L112
Negated boolean expression is always false.
run / PHPStan PHP 8.0: src/Listeners/SaveBestAnswerToDatabase.php#L112
Result of && is always false.
run / PHPStan PHP 8.0: src/Listeners/SaveBestAnswerToDatabase.php#L120
Left side of && is always true.
run / PHPStan PHP 8.0: src/Listeners/SaveBestAnswerToDatabase.php#L152
Call to an undefined method Flarum\Discussion\Discussion::tags().
run / PHPStan PHP 8.0: src/Listeners/SaveBestAnswerToDatabase.php#L162
Call to an undefined method Flarum\Discussion\Discussion::tags().