Package Details: php-cs-fixer 3.0.0-1

Git Clone URL: (read-only, click to copy)
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:
Keywords: php
Licenses: MIT
Submitter: bgaleotti
Maintainer: bgaleotti (sanduhrs)
Last Packager: sanduhrs
Votes: 26
Popularity: 0.135526
First Submitted: 2012-08-10 16:53
Last Updated: 2021-06-01 15:28

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

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

sanduhrs commented on 2015-12-02 09:29

@jgmdev good point! Changed the package accordingly, thanks.
Updated to latest upstream, too.

jgmdev commented on 2015-12-02 02:41

Hi, prompting the user to enable and disable phar.readonly isn't necessary if you replace 'php-box build' with:

php -d -d phar.readonly=0 /usr/bin/php-box build

So the prepare() function and php-cs-fixer.install can be removed.

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?

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:
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)
phar.readonly = Off

sanduhrs commented on 2015-08-12 17:14

@bgaleotti package is broken after you removed lin 19 from the pgkbuild.

And please have a look at
which contains a working pkgbuild including a message about the required settings.


trichards commented on 2015-08-12 16:05

Building 1.10-1 fails with an error from box:

==> Starting build()...


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:

sanduhrs commented on 2015-08-10 15:17

Update to 1.10:

sanduhrs commented on 2015-07-21 16:03

Add an install hokk to inform people of the requirements: