-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
52 changed files
with
3,134 additions
and
3,095 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,21 @@ | ||
{ | ||
"php-core-extensions": [ | ||
"core", | ||
"standard", | ||
"spl", | ||
"json", | ||
"pcre", | ||
"session", | ||
"mbstring" | ||
|
||
], | ||
"symbol-whitelist": [ | ||
"Twig\\Extension\\DebugExtension", | ||
"Illuminate\\Support\\Facades\\DB" | ||
], | ||
"scan-files": [ | ||
"*.php", | ||
"app/**/.php", | ||
"public/*.php" | ||
] | ||
} |
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,69 @@ | ||
name: Galette CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
- 'feature/*' | ||
- 'hotfix/*' | ||
- 'release/*' | ||
pull_request: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
name: "Lint on PHP ${{ matrix.php-versions }}" | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php-versions: [ '8.1', '8.2', '8.3-rc' ] | ||
|
||
steps: | ||
- name: PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
tools: composer, pecl | ||
coverage: ${{ matrix.coverage }} | ||
extensions: apcu | ||
ini-values: apc.enable_cli=1 | ||
|
||
- name: "Show versions" | ||
run: | | ||
php --version | ||
composer --version | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Get composer cache directory | ||
id: composer-cache | ||
run: | | ||
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | ||
- name: Cache dependencies | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer- | ||
|
||
- name: Install dependencies | ||
run: | | ||
composer install | ||
- name: CS | ||
run: | | ||
vendor/bin/phpcs -n -p --standard=PSR2 app/ public/index.php | ||
- name: Check missing symbols | ||
run: | | ||
vendor/bin/composer-require-checker check --config-file=.composer-require-checker.config.json composer.json | ||
- name: PHPStan checks | ||
run: | | ||
vendor/bin/phpstan analyze --ansi --memory-limit=2G --no-interaction --no-progress |
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 |
---|---|---|
|
@@ -14,3 +14,4 @@ _site/ | |
.buildpath | ||
.project | ||
.settings/ | ||
.idea/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,16 +1,4 @@ | ||
# Telemetry | ||
|
||
PHP application that aims to store some [Telemetry informations](https://glpi-project.github.io/telemetry) sent from your project and display charts based on it. | ||
PHP application that aims to store some Telemetry information sent from your instances and display charts based on it. | ||
It is also able to store references :) | ||
|
||
Telemetry has been developped for the [GLPI Project](http://glpi-project.org/) needs; but you can also [configure Telemetry application to suits your project's needs](https://glpi-project.github.io/telemetry/project.html). | ||
|
||
Check [installation instructions](https://glpi-project.github.io/telemetry/install.html) to know how to run it. | ||
|
||
## Under the hood | ||
|
||
* [Slim frawework](https://slimframework.com/) | ||
* [Laravel query builder](https://laravel.com/docs/5.5/queries) | ||
* [PostgreSQL](https://www.postgresql.org/) | ||
* [Boostrap](https://getbootstrap.com/) | ||
* [plotly](https://plot.ly/javascript/) |
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.