1 parent 6c22d52 commit e774b35Copy full SHA for e774b35
1 file changed
tests/validate-readme.php
@@ -59,11 +59,11 @@
59
}
60
61
62
-if (!str_contains((string)$pluginClass, "public const VERSION = '0.1.1';")) {
+if (false === strpos((string)$pluginClass, "public const VERSION = '0.1.1';")) {
63
$failures[] = 'Plugin class VERSION constant must match 0.1.1.';
64
65
66
-if (!str_contains($changelog, '## 0.1.1 - 2026-06-03')) {
+if (false === strpos($changelog, '## 0.1.1 - 2026-06-03')) {
67
$failures[] = 'CHANGELOG.md must include the 0.1.1 release entry.';
68
69
0 commit comments