Package Details: php-cs-fixer 3.57.2-1

Git Clone URL: https://aur.archlinux.org/php-cs-fixer.git (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: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer
Keywords: php
Licenses: MIT
Submitter: bgaleotti
Maintainer: bgaleotti (sanduhrs)
Last Packager: sanduhrs
Votes: 27
Popularity: 0.000133
First Submitted: 2012-08-10 16:53 (UTC)
Last Updated: 2024-05-25 15:55 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

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

Remedan commented on 2020-11-05 08:49 (UTC)

The php-composer dependency doesn't exist any more. Replacing with composer seems to work.

diff --git i/PKGBUILD w/PKGBUILD
index d332769..742da57 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -3,14 +3,14 @@

 _pkgname=php-cs-fixer
 pkgname=${_pkgname}
-pkgver=2.16.4
+pkgver=2.16.6
 pkgrel=1
 pkgdesc="Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible)."
 url="http://cs.sensiolabs.org/"
 license=("MIT")
 arch=("any")
 depends=("php>=5.6" "php>=7")
-makedepends=("php-humbug-box-bin" "php-composer" "git")
+makedepends=("php-humbug-box-bin" "composer" "git")
 source=("${_pkgname}"::"git+https://github.com/FriendsOfPHP/PHP-CS-Fixer#tag=v${pkgver}")
 md5sums=('SKIP')

Magotchi commented on 2020-05-01 14:20 (UTC) (edited on 2020-05-01 14:29 (UTC) by Magotchi)

This is not necessarily a package bug, as it may well be a pikaur bug, but does anybody know why, when I build this package in pikaur, it tries to use sudo right after the "Updating dependencies" step, as follows?:

==> Validating source files with md5sums...
    php-cs-fixer ... Skipped
==> Extracting sources...
  -> Creating working copy of php-cs-fixer git repo...
Cloning into 'php-cs-fixer'...
done.
Switched to a new branch 'makepkg'
==> Starting build()...
Loading composer repositories with package information
Updating dependencies
[sudo] password for ...:

This does not happen if I freshly clone it and use makepkg.

Edit: It also does not happen in "yay". I guess I'll figure it out and give pikaur a report.

Edit: Hmm. Now when I try it again in pikaur, I can't reproduce it. Weird. This happens to me every time this package needs to update.

hriad commented on 2019-01-13 07:18 (UTC)

Thanks for the diff @danger89

melroy89 commented on 2019-01-05 01:50 (UTC) (edited on 2019-01-05 01:57 (UTC) by melroy89)

Yes, Finally we have v2.14.0 Sunrise, supporting 7.3 now officially. Diff for pkgbuild:

diff --git a/PKGBUILD b/PKGBUILD
index 05acdbe..042304d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,13 @@

 _pkgname=php-cs-fixer
 pkgname=${_pkgname}
-pkgver=2.13.1
+pkgver=2.14.0
 pkgrel=1
 pkgdesc="Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible)."
 url="http://cs.sensiolabs.org/"
 license=("MIT")
 arch=("any")
-depends=("php>=5.6" "php<7.3")
+depends=("php>=5.6" "php>=7")
 makedepends=("php-box" "php-composer" "git")
 source=("${_pkgname}"::"git+https://github.com/FriendsOfPHP/PHP-CS-Fixer#tag=v${pkgver}")
 md5sums=('SKIP')

macfly commented on 2018-03-01 15:44 (UTC)

Thanks for your quick update

sanduhrs commented on 2018-03-01 11:57 (UTC) (edited on 2018-03-01 11:57 (UTC) by sanduhrs)

@macfly that went in by mistake, should have been <7.3 as seen in the composer.json file: https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v2.10.3/composer.json Thanks for reporting!

macfly commented on 2018-03-01 09:32 (UTC)

Why do you require php under version 7.2 ? I've just remove it from the PKGBUILD and it seems ok.

Also on sensiolabs site they say: "PHP needs to be a minimum version of PHP 5.6.0." But not incompatibility with php version 7.2

supermario commented on 2016-02-13 19:20 (UTC)

license needs to be an array now. Can you please update the PKGBUILD? license=("MIT")