Skip to content

Instantly share code, notes, and snippets.

@theodorejb
Last active August 14, 2025 19:04
Show Gist options
  • Save theodorejb/965633b9787475dfe64cc53dc941bc49 to your computer and use it in GitHub Desktop.
Save theodorejb/965633b9787475dfe64cc53dc941bc49 to your computer and use it in GitHub Desktop.
PHP 8.5 syntax deprecations
apache\log4php\src\main\php\LoggerLoggingEvent.php:351
public function __sleep() {
return array(
'fqcn',
'categoryName',
'level',
'ndc',
'ndcLookupRequired',
'message',
'renderedMessage',
'threadName',
'timeStamp',
'locationInfo',
);
}
aws\aws-sdk-php\src\AwsClient.php:368
public function __sleep()
{
throw new \RuntimeException('Instances of ' . static::class
. ' cannot be serialized');
}
cakephp\cakephp\src\Mailer\Transport\SmtpTransport.php:109
public function __wakeup(): void
{
unset($this->_socket);
}
codeception\codeception\ext\RunProcess.php:128
public function __sleep()
{
throw new BadMethodCallException('Cannot serialize ' . self::class);
}
codeception\codeception\ext\RunProcess.php:139
public function __wakeup()
{
throw new BadMethodCallException('Cannot unserialize ' . self::class);
}
dasprid\enum\src\AbstractEnum.php:217
final public function __sleep() : array
{
throw new SerializeNotSupportedException();
}
dasprid\enum\src\AbstractEnum.php:227
final public function __wakeup() : void
{
throw new UnserializeNotSupportedException();
}
dasprid\enum\src\NullValue.php:41
final public function __sleep() : array
{
throw new SerializeNotSupportedException();
}
dasprid\enum\src\NullValue.php:51
final public function __wakeup() : void
{
throw new UnserializeNotSupportedException();
}
doctrine\mongodb-odm\lib\Doctrine\ODM\MongoDB\Mapping\ClassMetadata.php:2527
public function __sleep()
{
// This metadata is always serialized/cached.
$serialized = [
'fieldMappings',
'associationMappings',
'identifier',
'name',
'db',
'collection',
'readPreference',
'readPreferenceTags',
'writeConcern',
'rootDocumentName',
'generatorType',
'generatorOptions',
'idGenerator',
'indexes',
'shardKey',
'timeSeriesOptions',
];
// The rest of the metadata is only serialized if necessary.
if ($this->changeTrackingPolicy !== self::CHANGETRACKING_DEFERRED_IMPLICIT) {
$serialized[] = 'changeTrackingPolicy';
}
if ($this->customRepositoryClassName) {
$serialized[] = 'customRepositoryClassName';
}
if ($this->inheritanceType !== self::INHERITANCE_TYPE_NONE || $this->discriminatorField !== null) {
$serialized[] = 'inheritanceType';
$serialized[] = 'discriminatorField';
$serialized[] = 'discriminatorValue';
$serialized[] = 'discriminatorMap';
$serialized[] = 'defaultDiscriminatorValue';
$serialized[] = 'parentClasses';
$serialized[] = 'subClasses';
}
if ($this->isMappedSuperclass) {
$serialized[] = 'isMappedSuperclass';
}
if ($this->isEmbeddedDocument) {
$serialized[] = 'isEmbeddedDocument';
}
if ($this->isQueryResultDocument) {
$serialized[] = 'isQueryResultDocument';
}
if ($this->isView()) {
$serialized[] = 'isView';
$serialized[] = 'rootClass';
}
if ($this->isFile) {
$serialized[] = 'isFile';
$serialized[] = 'bucketName';
$serialized[] = 'chunkSizeBytes';
}
if ($this->isVersioned) {
$serialized[] = 'isVersioned';
$serialized[] = 'versionField';
}
if ($this->isLockable) {
$serialized[] = 'isLockable';
$serialized[] = 'lockField';
}
if ($this->lifecycleCallbacks) {
$serialized[] = 'lifecycleCallbacks';
}
if ($this->collectionCapped) {
$serialized[] = 'collectionCapped';
$serialized[] = 'collectionSize';
$serialized[] = 'collectionMax';
}
if ($this->isReadOnly) {
$serialized[] = 'isReadOnly';
}
if ($this->validator !== null) {
$serialized[] = 'validator';
$serialized[] = 'validationAction';
$serialized[] = 'validationLevel';
}
return $serialized;
}
doctrine\mongodb-odm\lib\Doctrine\ODM\MongoDB\Mapping\ClassMetadata.php:2627
public function __wakeup()
{
// Restore ReflectionClass and properties
$this->reflectionService = new RuntimeReflectionService();
$this->reflClass = new ReflectionClass($this->name);
$this->instantiator = new Instantiator();
foreach ($this->fieldMappings as $field => $mapping) {
$prop = $this->reflectionService->getAccessibleProperty($mapping['declared'] ?? $this->name, $field);
assert($prop instanceof ReflectionProperty);
if (isset($mapping['enumType'])) {
$prop = new EnumReflectionProperty($prop, $mapping['enumType']);
}
$this->reflFields[$field] = $prop;
}
}
doctrine\mongodb-odm\lib\Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionTrait.php:514
public function __sleep()
{
return ['coll', 'initialized', 'mongoData', 'snapshot', 'isDirty', 'hints'];
}
doctrine\orm\src\Mapping\AssociationMapping.php:332
public function __sleep(): array
{
$serialized = ['fieldName', 'sourceEntity', 'targetEntity'];
if (count($this->cascade) > 0) {
$serialized[] = 'cascade';
}
foreach (
[
'fetch',
'inherited',
'declared',
'cache',
'originalClass',
'originalField',
] as $stringOrArrayProperty
) {
if ($this->$stringOrArrayProperty !== null) {
$serialized[] = $stringOrArrayProperty;
}
}
foreach (['id', 'orphanRemoval', 'isOnDeleteCascade', 'unique'] as $boolProperty) {
if ($this->$boolProperty) {
$serialized[] = $boolProperty;
}
}
return $serialized;
}
doctrine\orm\src\Mapping\ClassMetadata.php:671
public function __sleep(): array
{
// This metadata is always serialized/cached.
$serialized = [
'associationMappings',
'columnNames', //TODO: 3.0 Remove this. Can use fieldMappings[$fieldName]['columnName']
'fieldMappings',
'fieldNames',
'embeddedClasses',
'identifier',
'isIdentifierComposite', // TODO: REMOVE
'name',
'namespace', // TODO: REMOVE
'table',
'rootEntityName',
'idGenerator', //TODO: Does not really need to be serialized. Could be moved to runtime.
];
// The rest of the metadata is only serialized if necessary.
if ($this->changeTrackingPolicy !== self::CHANGETRACKING_DEFERRED_IMPLICIT) {
$serialized[] = 'changeTrackingPolicy';
}
if ($this->customRepositoryClassName) {
$serialized[] = 'customRepositoryClassName';
}
if ($this->inheritanceType !== self::INHERITANCE_TYPE_NONE) {
$serialized[] = 'inheritanceType';
$serialized[] = 'discriminatorColumn';
$serialized[] = 'discriminatorValue';
$serialized[] = 'discriminatorMap';
$serialized[] = 'parentClasses';
$serialized[] = 'subClasses';
}
if ($this->generatorType !== self::GENERATOR_TYPE_NONE) {
$serialized[] = 'generatorType';
if ($this->generatorType === self::GENERATOR_TYPE_SEQUENCE) {
$serialized[] = 'sequenceGeneratorDefinition';
}
}
if ($this->isMappedSuperclass) {
$serialized[] = 'isMappedSuperclass';
}
if ($this->isEmbeddedClass) {
$serialized[] = 'isEmbeddedClass';
}
if ($this->containsForeignIdentifier) {
$serialized[] = 'containsForeignIdentifier';
}
if ($this->containsEnumIdentifier) {
$serialized[] = 'containsEnumIdentifier';
}
if ($this->isVersioned) {
$serialized[] = 'isVersioned';
$serialized[] = 'versionField';
}
if ($this->lifecycleCallbacks) {
$serialized[] = 'lifecycleCallbacks';
}
if ($this->entityListeners) {
$serialized[] = 'entityListeners';
}
if ($this->isReadOnly) {
$serialized[] = 'isReadOnly';
}
if ($this->customGeneratorDefinition) {
$serialized[] = 'customGeneratorDefinition';
}
if ($this->cache) {
$serialized[] = 'cache';
}
if ($this->requiresFetchAfterChange) {
$serialized[] = 'requiresFetchAfterChange';
}
return $serialized;
}
doctrine\orm\src\Mapping\DiscriminatorColumnMapping.php:67
public function __sleep(): array
{
$serialized = ['type', 'fieldName', 'name'];
foreach (['length', 'columnDefinition', 'enumType', 'options'] as $stringOrArrayKey) {
if ($this->$stringOrArrayKey !== null) {
$serialized[] = $stringOrArrayKey;
}
}
return $serialized;
}
doctrine\orm\src\Mapping\EmbeddedClassMapping.php:72
public function __sleep(): array
{
$serialized = ['class'];
if ($this->columnPrefix) {
$serialized[] = 'columnPrefix';
}
foreach (['declaredField', 'originalField', 'inherited', 'declared'] as $property) {
if ($this->$property !== null) {
$serialized[] = $property;
}
}
return $serialized;
}
doctrine\orm\src\Mapping\FieldMapping.php:135
public function __sleep(): array
{
$serialized = ['type', 'fieldName', 'columnName'];
foreach (['nullable', 'notInsertable', 'notUpdatable', 'id', 'unique', 'version', 'quoted'] as $boolKey) {
if ($this->$boolKey) {
$serialized[] = $boolKey;
}
}
foreach (
[
'length',
'columnDefinition',
'generated',
'enumType',
'precision',
'scale',
'inherited',
'originalClass',
'originalField',
'declared',
'declaredField',
'options',
'default',
] as $key
) {
if ($this->$key !== null) {
$serialized[] = $key;
}
}
return $serialized;
}
doctrine\orm\src\Mapping\InverseSideMapping.php:23
public function __sleep(): array
{
return [
...parent::__sleep(),
'mappedBy',
];
}
doctrine\orm\src\Mapping\JoinColumnMapping.php:55
public function __sleep(): array
{
$serialized = [];
foreach (['name', 'fieldName', 'onDelete', 'columnDefinition', 'referencedColumnName', 'options'] as $stringOrArrayKey) {
if ($this->$stringOrArrayKey !== null) {
$serialized[] = $stringOrArrayKey;
}
}
foreach (['deferrable', 'unique', 'quoted', 'nullable'] as $boolKey) {
if ($this->$boolKey !== null) {
$serialized[] = $boolKey;
}
}
return $serialized;
}
doctrine\orm\src\Mapping\JoinTableMapping.php:92
public function __sleep(): array
{
$serialized = [];
foreach (['joinColumns', 'inverseJoinColumns', 'name', 'schema', 'options'] as $stringOrArrayKey) {
if ($this->$stringOrArrayKey !== null) {
$serialized[] = $stringOrArrayKey;
}
}
foreach (['quoted'] as $boolKey) {
if ($this->$boolKey) {
$serialized[] = $boolKey;
}
}
return $serialized;
}
doctrine\orm\src\Mapping\ManyToManyOwningSideMapping.php:179
public function __sleep(): array
{
$serialized = parent::__sleep();
$serialized[] = 'joinTable';
$serialized[] = 'joinTableColumns';
foreach (['relationToSourceKeyColumns', 'relationToTargetKeyColumns'] as $arrayKey) {
if ($this->$arrayKey !== null) {
$serialized[] = $arrayKey;
}
}
return $serialized;
}
doctrine\orm\src\Mapping\OwningSideMapping.php:18
public function __sleep(): array
{
$serialized = parent::__sleep();
if ($this->inversedBy !== null) {
$serialized[] = 'inversedBy';
}
return $serialized;
}
doctrine\orm\src\Mapping\ToManyAssociationMappingImplementation.php:55
public function __sleep(): array
{
$serialized = parent::__sleep();
if ($this->indexBy !== null) {
$serialized[] = 'indexBy';
}
if ($this->orderBy !== []) {
$serialized[] = 'orderBy';
}
return $serialized;
}
doctrine\orm\src\Mapping\ToOneOwningSideMapping.php:206
public function __sleep(): array
{
return [
...parent::__sleep(),
'joinColumns',
'joinColumnFieldNames',
'sourceToTargetKeyColumns',
'targetToSourceKeyColumns',
];
}
doctrine\orm\src\PersistentCollection.php:497
public function __sleep(): array
{
return ['collection', 'initialized'];
}
doctrine\orm\src\PersistentCollection.php:502
public function __wakeup(): void
{
$this->em = null;
}
drupal\core\lib\Drupal\Core\Cache\MemoryBackend.php:214
public function __sleep(): array {
return ['time'];
}
drupal\core\lib\Drupal\Core\Config\Entity\ConfigEntityBase.php:351
public function __sleep(): array {
$keys_to_unset = [];
if ($this instanceof EntityWithPluginCollectionInterface) {
// Get the plugin collections first, so that the properties are
// initialized in $vars and can be found later.
$plugin_collections = $this->getPluginCollections();
$vars = get_object_vars($this);
foreach ($plugin_collections as $plugin_config_key => $plugin_collection) {
// Save any changes to the plugin configuration to the entity.
$this->set($plugin_config_key, $plugin_collection->getConfiguration());
// If the plugin collections are stored as properties on the entity,
// mark them to be unset.
$keys_to_unset += array_filter($vars, function ($value) use ($plugin_collection) {
return $plugin_collection === $value;
});
}
}
$vars = parent::__sleep();
if (!empty($keys_to_unset)) {
$vars = array_diff($vars, array_keys($keys_to_unset));
}
return $vars;
}
drupal\core\lib\Drupal\Core\Config\StorageComparer.php:508
public function __sleep(): array {
return array_diff($this->defaultSleep(), ['targetStorages']);
}
drupal\core\lib\Drupal\Core\Config\StorageComparer.php:515
public function __wakeup(): void {
$this->defaultWakeup();
$this->targetStorages = [];
$this->targetCacheStorage->deleteAll();
}
drupal\core\lib\Drupal\Core\Database\Connection.php:1308
public function __sleep(): array {
throw new \LogicException('The database connection is not serializable. This probably means you are serializing an object that has an indirect reference to the database connection. Adjust your code so that is not necessary. Alternatively, look at DependencySerializationTrait as a temporary solution.');
}
drupal\core\lib\Drupal\Core\Database\Query\Query.php:86
public function __sleep(): array {
$keys = get_object_vars($this);
unset($keys['connection']);
return array_keys($keys);
}
drupal\core\lib\Drupal\Core\Database\Query\Query.php:95
public function __wakeup(): void {
$this->connection = Database::getConnection($this->connectionTarget, $this->connectionKey);
}
drupal\core\lib\Drupal\Core\Datetime\DrupalDateTime.php:185
public function __sleep(): array {
return array_diff($this->defaultSleep(), ['formatTranslationCache']);
}
drupal\core\lib\Drupal\Core\DependencyInjection\Container.php:15
public function __sleep(): array {
assert(FALSE, 'The container was serialized.');
return array_keys(get_object_vars($this));
}
drupal\core\lib\Drupal\Core\DependencyInjection\ContainerBuilder.php:78
public function __sleep(): array {
assert(FALSE, 'The container was serialized.');
return array_keys(get_object_vars($this));
}
drupal\core\lib\Drupal\Core\DependencyInjection\DependencySerializationTrait.php:33
public function __sleep(): array {
$vars = get_object_vars($this);
try {
$container = \Drupal::getContainer();
$reverse_container = $container->get(ReverseContainer::class);
foreach ($vars as $key => $value) {
if (!is_object($value) || $value instanceof TranslatableMarkup) {
// Ignore properties that cannot be services.
continue;
}
if ($value instanceof EntityStorageInterface) {
// If a class member is an entity storage, only store the entity type
// ID the storage is for, so it can be used to get a fresh object on
// unserialization. By doing this we prevent possible memory leaks
// when the storage is serialized and it contains a static cache of
// entity objects. Additionally we ensure that we'll not have multiple
// storage objects for the same entity type and therefore prevent
// returning different references for the same entity.
$this->_entityStorages[$key] = $value->getEntityTypeId();
unset($vars[$key]);
}
elseif ($service_id = $reverse_container->getId($value)) {
// If a class member was instantiated by the dependency injection
// container, only store its ID so it can be used to get a fresh
// object on unserialization.
$this->_serviceIds[$key] = $service_id;
unset($vars[$key]);
}
}
}
catch (ContainerNotInitializedException) {
// No container, no problem.
}
return array_keys($vars);
}
drupal\core\lib\Drupal\Core\DependencyInjection\DependencySerializationTrait.php:73
public function __wakeup(): void {
// Avoid trying to wakeup if there's nothing to do.
if (empty($this->_serviceIds) && empty($this->_entityStorages)) {
return;
}
$container = \Drupal::getContainer();
foreach ($this->_serviceIds as $key => $service_id) {
$this->$key = $container->get($service_id);
}
$this->_serviceIds = [];
if ($this->_entityStorages) {
/** @var \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager */
$entity_type_manager = $container->get('entity_type.manager');
foreach ($this->_entityStorages as $key => $entity_type_id) {
$this->$key = $entity_type_manager->getStorage($entity_type_id);
}
}
$this->_entityStorages = [];
}
drupal\core\lib\Drupal\Core\Entity\ContentEntityBase.php:549
public function __sleep(): array {
// Get the values of instantiated field objects, only serialize the values.
foreach ($this->fields as $name => $fields) {
foreach ($fields as $langcode => $field) {
$this->values[$name][$langcode] = $field->getValue();
}
}
$this->fields = [];
$this->fieldDefinitions = NULL;
$this->languages = NULL;
$this->clearTranslationCache();
return parent::__sleep();
}
drupal\core\lib\Drupal\Core\Entity\EntityBase.php:665
public function __sleep(): array {
$this->typedData = NULL;
return $this->traitSleep();
}
drupal\core\lib\Drupal\Core\Entity\EntityDisplayBase.php:561
public function __sleep(): array {
// Only store the definition, not external objects or derived data.
$keys = array_keys($this->toArray());
// In addition, we need to keep the entity type and the "is new" status.
$keys[] = 'entityTypeId';
$keys[] = 'enforceIsNew';
// Keep track of the serialized keys, to avoid calling toArray() again in
// __wakeup(). Because of the way __sleep() works, the data has to be
// present in the object to be included in the serialized values.
$keys[] = '_serializedKeys';
// Keep track of the initialization status.
$keys[] = 'initialized';
$this->_serializedKeys = $keys;
return $keys;
}
drupal\core\lib\Drupal\Core\Entity\EntityDisplayBase.php:580
public function __wakeup(): void {
// Determine what were the properties from toArray() that were saved in
// __sleep().
$keys = $this->_serializedKeys;
unset($this->_serializedKeys);
$values = array_intersect_key(get_object_vars($this), array_flip($keys));
// Run those values through the __construct(), as if they came from a
// regular entity load.
$this->__construct($values, $this->entityTypeId);
}
drupal\core\lib\Drupal\Core\Extension\Dependency.php:144
public function __sleep(): array {
return ['name', 'project', 'constraintString'];
}
drupal\core\lib\Drupal\Core\Extension\Extension.php:189
public function __sleep(): array {
// @todo \Drupal\Core\Extension\ThemeExtensionList is adding custom
// properties to the Extension object.
$properties = get_object_vars($this);
// Don't serialize the app root, since this could change if the install is
// moved. Don't serialize splFileInfo because it can not be.
unset($properties['splFileInfo'], $properties['root']);
return array_keys($properties);
}
drupal\core\lib\Drupal\Core\Extension\Extension.php:202
public function __wakeup(): void {
// Get the app root from the container. While compiling the container we
// have to discover all the extension service files in
// \Drupal\Core\DrupalKernel::initializeServiceProviders(). This results in
// creating extension objects before the container has the kernel.
// Specifically, this occurs during the call to
// \Drupal\Core\Extension\ExtensionDiscovery::scanDirectory().
$container = \Drupal::hasContainer() ? \Drupal::getContainer() : FALSE;
$this->root = $container && $container->hasParameter('app.root') ? $container->getParameter('app.root') : DRUPAL_ROOT;
}
drupal\core\lib\Drupal\Core\Field\BaseFieldDefinition.php:614
public function __sleep(): array {
// Do not serialize the statically cached property definitions.
$vars = get_object_vars($this);
unset($vars['propertyDefinitions'], $vars['typedDataManager']);
return array_keys($vars);
}
drupal\core\lib\Drupal\Core\Field\Entity\BaseFieldOverride.php:267
public function __sleep(): array {
// Only serialize necessary properties, excluding those that can be
// recalculated.
unset($this->baseFieldDefinition);
return parent::__sleep();
}
drupal\core\lib\Drupal\Core\Field\FieldConfigBase.php:478
public function __sleep(): array {
$properties = get_object_vars($this);
// Only serialize necessary properties, excluding those that can be
// recalculated.
unset($properties['itemDefinition'], $properties['original']);
return array_keys($properties);
}
drupal\core\lib\Drupal\Core\Site\Settings.php:85
public function __sleep(): array {
throw new \LogicException('Settings can not be serialized. This probably means you are serializing an object that has an indirect reference to the Settings object. Adjust your code so that is not necessary.');
}
drupal\core\lib\Drupal\Core\StringTranslation\PluralTranslatableMarkup.php:146
public function __sleep(): array {
return array_merge(parent::__sleep(), ['count']);
}
drupal\core\lib\Drupal\Core\StringTranslation\TranslatableMarkup.php:203
public function __sleep(): array {
return ['string', 'arguments', 'options'];
}
drupal\core\lib\Drupal\Core\TypedData\ComplexDataDefinitionBase.php:42
public function __sleep(): array {
// Do not serialize the cached property definitions.
$vars = get_object_vars($this);
unset($vars['propertyDefinitions'], $vars['typedDataManager']);
return array_keys($vars);
}
drupal\core\lib\Drupal\Core\TypedData\DataDefinition.php:373
public function __sleep(): array {
// Never serialize the typed data manager.
$vars = get_object_vars($this);
unset($vars['typedDataManager']);
return array_keys($vars);
}
drupal\core\modules\field\src\Entity\FieldStorageConfig.php:758
public function __sleep(): array {
// Only serialize necessary properties, excluding those that can be
// recalculated.
$properties = get_object_vars($this);
unset($properties['schema'], $properties['propertyDefinitions'], $properties['original']);
return array_keys($properties);
}
drupal\core\modules\locale\src\LocaleTranslation.php:169
public function __sleep(): array {
// ::$translations is an array of LocaleLookup objects, which have the
// database service injected and therefore cannot be serialized safely.
return array_diff($this->traitSleep(), ['translations']);
}
drupal\core\modules\migrate\src\Plugin\migrate\source\SqlBase.php:479
public function __sleep(): array {
return array_diff(parent::__sleep(), ['database']);
}
drupal\core\modules\package_manager\tests\src\Kernel\PackageManagerKernelTestBase.php:477
public function __sleep(): array {
return [];
}
drupal\core\modules\taxonomy\src\TermStorage.php:435
public function __sleep(): array {
/** @var string[] $vars */
$vars = parent::__sleep();
// Do not serialize static cache.
unset($vars['ancestors'], $vars['treeChildren'], $vars['treeParents'], $vars['treeTerms'], $vars['trees'], $vars['vocabularyHierarchyType']);
return $vars;
}
drupal\core\modules\taxonomy\src\TermStorage.php:446
public function __wakeup(): void {
parent::__wakeup();
// Initialize static caches.
$this->ancestors = [];
$this->treeChildren = [];
$this->treeParents = [];
$this->treeTerms = [];
$this->trees = [];
$this->vocabularyHierarchyType = [];
}
drupal\core\modules\views\src\Entity\View.php:465
public function __sleep(): array {
$keys = parent::__sleep();
unset($keys[array_search('executable', $keys)]);
return $keys;
}
drupal\core\modules\views\src\ViewExecutable.php:2541
public function __sleep(): array {
// Limit to only the required data which is needed to properly restore the
// state during unserialization.
$this->serializationData = [
'storage' => $this->storage->id(),
'current_display' => $this->current_display,
'args' => $this->args,
'current_page' => $this->current_page,
'exposed_input' => $this->exposed_input,
'exposed_raw_input' => $this->exposed_raw_input,
'exposed_data' => $this->exposed_data,
'dom_id' => $this->dom_id,
'executed' => $this->executed,
];
return ['serializationData'];
}
drupal\core\modules\views\src\ViewExecutable.php:2561
public function __wakeup(): void {
// There are cases, like in testing where we don't have a container
// available.
if (\Drupal::hasContainer() && !empty($this->serializationData)) {
// Load and reference the storage.
$this->storage = \Drupal::entityTypeManager()->getStorage('view')
->load($this->serializationData['storage']);
$this->storage->set('executable', $this);
// Attach all necessary services.
$this->user = \Drupal::currentUser();
$this->viewsData = \Drupal::service('views.views_data');
$this->routeProvider = \Drupal::service('router.route_provider');
$this->displayPluginManager = \Drupal::service('plugin.manager.views.display');
// Restore the state of this executable.
if ($request = \Drupal::request()) {
$this->setRequest($request);
}
$this->setDisplay($this->serializationData['current_display']);
$this->setArguments($this->serializationData['args']);
$this->setCurrentPage($this->serializationData['current_page']);
$this->setExposedInput($this->serializationData['exposed_input']);
$this->exposed_data = $this->serializationData['exposed_data'];
$this->exposed_raw_input = $this->serializationData['exposed_raw_input'];
$this->dom_id = $this->serializationData['dom_id'];
$this->initHandlers();
// If the display was previously executed, execute it now.
if ($this->serializationData['executed']) {
$this->execute($this->current_display);
}
}
// Unset serializationData since it serves no further purpose.
unset($this->serializationData);
}
drupal\core\tests\Drupal\KernelTests\KernelTestBase.php:1023
public function __sleep(): array {
return [];
}
drupal\core\tests\Drupal\Tests\BrowserTestBase.php:564
public function __sleep(): array {
return [];
}
fakerphp\faker\src\Generator.php:969
public function __wakeup()
{
$this->formatters = [];
}
friendsofphp\php-cs-fixer\src\Cache\FileCacheManager.php:78
public function __sleep(): array
{
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
}
friendsofphp\php-cs-fixer\src\Cache\FileCacheManager.php:89
public function __wakeup(): void
{
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
}
friendsofphp\php-cs-fixer\src\Console\Output\Progress\DotsOutput.php:64
public function __sleep(): array
{
throw new \BadMethodCallException('Cannot serialize '.self::class);
}
friendsofphp\php-cs-fixer\src\Console\Output\Progress\DotsOutput.php:75
public function __wakeup(): void
{
throw new \BadMethodCallException('Cannot unserialize '.self::class);
}
friendsofphp\php-cs-fixer\src\Console\Output\Progress\PercentageBarOutput.php:52
public function __sleep(): array
{
throw new \BadMethodCallException('Cannot serialize '.self::class);
}
friendsofphp\php-cs-fixer\src\Console\Output\Progress\PercentageBarOutput.php:63
public function __wakeup(): void
{
throw new \BadMethodCallException('Cannot unserialize '.self::class);
}
friendsofphp\php-cs-fixer\src\FileRemoval.php:48
public function __sleep(): array
{
throw new \BadMethodCallException('Cannot serialize '.self::class);
}
friendsofphp\php-cs-fixer\src\FileRemoval.php:59
public function __wakeup(): void
{
throw new \BadMethodCallException('Cannot unserialize '.self::class);
}
friendsofphp\php-cs-fixer\src\Linter\ProcessLinter.php:83
public function __sleep(): array
{
throw new \BadMethodCallException('Cannot serialize '.self::class);
}
friendsofphp\php-cs-fixer\src\Linter\ProcessLinter.php:94
public function __wakeup(): void
{
throw new \BadMethodCallException('Cannot unserialize '.self::class);
}
fzaninotto\faker\src\Faker\Generator.php:295
public function __wakeup()
{
$this->formatters = [];
}
google\cloud\Core\src\Batch\InMemoryConfigStorage.php:68
public function __sleep()
{
throw new BadMethodCallException('Serialization not supported');
}
google\cloud\Core\src\Batch\InMemoryConfigStorage.php:76
public function __wakeup()
{
throw new BadMethodCallException('Serialization not supported');
}
google\cloud-core\src\Batch\InMemoryConfigStorage.php:68
public function __sleep()
{
throw new BadMethodCallException('Serialization not supported');
}
google\cloud-core\src\Batch\InMemoryConfigStorage.php:76
public function __wakeup()
{
throw new BadMethodCallException('Serialization not supported');
}
guzzlehttp\psr7\src\FnStream.php:66
public function __wakeup(): void
{
throw new \LogicException('FnStream should never be unserialized');
}
illuminate\database\Eloquent\Model.php:2561
public function __sleep()
{
$this->mergeAttributesFromCachedCasts();
$this->classCastCache = [];
$this->attributeCastCache = [];
$this->relationAutoloadCallback = null;
$this->relationAutoloadContext = null;
return array_keys(get_object_vars($this));
}
illuminate\database\Eloquent\Model.php:2578
public function __wakeup()
{
$this->bootIfNotBooted();
$this->initializeTraits();
if (static::isAutomaticallyEagerLoadingRelationships()) {
$this->withRelationshipAutoloading();
}
}
illuminate\queue\Middleware\RateLimited.php:150
public function __sleep()
{
return [
'limiterName',
'shouldRelease',
];
}
illuminate\queue\Middleware\RateLimited.php:163
public function __wakeup()
{
$this->limiter = Container::getInstance()->make(RateLimiter::class);
}
illuminate\queue\Middleware\RateLimitedWithRedis.php:96
public function __wakeup()
{
parent::__wakeup();
$this->redis = Container::getInstance()->make(Redis::class);
}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6162
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6191
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6221
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6252
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6281
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6312
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6341
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6371
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6400
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6433
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6463
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6492
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6523
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6552
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6583
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6616
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6645
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6674
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6704
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6740
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6770
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6799
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6828
public function __wakeup() {}
jetbrains\phpstorm-stubs\cassandra\cassandra.php:6859
public function __wakeup() {}
jetbrains\phpstorm-stubs\Core\Core_c.php:399
#[TentativeType]
public function __wakeup(): void {}
jetbrains\phpstorm-stubs\Core\Core_c.php:528
#[TentativeType]
public function __wakeup(): void {}
jetbrains\phpstorm-stubs\curl\curl.php:87
public function __wakeup() {}
jetbrains\phpstorm-stubs\date\date_c.php:158
#[TentativeType]
public function __wakeup(): void;
jetbrains\phpstorm-stubs\date\date_c.php:469
#[TentativeType]
public function __wakeup(): void {}
jetbrains\phpstorm-stubs\date\date_c.php:645
#[TentativeType]
public function __wakeup(): void {}
jetbrains\phpstorm-stubs\date\date_c.php:974
#[TentativeType]
public function __wakeup(): void {}
jetbrains\phpstorm-stubs\date\date_c.php:1085
#[TentativeType]
public function __wakeup(): void {}
jetbrains\phpstorm-stubs\date\date_c.php:1224
#[TentativeType]
public function __wakeup(): void {}
jetbrains\phpstorm-stubs\dom\dom_c.php:424
public function __sleep(): array {}
jetbrains\phpstorm-stubs\dom\dom_c.php:429
public function __wakeup(): void {}
jetbrains\phpstorm-stubs\dom\dom_c.php:625
public function __sleep(): array {}
jetbrains\phpstorm-stubs\dom\dom_c.php:630
public function __wakeup(): void {}
jetbrains\phpstorm-stubs\dom\dom_n.php:275
public function __sleep(): array {}
jetbrains\phpstorm-stubs\dom\dom_n.php:277
public function __wakeup(): void {}
jetbrains\phpstorm-stubs\mongodb\BSON\Iterator.php:23
final public function __wakeup(): void {}
jetbrains\phpstorm-stubs\mongodb\BulkWrite.php:27
final public function __wakeup() {}
jetbrains\phpstorm-stubs\mongodb\ClientEncryption.php:49
final public function __wakeup() {}
jetbrains\phpstorm-stubs\mongodb\Command.php:25
final public function __wakeup() {}
jetbrains\phpstorm-stubs\mongodb\Cursor.php:21
final public function __wakeup() {}
jetbrains\phpstorm-stubs\mongodb\Manager.php:34
final public function __wakeup() {}
jetbrains\phpstorm-stubs\mongodb\Monitoring\CommandFailedEvent.php:17
final public function __wakeup() {}
jetbrains\phpstorm-stubs\mongodb\Monitoring\CommandStartedEvent.php:17
final public function __wakeup() {}
jetbrains\phpstorm-stubs\mongodb\Monitoring\CommandSucceededEvent.php:17
final public function __wakeup() {}
jetbrains\phpstorm-stubs\mongodb\Monitoring\ServerChangedEvent.php:45
final public function __wakeup(): void {}
jetbrains\phpstorm-stubs\mongodb\Monitoring\ServerClosedEvent.php:32
final public function __wakeup(): void {}
jetbrains\phpstorm-stubs\mongodb\Monitoring\ServerHeartbeatFailedEvent.php:42
final public function __wakeup(): void {}
jetbrains\phpstorm-stubs\mongodb\Monitoring\ServerHeartbeatStartedEvent.php:30
final public function __wakeup(): void {}
jetbrains\phpstorm-stubs\mongodb\Monitoring\ServerHeartbeatSucceededEvent.php:42
final public function __wakeup(): void {}
jetbrains\phpstorm-stubs\mongodb\Monitoring\ServerOpeningEvent.php:32
final public function __wakeup(): void {}
jetbrains\phpstorm-stubs\mongodb\Monitoring\TopologyChangedEvent.php:33
final public function __wakeup(): void {}
jetbrains\phpstorm-stubs\mongodb\Monitoring\TopologyClosedEvent.php:20
final public function __wakeup(): void {}
jetbrains\phpstorm-stubs\mongodb\Monitoring\TopologyOpeningEvent.php:20
final public function __wakeup(): void {}
jetbrains\phpstorm-stubs\mongodb\Query.php:22
final public function __wakeup() {}
jetbrains\phpstorm-stubs\mongodb\Server.php:39
final public function __wakeup() {}
jetbrains\phpstorm-stubs\mongodb\ServerDescription.php:59
final public function __wakeup(): void {}
jetbrains\phpstorm-stubs\mongodb\Session.php:50
final public function __wakeup() {}
jetbrains\phpstorm-stubs\mongodb\TopologyDescription.php:44
final public function __wakeup(): void {}
jetbrains\phpstorm-stubs\mongodb\WriteConcernError.php:13
final public function __wakeup() {}
jetbrains\phpstorm-stubs\mongodb\WriteError.php:12
final public function __wakeup() {}
jetbrains\phpstorm-stubs\mongodb\WriteResult.php:13
final public function __wakeup() {}
jetbrains\phpstorm-stubs\PDO\PDO.php:1278
final public function __wakeup() {}
jetbrains\phpstorm-stubs\PDO\PDO.php:1280
final public function __sleep() {}
jetbrains\phpstorm-stubs\PDO\PDO.php:1977
final public function __wakeup() {}
jetbrains\phpstorm-stubs\PDO\PDO.php:1979
final public function __sleep() {}
jetbrains\phpstorm-stubs\SPL\SPL_c1.php:323
public function __wakeup() {}
jetbrains\phpstorm-stubs\SPL\SPL_c1.php:1975
#[TentativeType]
#[Deprecated("The function is deprecated", since: "8.4")]
public function __wakeup(): void {}
jetbrains\phpstorm-stubs\standard\_types.php:225
public function __wakeup() {}
jetbrains\phpstorm-stubs\standard\_types.php:342
public function __sleep(): array {}
jetbrains\phpstorm-stubs\standard\_types.php:353
public function __wakeup(): void {}
jetbrains\phpstorm-stubs\yaf\yaf.php:255
private function __sleep() {}
jetbrains\phpstorm-stubs\yaf\yaf.php:260
private function __wakeup() {}
jetbrains\phpstorm-stubs\yaf\yaf.php:339
private function __sleep() {}
jetbrains\phpstorm-stubs\yaf\yaf.php:344
private function __wakeup() {}
jetbrains\phpstorm-stubs\yaf\yaf.php:630
private function __sleep() {}
jetbrains\phpstorm-stubs\yaf\yaf.php:635
private function __wakeup() {}
jetbrains\phpstorm-stubs\yaf\yaf.php:844
private function __sleep() {}
jetbrains\phpstorm-stubs\yaf\yaf.php:849
private function __wakeup() {}
jetbrains\phpstorm-stubs\yaf\yaf_namespace.php:249
private function __sleep() {}
jetbrains\phpstorm-stubs\yaf\yaf_namespace.php:254
private function __wakeup() {}
jetbrains\phpstorm-stubs\yaf\yaf_namespace.php:331
private function __sleep() {}
jetbrains\phpstorm-stubs\yaf\yaf_namespace.php:336
private function __wakeup() {}
jetbrains\phpstorm-stubs\yaf\yaf_namespace.php:594
private function __sleep() {}
jetbrains\phpstorm-stubs\yaf\yaf_namespace.php:599
private function __wakeup() {}
jetbrains\phpstorm-stubs\yaf\yaf_namespace.php:785
private function __sleep() {}
jetbrains\phpstorm-stubs\yaf\yaf_namespace.php:790
private function __wakeup() {}
johnpbloch\wordpress-core\wp-includes\class-wp-block-bindings-registry.php:264
public function __wakeup() {
if ( ! $this->sources ) {
return;
}
if ( ! is_array( $this->sources ) ) {
throw new UnexpectedValueException();
}
foreach ( $this->sources as $value ) {
if ( ! $value instanceof WP_Block_Bindings_Source ) {
throw new UnexpectedValueException();
}
}
}
johnpbloch\wordpress-core\wp-includes\class-wp-block-bindings-source.php:106
public function __wakeup() {
throw new \LogicException( __CLASS__ . ' should never be unserialized' );
}
johnpbloch\wordpress-core\wp-includes\class-wp-block-patterns-registry.php:248
public function __wakeup() {
if ( ! $this->registered_patterns ) {
return;
}
if ( ! is_array( $this->registered_patterns ) ) {
throw new UnexpectedValueException();
}
foreach ( $this->registered_patterns as $value ) {
if ( ! is_array( $value ) ) {
throw new UnexpectedValueException();
}
}
$this->registered_patterns_outside_init = array();
}
johnpbloch\wordpress-core\wp-includes\class-wp-block-type-registry.php:171
public function __wakeup() {
if ( ! $this->registered_block_types ) {
return;
}
if ( ! is_array( $this->registered_block_types ) ) {
throw new UnexpectedValueException();
}
foreach ( $this->registered_block_types as $value ) {
if ( ! $value instanceof WP_Block_Type ) {
throw new UnexpectedValueException();
}
}
}
johnpbloch\wordpress-core\wp-includes\class-wp-theme.php:787
public function __wakeup() {
if ( $this->parent && ! $this->parent instanceof self ) {
throw new UnexpectedValueException();
}
if ( $this->headers && ! is_array( $this->headers ) ) {
throw new UnexpectedValueException();
}
foreach ( $this->headers as $value ) {
if ( ! is_string( $value ) ) {
throw new UnexpectedValueException();
}
}
$this->headers_sanitized = array();
}
johnpbloch\wordpress-core\wp-includes\html-api\class-wp-html-open-elements.php:849
public function __wakeup() {
throw new \LogicException( __CLASS__ . ' should never be unserialized' );
}
johnpbloch\wordpress-core\wp-includes\html-api\class-wp-html-token.php:123
public function __wakeup() {
throw new \LogicException( __CLASS__ . ' should never be unserialized' );
}
johnpbloch\wordpress-core\wp-includes\Requests\src\Hooks.php:100
public function __wakeup() {
throw new \LogicException( __CLASS__ . ' should never be unserialized' );
}
johnpbloch\wordpress-core\wp-includes\Requests\src\Iri.php:720
public function __wakeup() {
$class_props = get_class_vars( __CLASS__ );
$string_props = array( 'scheme', 'iuserinfo', 'ihost', 'port', 'ipath', 'iquery', 'ifragment' );
$array_props = array( 'normalization' );
foreach ( $class_props as $prop => $default_value ) {
if ( in_array( $prop, $string_props, true ) && ! is_string( $this->$prop ) ) {
throw new UnexpectedValueException();
} elseif ( in_array( $prop, $array_props, true ) && ! is_array( $this->$prop ) ) {
throw new UnexpectedValueException();
}
$this->$prop = null;
}
}
johnpbloch\wordpress-core\wp-includes\Requests\src\Session.php:268
public function __wakeup() {
throw new \LogicException( __CLASS__ . ' should never be unserialized' );
}
johnpbloch\wordpress-core\wp-includes\Requests\src\Utility\FilteredIterator.php:68
public function __wakeup() {
unset($this->callback);
}
johnpbloch\wordpress-core\wp-includes\sodium_compat\src\PHP52\SplFixedArray.php:185
public function __wakeup()
{
// NOP
}
laminas\laminas-mail\src\Storage\Folder\Mbox.php:224
public function __sleep()
{
return array_merge(parent::__sleep(), ['currentFolder', 'rootFolder', 'rootdir']);
}
laminas\laminas-mail\src\Storage\Folder\Mbox.php:232
public function __wakeup()
{
// if cache is stall selectFolder() rebuilds the tree on error
parent::__wakeup();
}
laminas\laminas-mail\src\Storage\Mbox.php:410
public function __sleep()
{
return ['filename', 'positions', 'filemtime'];
}
laminas\laminas-mail\src\Storage\Mbox.php:423
public function __wakeup()
{
ErrorHandler::start();
$filemtime = filemtime($this->filename);
ErrorHandler::stop();
if ($this->filemtime != $filemtime) {
$this->close();
$this->openMboxFile($this->filename);
} else {
ErrorHandler::start();
$this->fh = fopen($this->filename, 'r');
$error = ErrorHandler::stop();
if (! $this->fh) {
throw new Exception\RuntimeException('cannot open mbox file', 0, $error);
}
}
}
laminas\laminas-oauth\src\Token\AbstractToken.php:247
public function __sleep()
{
return ['_params'];
}
laminas\laminas-oauth\src\Token\AbstractToken.php:255
public function __wakeup()
{
if ($this->httpUtility === null) {
$this->httpUtility = new HTTPUtility();
}
}
laminas\laminas-server\src\Reflection\AbstractFunction.php:439
public function __sleep(): array
{
$serializable = [];
foreach ($this as $name => $value) {
if (
$value instanceof PhpReflectionFunction
|| $value instanceof PhpReflectionMethod
) {
continue;
}
$serializable[] = $name;
}
return $serializable;
}
laminas\laminas-server\src\Reflection\AbstractFunction.php:464
public function __wakeup(): void
{
if ($this->reflection instanceof PhpReflectionMethod) {
$class = new PhpReflectionClass($this->class);
$this->reflection = new PhpReflectionMethod($class->newInstance(), $this->name);
} else {
$this->reflection = new PhpReflectionFunction($this->name);
}
}
laminas\laminas-server\src\Reflection\ReflectionClass.php:158
public function __wakeup(): void
{
$this->reflection = new PhpReflectionClass($this->name);
}
laminas\laminas-server\src\Reflection\ReflectionClass.php:166
public function __sleep(): array
{
return ['config', 'methods', 'namespace', 'name'];
}
laminas\laminas-server\src\Reflection\ReflectionMethod.php:87
public function __wakeup(): void
{
$this->classReflection = new ReflectionClass(
new PhpReflectionClass($this->class),
$this->getNamespace(),
$this->getInvokeArguments()
);
$this->reflection = new PhpReflectionMethod($this->classReflection->getName(), $this->name);
}
laminas\laminas-server\src\Reflection\ReflectionParameter.php:107
public function __sleep(): array
{
return ['position', 'type', 'description', 'name', 'functionName'];
}
laminas\laminas-server\src\Reflection\ReflectionParameter.php:112
public function __wakeup(): void
{
$this->reflection = new PhpReflectionParameter($this->functionName, $this->name);
}
laminas\laminas-validator\src\ValidatorChain.php:292
public function __sleep(): array
{
return ['validators', 'messages'];
}
laravel\framework\src\Illuminate\Database\Eloquent\Model.php:2561
public function __sleep()
{
$this->mergeAttributesFromCachedCasts();
$this->classCastCache = [];
$this->attributeCastCache = [];
$this->relationAutoloadCallback = null;
$this->relationAutoloadContext = null;
return array_keys(get_object_vars($this));
}
laravel\framework\src\Illuminate\Database\Eloquent\Model.php:2578
public function __wakeup()
{
$this->bootIfNotBooted();
$this->initializeTraits();
if (static::isAutomaticallyEagerLoadingRelationships()) {
$this->withRelationshipAutoloading();
}
}
laravel\framework\src\Illuminate\Queue\Middleware\RateLimited.php:150
public function __sleep()
{
return [
'limiterName',
'shouldRelease',
];
}
laravel\framework\src\Illuminate\Queue\Middleware\RateLimited.php:163
public function __wakeup()
{
$this->limiter = Container::getInstance()->make(RateLimiter::class);
}
laravel\framework\src\Illuminate\Queue\Middleware\RateLimitedWithRedis.php:96
public function __wakeup()
{
parent::__wakeup();
$this->redis = Container::getInstance()->make(Redis::class);
}
maatwebsite\excel\src\Cache\BatchCache.php:40
public function __sleep()
{
return ['memory'];
}
maatwebsite\excel\src\Cache\BatchCache.php:45
public function __wakeup()
{
$this->cache = Cache::driver(
config('excel.cache.illuminate.store')
);
}
maatwebsite\excel\src\Cache\BatchCacheDeprecated.php:40
public function __sleep()
{
return ['memory'];
}
maatwebsite\excel\src\Cache\BatchCacheDeprecated.php:45
public function __wakeup()
{
$this->cache = Cache::driver(
config('excel.cache.illuminate.store')
);
}
maatwebsite\excel\src\Files\RemoteTemporaryFile.php:43
public function __sleep()
{
return ['disk', 'filename', 'localTemporaryFile'];
}
maatwebsite\excel\src\Reader.php:79
public function __sleep()
{
return ['spreadsheet', 'sheetImports', 'currentFile', 'temporaryFileFactory', 'reader'];
}
maatwebsite\excel\src\Reader.php:84
public function __wakeup()
{
$this->transaction = app(TransactionHandler::class);
}
magento\zend-db\library\Zend\Db\Adapter\Abstract.php:1120
public function __sleep()
{
if ($this->_allowSerialization == false) {
/** @see Zend_Db_Adapter_Exception */
#require_once 'Zend/Db/Adapter/Exception.php';
throw new Zend_Db_Adapter_Exception(
get_class($this) . ' is not allowed to be serialized'
);
}
$this->_connection = null;
return array_keys(
array_diff_key(get_object_vars($this), array('_connection' => null))
);
}
magento\zend-db\library\Zend\Db\Adapter\Abstract.php:1141
public function __wakeup()
{
if ($this->_autoReconnectOnUnserialize == true) {
$this->getConnection();
}
}
magento\zend-db\library\Zend\Db\Table\Row\Abstract.php:242
public function __sleep()
{
return array('_tableClass', '_primary', '_data', '_cleanData', '_readOnly' ,'_modifiedFields');
}
magento\zend-db\library\Zend\Db\Table\Row\Abstract.php:254
public function __wakeup()
{
$this->_connected = false;
}
magento\zend-db\library\Zend\Db\Table\Rowset\Abstract.php:139
public function __sleep()
{
return array('_data', '_tableClass', '_rowClass', '_pointer', '_count', '_rows', '_stored',
'_readOnly');
}
magento\zend-db\library\Zend\Db\Table\Rowset\Abstract.php:152
public function __wakeup()
{
$this->_connected = false;
}
marc-mabe\php-enum\src\Enum.php:94
final public function __sleep()
{
throw new LogicException('Serialization is not supported by default in this pseudo-enum implementation');
}
marc-mabe\php-enum\src\Enum.php:104
final public function __wakeup()
{
throw new LogicException('Serialization is not supported by default in this pseudo-enum implementation');
}
mockery\mockery\src\Mockery\Mock.php:684
public function __wakeup()
{
/**
* This does not add __wakeup method support. It's a blind method and any
* expected __wakeup work will NOT be performed. It merely cuts off
* annoying errors where a __wakeup exists but is not essential when
* mocking
*/
}
monolog\monolog\src\Monolog\Handler\Handler.php:47
public function __sleep()
{
$this->close();
$reflClass = new \ReflectionClass($this);
$keys = [];
foreach ($reflClass->getProperties() as $reflProp) {
if (!$reflProp->isStatic()) {
$keys[] = $reflProp->getName();
}
}
return $keys;
}
myclabs\php-enum\src\Enum.php:83
public function __wakeup()
{
/** @psalm-suppress DocblockTypeContradiction key can be null when deserializing an enum without the key */
if ($this->key === null) {
/**
* @psalm-suppress InaccessibleProperty key is not readonly as marked by psalm
* @psalm-suppress PossiblyFalsePropertyAssignmentValue deserializing a case that was removed
*/
$this->key = static::search($this->value);
}
}
nesbot\carbon\src\Carbon\CarbonInterface.php:1064
public function __sleep();
nesbot\carbon\src\Carbon\Traits\Serialization.php:131
public function __sleep()
{
$properties = $this->getSleepProperties();
if ($this->localTranslator ?? null) {
$properties[] = 'dumpLocale';
$this->dumpLocale = $this->locale ?? null;
}
return $properties;
}
nesbot\carbon\src\Carbon\Traits\Serialization.php:191
public function __wakeup(): void
{
if (parent::class && method_exists(parent::class, '__wakeup')) {
// @codeCoverageIgnoreStart
try {
parent::__wakeup();
} catch (Throwable $exception) {
try {
// FatalError occurs when calling msgpack_unpack() in PHP 7.4 or later.
['date' => $date, 'timezone' => $timezone] = $this->dumpDateProperties;
parent::__construct($date, $timezone);
} catch (Throwable) {
throw $exception;
}
}
// @codeCoverageIgnoreEnd
}
$this->constructedObjectId = spl_object_hash($this);
if (isset($this->dumpLocale)) {
$this->locale($this->dumpLocale);
$this->dumpLocale = null;
}
$this->cleanupDumpProperties();
}
nette\application\src\Bridges\ApplicationLatte\Template.php:146
final public function __wakeup()
{
throw new Nette\NotImplementedException('Object unserialization is not supported by class ' . static::class);
}
openspout\openspout\src\Common\Entity\Style\Style.php:117
public function __sleep(): array
{
$vars = get_object_vars($this);
unset($vars['id'], $vars['isRegistered']);
return array_keys($vars);
}
paragonie\halite\src\Key.php:89
public function __sleep()
{
throw new CannotSerializeKey;
}
paragonie\halite\src\Key.php:99
public function __wakeup()
{
throw new CannotSerializeKey;
}
paragonie\hidden-string\src\HiddenString.php:161
public function __sleep(): array
{
if (!$this->disallowSerialization) {
return [
'internalStringValue',
'disallowInline',
'disallowSerialization'
];
}
throw new MisuseException(
'This HiddenString object cannot be serialized.'
);
}
pdepend\pdepend\src\Source\AST\AbstractASTCallable.php:105
public function __sleep(): array
{
return [
'cache',
'id',
'name',
'nodes',
'startLine',
'endLine',
'comment',
'returnsReference',
'returnClassReference',
'exceptionClassReferences',
];
}
pdepend\pdepend\src\Source\AST\AbstractASTCallable.php:127
public function __wakeup(): void
{
foreach ($this->nodes as $node) {
$node->setParent($this);
}
}
pdepend\pdepend\src\Source\AST\AbstractASTClassOrInterface.php:93
public function __sleep(): array
{
return ['constants', 'interfaceReferences', 'parentClassReference', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\AbstractASTNode.php:103
public function __sleep(): array
{
return [
'comment',
'metadata',
'nodes',
];
}
pdepend\pdepend\src\Source\AST\AbstractASTNode.php:120
public function __wakeup(): void
{
foreach ($this->nodes as $node) {
$node->setParent($this);
}
}
pdepend\pdepend\src\Source\AST\AbstractASTType.php:109
public function __sleep(): array
{
if (is_array($this->methods)) {
$this->cache
->type('methods')
->store($this->getId(), $this->methods);
$this->methods = null;
}
return [
'cache',
'context',
'comment',
'endLine',
'modifiers',
'name',
'nodes',
'namespaceName',
'startLine',
'userDefined',
'id',
];
}
pdepend\pdepend\src\Source\AST\AbstractASTType.php:141
public function __wakeup(): void
{
$this->methods = null;
foreach ($this->nodes as $node) {
$node->setParent($this);
}
}
pdepend\pdepend\src\Source\AST\ASTAnonymousClass.php:73
public function __sleep(): array
{
return ['metadata', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\ASTAnonymousClass.php:84
public function __wakeup(): void
{
$this->methods = null;
foreach ($this->nodes as $node) {
$node->setParent($this);
}
parent::__wakeup();
}
pdepend\pdepend\src\Source\AST\ASTClass.php:72
public function __wakeup(): void
{
parent::__wakeup();
$this->context->registerClass($this);
}
pdepend\pdepend\src\Source\AST\ASTClassOrInterfaceReference.php:83
public function __sleep(): array
{
return ['context', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\ASTCompilationUnit.php:109
public function __sleep(): array
{
return [
'cache',
'childNodes',
'comment',
'endLine',
'fileName',
'startLine',
'id',
];
}
pdepend\pdepend\src\Source\AST\ASTCompilationUnit.php:131
public function __wakeup(): void
{
$this->cached = true;
foreach ($this->childNodes as $childNode) {
$childNode->setCompilationUnit($this);
}
}
pdepend\pdepend\src\Source\AST\ASTConstantDeclarator.php:95
public function __sleep(): array
{
return ['value', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\ASTDeclareStatement.php:89
public function __sleep(): array
{
return ['values', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\ASTEnum.php:79
public function __wakeup(): void
{
parent::__wakeup();
$this->context->registerEnum($this);
}
pdepend\pdepend\src\Source\AST\ASTEnum.php:94
public function __sleep(): array
{
return ['type', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\ASTFormalParameter.php:70
public function __sleep(): array
{
return ['modifiers', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\ASTFunction.php:84
public function __sleep(): array
{
return ['context', 'namespaceName', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\ASTFunction.php:97
public function __wakeup(): void
{
$this->context->registerFunction($this);
}
pdepend\pdepend\src\Source\AST\ASTIncludeExpression.php:67
public function __sleep(): array
{
return ['once', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\ASTInterface.php:70
public function __wakeup(): void
{
parent::__wakeup();
$this->context->registerInterface($this);
}
pdepend\pdepend\src\Source\AST\ASTMethod.php:69
public function __sleep(): array
{
return ['modifiers', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\ASTParentReference.php:79
public function __sleep(): array
{
return ['reference', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\ASTRequireExpression.php:67
public function __sleep(): array
{
return ['once', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\ASTSelfReference.php:95
public function __sleep(): array
{
$this->qualifiedName = $this->getType()->getNamespaceName() . '\\' .
$this->getType()->getImage();
return ['qualifiedName', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\ASTSwitchLabel.php:67
public function __sleep(): array
{
return ['default', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\ASTTrait.php:62
public function __wakeup(): void
{
parent::__wakeup();
$this->context->registerTrait($this);
}
pdepend\pdepend\src\Source\AST\ASTTraitAdaptationAlias.php:69
public function __sleep(): array
{
return ['newName', 'newModifier', ...parent::__sleep()];
}
pdepend\pdepend\src\Source\AST\ASTVariableDeclarator.php:69
public function __sleep(): array
{
return ['value', ...parent::__sleep()];
}
pdepend\pdepend\src\Util\Cache\Driver\MemoryCacheDriver.php:102
public function __sleep(): array
{
self::$staticCache[$this->staticId] = $this->cache;
return ['staticId'];
}
pdepend\pdepend\src\Util\Cache\Driver\MemoryCacheDriver.php:114
public function __wakeup(): void
{
$this->cache = self::$staticCache[$this->staticId];
}
phan\phan\.phan\plugins\InvokePHPNativeSyntaxCheckPlugin.php:431
public function __wakeup()
{
$this->tmp_path = null;
throw new RuntimeException("Cannot unserialize");
}
phan\phan\src\Phan\Language\Type.php:393
public function __wakeup()
{
\debug_print_backtrace(\DEBUG_BACKTRACE_IGNORE_ARGS);
throw new Error("Cannot unserialize Type '$this'");
}
php-http\httplug-bundle\src\Collector\Collector.php:31
public function __wakeup(): void
{
$this->capturedBodyLength = null;
parent::__wakeup();
}
php-stubs\wordpress-stubs\wordpress-stubs.php:19007
public function __wakeup()
{
}
php-stubs\wordpress-stubs\wordpress-stubs.php:19445
public function __wakeup()
{
}
php-stubs\wordpress-stubs\wordpress-stubs.php:20711
public function __wakeup()
{
}
php-stubs\wordpress-stubs\wordpress-stubs.php:21092
public function __wakeup()
{
}
php-stubs\wordpress-stubs\wordpress-stubs.php:30171
public function __wakeup()
{
}
php-stubs\wordpress-stubs\wordpress-stubs.php:30255
public function __wakeup()
{
}
php-stubs\wordpress-stubs\wordpress-stubs.php:31053
public function __wakeup()
{
}
php-stubs\wordpress-stubs\wordpress-stubs.php:31596
public function __wakeup()
{
}
php-stubs\wordpress-stubs\wordpress-stubs.php:53180
public function __wakeup()
{
}
php-stubs\wordpress-stubs\wordpress-stubs.php:64094
public function __wakeup()
{
}
php-stubs\wordpress-stubs\wordpress-stubs.php:67330
public function __wakeup()
{
}
phpoffice\phpspreadsheet\src\PhpSpreadsheet\Shared\XMLWriter.php:63
public function __wakeup(): void
{
$this->tempFileName = '';
throw new SpreadsheetException('Unserialize not permitted');
}
phpoffice\phpspreadsheet\src\PhpSpreadsheet\Worksheet\Worksheet.php:383
public function __wakeup(): void
{
$this->hash = spl_object_id($this);
}
phpseclib\phpseclib\phpseclib\Math\BigInteger\Engines\Engine.php:332
public function __sleep()
{
$this->hex = $this->toHex(true);
$vars = ['hex'];
if ($this->precision > 0) {
$vars[] = 'precision';
}
return $vars;
}
phpseclib\phpseclib\phpseclib\Math\BigInteger\Engines\Engine.php:347
public function __wakeup(): void
{
$temp = new static($this->hex, -16);
$this->value = $temp->value;
$this->is_negative = $temp->is_negative;
if ($this->precision > 0) {
// recalculate $this->bitmask
$this->setPrecision($this->precision);
}
}
phpseclib\phpseclib\phpseclib\Math\BigInteger.php:381
public function __sleep()
{
$this->hex = $this->toHex(true);
$vars = ['hex'];
if ($this->getPrecision() > 0) {
$vars[] = 'precision';
}
return $vars;
}
phpseclib\phpseclib\phpseclib\Math\BigInteger.php:396
public function __wakeup(): void
{
$temp = new static($this->hex, -16);
$this->value = $temp->value;
if ($this->precision > 0) {
// recalculate $this->bitmask
$this->setPrecision($this->precision);
}
}
phpunit\phpunit\src\Framework\Exception\Exception.php:73
public function __sleep(): array
{
return array_keys(get_object_vars($this));
}
phpunit\phpunit-mock-objects\tests\_fixture\SingletonClass.php:17
final private function __sleep()
{
}
phpunit\phpunit-mock-objects\tests\_fixture\SingletonClass.php:21
final private function __wakeup()
{
}
predis\predis\src\Connection\AbstractConnection.php:233
public function __sleep()
{
return ['parameters', 'initCommands'];
}
predis\predis\src\Connection\CompositeStreamConnection.php:133
public function __sleep()
{
return array_merge(parent::__sleep(), ['protocol']);
}
predis\predis\src\Connection\Parameters.php:201
public function __sleep()
{
return ['parameters'];
}
predis\predis\src\Connection\Replication\MasterSlaveReplication.php:552
public function __sleep()
{
return ['master', 'slaves', 'pool', 'aliases', 'strategy'];
}
predis\predis\src\Connection\Replication\SentinelReplication.php:779
public function __sleep()
{
return [
'master', 'slaves', 'pool', 'service', 'sentinels', 'connectionFactory', 'strategy',
];
}
rector\rector\vendor\symfony\process\Pipes\UnixPipes.php:36
public function __sleep() : array
{
throw new \BadMethodCallException('Cannot serialize ' . __CLASS__);
}
rector\rector\vendor\symfony\process\Pipes\UnixPipes.php:40
public function __wakeup() : void
{
throw new \BadMethodCallException('Cannot unserialize ' . __CLASS__);
}
rector\rector\vendor\symfony\process\Pipes\WindowsPipes.php:82
public function __sleep() : array
{
throw new \BadMethodCallException('Cannot serialize ' . __CLASS__);
}
rector\rector\vendor\symfony\process\Pipes\WindowsPipes.php:86
public function __wakeup() : void
{
throw new \BadMethodCallException('Cannot unserialize ' . __CLASS__);
}
rector\rector\vendor\symfony\process\Process.php:188
public function __sleep() : array
{
throw new \BadMethodCallException('Cannot serialize ' . __CLASS__);
}
rector\rector\vendor\symfony\process\Process.php:195
public function __wakeup()
{
throw new \BadMethodCallException('Cannot unserialize ' . __CLASS__);
}
rector\rector\vendor\symfony\string\AbstractString.php:651
public function __sleep() : array
{
return ['string'];
}
rector\rector\vendor\symfony\string\LazyString.php:99
public function __sleep() : array
{
$this->__toString();
return ['value'];
}
rector\rector\vendor\symfony\string\UnicodeString.php:324
public function __wakeup() : void
{
if (!\is_string($this->string)) {
throw new \BadMethodCallException('Cannot unserialize ' . __CLASS__);
}
\normalizer_is_normalized($this->string) ?: ($this->string = \normalizer_normalize($this->string));
}
roots\wordpress-no-content\wp-includes\class-wp-block-bindings-registry.php:264
public function __wakeup() {
if ( ! $this->sources ) {
return;
}
if ( ! is_array( $this->sources ) ) {
throw new UnexpectedValueException();
}
foreach ( $this->sources as $value ) {
if ( ! $value instanceof WP_Block_Bindings_Source ) {
throw new UnexpectedValueException();
}
}
}
roots\wordpress-no-content\wp-includes\class-wp-block-bindings-source.php:106
public function __wakeup() {
throw new \LogicException( __CLASS__ . ' should never be unserialized' );
}
roots\wordpress-no-content\wp-includes\class-wp-block-patterns-registry.php:248
public function __wakeup() {
if ( ! $this->registered_patterns ) {
return;
}
if ( ! is_array( $this->registered_patterns ) ) {
throw new UnexpectedValueException();
}
foreach ( $this->registered_patterns as $value ) {
if ( ! is_array( $value ) ) {
throw new UnexpectedValueException();
}
}
$this->registered_patterns_outside_init = array();
}
roots\wordpress-no-content\wp-includes\class-wp-block-type-registry.php:171
public function __wakeup() {
if ( ! $this->registered_block_types ) {
return;
}
if ( ! is_array( $this->registered_block_types ) ) {
throw new UnexpectedValueException();
}
foreach ( $this->registered_block_types as $value ) {
if ( ! $value instanceof WP_Block_Type ) {
throw new UnexpectedValueException();
}
}
}
roots\wordpress-no-content\wp-includes\class-wp-theme.php:787
public function __wakeup() {
if ( $this->parent && ! $this->parent instanceof self ) {
throw new UnexpectedValueException();
}
if ( $this->headers && ! is_array( $this->headers ) ) {
throw new UnexpectedValueException();
}
foreach ( $this->headers as $value ) {
if ( ! is_string( $value ) ) {
throw new UnexpectedValueException();
}
}
$this->headers_sanitized = array();
}
roots\wordpress-no-content\wp-includes\html-api\class-wp-html-open-elements.php:849
public function __wakeup() {
throw new \LogicException( __CLASS__ . ' should never be unserialized' );
}
roots\wordpress-no-content\wp-includes\html-api\class-wp-html-token.php:123
public function __wakeup() {
throw new \LogicException( __CLASS__ . ' should never be unserialized' );
}
roots\wordpress-no-content\wp-includes\Requests\src\Hooks.php:100
public function __wakeup() {
throw new \LogicException( __CLASS__ . ' should never be unserialized' );
}
roots\wordpress-no-content\wp-includes\Requests\src\Iri.php:720
public function __wakeup() {
$class_props = get_class_vars( __CLASS__ );
$string_props = array( 'scheme', 'iuserinfo', 'ihost', 'port', 'ipath', 'iquery', 'ifragment' );
$array_props = array( 'normalization' );
foreach ( $class_props as $prop => $default_value ) {
if ( in_array( $prop, $string_props, true ) && ! is_string( $this->$prop ) ) {
throw new UnexpectedValueException();
} elseif ( in_array( $prop, $array_props, true ) && ! is_array( $this->$prop ) ) {
throw new UnexpectedValueException();
}
$this->$prop = null;
}
}
roots\wordpress-no-content\wp-includes\Requests\src\Session.php:268
public function __wakeup() {
throw new \LogicException( __CLASS__ . ' should never be unserialized' );
}
roots\wordpress-no-content\wp-includes\Requests\src\Utility\FilteredIterator.php:68
public function __wakeup() {
unset($this->callback);
}
roots\wordpress-no-content\wp-includes\sodium_compat\src\PHP52\SplFixedArray.php:185
public function __wakeup()
{
// NOP
}
sentry\sentry\src\State\HubAdapter.php:209
public function __wakeup()
{
throw new \BadMethodCallException('Unserializing instances of this class is forbidden.');
}
sentry\sentry\src\State\HubAdapter.php:217
public function __sleep()
{
throw new \BadMethodCallException('Serializing instances of this class is forbidden.');
}
sentry\sentry-symfony\src\Tracing\HttpClient\AbstractTraceableResponse.php:51
public function __sleep(): array
{
throw new \BadMethodCallException('Serializing instances of this class is forbidden.');
}
sentry\sentry-symfony\src\Tracing\HttpClient\AbstractTraceableResponse.php:56
public function __wakeup()
{
throw new \BadMethodCallException('Unserializing instances of this class is forbidden.');
}
shyim\opensearch-php-dsl\src\Search.php:154
public function __wakeup(): void
{
$this->initializeSerializer();
}
simplesamlphp\simplesamlphp\src\SimpleSAML\Error\Exception.php:306
public function __sleep(): array
{
$ret = array_keys((array) $this);
foreach ($ret as $i => $e) {
if ($e === "\0Exception\0trace") {
unset($ret[$i]);
}
}
return $ret;
}
sonata-project\form-extensions\src\Validator\Constraints\InlineConstraint.php:46
public function __sleep(): array
{
// @phpstan-ignore-next-line to initialize "groups" option if it is not set
$this->groups;
if (!\is_string($this->service) || !\is_string($this->method)) {
return [];
}
return array_keys(get_object_vars($this));
}
sonata-project\form-extensions\src\Validator\Constraints\InlineConstraint.php:58
public function __wakeup(): void
{
if (\is_string($this->service) && \is_string($this->method)) {
return;
}
$this->method = static function (): void {
};
$this->serializingWarning = true;
}
spatie\laravel-data\src\Concerns\BaseData.php:85
public function __sleep(): array
{
$dataClass = app(DataConfig::class)->getDataClass(static::class);
return $dataClass
->properties
->map(fn (DataProperty $property) => $property->name)
->when($dataClass->appendable, fn (Collection $properties) => $properties->push('_additional'))
->when(property_exists($this, '_dataContext'), fn (Collection $properties) => $properties->push('_dataContext'))
->toArray();
}
spatie\laravel-data\src\Concerns\BaseDataCollectable.php:37
public function __sleep(): array
{
return ['items', 'dataClass'];
}
spatie\laravel-medialibrary\src\InteractsWithMedia.php:708
public function __sleep(): array
{
// do not serialize properties from the trait
return collect(parent::__sleep())
->reject(
fn ($key) => in_array(
$key,
[
'mediaConversions',
'mediaCollections',
'unAttachedMediaLibraryItems',
'deletePreservingMedia',
]
)
)->toArray();
}
swiftmailer\swiftmailer\lib\classes\Swift\ByteStream\TemporaryFileByteStream.php:43
public function __sleep()
{
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
}
swiftmailer\swiftmailer\lib\classes\Swift\ByteStream\TemporaryFileByteStream.php:48
public function __wakeup()
{
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
}
swiftmailer\swiftmailer\lib\classes\Swift\CharacterReaderFactory\SimpleCharacterReaderFactory.php:40
public function __wakeup()
{
$this->init();
}
swiftmailer\swiftmailer\lib\classes\Swift\Encoder\QpEncoder.php:121
public function __sleep()
{
return ['charStream', 'filter'];
}
swiftmailer\swiftmailer\lib\classes\Swift\Encoder\QpEncoder.php:126
public function __wakeup()
{
if (!isset(self::$safeMapShare[$this->getSafeMapShareId()])) {
$this->initSafeMap();
self::$safeMapShare[$this->getSafeMapShareId()] = $this->safeMap;
} else {
$this->safeMap = self::$safeMapShare[$this->getSafeMapShareId()];
}
}
swiftmailer\swiftmailer\lib\classes\Swift\KeyCache\DiskKeyCache.php:290
public function __wakeup()
{
$this->keys = [];
}
swiftmailer\swiftmailer\lib\classes\Swift\Message.php:176
public function __wakeup()
{
Swift_DependencyContainer::getInstance()->createDependenciesFor('mime.message');
}
swiftmailer\swiftmailer\lib\classes\Swift\Mime\ContentEncoder\QpContentEncoder.php:33
public function __sleep()
{
return ['charStream', 'filter', 'dotEscape'];
}
swiftmailer\swiftmailer\lib\classes\Swift\Mime\SimpleMimeEntity.php:821
public function __wakeup()
{
$this->cacheKey = bin2hex(random_bytes(16)); // set 32 hex values
$this->cache = new Swift_KeyCache_ArrayKeyCache(new Swift_KeyCache_SimpleKeyCacheInputStream());
}
swiftmailer\swiftmailer\lib\classes\Swift\Transport\AbstractSmtpTransport.php:532
public function __sleep()
{
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
}
swiftmailer\swiftmailer\lib\classes\Swift\Transport\AbstractSmtpTransport.php:537
public function __wakeup()
{
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
}
symfony\panther\src\Client.php:99
public function __sleep(): array
{
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
}
symfony\panther\src\Client.php:104
public function __wakeup(): void
{
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
}
symfony\polyfill-php82\Random\Engine\Secure.php:36
public function __sleep(): array
{
throw new \Exception("Serialization of 'Random\Engine\Secure' is not allowed");
}
symfony\polyfill-php82\Random\Engine\Secure.php:41
public function __wakeup(): void
{
throw new \Exception("Unserialization of 'Random\Engine\Secure' is not allowed");
}
symfony\polyfill-php82\SensitiveParameterValue.php:38
public function __sleep(): array
{
throw new \Exception("Serialization of 'SensitiveParameterValue' is not allowed");
}
symfony\polyfill-php82\SensitiveParameterValue.php:43
public function __wakeup(): void
{
throw new \Exception("Unserialization of 'SensitiveParameterValue' is not allowed");
}
symfony\polyfill-php84\Resources\stubs\ReflectionConstant.php:148
public function __sleep(): array
{
throw new Exception("Serialization of 'ReflectionConstant' is not allowed");
}
symfony\polyfill-php84\Resources\stubs\ReflectionConstant.php:153
public function __wakeup(): void
{
throw new Exception("Unserialization of 'ReflectionConstant' is not allowed");
}
typo3\cms-core\Classes\Log\Logger.php:76
public function __wakeup()
{
$newLogger = GeneralUtility::makeInstance(LogManager::class)->getLogger($this->name);
$this->requestId = $newLogger->requestId;
$this->minimumLogLevel = $newLogger->minimumLogLevel;
$this->writers = $newLogger->writers;
$this->processors = $newLogger->processors;
}
typo3\cms-core\Classes\Log\Logger.php:88
public function __sleep(): array
{
return ['name'];
}
typo3\cms-core\Classes\Resource\FileReference.php:493
public function __sleep(): array
{
$keys = get_object_vars($this);
unset($keys['originalFile'], $keys['mergedProperties']);
return array_keys($keys);
}
typo3\cms-core\Classes\Resource\FileReference.php:500
public function __wakeup(): void
{
$factory = GeneralUtility::makeInstance(ResourceFactory::class);
$this->originalFile = $this->getFileObject(
(int)$this->propertiesOfFileReference['uid_local'],
$factory
);
}
typo3\cms-core\Classes\Security\BlockSerializationTrait.php:32
public function __wakeup()
{
throw new \BadMethodCallException('Cannot unserialize ' . __CLASS__, 1588784142);
}
typo3\cms-extbase\Classes\Persistence\Generic\Query.php:578
public function __wakeup()
{
$this->persistenceManager = GeneralUtility::makeInstance(PersistenceManagerInterface::class);
$this->dataMapFactory = GeneralUtility::makeInstance(DataMapFactory::class);
$this->qomFactory = GeneralUtility::makeInstance(QueryObjectModelFactory::class);
}
typo3\cms-extbase\Classes\Persistence\Generic\Query.php:589
public function __sleep()
{
return ['type', 'source', 'constraint', 'statement', 'orderings', 'limit', 'offset', 'querySettings'];
}
typo3\cms-extbase\Classes\Persistence\Generic\QueryResult.php:246
public function __wakeup()
{
$this->persistenceManager = GeneralUtility::makeInstance(PersistenceManagerInterface::class);
$this->dataMapper = GeneralUtility::makeInstance(DataMapper::class);
}
typo3\cms-extbase\Classes\Persistence\Generic\QueryResult.php:256
public function __sleep()
{
return ['query'];
}
typo3\cms-extbase\Classes\Reflection\ReflectionService.php:107
public function __sleep(): array
{
return [];
}
typo3\cms-extbase\Classes\Reflection\ReflectionService.php:115
public function __wakeup(): void
{
$this->dataCache = new NullFrontend('extbase');
$this->dataCacheNeedsUpdate = false;
$this->cacheIdentifier = '';
$this->classSchemata = [];
}
typo3\cms-frontend\Classes\ContentObject\ContentObjectRenderer.php:411
public function __sleep()
{
$vars = get_object_vars($this);
unset($vars['typoScriptFrontendController'], $vars['logger'], $vars['container'], $vars['request']);
if ($this->currentFile instanceof FileReference) {
$this->currentFile = 'FileReference:' . $this->currentFile->getUid();
} elseif ($this->currentFile instanceof File) {
$this->currentFile = 'File:' . $this->currentFile->getIdentifier();
} else {
unset($vars['currentFile']);
}
return array_keys($vars);
}
typo3\cms-frontend\Classes\ContentObject\ContentObjectRenderer.php:430
public function __wakeup()
{
if (isset($GLOBALS['TSFE'])) {
$this->typoScriptFrontendController = $GLOBALS['TSFE'];
}
if (is_string($this->currentFile)) {
[$objectType, $identifier] = explode(':', $this->currentFile, 2);
try {
if ($objectType === 'File') {
$this->currentFile = GeneralUtility::makeInstance(ResourceFactory::class)->retrieveFileOrFolderObject($identifier);
} elseif ($objectType === 'FileReference') {
$this->currentFile = GeneralUtility::makeInstance(ResourceFactory::class)->getFileReferenceObject((int)$identifier);
}
} catch (ResourceDoesNotExistException $e) {
$this->currentFile = null;
}
}
$this->logger = GeneralUtility::makeInstance(LogManager::class)->getLogger(__CLASS__);
$this->container = GeneralUtility::getContainer();
// We do not derive $this->request from globals here. The request is expected to be injected
// using setRequest(), a fallback to $GLOBALS['TYPO3_REQUEST'] is available in getRequest() for BC.
}
typo3fluid\fluid\src\Core\Variables\StandardVariableProvider.php:191
public function __sleep(): array
{
return ['variables'];
}
typo3fluid\fluid\src\Core\ViewHelper\ViewHelperVariableContainer.php:157
public function __sleep(): array
{
return ['objects'];
}
vimeo\psalm\src\Psalm\Internal\Fork\Pool.php:45
public function __sleep(): array
{
return [];
}
vincentlanglet\twig-cs-fixer\src\Cache\Manager\FileCacheManager.php:52
public function __sleep(): array
{
throw new \BadMethodCallException(\sprintf('Cannot serialize %s.', self::class));
}
vincentlanglet\twig-cs-fixer\src\Cache\Manager\FileCacheManager.php:63
public function __wakeup(): void
{
throw new \BadMethodCallException(\sprintf('Cannot unserialize %s.', self::class));
}
wp-cli\wp-cli\bundle\rmccue\requests\src\Utility\FilteredIterator.php:68
public function __wakeup() {
unset($this->callback);
}
yiisoft\yii2\db\BatchQueryResult.php:257
public function __wakeup()
{
throw new \BadMethodCallException('Cannot unserialize ' . __CLASS__);
}
yiisoft\yii2\db\Connection.php:1245
public function __sleep()
{
$fields = (array) $this;
unset($fields['pdo']);
unset($fields["\000" . __CLASS__ . "\000" . '_master']);
unset($fields["\000" . __CLASS__ . "\000" . '_slave']);
unset($fields["\000" . __CLASS__ . "\000" . '_transaction']);
unset($fields["\000" . __CLASS__ . "\000" . '_schema']);
return array_keys($fields);
}
yiisoft\yii2-redis\src\Connection.php:369
public function __sleep()
{
$this->close();
return array_keys(get_object_vars($this));
}
Total __sleep methods: 159
Total __wakeup methods: 207
65 distinct packages
bshaffer\oauth2-server-php\test\lib\OAuth2\Storage\Bootstrap.php:355
`PGPASSWORD=postgres psql postgres -tAc "SELECT 1 FROM pg_roles WHERE rolname='postgres'" -h localhost -U postgres`
bshaffer\oauth2-server-php\test\lib\OAuth2\Storage\Bootstrap.php:356
`PGPASSWORD=postgres createuser -s -r postgres -h localhost -U postgres`
bshaffer\oauth2-server-php\test\lib\OAuth2\Storage\Bootstrap.php:359
`PGPASSWORD=postgres createdb -O postgres oauth2_server_php -h localhost -U postgres`
bshaffer\oauth2-server-php\test\lib\OAuth2\Storage\Bootstrap.php:369
`PGPASSWORD=postgres psql -l -h localhost -U postgres | grep oauth2_server_php | wc -l`
bshaffer\oauth2-server-php\test\lib\OAuth2\Storage\Bootstrap.php:370
`PGPASSWORD=postgres dropdb oauth2_server_php -h localhost -U postgres`
codeception\codeception\src\Codeception\Subscriber\Console.php:731
`command -v tput >> /dev/null 2>&1 && tput cols`
datadog\dd-trace\appsec\run-tests-internal.php:848
`$php $pass_options $info_params $no_file_cache "$info_file"`
datadog\dd-trace\appsec\run-tests-internal.php:849
`$php -n -r "echo PHP_VERSION;"`
datadog\dd-trace\appsec\run-tests-internal.php:852
`$php_cgi $pass_options $info_params $no_file_cache -q "$info_file"`
datadog\dd-trace\appsec\run-tests-internal.php:860
`$phpdbg $pass_options $info_params $no_file_cache -qrr "$info_file"`
datadog\dd-trace\appsec\run-tests-internal.php:875
`$php $pass_options $info_params $no_file_cache "$info_file"`
datadog\dd-trace\appsec\run-tests-internal.php:2174
`$php $pass_options $extra_options $ext_params $no_file_cache -d display_errors=0 -r "echo ini_get('extension_dir');"`
datadog\dd-trace\appsec\run-tests-internal.php:2176
`$php $pass_options $extra_options $ext_params $no_file_cache -d display_errors=0 -r "echo implode(',', get_loaded_extensions());"`
datadog\dd-trace\datadog-setup.php:552
`where tar 2> nul`
datadog\dd-trace\datadog-setup.php:557
`where 7z 2> nul`
james-heinrich\getid3\getid3\getid3.lib.php:1813
`$commandline`
james-heinrich\getid3\getid3\getid3.php:484
`$commandline`
james-heinrich\getid3\getid3\getid3.php:1824
`$commandline`
james-heinrich\getid3\getid3\getid3.php:1835
`$commandline`
james-heinrich\getid3\getid3\module.audio.shorten.php:142
`which shorten`
james-heinrich\getid3\getid3\module.audio.shorten.php:152
`$commandline`
james-heinrich\getid3\getid3\write.metaflac.php:121
`$commandline`
james-heinrich\getid3\getid3\write.metaflac.php:141
`$commandline`
james-heinrich\getid3\getid3\write.metaflac.php:180
`$commandline`
james-heinrich\getid3\getid3\write.metaflac.php:196
`$commandline`
james-heinrich\getid3\getid3\write.vorbiscomment.php:91
`$commandline`
james-heinrich\getid3\getid3\write.vorbiscomment.php:106
`$commandline`
laravel\pulse\src\Recorders\Servers.php:110
`top -l 1 | grep -E "^CPU" | tail -1 | awk '{ print $3 + $5 }'`
laravel\pulse\src\Recorders\Servers.php:111
`top -bn1 | grep -E '^(%Cpu|CPU)' | awk '{ print $2 + $4 }'`
laravel\pulse\src\Recorders\Servers.php:112
`wmic cpu get loadpercentage | more +1`
laravel\pulse\src\Recorders\Servers.php:113
`top -b -d 2| grep 'CPU: ' | tail -1 | awk '{print$10}' | grep -Eo '[0-9]+\.[0-9]+' | awk '{ print 100 - $1 }'`
laravel\pulse\src\Recorders\Servers.php:130
`sysctl hw.memsize | grep -Eo '[0-9]+'`
laravel\pulse\src\Recorders\Servers.php:131
`cat /proc/meminfo | grep MemTotal | grep -E -o '[0-9]+'`
laravel\pulse\src\Recorders\Servers.php:132
`wmic ComputerSystem get TotalPhysicalMemory | more +1`
laravel\pulse\src\Recorders\Servers.php:133
`sysctl hw.physmem | grep -Eo '[0-9]+'`
laravel\pulse\src\Recorders\Servers.php:138
`vm_stat | grep 'Pages free' | grep -Eo '[0-9]+'`
laravel\pulse\src\Recorders\Servers.php:138
`pagesize`
laravel\pulse\src\Recorders\Servers.php:139
`cat /proc/meminfo | grep MemAvailable | grep -E -o '[0-9]+'`
laravel\pulse\src\Recorders\Servers.php:140
`wmic OS get FreePhysicalMemory | more +1`
laravel\pulse\src\Recorders\Servers.php:141
`( sysctl vm.stats.vm.v_cache_count | grep -Eo '[0-9]+' ; sysctl vm.stats.vm.v_inactive_count | grep -Eo '[0-9]+' ; sysctl vm.stats.vm.v_active_count | grep -Eo '[0-9]+' ) | awk '{s+=$1} END {print s}'`
laravel\pulse\src\Recorders\Servers.php:141
`pagesize`
marcj\topsort\src\Command\BenchmarkCommand.php:64
`php $path $class $count`
roots\wordpress-no-content\wp-includes\ID3\getid3.lib.php:1791
`$commandline`
roots\wordpress-no-content\wp-includes\ID3\getid3.php:488
`$commandline`
roots\wordpress-no-content\wp-includes\ID3\getid3.php:1817
`$commandline`
roots\wordpress-no-content\wp-includes\ID3\getid3.php:1828
`$commandline`
sebastianfeldmann\cli\src\Util.php:113
`which $cmd`
spatie\image\src\Drivers\Gd\GdDriver.php:91
`{$path} : {$throwable->getMessage()}`
symfony\phpunit-bridge\bin\simple-phpunit.php:193
`$COMPOSER info --no-ansi -a -n phpunit/phpunit "$PHPUNIT_VERSION.*"`
Total shell expressions: 49
astock\stock-api-libphp\src\Client\LicenseHistory.php:297
(integer) ceil((double) $this->_current_response->getNbResults() / $this->_current_request->getSearchParams()->getLimit())
astock\stock-api-libphp\src\Client\LicenseHistory.php:297
(double) $this->_current_response->getNbResults()
astock\stock-api-libphp\src\Client\LicenseHistory.php:324
(integer) (ceil((double) $offset_value / $this->_current_request->getSearchParams()->getLimit()))
astock\stock-api-libphp\src\Client\LicenseHistory.php:324
(double) $offset_value
astock\stock-api-libphp\src\Client\SearchFiles.php:307
(integer) ceil((double) $this->_current_response->getNbResults() / $this->_current_request->getSearchParams()->getLimit())
astock\stock-api-libphp\src\Client\SearchFiles.php:307
(double) $this->_current_response->getNbResults()
astock\stock-api-libphp\src\Client\SearchFiles.php:334
(integer) (ceil((double) $offset_value / $this->_current_request->getSearchParams()->getLimit()))
astock\stock-api-libphp\src\Client\SearchFiles.php:334
(double) $offset_value
cboden\ratchet\src\Ratchet\Http\HttpRequestParser.php:54
(boolean)strpos($message, static::EOM)
cboden\ratchet\src\Ratchet\Server\FlashPolicy.php:70
(boolean)$secure
cboden\ratchet\src\Ratchet\Wamp\ServerProtocol.php:129
(boolean)$exclude
dompdf\dompdf\src\Css\AttributeTranslator.php:506
(double)rtrim($width, "% ")
drupal\core\lib\Drupal\Component\Annotation\Doctrine\DocParser.php:267
(boolean) $bool
drupal\core\lib\Drupal\Component\Datetime\DateTimePlus.php:466
(boolean) count($this->errors)
drupal\core\lib\Drupal\Component\Utility\Number.php:34
(double) abs($value - $offset)
drupal\core\lib\Drupal\Component\Utility\Number.php:47
(double) abs($double_value - $step * round($double_value / $step))
drupal\core\lib\Drupal\Component\Utility\Number.php:53
(double) ($step / pow(2.0, 24))
drupal\core\lib\Drupal\Core\Database\Query\Select.php:171
(boolean) array_diff(func_get_args(), array_keys($this->alterTags))
drupal\core\lib\Drupal\Core\Database\Query\Select.php:178
(boolean) array_intersect(func_get_args(), array_keys($this->alterTags))
drupal\core\lib\Drupal\Core\Entity\Query\QueryBase.php:371
(boolean) array_diff(func_get_args(), array_keys($this->alterTags))
drupal\core\lib\Drupal\Core\Entity\Query\QueryBase.php:378
(boolean) array_intersect(func_get_args(), array_keys($this->alterTags))
drupal\core\modules\comment\tests\src\Functional\CommentNonNodeTest.php:210
(boolean) preg_match($regex, $this->getSession()->getPage()->getContent())
drupal\core\modules\image\tests\src\Functional\ImageStylesPathAndUrlTest.php:324
(boolean) preg_match('/styles\/' . $this->style->id() . '\/' . $scheme . '\/styles\/' . $this->style->id() . '\/' . $scheme . '/', $nested_url)
drupal\core\tests\Drupal\KernelTests\Core\Database\DriverSpecificTransactionTestBase.php:523
(boolean) $this->connection->query('SELECT 1 FROM {test} WHERE [name] = :name', [':name' => $name])->fetchField()
drupal\core\tests\Drupal\KernelTests\Core\Database\DriverSpecificTransactionTestBase.php:538
(boolean) $this->connection->query('SELECT 1 FROM {test} WHERE [name] = :name', [':name' => $name])->fetchField()
drupal\core\tests\Drupal\KernelTests\Core\Database\TransactionTest.php:745
(boolean) $this->connection->query('SELECT 1 FROM {test} WHERE [name] = :name', [':name' => $name])->fetchField()
drupal\core\tests\Drupal\KernelTests\Core\Database\TransactionTest.php:760
(boolean) $this->connection->query('SELECT 1 FROM {test} WHERE [name] = :name', [':name' => $name])->fetchField()
drupal\drupal-driver\src\Drupal\Driver\DrupalDriver.php:193
(integer) $version_parts[0]
drush\drush\src\Drupal\Commands\core\StateCommands.php:135
(integer)$value
filp\whoops\src\Whoops\Handler\PlainTextHandler.php:167
(integer) $traceFunctionArgsOutputLimit
flix-tech\avro-php\lib\avro\datum.php:361
(double) $double
flix-tech\avro-php\lib\avro\datum.php:1017
(double) $double[1]
flix-tech\avro-php\lib\avro\datum.php:1063
(boolean) (1 == ord($this->next_byte()))
flix-tech\avro-php\test\DatumIOTest.php:123
(double) -10.0
flix-tech\avro-php\test\DatumIOTest.php:124
(double) -1.0
flix-tech\avro-php\test\DatumIOTest.php:125
(double) 0.0
flix-tech\avro-php\test\DatumIOTest.php:126
(double) 2.0
flix-tech\avro-php\test\DatumIOTest.php:127
(double) 9.0
flix-tech\avro-php\test\DatumIOTest.php:186
(double) 200.2
flix-tech\avro-php\test\FloatIntEncodingTest.php:45
(double) NAN
flix-tech\avro-php\test\FloatIntEncodingTest.php:46
(double) INF
flix-tech\avro-php\test\FloatIntEncodingTest.php:47
(double) -INF
flix-tech\avro-php\test\FloatIntEncodingTest.php:147
(double) -10
flix-tech\avro-php\test\FloatIntEncodingTest.php:148
(double) -9
flix-tech\avro-php\test\FloatIntEncodingTest.php:149
(double) -8
flix-tech\avro-php\test\FloatIntEncodingTest.php:150
(double) -7
flix-tech\avro-php\test\FloatIntEncodingTest.php:151
(double) -6
flix-tech\avro-php\test\FloatIntEncodingTest.php:152
(double) -5
flix-tech\avro-php\test\FloatIntEncodingTest.php:153
(double) -4
flix-tech\avro-php\test\FloatIntEncodingTest.php:154
(double) -3
flix-tech\avro-php\test\FloatIntEncodingTest.php:155
(double) -2
flix-tech\avro-php\test\FloatIntEncodingTest.php:156
(double) -1
flix-tech\avro-php\test\FloatIntEncodingTest.php:157
(double) 0
flix-tech\avro-php\test\FloatIntEncodingTest.php:158
(double) 1
flix-tech\avro-php\test\FloatIntEncodingTest.php:159
(double) 2
flix-tech\avro-php\test\FloatIntEncodingTest.php:160
(double) 3
flix-tech\avro-php\test\FloatIntEncodingTest.php:161
(double) 4
flix-tech\avro-php\test\FloatIntEncodingTest.php:162
(double) 5
flix-tech\avro-php\test\FloatIntEncodingTest.php:163
(double) 6
flix-tech\avro-php\test\FloatIntEncodingTest.php:164
(double) 7
flix-tech\avro-php\test\FloatIntEncodingTest.php:165
(double) 8
flix-tech\avro-php\test\FloatIntEncodingTest.php:166
(double) 9
flix-tech\avro-php\test\FloatIntEncodingTest.php:167
(double) 10
flix-tech\avro-php\test\FloatIntEncodingTest.php:168
(double) -1234.2132
flix-tech\avro-php\test\FloatIntEncodingTest.php:169
(double) -2.11e+25
friends-of-behat\mink\src\Element\NodeElement.php:205
(boolean) $this->getDriver()->isChecked($this->getXpath())
friends-of-behat\mink\src\Element\NodeElement.php:249
(boolean) $this->getDriver()->isSelected($this->getXpath())
friends-of-behat\mink\src\Element\NodeElement.php:271
(boolean) $this->getDriver()->isVisible($this->getXpath())
incenteev\composer-parameter-handler\Processor.php:95
(boolean) $config['keep-outdated']
james-heinrich\getid3\getid3\module.audio.ogg.php:796
(double) $commentvalue[0]
james-heinrich\getid3\getid3\module.audio.ogg.php:802
(double) $commentvalue[0]
james-heinrich\getid3\getid3\module.audio.ogg.php:807
(double) $commentvalue[0]
james-heinrich\getid3\getid3\module.audio.ogg.php:813
(double) $commentvalue[0]
james-heinrich\getid3\getid3\module.audio.ogg.php:818
(double) $commentvalue[0]
jms\parser-lib\tests\JMS\Parser\Tests\AbstractLexerTest.php:115
(integer) $value
jms\parser-lib\tests\JMS\Parser\Tests\AbstractParserTest.php:46
(integer) $value
knplabs\gaufrette\src\Gaufrette\Adapter\DoctrineDbal.php:70
(boolean) $this->connection->update(
$this->table,
[$this->getQuotedColumn('key') => $targetKey],
[$this->getQuotedColumn('key') => $sourceKey]
)
knplabs\gaufrette\src\Gaufrette\Adapter\DoctrineDbal.php:103
(boolean) $this->connection->$method(
sprintf(
'SELECT COUNT(%s) FROM %s WHERE %s = :key',
$this->getQuotedColumn('key'),
$this->getQuotedTable(),
$this->getQuotedColumn('key')
),
['key' => $key]
)
knplabs\gaufrette\src\Gaufrette\Adapter\DoctrineDbal.php:127
(boolean) $this->connection->delete(
$this->table,
[$this->getQuotedColumn('key') => $key]
)
knplabs\gaufrette\src\Gaufrette\Adapter\Ftp.php:462
(boolean) ('<dir>' === $infos[2])
knplabs\gaufrette\src\Gaufrette\Adapter\GridFS.php:104
(boolean) $this->bucket->findOne(['filename' => $key])
knplabs\gaufrette\src\Gaufrette\Adapter\InMemory.php:64
(integer) $mtime
knplabs\gaufrette\src\Gaufrette\Adapter\InMemory.php:84
(boolean) $this->write($targetKey, $content)
knplabs\gaufrette\src\Gaufrette\Adapter\Zip.php:70
(boolean) $this->getStat($key)
magento\zend-db\library\Zend\Db\Adapter\Mysqli.php:295
(integer) $this->_config['port']
magento\zend-db\library\Zend\Db\Adapter\Sqlsrv.php:130
(integer) $this->_config['port']
magento\zend-db\library\Zend\Db\Profiler.php:138
(boolean) $enable
magento\zend-db\library\Zend\Db\Profiler.php:168
(integer) $minimumSeconds
magento\zend-memory\library\Zend\Memory\Manager.php:172
(integer)$memoryLimitStr
mongodb\mongodb\src\functions.php:417
(integer) $info['maxWireVersion']
mongodb\mongodb\src\functions.php:418
(integer) $info['minWireVersion']
mongodb\mongodb\src\GridFS\ReadableStream.php:83
(integer) ceil($this->length / $this->chunkSize)
mongodb\mongodb\src\GridFS\ReadableStream.php:185
(integer) floor($offset / $this->chunkSize)
mongodb\mongodb\src\Model\CollectionInfo.php:61
(integer) $this->info['options']['max']
mongodb\mongodb\src\Model\CollectionInfo.php:72
(integer) $this->info['options']['size']
mongodb\mongodb\src\Model\DatabaseInfo.php:66
(integer) $this->info['sizeOnDisk']
mongodb\mongodb\src\Model\DatabaseInfo.php:74
(boolean) $this->info['empty']
mongodb\mongodb\src\Model\IndexInfo.php:87
(integer) $this->info['v']
mongodb\mongodb\src\Operation\Count.php:146
(integer) $result->n
mongodb\mongodb\src\Operation\CountDocuments.php:127
(integer) $result->n
pdepend\pdepend\src\main\php\PDepend\Source\AST\ASTClosure.php:92
(boolean) $returnsReference
pdepend\pdepend\src\main\php\PDepend\Source\AST\ASTClosure.php:135
(boolean) $static
pdepend\pdepend\src\main\php\PDepend\Source\AST\ASTParameter.php:314
(boolean) $optional
pdepend\pdepend\src\main\php\PDepend\Source\Language\PHP\AbstractPHPParser.php:7555
(double) $this->getNumberFromImage(
$this->parseNumber(Tokens::T_DNUMBER)
)
pdepend\pdepend\src\main\php\PDepend\TextUI\Command.php:292
(boolean) ini_get('register_argc_argv')
phpcollection\phpcollection\src\PhpCollection\SortedSequence.php:44
(integer) call_user_func($this->sortFunc, $newElement, $element)
phpcollection\phpcollection\src\PhpCollection\SortedSequence.php:68
(integer) call_user_func($this->sortFunc, $newElement, $element)
phpmd\phpmd\src\main\php\PHPMD\RuleSetFactory.php:388
(integer)$node
phpmd\phpmd\src\main\php\PHPMD\RuleSetFactory.php:437
(integer)$node
phpoffice\phpexcel\Classes\PHPExcel\CachedObjectStorage\CacheBase.php:240
(integer) $row
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:186
(integer) time()
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:228
(integer) PHPExcel_Shared_Date::ExcelToPHP($excelDateTime)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:312
(integer) $year
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:313
(integer) $month
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:314
(integer) $day
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:351
(integer) PHPExcel_Shared_Date::ExcelToPHP($excelDateValue)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:404
(integer) $hour
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:405
(integer) $minute
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:406
(integer) $second
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:445
(integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::FormattedPHPToExcel(1970, 1, 1, $hour, $minute, $second))
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:583
(integer) PHPExcel_Shared_Date::ExcelToPHP($excelDateValue)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:638
(integer) $phpDateValue = PHPExcel_Shared_Date::ExcelToPHP($excelDateValue+25569) - 3600
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:1104
(integer) PHPExcel_Shared_Date::ExcelToPHP($endDate)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:1499
(integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject))
phpoffice\phpexcel\Classes\PHPExcel\Calculation\DateTime.php:1548
(integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject))
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Logical.php:258
(boolean) PHPExcel_Calculation_Functions::flattenSingleValue($condition)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\LookupRef.php:122
(integer) PHPExcel_Cell::columnIndexFromString($columnKey)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\LookupRef.php:134
(integer) PHPExcel_Cell::columnIndexFromString($startAddress)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\LookupRef.php:139
(integer) PHPExcel_Cell::columnIndexFromString($cellAddress)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\LookupRef.php:199
(integer) preg_replace('/[^0-9]/i', '', $rowKey)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\LookupRef.php:212
(integer) $startAddress
phpoffice\phpexcel\Classes\PHPExcel\Calculation\LookupRef.php:217
(integer) preg_replace('/[^0-9]/', '', $cellAddress)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\MathTrig.php:60
(integer) $value
phpoffice\phpexcel\Classes\PHPExcel\Calculation\MathTrig.php:488
(integer) $allPoweredFactor
phpoffice\phpexcel\Classes\PHPExcel\Calculation\MathTrig.php:936
(integer) PHPExcel_Calculation_Functions::flattenSingleValue($style)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\MathTrig.php:940
(integer) $aValue
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:738
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:782
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:829
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:1206
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:1494
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:1792
(boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:2021
(boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:2022
(boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:2081
(boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:2082
(boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:2249
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:2408
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:2740
(integer) PHPExcel_Calculation_Functions::flattenSingleValue($significance)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:2886
(integer) PHPExcel_Calculation_Functions::flattenSingleValue($order)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:3097
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:3148
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:3195
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:3245
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:3431
(boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const)
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:3517
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:3568
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:3613
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Calculation\Statistical.php:3664
(integer) $arg
phpoffice\phpexcel\Classes\PHPExcel\Reader\Abstract.php:153
(boolean) $pValue
phpoffice\phpexcel\Classes\PHPExcel\Reader\Excel2007\Chart.php:44
(integer) $attributes[$name]
phpoffice\phpexcel\Classes\PHPExcel\Reader\Excel2007\Chart.php:46
(boolean) ($attributes[$name] === '0' || $attributes[$name] !== 'true')
phpoffice\phpexcel\Classes\PHPExcel\Reader\Excel2007.php:528
(boolean) $xf["quotePrefix"]
phpoffice\phpexcel\Classes\PHPExcel\Reader\Excel2007.php:898
(double)$value
phpoffice\phpexcel\Classes\PHPExcel\Reader\Excel2007.php:899
(double)$value
phpoffice\phpexcel\Classes\PHPExcel\Reader\Excel2007.php:994
(integer) $filterColumn["colId"]
phpoffice\phpexcel\Classes\PHPExcel\Reader\Excel2007.php:1647
(integer) $definedName['localSheetId']
phpoffice\phpexcel\Classes\PHPExcel\Reader\Excel2007.php:1654
(integer) $definedName['localSheetId']
phpoffice\phpexcel\Classes\PHPExcel\Reader\OOCalc.php:559
(integer) $dataValue
phpoffice\phpexcel\Classes\PHPExcel\Reader\OOCalc.php:567
(integer) $dataValue
phpoffice\phpexcel\Classes\PHPExcel\Reader\OOCalc.php:575
(integer) $dataValue
phpoffice\phpexcel\Classes\PHPExcel\Reader\OOCalc.php:576
(integer) $dataValue
phpoffice\phpexcel\Classes\PHPExcel\Shared\Date.php:132
(integer) $returnValue
phpoffice\phpexcel\Classes\PHPExcel\Shared\Date.php:138
(integer) gmmktime($hours, $mins, $secs)
phpoffice\phpexcel\Classes\PHPExcel\Shared\Date.php:414
(integer) $strippedDayValue
phpoffice\phpexcel\Classes\PHPExcel\Shared\File.php:46
(boolean) $useUploadTempDir
phpoffice\phpexcel\Classes\PHPExcel\Style.php:595
(boolean) $pValue
phpoffice\phpexcel\Classes\PHPExcel\Worksheet\CellIterator.php:84
(boolean) $value
phpoffice\phpexcel\Classes\PHPExcel\Writer\Abstract.php:83
(boolean) $pValue
phpoffice\phpexcel\Classes\PHPExcel\Writer\Abstract.php:112
(boolean) $pValue
phpoffice\phpexcel\Classes\PHPExcel\Writer\Excel2007\Chart.php:265
(integer) $plotGroup->getSmoothLine()
phpspec\phpspec\src\PhpSpec\Matcher\CallbackMatcher.php:42
(Boolean) \call_user_func_array($this->callback, $arguments)
phpspec\phpspec\src\PhpSpec\Matcher\StringRegexMatcher.php:37
(Boolean) preg_match($arguments[0], $subject)
ratchet\rfc6455\src\Handshake\RequestVerifier.php:48
(double)$val
react\child-process\src\Process.php:124
(binary) $key
react\child-process\src\Process.php:124
(binary) $value
roots\wordpress-no-content\wp-includes\class-json.php:665
(integer)$str
roots\wordpress-no-content\wp-includes\class-json.php:666
(integer)$str
roots\wordpress-no-content\wp-includes\ID3\module.audio.ogg.php:790
(double) $commentvalue[0]
roots\wordpress-no-content\wp-includes\ID3\module.audio.ogg.php:796
(double) $commentvalue[0]
roots\wordpress-no-content\wp-includes\ID3\module.audio.ogg.php:801
(double) $commentvalue[0]
roots\wordpress-no-content\wp-includes\ID3\module.audio.ogg.php:807
(double) $commentvalue[0]
roots\wordpress-no-content\wp-includes\ID3\module.audio.ogg.php:812
(double) $commentvalue[0]
roots\wordpress-no-content\wp-includes\IXR\class-IXR-message.php:180
(double)trim($this->_currentTagContents)
roots\wordpress-no-content\wp-includes\IXR\class-IXR-message.php:199
(boolean)trim($this->_currentTagContents)
smarty\smarty\src\TemplateBase.php:107
(boolean)$format
webpatser\laravel-uuid\src\Webpatser\Uuid\Uuid.php:456
(boolean) preg_match('~' . static::VALID_UUID_REGEX . '~', static::import($uuid)->string)
Total integer casts: 85
Total double casts: 57
Total boolean casts: 53
Total binary casts: 2
Total non-standard casts: 197
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment