attempt at fixing phan error #27
ci-on-push.yml
on: push
pre-commit
/
pre-commit
1m 46s
Matrix: phpstan / php-stan
gh-travis
/
gh-travis
Matrix: windows-ci / win-test
Waiting for pending jobs
Annotations
12 errors and 5 warnings
phpstan / php-stan (8.2):
htdocs/adherent/admin/member.php#L322
Variable $mc might not be defined.
|
phpstan / php-stan (8.2):
htdocs/adherent/card.php#L201
Negated boolean expression is always true.
|
phpstan / php-stan (8.2):
htdocs/adherent/card.php#L593
Variable $public in isset() always exists and is not nullable.
|
phpstan / php-stan (8.2):
htdocs/adherent/class/adherent.class.php#L556
Parameter #1 $substitutionarray of function complete_substitutions_array expects array<string, string>, array<string, int|string> given.
|
phpstan / php-stan (8.2):
htdocs/adherent/class/adherent.class.php#L859
Negated boolean expression is always true.
|
phpstan / php-stan (8.2):
htdocs/adherent/class/adherent.class.php#L906
Negated boolean expression is always true.
|
phpstan / php-stan (8.2):
htdocs/adherent/class/adherent.class.php#L1091
Negated boolean expression is always true.
|
phpstan / php-stan (8.2):
htdocs/adherent/class/adherent.class.php#L1700
Negated boolean expression is always true.
|
phpstan / php-stan (8.2):
htdocs/adherent/class/adherent.class.php#L1929
Negated boolean expression is always true.
|
phpstan / php-stan (8.2):
htdocs/adherent/class/adherent.class.php#L1971
Variable $newlang in empty() always exists and is always falsy.
|
phan / Run phan
Process completed with exit code 1.
|
phan / Run phan
Process completed with exit code 1.
|
pre-commit / pre-commit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
pre-commit / pre-commit
Cache save failed.
|
phpstan / php-stan (8.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
phan / Run phan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
phan / Run phan:
htdocs/adherent/type.php#L225
type.php: PhanTypeMismatchProperty: Assigning dol_clone($object, 2) of type \AdherentType|\CommonObject to property but \CommonObject->oldcopy is ?static
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phan-srcrt
Expired
|
386 Bytes |
|
phpstan-srcrt
Expired
|
1.47 KB |
|
precommit-logs
|
577 Bytes |
|