Releases: polymorphine/dev
Releases · polymorphine/dev
Release version 0.4.1
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
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
- 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
Template fix:
- Changed
Example.php
&ExampleTest.php
directives to init - Added
.gitkeep
dummy files to preservesrc
&tests
directories
Release version 0.2.2
- Added expansion placeholder for php extensions in GitHub workflow template
Release version 0.2.1
- Fixed skeleton filenames ignored by .gitattributes
Release version 0.2.0
- Added scripted package skeleton template
- Temporarily froze php-cs-fixer version due to compatibility issues
- Reworked code samples filtering
Release version 0.1.2
- 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
- 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
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