Skip to content

Commit

Permalink
Initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
ohader committed Nov 1, 2021
0 parents commit e471c29
Show file tree
Hide file tree
Showing 8 changed files with 2,168 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
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
```
21 changes: 21 additions & 0 deletions composer.json
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"
}
}

0 comments on commit e471c29

Please sign in to comment.