Skip to content

Releases: cmrcx/phptidy

v3.3

24 Oct 12:44
Compare
Choose a tag to compare

Version 3.3 (2020-10-24)

  • Adapt continue statements to PHP 7.3
  • Tested with PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4

v3.2

10 Aug 15:27
Compare
Choose a tag to compare

Version 3.2 (2019-08-10)

  • Replace each() because of Deprecation in PHP 7.2
  • Add tests for @see tags
  • Remove not working '$GLOBALS['docroot']' from configuration examples

v3.1

02 Jan 21:27
Compare
Choose a tag to compare

Version 3.1 (2018-01-02)

  • Point composer directly to phptidy.php

v3.0

09 Mar 21:53
Compare
Choose a tag to compare

Version 3.0 (2017-03-09)

  • Works on PHP 7 now.
  • Change path of temp file, which did not work on Windows

v2.17

29 Nov 21:42
Compare
Choose a tag to compare

Version 2.17 (2016-11-29)

  • New configuration option $keep_open_echo_tags
  • Bugfix: Handle anonymous functions with whitespace between function keyword
    and opening brace
  • Prevent running on PHP 7

v2.16

27 Oct 09:44
Compare
Choose a tag to compare

Version 2.16 (2015-10-27)

  • Bugfix: In @param doctags "object" was used instead of class name type hints
    and references and type hints were not detected when used together.
  • New formatting function for adding spaces around operators (disabled by
    default)
  • Don't use cache if the version of phptidy or the configuration has changed
  • Use PHP in $PATH instead of /usr/bin/php

Attention: This release will probably change your @param doctags.

v2.15

05 Sep 10:32
Compare
Choose a tag to compare

Version 2.15 (2015-09-05)

  • Composer integration

v2.14

26 Apr 12:31
Compare
Choose a tag to compare

Version 2.14 (2015-04-26)

  • New formatting function for adding one space after an opening and before a
    closing round bracket (disabled by default)
  • New option --config
  • New option --quiet
  • New command "-" to read code from STDIN and write formatted code to STDOUT
  • New documentation file INTEGRATION
  • Bugfix: No @uses tags were added to docblocks. To avoid unexpected behaviour,
    the new configuration option $add_usestags has been added and disabled by
    default.
  • Tests
  • Move version control from subversion to git

v2.13

29 Dec 22:35
Compare
Choose a tag to compare

Version 2.13 (2014-12-29)

  • Indent "else if" correctly
  • Don't touch one line docblocks
  • Handle empty files
  • Indent square brackets for new array style
  • Sort doctags

v2.12

15 Sep 19:42
Compare
Choose a tag to compare

Version 2.12 (2013-12-03)

  • Bugfix: Handle docblocks with content in the same line after "/**"