Package Details: phpunit 9.5.6-1

Git Clone URL: https://aur.archlinux.org/phpunit.git (read-only, click to copy)
Package Base: phpunit
Description: PHPUnit is a programmer-oriented testing framework for PHP.
Upstream URL: https://phpunit.de
Licenses: BSD
Submitter: r1pp3rj4ck
Maintainer: aragon123
Last Packager: aragon123
Votes: 49
Popularity: 0.003188
First Submitted: 2014-02-20 19:28
Last Updated: 2021-06-23 11:22

Pinned Comments

aragon123 commented on 2020-12-07 15:53

If you have problems importing the gpg key, try:

gpg --keyserver pgp.uni-mainz.de --recv-keys 4AA394086372C20A

For more information refer to the phpunit documentation: https://phpunit.readthedocs.io/en/latest/installation.html#verifying-phpunit-phar-releases

Latest Comments

1 2 3 Next › Last »

aragon123 commented on 2021-04-19 09:48

@jaudriga, you should probably specify a different directory of the result cache: https://phpunit.readthedocs.io/en/9.5/configuration.html#the-cacheresultfile-attribute

Maybe you can also work with some environment variables: https://github.com/sebastianbergmann/phpunit/blob/master/src/Runner/DefaultTestResultCache.php#L59-L67

If you need anything other I currently do not see any other way to set a default, if you know of something please let me know.

jaudriga commented on 2021-04-19 07:50

I am getting a "Permission denied" error when executing phpunit as my normal user. It looks like changing permissions of the /usr/share/webapps/bin dir could solve the issue, but I am not sure if that is a good idea. Or maybe I am missing some configuration?

$ phpunit --bootstrap tests/bootstrap.php tests/Test.php 
PHPUnit 9.5.2 by Sebastian Bergmann and contributors.

...                                                                 3 / 3 (100%)PHP Warning:  file_put_contents(/usr/share/webapps/bin/.phpunit.result.cache): Failed to open stream: Permission denied in phar:///usr/share/webapps/bin/phpunit.phar/phpunit/Runner/DefaultTestResultCache.php on line 101


Time: 00:00, Memory: 18.00 MB

OK (3 tests, 3 assertions)

aragon123 commented on 2020-12-14 10:43

@the_10: there seems to be a problem with the pgp server, I cannot resolve it at the moment as well, on the webpage I also get a 502 error.

You should be also able to get the gpg key from the webpage of sebastian-bergmann directly using:

gpg --keyserver https://sebastian-bergmann.de/gpg.asc --recv-keys 4AA394086372C20A

the_10 commented on 2020-12-14 10:29

If you have problems importing the gpg key, try:

gpg --keyserver pgp.uni-mainz.de --recv-keys 4AA394086372C20A For more information refer to the phpunit documentation: > https://phpunit.readthedocs.io/en/latest/installation.html#verifying-phpunit-phar-releases

Is this server up and running and public available??

gpg --keyserver pgp.uni-mainz.de --recv-keys 4AA394086372C20A gpg: keyserver receive failed: No keyserver available

aragon123 commented on 2020-12-07 15:53

If you have problems importing the gpg key, try:

gpg --keyserver pgp.uni-mainz.de --recv-keys 4AA394086372C20A

For more information refer to the phpunit documentation: https://phpunit.readthedocs.io/en/latest/installation.html#verifying-phpunit-phar-releases

aragon123 commented on 2020-10-31 11:13

So I created a pull request in the linked Github repository, to address this license file issues: https://github.com/sanduhrs/arch-aur-phpunit/pull/1

For completeness I will also leave a reference here.

@sanduhrs if you have not enough time, I would also be happy to take over maintenance of this package.

strubbl commented on 2020-10-08 21:36

the problems with the LICENSE file persists. please see also yan12125's comment

madjoe commented on 2020-10-07 20:49

Unable to update it in my Manjaro using pamac: ==> Validating source files with sha512sums... phpunit-9.2.2.phar ... Passed LICENSE ... FAILED ==> ERROR: One or more files did not pass the validity check! error downloading sources: phpunit

yan12125 commented on 2020-01-02 06:24

Use the name LICENSE for a downloaded file does not match best practices for PKGBUILD [1]. In some sense this PKGBUILD is broken.

[1] https://wiki.archlinux.org/index.php/PKGBUILD#Sources

waschtl commented on 2019-09-18 21:21

Would you consider downloading the LICENSE file as LICENSE-$pkgver?

Otherwise makepkg will not download the new version, and manual intervention is necessary.