[pkg-php-pear] Bug#813125: Bug#813125: Bug#813125: php-proxy-manager 2.0.0* has a dependency on a new PHP API PackageVersions
Nish Aravamudan
nish.aravamudan at canonical.com
Tue Feb 9 19:05:57 UTC 2016
On 30.01.2016 [09:10:58 -0400], David Prévot wrote:
> Le 29/01/2016 18:45, Nish Aravamudan a écrit :
> > On 29.01.2016 [18:31:11 -0400], David Prévot wrote:
> >> Le 29/01/2016 12:39, Nishanth Aravamudan a écrit :
<snip>
> >>> […] it has a dependency that prevents it
> >>> from successfully packaging currently. The upstream code has introduced
> >>> a new dependency on https://github.com/Ocramius/PackageVersions, which I
> >>> am guessing would need to be packaged as a new package, i.e.,
> >>> php-package-versions.
> >>
> >> I instead patched the package to not use this new dependency.
> >
> > Ok, I'll look at your version when it's in the VCS tomorrow.
>
>
> http://anonscm.debian.org/cgit/pkg-php/php-proxy-manager.git/commit/?id=599baa2548cfc9be768f7436c9457796acad2094
>
I was finally able to get to this, and I see build failures using that
base (due to phpcs issues):
phpcs --standard=PSR2 ./src/
FILE:
....0.0/src/ProxyManager/Exception/InvalidProxiedClassException.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
54 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 20 spaces but found 24
59 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 24 spaces but found 28
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE:
....0/src/ProxyManager/ProxyGenerator/LazyLoadingGhostGenerator.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
150 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 12 spaces but found 16
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE:
...-2.0.0/src/ProxyManager/ProxyGenerator/RemoteObjectGenerator.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
75 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 20 spaces but found 24
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE:
.../src/ProxyManager/ProxyGenerator/Assertion/CanProxyAssertion.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
90 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 12 spaces but found 16
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE:
....0/src/ProxyManager/ProxyGenerator/Util/ProxiedMethodsFilter.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
83 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 12 spaces but found 16
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE:
...anager-2.0.0/src/ProxyManager/ProxyGenerator/Util/Properties.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
59 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 20 spaces but found 24
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE:
...rc/ProxyManager/ProxyGenerator/Util/UnsetPropertiesGenerator.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
104 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 20 spaces but found 24
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE:
...yGenerator/NullObject/MethodGenerator/StaticProxyConstructor.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
47 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 12 spaces but found 16
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE:
...nager/ProxyGenerator/ValueHolder/MethodGenerator/Constructor.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
89 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 20 spaces but found 24
106 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 12 spaces but found 16
114 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 16 spaces but found 20
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE:
...xyGenerator/LazyLoadingGhost/MethodGenerator/CallInitializer.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
137 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 16 spaces but found 20
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
I can fix this up on my end by putting in a staged build, but it seems
like something needs to be fixed still?
More information about the pkg-php-pear
mailing list