Merge pull request #751 from zachborboa/master

Exclude additional files from git archive
This commit is contained in:
Zach Borboa
2022-12-16 05:09:14 -08:00
committed by GitHub
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -6,5 +6,5 @@
/www/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/TESTING.md export-ignore
/TROUBLESHOOTING.md export-ignore
/psalm.xml
+1 -1
View File
@@ -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
View File
@@ -15,7 +15,7 @@ class Url
$this->relativeUrl = $relative_url;
}
public function __toString()
public function __toString() : string
{
return $this->absolutizeUrl();
}
+4 -4
View File
@@ -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>