Skip to content

Commit

Permalink
fix cs-fixer issues
Browse files Browse the repository at this point in the history
  • Loading branch information
isfedorov committed Oct 31, 2024
1 parent 684cf1b commit 7e1fdfb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
1 change: 1 addition & 0 deletions Reflection/ReflectionProperty.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class ReflectionProperty implements Reflector
* @since 8.4
*/
public const IS_VIRTUAL = 512;

/**
* @var string Name of the property, same as calling the {@see ReflectionProperty::getName()} method
*/
Expand Down
8 changes: 0 additions & 8 deletions aerospike/aerospike.php
Original file line number Diff line number Diff line change
Expand Up @@ -4216,9 +4216,7 @@ public function setDeserializer(callable $unserialize_cb) {}
* (default)
*/
public const AS_MAP_UPDATE = "AS_MAP_UPDATE";

public const AS_MAP_UPDATE_ONLY = "AS_MAP_UPDATE_ONLY";

public const AS_MAP_CREATE_ONLY = "AS_MAP_CREATE_ONLY";

/**
Expand Down Expand Up @@ -4311,17 +4309,11 @@ public function setDeserializer(callable $unserialize_cb) {}
* @link https://www.aerospike.com/docs/guide/cdt-map.html#map-apis Map Result Types
* */
public const MAP_RETURN_KEY_VALUE = "AS_MAP_RETURN_KEY_VALUE";

public const LOG_LEVEL_OFF = "LOG_LEVEL_OFF";

public const LOG_LEVEL_ERROR = "LOG_LEVEL_ERROR";

public const LOG_LEVEL_WARN = "LOG_LEVEL_WARN";

public const LOG_LEVEL_INFO = "LOG_LEVEL_INFO";

public const LOG_LEVEL_DEBUG = "LOG_LEVEL_DEBUG";

public const LOG_LEVEL_TRACE = "LOG_LEVEL_TRACE";

/**
Expand Down
4 changes: 2 additions & 2 deletions bz2/bz2.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function bzclose($bz): bool {}
*/
#[Pure]
#[LanguageLevelTypeAware(['8.0' => 'int|false', '8.1' => 'int'], default: 'int')]
function bzerrno($bz):int {}
function bzerrno($bz): int {}

/**
* Returns a bzip2 error string
Expand Down Expand Up @@ -119,7 +119,7 @@ function bzerrstr($bz): string {}
#[Pure]
#[ArrayShape(["errno" => "int", "errstr" => "string"])]
#[LanguageLevelTypeAware(['8.0' => 'array|false', '8.1' => 'array'], default: 'array')]
function bzerror($bz):array {}
function bzerror($bz): array {}

/**
* Compress a string into bzip2 encoded data
Expand Down
6 changes: 3 additions & 3 deletions tests/TestData/Providers/Stubs/StubsParametersProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private static function yieldFilteredMethodParameters(string $classType, callabl
$toYield = array_filter(
array_map(
fn ($class) => array_filter(
array_map(
array_map(
fn (PHPMethod $method) => array_filter(
EntitiesFilter::getFilteredParameters($method, null, ...$problemTypes),
function ($parameter) use ($filterFunction, $class, $method) {
Expand All @@ -150,8 +150,8 @@ function ($parameter) use ($filterFunction, $class, $method) {
),
EntitiesFilter::getFilteredStubsMethods($class)
),
fn ($parameters) => !empty($parameters)
),
fn ($parameters) => !empty($parameters)
),
$filtered
),
fn ($methods) => !empty($methods)
Expand Down

0 comments on commit 7e1fdfb

Please sign in to comment.