Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
vendor/
/.idea/
/.phpunit.cache
/.phpunit.result.cache
.phpcs.cache
tests/test_app/App/Model/Table/CommentsTable.php
tests/test_app/App/Controller/ProductVersionsController.php
tests/test_app/App/Controller/ProductsController.php
tests/test_app/Plugin/TestBake/
tests/test_app/tests/
clover.xml
/.phpunit.result.cache
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
"@test",
"@cs-check"
],
"cs-check": "phpcs --parallel=16 -p src/ tests/",
"cs-fix": "phpcbf --parallel=16 -p src/ tests/",
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"phpstan": "tools/phpstan analyse",
"stan": "@phpstan",
"stan-baseline": "tools/phpstan --generate-baseline",
Expand Down
4 changes: 4 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
<file>tests/</file>

<rule ref="CakePHP" />
<arg value="nps"/>
<arg name="colors"/>
<arg name="parallel" value="4"/>
<arg name="cache" value=".phpcs.cache"/>

<exclude-pattern>*/comparisons/*</exclude-pattern>
<exclude-pattern>tests/test_app/*</exclude-pattern>
Expand Down
2 changes: 2 additions & 0 deletions src/View/Helper/BakeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Bake helper
*
* @extends \Cake\View\Helper<\Cake\View\View>
*/
class BakeHelper extends Helper
{
Expand Down
2 changes: 2 additions & 0 deletions src/View/Helper/DocBlockHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* DocBlock helper
*
* @extends \Cake\View\Helper<\Cake\View\View>
*/
class DocBlockHelper extends Helper
{
Expand Down
Loading