Create a new database abstraction layer #5639
Annotations
10 errors and 1 warning
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/Cli/Commands/DatabaseRepair.php#L49
Strict comparison using !== between 45 and 45 will always evaluate to false.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/Cli/Commands/DatabaseRepair.php#L72
Cannot call method spansColumns() on Doctrine\DBAL\Schema\Index|null.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/DB.php#L1
Ignored error pattern #^Parameter \$columns of class Fisharebest\\Webtrees\\DB\\Index constructor expects array\<int, string\>, array\<string\> given\.$# (argument.type) in path /home/runner/work/webtrees/webtrees/app/DB.php was not matched in reported errors.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/DB.php#L1
Ignored error pattern #^Parameter \$columns of class Fisharebest\\Webtrees\\DB\\UniqueIndex constructor expects array\<int, string\>, array\<string\> given\.$# (argument.type) in path /home/runner/work/webtrees/webtrees/app/DB.php was not matched in reported errors.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/DB.php#L1
Ignored error pattern #^Parameter \$foreign_columns of class Fisharebest\\Webtrees\\DB\\ForeignKey constructor expects array\<int, string\>, array\<string\> given\.$# (argument.type) in path /home/runner/work/webtrees/webtrees/app/DB.php was not matched in reported errors.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/DB.php#L1
Ignored error pattern #^Parameter \$local_columns of class Fisharebest\\Webtrees\\DB\\ForeignKey constructor expects array\<int, string\>, array\<string\> given\.$# (argument.type) in path /home/runner/work/webtrees/webtrees/app/DB.php was not matched in reported errors.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/DB/Schema.php#L40
Method Fisharebest\Webtrees\DB\Schema::dropTable() should return $this(Fisharebest\Webtrees\DB\Schema) but returns Fisharebest\Webtrees\DB\Schema.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/DB/Schema.php#L41
Parameter $tables of class Fisharebest\Webtrees\DB\Schema constructor expects list<Fisharebest\Webtrees\DB\Table>, array<int<0, max>, Fisharebest\Webtrees\DB\Table> given.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/DB/Table.php#L1
Ignored error pattern #^Access to an undefined property Fisharebest\\Webtrees\\DB\\Table\:\:\$unique_keys\.$# (property.notFound) in path /home/runner/work/webtrees/webtrees/app/DB/Table.php was not matched in reported errors.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/DB/Table.php#L1
Ignored error pattern #^Only iterables can be unpacked, mixed given in argument \#5\.$# (argument.unpackNonIterable) in path /home/runner/work/webtrees/webtrees/app/DB/Table.php was not matched in reported errors.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading