phpCompatInfo 3.3.0
by Remi Collet
Hi,
phpCompatInfo 3.3.0 is now available in F21+
Notice an interesting feature for packager / reviewer
For twig phpcompatinfo report php >= 5.4.0 while upstream ask for 5.2.4.
How to check the difference. Who is right ?
$ phpcompatinfo analyser:run . -v --php '>5.2.4'
Constant REF EXT min/Max PHP min/Max
DEBUG_BACKTRACE_IGNORE_ARGS Core 5.3.6 5.3.6
DEBUG_BACKTRACE_PROVIDE_OBJECT Core 5.3.6 5.3.6
ENT_SUBSTITUTE standard 5.4.0 5.4.0
PHP_QUERY_RFC3986 standard 5.4.0 5.4.0
Total [4/17] 5.4.0
This small filtered report make very easy to check the code.
/me hopes this helps
Remi.
9 years, 7 months
PHPUnit future
by Remi Collet
Hi,
See :
https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-fo...
This means that the PEAR channel is going to be deprecated.
So I(m going to start to move the dependencies from pear channel to
github sources.
Already done for php-phpunit-Version
https://github.com/remicollet/remirepo/commit/44d4e911d5abf05dbee29e65b70...
I have run some tests, phploc and phpcpd still work with this new
package layout.
Probably we need some Guildelines to facilitate such migration.
My idea is:
- pear package MUST (names from package.xml)
Provides: php-pear(foo) = %{version}
Requires: php-pear(bar) >= x.y
- composer packages MUST (names from composer.json)
Provides: php-composer(foo) = %{version}
Provides: php-composer(foo) >= %x.z
- composer packages SHOULD temporary provides
Provides: php-pear(foo) = %{version}
- composer packages MUST not
Requires: php-pear(bar) >= x.y
This allow us to track (using repoquery) pear dependencies, and this
temporary provides could be dropped when no more required.
Of course this have to happen mostly in rawhide.
Feedback ?
Remi.
P.S. as PHPUnit 3.7 is a LTS version, I plan to keep it for some time in
Fedora <= 20 and EPEL <= 6.
9 years, 7 months