[Fix] deprecated: Required parameter follows optional parameter

[Fix] deprecated: Required parameter follows optional parameter

This type of error occurs in PHP 8 and higher. This means if you have a function and an optional parameter comes first and then the required param – this deprecation message triggers. Example. Here $a is an optional parameter,

Upgrade your composer to v2, please.

Upgrade your composer to v2, please.

Featured Image: “Vintage Typewriter Composing” by Wendelin Jacober is marked with CC0 1.0. Composer v2 has significantly improved performance. It updates your packages faster, ignoring already installed packages. If you’re still using composer v1.x – you have probably seen the warning message: Warning

Debouncing – preventing a function to run instantly in React

Debouncing – preventing a function to run instantly in React

Debouncing is a term in software development that is used to prevent a function to run until a specific time has elapsed, which significantly improves the cost. Cost in the terms of requests. Example: let’s say we have a search

Exclude directory when using git diff

Exclude directory when using git diff

git diff is one of the frequently used git commands during software development. It shows you the changes you made locally from the last commit. However, sometimes you don’t want to see the diff from specific directories. For example in

VS Code User Snippets To Create For WordPress Development

VS Code User Snippets To Create For WordPress Development

User Snippets are user-defined code snippets, snippets that are frequently used during development. You don’t want to repeatedly write the same code snippets again and again. That is where user snippets come in handy. It speeds up your development time

× WhatsApp