v7.4.0
This release makes it easier to follow the "coding standard" that never where written down. We are using PHP-FIG - PER Coding Style
that currently are identical to PSR-12. It's a living coding style that can adapt to newer PHP versions without issuing a new standard.
We have also incorporate EditorConfig so that we get the correct amount of tab/spaces depending on file type/path.
PHPStan have been raised to level 1 to automatically find more bugs in the code.
- Write some code
composer test
composer phpstan
composer style
- Commit
Additions:
- Added PER Coding Style using PHP-CS-Fixer to maintain consistent coding styles
- Added .editorconfig to maintain consistent coding styles
Changes:
- Move the PHPStan configuration to neon and raise the level to 1
- Format project according to coding style
- Don't use zip for PersonTest
- Change
Title::parentalGuide()
to also html entity decode single quotes
Bug fixes:
- Fix
Title::cast
in PHP 8.1 - Fix
Person::photo
- Fix
TitleTest::testEpisodes_returns_unknown_season_episodes
- Fix
Title::aspect_ratio
- Fix
TitleTest::testRuntimes_two_runtimes_one_annotation
- Fix
Person::real_id
- Fix
TitleTest::testAlsoknow
- Fix
Person::filmograf
#286 @duck7000 - Fix
Calendar::upcomingReleases
- Fix
Title::tagline
in PHP 5.6 #284 @paxter