Files
php-uuid/psalm-baseline.xml
T
2021-09-05 12:41:13 +01:00

181 lines
5.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.10.0@916b098b008f6de4543892b1e0651c1c3b92cbfa">
<file src="src/Builder/DegradedUuidBuilder.php">
<DeprecatedClass occurrences="3">
<code>DegradedUuid</code>
<code>new DegradedTimeConverter()</code>
</DeprecatedClass>
<ImpureVariable occurrences="2">
<code>$this</code>
<code>$this</code>
</ImpureVariable>
</file>
<file src="src/Builder/FallbackBuilder.php">
<ImpureMethodCall occurrences="1"/>
<ImpureVariable occurrences="1">
<code>$this</code>
</ImpureVariable>
</file>
<file src="src/Converter/Number/BigNumberConverter.php">
<ImpureVariable occurrences="2">
<code>$this</code>
<code>$this</code>
</ImpureVariable>
</file>
<file src="src/Converter/Number/DegradedNumberConverter.php">
<DeprecatedClass occurrences="1">
<code>BigNumberConverter</code>
</DeprecatedClass>
</file>
<file src="src/Converter/Number/GenericNumberConverter.php">
<ImpureVariable occurrences="2">
<code>$this</code>
<code>$this</code>
</ImpureVariable>
</file>
<file src="src/Converter/Time/DegradedTimeConverter.php">
<DeprecatedClass occurrences="1">
<code>BigNumberTimeConverter</code>
</DeprecatedClass>
</file>
<file src="src/FeatureSet.php">
<PropertyNotSetInConstructor occurrences="6">
<code>$calculator</code>
<code>$dceSecurityGenerator</code>
<code>$numberConverter</code>
<code>$timeConverter</code>
<code>$timeGenerator</code>
<code>$timeProvider</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Fields/SerializableFieldsTrait.php">
<UnusedMethodCall occurrences="1">
<code>unserialize</code>
</UnusedMethodCall>
</file>
<file src="src/Generator/PeclUuidNameGenerator.php">
<ImpureFunctionCall occurrences="3">
<code>uuid_generate_md5</code>
<code>uuid_generate_sha1</code>
<code>uuid_parse</code>
</ImpureFunctionCall>
</file>
<file src="src/Guid/GuidBuilder.php">
<ImpureVariable occurrences="3">
<code>$this</code>
<code>$this</code>
<code>$this</code>
</ImpureVariable>
</file>
<file src="src/Lazy/LazyUuidFromString.php">
<UnusedMethodCall occurrences="1">
<code>unserialize</code>
</UnusedMethodCall>
</file>
<file src="src/Nonstandard/UuidBuilder.php">
<ImpureVariable occurrences="3">
<code>$this</code>
<code>$this</code>
<code>$this</code>
</ImpureVariable>
</file>
<file src="src/Provider/Dce/SystemDceSecurityProvider.php">
<ForbiddenCode occurrences="5">
<code>shell_exec('id -g')</code>
<code>shell_exec('id -u')</code>
<code>shell_exec('net user %username% | findstr /b /i "Local Group Memberships"')</code>
<code>shell_exec('whoami /user /fo csv /nh')</code>
<code>shell_exec('wmic group get name,sid | findstr /b /i ' . escapeshellarg($firstGroup))</code>
</ForbiddenCode>
</file>
<file src="src/Provider/Node/SystemNodeProvider.php">
<MixedArgument occurrences="1">
<code>$macs</code>
</MixedArgument>
<MixedArrayAccess occurrences="1">
<code>$macs</code>
</MixedArrayAccess>
<MixedArrayAssignment occurrences="1">
<code>$macs[]</code>
</MixedArrayAssignment>
</file>
<file src="src/Rfc4122/UuidBuilder.php">
<ImpureVariable occurrences="15">
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
</ImpureVariable>
</file>
<file src="src/Type/Decimal.php">
<UnusedMethodCall occurrences="1">
<code>unserialize</code>
</UnusedMethodCall>
</file>
<file src="src/Type/Hexadecimal.php">
<UnusedMethodCall occurrences="1">
<code>unserialize</code>
</UnusedMethodCall>
</file>
<file src="src/Type/Integer.php">
<UnusedMethodCall occurrences="1">
<code>unserialize</code>
</UnusedMethodCall>
</file>
<file src="src/Type/Time.php">
<UnusedMethodCall occurrences="1">
<code>__construct</code>
</UnusedMethodCall>
</file>
<file src="src/Uuid.php">
<ImpureMethodCall occurrences="6">
<code>getFactory</code>
<code>getFactory</code>
<code>getFactory</code>
<code>getFactory</code>
<code>getFactory</code>
<code>getFactory</code>
</ImpureMethodCall>
<UnusedMethodCall occurrences="1">
<code>unserialize</code>
</UnusedMethodCall>
</file>
<file src="src/UuidFactory.php">
<ImpurePropertyFetch occurrences="7">
<code>$this-&gt;codec</code>
<code>$this-&gt;codec</code>
<code>$this-&gt;codec</code>
<code>$this-&gt;isDefaultFeatureSet</code>
<code>$this-&gt;nameGenerator</code>
<code>$this-&gt;numberConverter</code>
<code>$this-&gt;uuidBuilder</code>
</ImpurePropertyFetch>
<ImpureVariable occurrences="13">
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
<code>$this</code>
</ImpureVariable>
</file>
</files>