Skip to content

Releases: loadsys/CakePHP-Shell-Scripts

Version 3.3.0

Choose a tag to compare

@chronon chronon released this 28 Sep 19:28

IMPORTANT: Previous versions of this package automatically installed CakePHP, PHP_CodeSniffer, PHPUnit, phpDocumentor, PHP-Parser, and PHPMetrics via composer. These tools should now be added to your project's composer.json. See the README for version details.

Version 2.2.0

Choose a tag to compare

@chronon chronon released this 28 Sep 19:30

IMPORTANT NOTE: Previous versions of this package automatically installed PHP_CodeSniffer, PHPUnit, and phpDocumentor via composer. These tools should now be added to your project's composer.json. See the README for version details.

Version 3.2.1

Choose a tag to compare

@justinyost justinyost released this 20 Feb 16:54

Minor bug fixes in here to improve edge cases for some commands.

  • cache-clear now also removes the DebugKit sqlite database if it exists
  • docs-generate will attempt to call either phpdoc or phpdoc.php and if neither exists report back with an error message.

Release 3.2.0

Choose a tag to compare

@justinyost justinyost released this 04 Aug 20:00

This release removes the psy/psysh dependency and replaces it to use the core CakePHP Cache Shell.
This release requires cakephp/cakephp:~3.3 which is as of today in beta.

3.1.6

Choose a tag to compare

@beporter beporter released this 25 Apr 14:45
  • Fixes phpdocs composer reqs to use the proper version of nikic/php-parser.
  • Adds the PHP Metrics package and a wrapper script for quick execution: bin/metrics-generate

3.1.5

Choose a tag to compare

@beporter beporter released this 02 Feb 17:46

getopts is hard. 😞

3.1.4

Choose a tag to compare

@beporter beporter released this 02 Feb 16:20

Adds an -s (strict) command line switch to the codesniffer-run script. This is a coordinated change with the Loadsys Coding Standard to help reduce the noise of TODO markers in the code from masking legitimate code sniff warnings. By default, TODO warnings will now be suppressed in output. To reveal them, include the -s switch, which may be useful in CI builds to enforce the strictest possible ruleset.

3.1.3

Choose a tag to compare

@beporter beporter released this 04 Dec 17:36

Includes two significant improvements:

  • The codesniffer-run script now looks for a phpcs.xml file in the project root folder and uses that as the default coding standard. The script still accepts a CODESNIFFER_RUN_STANDARD env var at a lower priority, and now also accepts a -r command line option to manually specify the xml file or coding standard name to use. Additionally, any remaining arguments at the end of the command line now override the default sniff folders, allow you to target a specific set of files or folders for sniffing.
  • A composer-reinstall script has been added, which purges Composer's configured vendor-dir path, any symlinks from the bin-dir path, and then re-runs composer install for you. This is purely a convenience script to help "reset" your local composer installation.

2.1.5

Choose a tag to compare

@beporter beporter released this 04 Dec 15:49

Improves db-credentials by enclosing mysql connection values in single quotes instead of double quotes, which better preserves special characters. Thanks to @ricog.

3.1.2

Choose a tag to compare

@beporter beporter released this 29 Sep 18:10
  • Clean up cache-clear's output.
  • Add a "call remotely" composer wrapper. (Allows for installing itself as a "version" of composer that is aware of a COMPOSER_NODEV environment flag.)
  • Add a new baremetal-bootstrap script.
  • Clean up the deploy script.
  • Make db-login actually work again. (Special thanks to @JoeThielen for our first public contribution to the project!)