wiki.techinc.nl/includes/block
Bartosz Dziewoński ccd423225f Add "implements Stringable" to every class with "function __toString()"
In PHP 8, but not in PHP 7.4, every class with a __toString() function
implicitly implements the Stringable interface. Therefore, the
behavior of checks like "instanceof Stringable" differs between these
PHP versions when such classes are involved. Make every such class
implement the interface so that the behavior will be consistent.

The PHP 7.4 fallback for the Stringable interface is provided by
symfony/polyfill-php80.

Change-Id: I3f0330c2555c7d3bf99b654ed3c0b0303e257ea1
2024-06-13 00:23:39 +00:00
..
Hook
Restriction
AbstractBlock.php Block: Drop AbstractBlock::getPermissionsError 2024-05-04 18:22:03 +03:00
AutoblockExemptionList.php
Block.php
BlockActionInfo.php
BlockCache.php
BlockCacheEntry.php
BlockCacheKey.php Add "implements Stringable" to every class with "function __toString()" 2024-06-13 00:23:39 +00:00
BlockErrorFormatter.php Namespace Message, move to appropriate directory 2024-02-14 15:10:36 -05:00
BlockManager.php Ignore/fix MediaWiki.Commenting.PropertyDocumentation.WrongStyle 2024-04-22 18:26:14 +03:00
BlockPermissionChecker.php
BlockPermissionCheckerFactory.php
BlockRestrictionStore.php block: Deprecate and stop using $wgBlockTargetMigrationStage 2024-05-10 15:54:17 +10:00
BlockRestrictionStoreFactory.php block: Deprecate and stop using $wgBlockTargetMigrationStage 2024-05-10 15:54:17 +10:00
BlockUser.php Namespace Message, move to appropriate directory 2024-02-14 15:10:36 -05:00
BlockUserFactory.php
BlockUtils.php Use explicit value checks where "0" is valid input 2024-02-22 09:59:32 +01:00
BlockUtilsFactory.php block: Use dbdomain to check for local in BlockUtilsFactory 2024-01-12 15:27:04 +01:00
CompositeBlock.php Namespace Message, move to appropriate directory 2024-02-14 15:10:36 -05:00
DatabaseBlock.php block: Deprecate and stop using $wgBlockTargetMigrationStage 2024-05-10 15:54:17 +10:00
DatabaseBlockStore.php Use RawSQLValue for some SET clauses in update/upsert 2024-05-29 19:48:09 +00:00
DatabaseBlockStoreFactory.php Use IConnectionProvider in DatabaseBlockStore 2024-03-14 00:24:29 +01:00
HideUserUtils.php block: Deprecate and stop using $wgBlockTargetMigrationStage 2024-05-10 15:54:17 +10:00
SystemBlock.php
UnblockUser.php
UnblockUserFactory.php
UserBlockCommandFactory.php Allow temporary accounts to be blocked with 'hideuser' enabled 2024-01-22 18:19:59 +00:00