Skip to content

Commit a67bf5a

Browse files
committed
Merge branch 'develop'
* develop: add workflow to create releases on each tag remove reference to non existing folder setup package
2 parents 393127e + 259ff8a commit a67bf5a

12 files changed

+38
-173
lines changed

.gitattributes

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
/.github export-ignore
2-
/proofs export-ignore

.github/workflows/ci.yml

-97
This file was deleted.

.github/workflows/release.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Create release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
release:
10+
uses: innmind/github-workflows/.github/workflows/release.yml@main
11+
secrets: inherit

.php-cs-fixer.dist.php

-6
This file was deleted.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Innmind
3+
Copyright (c) 2025 Innmind
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+23-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,33 @@
11
# static-analysis
22

3-
[![Build Status](https://github.com/innmind/static-analysis/workflows/CI/badge.svg?branch=main)](https://github.com/innmind/static-analysis/actions?query=workflow%3ACI)
4-
[![codecov](https://codecov.io/gh/innmind/static-analysis/branch/develop/graph/badge.svg)](https://codecov.io/gh/innmind/static-analysis)
5-
[![Type Coverage](https://shepherd.dev/github/innmind/static-analysis/coverage.svg)](https://shepherd.dev/github/innmind/static-analysis)
6-
7-
Description
3+
This is a meta package to alias all the dependencies required for Innmind packages to run static analysis.
84

95
## Installation
106

117
```sh
12-
composer require innmind/static-analysis
8+
composer require --dev innmind/static-analysis
139
```
1410

1511
## Usage
1612

17-
Todo
13+
Once the package is required you need to create the file `psalm.xml` with the following content:
14+
15+
```xml
16+
<?xml version="1.0"?>
17+
<psalm
18+
errorLevel="1"
19+
resolveFromConfigFile="true"
20+
findUnusedBaselineEntry="true"
21+
findUnusedCode="false"
22+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23+
xmlns="https://getpsalm.org/schema/config"
24+
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
25+
>
26+
<projectFiles>
27+
<directory name="src" />
28+
<ignoreFiles>
29+
<directory name="vendor" />
30+
</ignoreFiles>
31+
</projectFiles>
32+
</psalm>
33+
```

blackbox.php

-27
This file was deleted.

codecov.yml

-4
This file was deleted.

composer.json

+3-13
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "innmind/static-analysis",
33
"type": "library",
4-
"description": "",
5-
"keywords": [],
4+
"description": "Meta package to group all dependencies required for innmind packages",
5+
"keywords": ["static analysis"],
66
"homepage": "http://github.com/innmind/static-analysis",
77
"license": "MIT",
88
"authors": [
@@ -15,16 +15,6 @@
1515
"issues": "http://github.com/innmind/static-analysis/issues"
1616
},
1717
"require": {
18-
"php": "~8.2"
19-
},
20-
"autoload": {
21-
"psr-4": {
22-
"innmind\\static-analysis\\": "src/"
23-
}
24-
},
25-
"require-dev": {
26-
"vimeo/psalm": "~5.13",
27-
"innmind/black-box": "^5.6.1",
28-
"innmind/coding-standard": "~2.0"
18+
"vimeo/psalm": "~5.13|dev-master"
2919
}
3020
}

proofs/.gitkeep

Whitespace-only changes.

psalm.xml

-17
This file was deleted.

src/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)