php CodeSniffer vs eZ Publish

Author Message

Guillaume Kulakowski

Friday 25 September 2009 5:53:05 am

Hi,

eZ Publish standards is not PEAR standards... Is there a standard file for use phpcs with eZ Publish ?

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Bruce Morrison

Friday 25 September 2009 6:39:52 am

Hi Guillaume

Check out http://projects.ez.no/ezcodensiffer

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Guillaume Kulakowski

Friday 25 September 2009 6:52:46 am

Hi,

I have already test ezcodesniffer... But no officials files is silent with this...

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Gaetano Giunta

Friday 25 September 2009 6:54:34 am

Everybody who wants to contribute is of course welcome...

Principal Consultant International Business
Member of the Community Project Board

Guillaume Kulakowski

Friday 25 September 2009 8:04:26 am

The eZ Crew don't use phpcs ?

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Gaetano Giunta

Friday 25 September 2009 10:45:14 am

There are other tools in use, built in-house. And there is a public style for phpcs from eZ you can use: the ezcomponents one.

Principal Consultant International Business
Member of the Community Project Board

Guillaume Kulakowski

Sunday 27 September 2009 2:14:07 pm

Thx Gaetano.

for the ezc public style for phpcs, there is an URL ?

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Piotrek Karaś

Sunday 04 April 2010 12:01:01 am

"

There are other tools in use, built in-house. And there is a public style for phpcs from eZ you can use: the ezcomponents one.

"

Hello Gaetano,

Where can one find it? I looked for it within eZC svn repository, but couldn't locate it...

Thanks,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Bruce Morrison

Monday 05 April 2010 4:00:41 pm

Hi Piotrek

Check out http://projects.ez.no/ezcodensiffer

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Piotrek Karaś

Tuesday 06 April 2010 6:31:34 am

"

Hi Piotrek

Check out http://projects.ez.no/ezcodensiffer

Cheers
Bruce

"

Hey Bruce,

Thanks, yes, I've seen it and will test it. In the meantime, I was hoping there was a dedicated eZC standard available. From what Gaetano wrote above, I would expect so, but unfortunately can't locate it or any reference to it ;(

Cheers,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:02:23
Script start
Timing: Jan 18 2025 02:02:23
Module start 'layout'
Timing: Jan 18 2025 02:02:23
Module start 'content'
Timing: Jan 18 2025 02:02:24
Module end 'content'
Timing: Jan 18 2025 02:02:24
Script end

Main resources:

Total runtime1.0632 sec
Peak memory usage4,096.0000 KB
Database Queries84

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.0313152.6250
Module start 'layout' 0.00640.0028 741.656339.4453
Module start 'content' 0.00921.0526 781.1016718.8047
Module end 'content' 1.06170.0014 1,499.906324.1641
Script end 1.0632  1,524.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3369160.0002
Check MTime0.00150.1430160.0001
Mysql Total
Database connection0.00110.098810.0011
Mysqli_queries0.974291.6281840.0116
Looping result0.00090.0804820.0000
Template Total1.021296.120.5106
Template load0.00230.213620.0011
Template processing1.018995.835220.5095
Template load and register function0.00010.012010.0001
states
state_id_array0.00450.424710.0045
state_identifier_array0.00210.199320.0011
Override
Cache load0.00210.1976570.0000
Sytem overhead
Fetch class attribute can translate value0.00050.046740.0001
Fetch class attribute name0.00150.1393140.0001
XML
Image XML parsing0.00360.339640.0009
class_abstraction
Instantiating content class attribute0.00000.0043200.0000
General
dbfile0.00380.3612360.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
10content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
10content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
19content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
2content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
2content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 51
 Number of unique templates used: 9

Time used to render debug report: 0.0001 secs