mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-15 12:56:40 +00:00
Merge pull request #751 from zachborboa/master
Exclude additional files from git archive
This commit is contained in:
+1
-1
@@ -6,5 +6,5 @@
|
||||
/www/ export-ignore
|
||||
/.gitattributes export-ignore
|
||||
/.gitignore export-ignore
|
||||
/TESTING.md export-ignore
|
||||
/TROUBLESHOOTING.md export-ignore
|
||||
/psalm.xml
|
||||
|
||||
@@ -47,5 +47,5 @@ jobs:
|
||||
CI_PHP_FUTURE_RELEASE: ${{ matrix.future-release }}
|
||||
|
||||
- name: Static analysis
|
||||
run: "vendor/bin/psalm"
|
||||
run: 'vendor/bin/psalm --config="tests/psalm.xml"'
|
||||
if: ${{ !matrix.future-release && matrix.php-version >= 7.1 }}
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ class Url
|
||||
$this->relativeUrl = $relative_url;
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
public function __toString() : string
|
||||
{
|
||||
return $this->absolutizeUrl();
|
||||
}
|
||||
|
||||
@@ -7,20 +7,20 @@
|
||||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
|
||||
>
|
||||
<projectFiles>
|
||||
<directory name="src" />
|
||||
<directory name="../src" />
|
||||
<ignoreFiles>
|
||||
<directory name="vendor" />
|
||||
<directory name="../vendor" />
|
||||
</ignoreFiles>
|
||||
</projectFiles>
|
||||
<issueHandlers>
|
||||
<UndefinedClass>
|
||||
<errorLevel type="suppress">
|
||||
<referencedClass name="CurlHandle" />
|
||||
<file name="src/Curl/Curl.php" />
|
||||
<file name="../src/Curl/Curl.php" />
|
||||
</errorLevel>
|
||||
<errorLevel type="suppress">
|
||||
<referencedClass name="CurlMultiHandle" />
|
||||
<file name="src/Curl/MultiCurl.php" />
|
||||
<file name="../src/Curl/MultiCurl.php" />
|
||||
</errorLevel>
|
||||
</UndefinedClass>
|
||||
</issueHandlers>
|
||||
Reference in New Issue
Block a user