-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from the-kbA-team/cakephp2-php8.x
CakePHP 2.x release 1.4.0
- Loading branch information
Showing
12 changed files
with
251 additions
and
1,890 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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.github/ export-ignore | ||
tests/ export-ignore | ||
vendor/ export-ignore | ||
.travis.yml export-ignore | ||
composer.* export-ignore | ||
phpunit.xml export-ignore | ||
phpstan.neon export-ignore | ||
README.* export-ignore | ||
LICENSE export-ignore | ||
stubs/ export-ignore |
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 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: CI | ||
|
||
# Controls when the action will run. | ||
on: | ||
# Triggers the workflow on push or pull request events | ||
push: | ||
pull_request: | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# Composer config validation | ||
composer: | ||
name: "Composer config validation" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- uses: "actions/checkout@v3" | ||
- name: "Validate composer.json" | ||
run: "composer validate --strict" | ||
|
||
# PHP syntax validation | ||
php: | ||
name: "PHP syntax validation" | ||
runs-on: "ubuntu-latest" | ||
strategy: | ||
matrix: | ||
php_version: [ 8.0, 8.1, 8.2 ] | ||
steps: | ||
- uses: "actions/checkout@v3" | ||
- uses: "shivammathur/setup-php@v2" | ||
with: | ||
php-version: "${{ matrix.php_version }}" | ||
- name: "Check PHP syntax of plugin code" | ||
run: | | ||
php -l Lib/ | ||
php -l tests/ | ||
phpunit: | ||
name: "PHPUnit tests" | ||
runs-on: "ubuntu-latest" | ||
strategy: | ||
matrix: | ||
php_version: [ 8.0, 8.1, 8.2 ] | ||
steps: | ||
- uses: "actions/checkout@v3" | ||
- uses: "php-actions/composer@v6" | ||
with: | ||
php_version: "${{ matrix.php_version }}" | ||
- run: "vendor/bin/phpunit --coverage-clover clover.xml" | ||
|
||
# phpstan for several php versions | ||
phpstan: | ||
runs-on: "ubuntu-latest" | ||
strategy: | ||
matrix: | ||
php_version: [ 8.0, 8.1, 8.2 ] | ||
steps: | ||
- uses: "actions/checkout@v3" | ||
- uses: "php-actions/composer@v6" | ||
with: | ||
php_version: "${{ matrix.php_version }}" | ||
- name: "PHPStan Static Analysis" | ||
uses: "php-actions/phpstan@v3" | ||
with: | ||
php_version: "${{ matrix.php_version }}" |
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 +1,2 @@ | ||
/vendor/ | ||
/composer.lock |
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,32 +1,37 @@ | ||
{ | ||
"name": "kba-team/cakephp-graylog", | ||
"description": "Graylog engine for CakePHP", | ||
"type": "cakephp-plugin", | ||
"license": "MIT", | ||
"minimum-stability": "stable", | ||
"require": { | ||
"php": "^7.2", | ||
"ext-json": "*", | ||
"cakephp/cakephp": "^2.4", | ||
"graylog2/gelf-php": "^1.6", | ||
"composer/installers": "^1.9", | ||
"kba-team/php-backtrace": "^1.0", | ||
"kba-team/graylog-utilities": "^1.0" | ||
}, | ||
"extra": { | ||
"installer-name": "Graylog" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^4.8" | ||
}, | ||
"autoload-dev": { | ||
"classmap": [ | ||
"vendor/cakephp/cakephp/lib/Cake/Core/App.php", | ||
"vendor/cakephp/cakephp/lib/Cake/Log/CakeLogInterface.php", | ||
"vendor/cakephp/cakephp/lib/Cake/Log/Engine/BaseLog.php", | ||
"vendor/cakephp/cakephp/lib/Cake/Utility/Hash.php", | ||
"Lib/Log/Engine/GraylogLog.php", | ||
"tests/PublicGraylogLog.php" | ||
] | ||
"name": "kba-team/cakephp-graylog", | ||
"description": "Graylog engine for CakePHP", | ||
"type": "cakephp-plugin", | ||
"license": "MIT", | ||
"minimum-stability": "stable", | ||
"require": { | ||
"php": "^8.0", | ||
"ext-json": "*", | ||
"kba-team/cakephp": "^2.11", | ||
"graylog2/gelf-php": "^1.6", | ||
"composer/installers": "^1.9", | ||
"kba-team/php-backtrace": "^1.0", | ||
"kba-team/graylog-utilities": "^2.0" | ||
}, | ||
"extra": { | ||
"installer-name": "Graylog" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^9.5" | ||
}, | ||
"autoload-dev": { | ||
"classmap": [ | ||
"vendor/kba-team/cakephp/lib/Cake/Core/App.php", | ||
"vendor/kba-team/cakephp/lib/Cake/Log/CakeLogInterface.php", | ||
"vendor/kba-team/cakephp/lib/Cake/Log/Engine/BaseLog.php", | ||
"vendor/kba-team/cakephp/lib/Cake/Utility/Hash.php", | ||
"Lib/Log/Engine/GraylogLog.php", | ||
"tests/PublicGraylogLog.php" | ||
] | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"composer/installers": true | ||
} | ||
} | ||
} |
Oops, something went wrong.