Skip to content

Commit 4187338

Browse files
authored
Merge pull request #1354 from skaut/no-id-check
Disabled SkautIS ID checks
2 parents 42a80a6 + 8fcc4af commit 4187338

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/php/src/admin/class-settings.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ final class Settings {
2626
* A link to the Skautis_Gateway service instance.
2727
*
2828
* @var Skautis_Gateway
29+
*
30+
* @phpstan-ignore property.onlyWritten
2931
*/
3032
private $skautis_gateway;
3133

@@ -211,11 +213,16 @@ public static function print_setting_page() {
211213
* @param string $value The App ID.
212214
*
213215
* @return string The sanitized App ID.
216+
*
217+
* @suppress PhanPluginPossiblyStaticPublicMethod
214218
*/
215219
public function test_app_id( $value ) {
220+
/* phpcs:ignore Squiz.PHP.CommentedOutCode.Found
221+
* Disabled on 2025-09 due to errors in SkautIS.
216222
if ( ! $this->skautis_gateway->test_active_app_id() ) {
217223
add_settings_error( 'general', 'api_invalid', esc_html__( 'Zadané APP ID není pro tento web platné.', 'skautis-integration' ), 'notice-error' );
218224
}
225+
*/
219226
return sanitize_text_field( $value );
220227
}
221228

0 commit comments

Comments
 (0)