You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to load geoPHP, this should be resolved and the phpcs:disable PSR1.Files.SideEffects at the top of the file removed
error log
└─ $ ▶ phpcs --standard=_test/phpcs_MigrationAdjustments.xml lib/plugins/geophp/helper.php
W 1 / 1 (100%)
FILE: /home/mark/dev/projects/_DOKUWIKI/dokuwiki-plugin-geophp/helper.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 | WARNING | A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on
| | line 29 and the first side effect is on line 22. (PSR1.Files.SideEffects.FoundWithSymbols)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Time: 21ms; Memory: 6MB
The text was updated successfully, but these errors were encountered:
helper.php
andaction.php
uses a side-effectdokuwiki-plugin-geophp/helper.php
Line 21 in 853778b
to load geoPHP, this should be resolved and the
phpcs:disable PSR1.Files.SideEffects
at the top of the file removederror log
The text was updated successfully, but these errors were encountered: