1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-04-20 07:21:57 +02:00

Enhancement: Raise error level from 6 to 5 (#2082)

* Enhancement: Raise error level from 6 to 5

* Fix: DocBlock
This commit is contained in:
Andreas Möller 2020-10-23 13:55:17 +02:00 committed by GitHub
parent 69159436a3
commit 5c9b591995
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
cacheDirectory=".build/psalm"
errorBaseline="psalm-baseline.xml"
errorLevel="6"
errorLevel="5"
resolveFromConfigFile="true"
totallyTyped="false"
>

View File

@ -49,7 +49,7 @@ class Factory
/**
* @param string $provider
* @param string $locale
* @return string
* @return string|null
*/
protected static function findProviderClassname($provider, $locale = '')
{

View File

@ -19,7 +19,7 @@ class Name
/**
* @param string $name
* @param int|null $size Length of field, if known
* @return callable
* @return callable|null
*/
public function guessFormat($name, $size = null)
{

View File

@ -568,7 +568,7 @@ class File extends Base
* @param string $sourceDirectory The directory to look for random file taking
* @param string $targetDirectory
* @param boolean $fullPath Whether to have the full path or just the filename
* @return string
* @return string|false
*/
public static function file($sourceDirectory = '/tmp', $targetDirectory = '/tmp', $fullPath = true)
{