-
Notifications
You must be signed in to change notification settings - Fork 14
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 #22 from FriendsOfCake/cake-4.x
Cake 4.x
- Loading branch information
Showing
6 changed files
with
155 additions
and
121 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
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,29 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
cs-stan: | ||
name: Coding Standard & Static Analysis | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '7.4' | ||
extensions: mbstring, intl | ||
coverage: none | ||
tools: phpstan:1.10, cs2pr | ||
|
||
- name: Composer Install | ||
run: composer install | ||
|
||
- name: Run phpcs | ||
run: vendor/bin/phpcs --report=checkstyle --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/ | cs2pr | ||
|
||
- name: Run phpstan | ||
if: always() | ||
run: phpstan analyse --error-format=github |
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,40 +1,52 @@ | ||
{ | ||
"name": "friendsofcake/fixturize", | ||
"description": "CakePHP Fixture classes to help increase productivity or performance", | ||
"type": "cakephp-plugin", | ||
"keywords": [ | ||
"cakephp", | ||
"fixture", | ||
"fixtures", | ||
"unittest", | ||
"phpunit", | ||
"performance" | ||
], | ||
"homepage": "https://github.com/FriendsOfCake/fixturize", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Christian Winther", | ||
"role": "Author", | ||
"homepage": "http://cakephp.nu/" | ||
"name": "friendsofcake/fixturize", | ||
"description": "CakePHP Fixture classes to help increase productivity or performance", | ||
"type": "cakephp-plugin", | ||
"keywords": [ | ||
"cakephp", | ||
"fixture", | ||
"fixtures", | ||
"unittest", | ||
"phpunit", | ||
"performance" | ||
], | ||
"homepage": "https://github.com/FriendsOfCake/fixturize", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Christian Winther", | ||
"role": "Author", | ||
"homepage": "http://cakephp.nu/" | ||
}, | ||
{ | ||
"name": "José Lorenzo Rodríguez", | ||
"role": "Contributor", | ||
"homepage": "https://github.com/lorenzo" | ||
} | ||
], | ||
"autoload": { | ||
"psr-4": { | ||
"FriendsOfCake\\Fixturize\\": "src" | ||
} | ||
}, | ||
{ | ||
"name": "José Lorenzo Rodríguez", | ||
"role": "Contributor", | ||
"homepage": "https://github.com/lorenzo" | ||
} | ||
], | ||
"autoload": { | ||
"psr-4": { | ||
"FriendsOfCake\\Fixturize\\": "src" | ||
"scripts": { | ||
"cs-check": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/", | ||
"cs-fix": "phpcbf --colors --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/" | ||
}, | ||
"require": { | ||
"cakephp/cakephp": "^4.0" | ||
}, | ||
"require-dev": { | ||
"cakephp/cakephp-codesniffer": "^4.0" | ||
}, | ||
"support": { | ||
"source": "https://github.com/FriendsOfCake/fixturize", | ||
"issues": "https://github.com/FriendsOfCake/fixturize/issues", | ||
"irc": "irc://irc.freenode.org/cakephp" | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
} | ||
}, | ||
"require": { | ||
"cakephp/cakephp": "^3.2" | ||
}, | ||
"support": { | ||
"source": "https://github.com/FriendsOfCake/fixturize", | ||
"issues": "https://github.com/FriendsOfCake/fixturize/issues", | ||
"irc": "irc://irc.freenode.org/cakephp" | ||
} | ||
} |
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,4 @@ | ||
parameters: | ||
level: 8 | ||
paths: | ||
- src |
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