CI #788
Annotations
9 errors and 1 warning
src/FileUploadControl/FileUploadControl.php#L1
Ignored error pattern #^Cannot cast mixed to string\.$# in path /home/runner/work/file-upload-control/file-upload-control/src/FileUploadControl/FileUploadControl.php was not matched in reported errors.
|
src/FileUploadControl/FileUploadControl.php#L1
Ignored error pattern #^Invalid var phpdoc of \$files\. Cannot assign array\<string\>\|string to array\<int, Nette\\Http\\FileUpload\>$# in path /home/runner/work/file-upload-control/file-upload-control/src/FileUploadControl/FileUploadControl.php was not matched in reported errors.
|
src/FileUploadControl/FileUploadControl.php#L1
Ignored error pattern #^Parameter \#1 \$value of method Nette\\Forms\\Rules\:\:setRequired\(\) expects bool\|string, bool\|Nette\\Utils\\Html\|string given\.$# in path /home/runner/work/file-upload-control/file-upload-control/src/FileUploadControl/FileUploadControl.php was not matched in reported errors.
|
src/FileUploadControl/FileUploadControl.php#L473
Invalid var phpdoc of $files. Cannot assign array|Nette\Http\FileUpload|string|null to array<int, Nette\Http\FileUpload>
|
src/FileUploadControl/Validation/FakeUploadControl.php#L1
Ignored error pattern #^Parameter \#1 \$message \(Nette\\Utils\\Html\|string\) of method Nepada\\FileUploadControl\\Validation\\FakeUploadControl\:\:addError\(\) should be contravariant with parameter \$message \(object\|string\) of method Nette\\Forms\\Controls\\BaseControl\:\:addError\(\)$# in path /home/runner/work/file-upload-control/file-upload-control/src/FileUploadControl/Validation/FakeUploadControl.php was not matched in reported errors.
|
src/FileUploadControl/Validation/FakeUploadControl.php#L1
Ignored error pattern #^Return type \(Nette\\Utils\\Html\|string\|null\) of method Nepada\\FileUploadControl\\Validation\\FakeUploadControl\:\:getCaption\(\) should be covariant with return type \(object\|string\) of method Nette\\Forms\\Controls\\BaseControl\:\:getCaption\(\)$# in path /home/runner/work/file-upload-control/file-upload-control/src/FileUploadControl/Validation/FakeUploadControl.php was not matched in reported errors.
|
src/FileUploadControl/Validation/FakeUploadControl.php#L72
Parameter #1 $message (Nette\Utils\Html|string) of method Nepada\FileUploadControl\Validation\FakeUploadControl::addError() should be contravariant with parameter $message (string|Stringable) of method Nette\Forms\Controls\BaseControl<array<Nette\Http\FileUpload>|Nette\Http\FileUpload>::addError()
|
src/FileUploadControl/Validation/UploadValidation.php (in context of class Nepada/FileUploadControl/FileUploadControl)#L46
Method Nepada\FileUploadControl\FileUploadControl::addConditionOn() has parameter $control with generic interface Nette\Forms\Control but does not specify its types: T
|
|
|
The logs for this run have expired and are no longer available.
Loading