-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8be8250
commit 95e75c2
Showing
2 changed files
with
11 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,15 +53,17 @@ jobs: | |
- name: Install PHP | ||
uses: shivammathur/[email protected] | ||
with: | ||
php-version: '8.3' | ||
coverage: none | ||
extensions: mbstring | ||
php-version: "7.4" | ||
|
||
- name: Install dependencies with composer | ||
run: "composer update --no-interaction --no-progress && composer i --working-dir=ci" | ||
- name: Install psalm | ||
run: >- | ||
composer require --dev vimeo/psalm | ||
- name: Run vimeo/psalm | ||
run: "ci/vendor/bin/psalm --threads=4" | ||
- name: Run static analysis | ||
run: >- | ||
psalm --threads=4 | ||
roave-bc-check: | ||
name: Roave BC Check | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
<?xml version="1.0"?> | ||
<psalm | ||
totallyTyped="true" | ||
errorLevel="8" | ||
resolveFromConfigFile="true" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://getpsalm.org/schema/config" | ||
xsi:schemaLocation="https://getpsalm.org/schema/config ci/vendor/vimeo/psalm/config.xsd" | ||
phpVersion="7.3" | ||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | ||
> | ||
<projectFiles> | ||
<directory name="bin" /> | ||
<directory name="bin"/> | ||
<directory name="tests/static-analysis" /> | ||
<ignoreFiles> | ||
<directory name="ci"/> | ||
</ignoreFiles> | ||
</projectFiles> | ||
|
||
</psalm> |