Package Details: phpunit 11.1.1-1

Git Clone URL: https://aur.archlinux.org/phpunit.git (read-only, click to copy)
Package Base: phpunit
Description: A programmer-oriented testing framework for PHP
Upstream URL: https://phpunit.de
Licenses: BSD
Conflicts: phpunit-bin
Submitter: r1pp3rj4ck
Maintainer: aragon123
Last Packager: aragon123
Votes: 51
Popularity: 0.000005
First Submitted: 2014-02-20 19:28 (UTC)
Last Updated: 2024-04-06 11:40 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Pinned Comments

aragon123 commented on 2023-02-25 20:50 (UTC)

This package is now build from the phpunit source. If you want to use the prebuilt phar file, which is released use the binary package: https://aur.archlinux.org/packages/phpunit-bin

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

jaudriga commented on 2021-04-19 07:50 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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

madjoe commented on 2020-10-07 20:49 (UTC)

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 (UTC)

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 (UTC)

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

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