PHP Censor v2.0.0 Release Notes
Release Date: 2021-01-10 // about 3 years ago-
โฌ๏ธ 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 (UsePHP_CENSOR_*
instead).- Global application config section
b8.database
(Usephp-censor.database
instead). - Options
authToken
,api_key
,api_token
,token
for several plugins:CampfireNotify
,HipchatNotify
,FlowdockNotify
,TelegramNotify
,SensiolabInsight
,BitbucketNotify
(Useauth_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 optionoutput_path
instead). - [Codeception] Option
executable
(Use the optionsbinary_path
andbinary_name
instead). - [Grunt] Option
grunt
(Use optionsbinary_path
andbinary_name
instead). - [Gulp] Option
gulp
(Use optionsbinary_path
andbinary_name
instead). - [PHPCodeSniffer] Option
path
(Use optiondirectory
instead). - [PHPCpd] Option
path
(Use optiondirectory
instead). - [PHPDocblockChecker] Option
path
(Use optiondirectory
instead). - [PHPMessDetector] Option
path
(Use optiondirectory
instead). - [PHPUnit] Option
directory
(Use optiondirectories
instead). - [SensiolabsInsight] Option
executable
(Use the optionsbinary_path
andbinary_name
instead). - [Shell] Option
command
and commands list without any named option. Use optioncommands
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 optionpassword
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
andmage3
in the global application config and optionbin
. Use the plugin optionsbinary_path
andbinary_name
instead. - [CampfireNotify] Variable
%buildurl%
(Use the variable%BUILD_LINK%
instead).
- Cronjob worker: