@heiglandreas unfortunately "--force-accept-unsigned" still asks for confirmation of the signature. I think it only works when trying to download unsigned PHARs.
I do not know the packages to install CI, as I am building a reusable GitLab CI component. The component will do a "phive install", check if PHPStan gets installed and then use it to statically analyze the code
Using "phive install phpstan --trust-gpg-keys" does not work as this ignores the version constraint in the "phive.xml"
"Excluding merges, 1 author has pushed 36 commits to main and 36 commits to all branches. On main, 97 files have changed and there have been 99,239 additions and 56,143 deletions."
@sebastian, this looks really interesting, thank you for your work! I'd like to use your tool to check some "god classes" for never used or unreachable code.
Unfortunately I can't even get the example to work. I'm running PHP 8.3 with Zend OPCache and vld installed via PECL.
When executing the tool in diff mode, there is no output at all. Executing the test suite fails because of the missing diff.
My guess is that I'm missing some PHP INI settings. Could you point me in the right direction?
@sebastian, dumping the PHP configuration with the command generated via "afterOptimization", confirms that all PHP settings are set. But using the same command does not optimize the OP codes.
Maybe I'm running a wrong version of Zend OPCache or vld?
OPCache was bundled with PHP 8.3 from shivammathur on MacOS. To install vld I used "pecl install vld-beta" which installed version 0.18.
I don't want to bother you with my system config, I'm just curious if I'm doing something obvious wrong
This is fun. Upgrading a library to #PHPUnit 10, it works fine but Xdebug isn't detected (for code coverage). php -i confirms xdebug is set to "debug,coverage", but I get a message that it must be set, or an env var provided. Providing the env var works fine, but the xdebug setting is not.