PHP Censor v2.0.0 Release Notes

Release Date: 2021-01-10 // about 3 years ago
  • Full Changelog

    โฌ†๏ธ How to upgrade from v1 to v2

    ๐Ÿ”„ Changed

    • Minimal PHP version increased to 7.4 (from 5.6).

    โœ‚ Removed

    • ๐Ÿ—„ Deprecations from versions 1.x:
      • Cronjob worker: php-censor:run-builds (Use daemon worker instead: php-censor:worker).
      • Project configs phpci.yml and .phpci.yml (use .php-censor.yml instead).
      • PHPCI_* interpolation and env variables (Use PHP_CENSOR_* instead).
      • Global application config section b8.database (Use php-censor.database instead).
      • Options authToken, api_key, api_token, token for several plugins: CampfireNotify, HipchatNotify, FlowdockNotify, TelegramNotify, SensiolabInsight, BitbucketNotify (Use auth_token instead).
      • Plugin names: campfire, telegram, xmpp, email, irc, phpstan (Use: campfire_notify, telegram_notify, ๐Ÿ”” xmpp_notify, email_notify, irc_notify, php_stan instead).
      • [Codeception] Option path (Use option output_path instead).
      • [Codeception] Option executable (Use the options binary_path and binary_name instead).
      • [Grunt] Option grunt (Use options binary_path and binary_name instead).
      • [Gulp] Option gulp (Use options binary_path and binary_name instead).
      • [PHPCodeSniffer] Option path (Use option directory instead).
      • [PHPCpd] Option path (Use option directory instead).
      • [PHPDocblockChecker] Option path (Use option directory instead).
      • [PHPMessDetector] Option path (Use option directory instead).
      • [PHPUnit] Option directory (Use option directories instead).
      • [SensiolabsInsight] Option executable (Use the options binary_path and binary_name instead).
      • [Shell] Option command and commands list without any named option. Use option commands instead.
      • [PackageBuild] Special variables for plugin (%build.commit%, %build.id%, %build.branch%, %project.title%, %date% and %time%). Use interpolated variables instead (%COMMIT_ID%, %BUILD_ID%, %BRANCH%, %PROJECT_TITLE%, %CURRENT_DATE%, CURRENT_TIME).
      • [MySQL and PostgreSQL] Options pass for plugins MySQL and PostgreSQL. Use option password instead.
      • [MySQL, PostgreSQL, SQLite] Queries list without option for plugins MySQL, PostgreSQL and SQLite. Use the options queries instead.
      • [MySQL] Imports list without option for plugin MySQL. Use the options imports instead.
      • [Mage, Mage3] Section mage and mage3 in the global application config and option bin. Use the plugin options binary_path and binary_name instead.
      • [CampfireNotify] Variable %buildurl% (Use the variable %BUILD_LINK% instead).