Skip to content

Releases: polymorphine/dev

Release version 0.4.1

05 Jul 04:12
c901484
Compare
Choose a tag to compare

Changes:

  • Original public method definition does not require phpDoc anymore - produces warning and no error code on exit
  • Private (static) properties cannot begin with an underscore
  • Referenced property names that might come from 3rd party code are not validated (only definitions, wich we control)
  • PhpUnit cache file is now stored in .dev/cache directory

Release version 0.4.0

03 Jul 02:09
fbea6d0
Compare
Choose a tag to compare

Reworked GitHub workflow script & moved all artifacts to .dev directory:

  • Separated OS and PHP version tests (3x3 vs 2x3 matrix)
  • Removed php-coveralls from package dependencies & moved its installation to workflow script
  • Changed directory for coverage report to .dev/logs
  • Fixed cache & simplified setup with ramsey/composer-install GitHub action
  • Added env variable to PhpUnit config pointing to .dev/tests

Release version 0.3.0

30 Jun 00:02
26d3864
Compare
Choose a tag to compare
  • Updated skeleton script engine
  • Adjusted names for template dummy files
  • Changed header comment setup for cs-fixer
  • Fixed headers in template init files

Release version 0.2.3

25 Jun 01:48
572940c
Compare
Choose a tag to compare

Template fix:

  • Changed Example.php & ExampleTest.php directives to init
  • Added .gitkeep dummy files to preserve src & tests directories

Release version 0.2.2

14 Jun 15:04
02244dd
Compare
Choose a tag to compare
  • Added expansion placeholder for php extensions in GitHub workflow template

Release version 0.2.1

02 Jun 09:03
0136bb0
Compare
Choose a tag to compare
  • Fixed skeleton filenames ignored by .gitattributes

Release version 0.2.0

04 Oct 16:13
f54566f
Compare
Choose a tag to compare
  • Added scripted package skeleton template
  • Temporarily froze php-cs-fixer version due to compatibility issues
  • Reworked code samples filtering

Release version 0.1.2

10 Aug 08:25
31f8ab5
Compare
Choose a tag to compare
  • Upgraded php-cs-fixer ^3.0
  • Bumped minimal package versions in composer.json
  • Expanded required php version with ^8.0
  • Updated GitHub workflow script
  • Added coding style checking script to composer.json

Release version 0.1.1

04 Mar 05:17
Compare
Choose a tag to compare
  • Fixed required double pass for brace & multiline method definition
  • Fixed code samples for integrated tests
  • Fixed README grammar errors
  • Enabled cache in PhpUnit configuration
  • Replaced deprecated PhpCsFixer\Config instantiation
  • Upgraded codebase with php 7.4 constructs
    • added strict types directive
    • added typehints for properties, method parameters and return type
    • code refactoring

Release version 0.1.0

03 Mar 02:48
Compare
Choose a tag to compare

Testing framework & code style tools for polymorphine libraries

Custom fixer & sniffer rules:

  • aligned multiline array associations
  • aligned assignments
  • aligned chain method calls
  • aligned typed properties
  • constructors as first methods in class (including static constructors)
  • strict types declaration in first line
  • double blank line before class definition
  • removing trailing comma from multiline arrays
  • short conditions converted to single line
  • ambiguous array associations warning
  • required calleble argument description
  • required phpDoc for publiic api definition