Skip to content

Commit 05414ea

Browse files
committed
wip
0 parents  commit 05414ea

File tree

95 files changed

+6303
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+6303
-0
lines changed

.editorconfig

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
; This file is for unifying the coding style for different editors and IDEs.
2+
; More information at http://editorconfig.org
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
end_of_line = lf
9+
insert_final_newline = true
10+
indent_style = space
11+
indent_size = 4
12+
trim_trailing_whitespace = true
13+
14+
[*.md]
15+
trim_trailing_whitespace = false
16+
17+
[*.yml]
18+
indent_size = 2

.gitattributes

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
* text=auto
2+
*.css linguist-vendored
3+
*.scss linguist-vendored
4+
*.js linguist-vendored
5+
.scrutinizer.yml export-ignore
6+
.travis.yml export-ignore
7+
.styleci.yml export-ignore
8+
CHANGELOG.md export-ignore
9+
CONTRIBUTING.md export-ignore

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/node_modules
2+
/vendor
3+
.idea/*
4+
.env
5+
.phpunit.result.cache

.styleci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
preset: symfony
2+
disabled:
3+
- self_accessor

.travis.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
language: php
2+
3+
sudo: false
4+
5+
php:
6+
- 7.2
7+
- 7.3
8+
9+
env:
10+
matrix:
11+
- COMPOSER_FLAGS="--prefer-lowest"
12+
- COMPOSER_FLAGS=""
13+
14+
before_script:
15+
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
16+
17+
script:
18+
- vendor/bin/phpstan analyse --level=max src
19+
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/).
6+
7+
## [Unreleased]
8+
- Adds first version

CONTRIBUTING.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
CONTRIBUTING
2+
============
3+
4+
5+
Contributions are welcome, and are accepted via pull requests. Please review these guidelines before submitting any pull requests.
6+
7+
8+
## Guidelines
9+
10+
* Please follow the [PSR-2 Coding Style Guide](http://www.php-fig.org/psr/psr-2/), enforced by [StyleCI](https://styleci.io/).
11+
* Ensure that the current tests pass, and if you've added something new, add the tests where relevant.
12+
* Send a coherent commit history, making sure each individual commit in your pull request is meaningful.
13+
* You may need to [rebase](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) to avoid merge conflicts.
14+
* If you are changing the behavior, or the public api, you may need to update the docs.
15+
* Please remember that we follow [SemVer](http://semver.org/).
16+
17+
We have [StyleCI](https://styleci.io/) setup to automatically fix any code style issues.

LICENSE.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) Nuno Maduro <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Whitespace-only changes.

composer.json

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"name": "nunomaduro/phpinsights",
3+
"description": "Instant PHP quality checks from your console.",
4+
"keywords": ["php", "insights", "console", "quality", "source", "code"],
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Nuno Maduro",
9+
"email": "[email protected]"
10+
}
11+
],
12+
"require": {
13+
"php": "^7.2",
14+
"narration/console": "dev-master",
15+
"narration/container": "dev-master",
16+
"phploc/phploc": "^5.0",
17+
"symfony/finder": "^4.2"
18+
},
19+
"require-dev": {
20+
"narration/testing": "dev-master"
21+
},
22+
"autoload-dev": {
23+
"psr-4": {
24+
"Tests\\": "tests/"
25+
}
26+
},
27+
"minimum-stability": "dev",
28+
"prefer-stable": true,
29+
"autoload": {
30+
"psr-4": {
31+
"NunoMaduro\\PhpInsights\\": "src"
32+
}
33+
},
34+
"config": {
35+
"sort-packages": true,
36+
"preferred-install": "dist"
37+
},
38+
"bin": [
39+
"phpinsights"
40+
]
41+
}

0 commit comments

Comments
 (0)