Skip to content

The phar available in the latest (3.8.1) release displays PHP deprecation when starting #3994

@stof

Description

@stof

Expected behavior

Only the phpdocumentor output should be displayed.

Actual behavior

$ ./phpDocumentor.phar -V    
PHP Deprecated:  League\Flysystem\MountManager::get(): Implicitly marking parameter $handler as nullable is deprecated, the explicit nullable type must be used instead in phar:///home/stof/src/scssphp/scssphp/phpDocumentor.phar/vendor/league/flysystem/src/MountManager.php on line 642
PHP Deprecated:  League\Flysystem\FilesystemInterface::get(): Implicitly marking parameter $handler as nullable is deprecated, the explicit nullable type must be used instead in phar:///home/stof/src/scssphp/scssphp/phpDocumentor.phar/vendor/phpdocumentor/filesystem/Flysystem/FilesystemInterface.php on line 286
phpDocumentor v3.8.1

Steps to reproduce the problem

  1. download the 3.8.1 phar from the GitHub release
  2. run ./phpDocumentor.phar -V using PHP 8.4

Your environment

  • Version used: 3.8.1
  • Install method: phar from https://phpdoc.org/phpDocumentor.phar
  • PHP version: 8.4.13
  • Operating system and version (e.g. Ubuntu 20.04, Windows 10): Ubuntu 24.04
  • Link to your project: n/a
  • Attach code that is involved
  • ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions