Skip to content

Invalid characters passed to "octdec" #690

@r-man

Description

@r-man
  • PHP Depend version: 2.15.1
  • PHP Version: 8.2.8
  • Installation type: composer
  • Operating System / Distribution & Version: Ubuntu 23.10

Current Behavior

PHP Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /var/www/html/vendor/pdepend/pdepend/src/main/php/PDepend/Source/Language/PHP/AbstractPHPParser.php on line 8219

Expected Behavior

No deprecation messages.

Steps To Reproduce:

  1. You need to enable E_DEPRECATED in the error_reporting directive.
  2. Create PaymentDTO.php
class PaymentDTO
{
    private float $amount = 0.00;
}
  1. Run
vendor/bin/pdepend --summary-xml=summary.xml PaymentDTO.php

Checks before submitting

  • Be sure that there isn't already an issue about this. See: Issues list
  • Be sure that there isn't already a pull request about this. See: Pull requests
  • I have added every step to reproduce the bug.
  • If possible I added relevant code examples.
  • This issue is about 1 bug and nothing more.
  • The issue has a descriptive title. For example: "Default value is not available in AST when it's an array".

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions