Skip to content
#

clean-code

Here are 1,190 public repositories matching this topic...

acewebsolutions
acewebsolutions commented Apr 29, 2021
  • PHPMD version: 2.10.0
  • PHP Version: 8.0.3
  • Installation type: composer
  • Operating System / Distribution & Version: Ubuntu 20.04

Current Behavior

Getting "Avoid unused parameters such as '$createNewUser'" violation when declaring parameters in the constructor in php8.

Expected Behavior

No violation, as php8 introduces the possibility of declaring class prorieties in the

GuardClauses

Improve this page

Add a description, image, and links to the clean-code topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the clean-code topic, visit your repo's landing page and select "manage topics."

Learn more