Denis Žoljom

Results 142 issues of Denis Žoljom

**Basic info** | Windows 10 Build | WSL Distro | WSL Verson | PHP Version | Valet version | | ---------------- | --------------- | ----------- | ------------| ------------- | |...

Seems to me that this will list all the extensions and all the libraries needed (or recommended) for WordPress to run, without making the distinction between the two. For instance,...

I have several elements with the same class on my site that have different tags in them. Is it possible to use the same initialization for every one, or do...

[Theme sniffer](https://github.com/WPTRT/theme-sniffer) plugin uses PHPCompatiblity to check if the theme is compatible with certain versions of php. We got an issue where a custom made function that's called `family_grows_entry_posted_on_setup()` triggers...

bug

Before we release the WPCS 3.0 we should do a review of the [WordPress-Core ruleset](https://github.com/WordPress/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml). We should check the sniffs (if any need to be removed/added or reorganized) and take...

Type: Documentation
Component: Core
Status: good first issue

Since PHP 7.4 null coalesce equal operator was introduced (`??=`). Now instead of using null coalesce operator when assigning to a variable like: ```php $_GET['variable'] = $_GET['variable'] ?? 'default'; ```...

Focus: Modern PHP

PHP 7.4 added support for typed class properties. ```php class User { private $id; private $name; public function __construct(int $id, string $name) { $this->id = $id; $this->name = $name; }...

Focus: Modern PHP

Since PHP 7.4 you can use the spread operator (aka splat operator `...`) to unpack array expressions. ```php $parts = array( 'apple', 'pear'); $fruits = array( 'banana', 'orange', ...$parts, 'watermelon'];...

Focus: Modern PHP

Since PHP 7.3 it's possible to use reference assignment with `list()`. Code like ```php $array = array( 1, 2 ); list( $a, &$b ) = $array; ``` Won't throw `Fatal...

Focus: Modern PHP

Since PHP 7.3, adding a trailing comma in function calls, like: ```php array_merge( $array_one, $array_two, $array_three, ); ``` won't throw a parse error. This has been motivated by the fact...

Focus: Modern PHP