Skip to content

v7.4.0

Compare
Choose a tag to compare
@jreklund jreklund released this 07 Jan 13:36

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.

  1. Write some code
  2. composer test
  3. composer phpstan
  4. composer style
  5. Commit

Additions:

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