Added patch to fix deprecated code issue.
The output of drupal-check post thi...

Contribution Date
Technology
Contribution Project
Contribution Details

Added patch to fix deprecated code issue.

The output of drupal-check post this patch,

vendor/bin/drupal-check -ad modules/contrib/workspace/block_country
1/1 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

------ -------------------------------------------------------
Line src/Plugin/Condition/BlockCountry.php
------ -------------------------------------------------------
72 Unsafe usage of new static().
? Consider making the class or the constructor final.
------ -------------------------------------------------------

Keep the static usage the same for consistency.

Issue Status
Needs Review
Contribution Author
Files count
1
Patches count
1