in the backend we should provide a one-click installer for certain useful tools to opt-in
They auto detect the paths and adjust the script before creating it for the user.
Also:
- Allow visual diff of latest version vs status quo in app to quickly compare and see what might want to get ported/updated
- Provide base stubs to work with in case one doesnt need to copy things over
PHPStan enhancements
includes:
- phpstan-baseline.neon
- vendor/cakedc/cakephp-phpstan/extension.neon
- vendor/rector/type-perfect/config/extension.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
composer unused-vars
"sirbrillig/phpcs-variable-analysis"
"unused-vars": "phpcs --standard=phpcs-unused-vars.xml --colors -p src/",
and
<?xml version="1.0"?>
<ruleset name="UnusedVariables">
<description>Detect unused variables excluding function parameters</description>
<arg name="tab-width" value="4"/>
<arg value="ps"/>
<rule ref="VariableAnalysis.CodeAnalysis.VariableAnalysis">
<properties>
<property name="allowUnusedFunctionParameters" value="1"/>
<property name="allowUnusedForeachVariables" value="1"/>
<property name="ignoreUnusedRegexp" value="/^_/"/>
</properties>
</rule>
</ruleset>
in the backend we should provide a one-click installer for certain useful tools to opt-in
They auto detect the paths and adjust the script before creating it for the user.
Also:
PHPStan enhancements
composer unused-vars
"sirbrillig/phpcs-variable-analysis"