- in IDE:
- (or in CLI) apply the patch from the D495
- remove contents of the core/units/helpers/xml_helper.php and core/units/helpers/xml_helper5.php files
- in CLI:
- run the phing -f tools/build/build_all.xml -verbose build command
- confirm, that:
- the build was successful
- these commands were executed during look at the output of the above-executed command (the {php_binary} part represents PHP binary; the ... represent irrelevant command parts):
- [composer] executing {php_binary} /usr/local/bin/composer install --working-dir ... --ansi
- [exec] Executing command: {php_binary} .../tools/run_event.php adm:OnDeploy b674006f3edb1d9cd4d838c150b0567d ... 2>&1
- [exec] Executing command: {php_binary} '-d memory_limit=-1' .../phpcpd --log-pmd=...
- run the {other_php_binary} phing -f tools/build/build_all.xml -verbose build command (replace {other_php_binary} with any other available PHP version, e.g. php56, php72, php74, etc.
- confirm, that the specified binary, or in the case of a symlink, the original PHP binary was used in the above-shown commands
Details
Details
- Reviewers
erik - Commits
- rINP16821: Fixes INP-1885 - Consistently use PHP binary during the Build
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Branch
- /in-portal/branches/5.2.x
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 1335 Build 1335: arc lint + arc unit
Event Timeline
Comment Actions
2 B part ir the test plan is failed. Build was not successful -
BuildException: /home/sites/dev/web/SVN/5.2.x/tools/build/targets/common.xml:84:48: /home/sites/dev/web/SVN/5.2.x/tools/build/targets/common.xml:84:48: PHPLocTask depends on PHPLoc being installed and on include_path. in /home/sites/dev/.config/composer/vendor/phing/phing/classes/phing/tasks/ext/phploc/PHPLocTask.php:189
Comment Actions
Please try again.
I've installed all the needed dependencies (including phploc from the error message) only your computer (where the Phing is executed) using below command from the tools/build/targets/common.xml file:
composer global require sebastian/phpcpd:~2.0 phploc/phploc:~2.1 phpmd/phpmd:^2.14 phing/phing:~2.1 squizlabs/php_codesniffer:^3.0