-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit e471c29
Showing
8 changed files
with
2,168 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Demo Scenario for [#6788](https://github.com/vimeo/psalm/issues/6788) | ||
|
||
## Install | ||
|
||
```bash | ||
git clone https://github.com/ohader/psalm-6788.git | ||
cd psalm-6788 | ||
composer install | ||
``` | ||
|
||
## Invoke Psalm | ||
|
||
```bash | ||
composer run psalm | ||
|
||
> psalm -c psalm.xml --no-cache | ||
string(10) "registered" | ||
Scanning files... | ||
string(74) "Scanner: /Users/olly/Development/projects/psalm-6788/examples/whatever.any" | ||
Analyzing files... | ||
|
||
string(75) "Analyzer: /Users/olly/Development/projects/psalm-6788/examples/whatever.any" | ||
░ | ||
------------------------------ | ||
No errors found! | ||
------------------------------ | ||
|
||
Checks took 1.21 seconds and used 54.101MB of memory | ||
Psalm was unable to infer types in the codebase | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "olly/psalm-6788", | ||
"autoload": { | ||
"psr-4": { | ||
"Olly\\Psalm6788\\": "src/" | ||
} | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Oliver Hader", | ||
"email": "oliver@typo3.org" | ||
} | ||
], | ||
"require": { | ||
"ext-simplexml": "*", | ||
"vimeo/psalm": "dev-master" | ||
}, | ||
"scripts": { | ||
"psalm": "psalm -c psalm.xml --no-cache" | ||
} | ||
} |
Oops, something went wrong.