Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - php-cs-fixer

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: php-cs-fixer 2.0.0-1

Git Clone URL: https://aur-dev.archlinux.org/php-cs-fixer.git (read-only)
Package Base: php-cs-fixer
Description: Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible).
Upstream URL: http://cs.sensiolabs.org/
Keywords: php
Licenses: MIT
Submitter: bgaleotti
Maintainer: bgaleotti (sanduhrs)
Last Packager: bgaleotti
Votes: 18
Popularity: 0.222592
First Submitted: 2012-08-10 16:53
Last Updated: 2016-12-05 16:55

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

bgaleotti commented on 2015-08-15 22:43

@sanduhrs merged. I also added you as con-maintainer.

sanduhrs commented on 2015-08-14 21:49

@bgaleotti of course you are right.
I moved the check to a prepare method, how about that?
https://github.com/sanduhrs/arch-aur-php-cs-fixer

bgaleotti commented on 2015-08-14 18:36

@sanduhrs Added the removal of git-commit.

Isn't the warning at post_install too late? I mean, if you don't have configured:

extension=phar.so
phar.readonly = Off

it would fail at build becouse php-box won't have the build command enabled.

Stephen304 commented on 2015-08-14 01:04

I forgot to note but to enable the "build" command, the aforementioned edits need to go in the php.ini that resides at /etc/php/php.ini
(mine reset so I'm noting this so I can fix it later if I need to)

extension=phar.so
phar.readonly = Off

sanduhrs commented on 2015-08-12 17:14

@bgaleotti package is broken after you removed lin 19 from the pgkbuild.
See https://aur.archlinux.org/cgit/aur.git/diff/?h=php-cs-fixer&context=3&ignorews=0&dt=1#n19

And please have a look at https://github.com/sanduhrs/arch-aur-php-cs-fixer
which contains a working pkgbuild including a message about the required settings.

regards.

trichards commented on 2015-08-12 16:05

Building 1.10-1 fails with an error from box:

==> Starting build()...

<snip>

[RuntimeException]
The tag or commit hash could not be retrieved from "/tmp/build/php-cs-fixer/src/PHP-CS-Fixer-1.10": fatal: Not a git repository (or any parent up to mount point /tmp)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Complete output: https://gist.github.com/t-richards/922bf6331788521565b1

sanduhrs commented on 2015-08-10 15:17

Update to 1.10: https://github.com/sanduhrs/arch-aur-php-cs-fixer

sanduhrs commented on 2015-07-21 16:03

Add an install hokk to inform people of the requirements: https://github.com/sanduhrs/arch-aur-php-cs-fixer

sanduhrs commented on 2015-07-20 10:51

Update to 1.10 and install hook to inform user of ini requirements: https://github.com/sanduhrs/arch-aur-php-cs-fixer

Stephen304 commented on 2015-06-11 21:27

Turns out I had to set these in my php.ini
extension=phar.so
phar.readonly = Off