On Mon, 15 Jan 2007, Raymond Bosman wrote:

> > Modified: trunk/UnitTest/src/runtests.php
> > ===================================================================
> > --- trunk/UnitTest/src/runtests.php 2007-01-15 12:55:19 UTC (rev 4508)
> > +++ trunk/UnitTest/src/runtests.php 2007-01-15 15:56:05 UTC (rev 4509)
> > @@ -1,6 +1,11 @@
> >  <?php
> >  // All errors must be reported
> > -error_reporting( E_ALL | E_STRICT );
> > +$currentErrorLevel = error_reporting();
> > +if ( $currentErrorLevel != ( E_ALL | E_STRICT ) )
> > +{
> > +    echo "Your error reporting setting is not E_ALL | E_STRICT, please
> > change\nthis in your php.ini.\n"; +    die();
> > +}
> >
> >  ini_set( 'include_path', getcwd(). PATH_SEPARATOR . dirname( __FILE__ ) .
> > '/../..' . PATH_SEPARATOR . ini_get( 'include_path' ) );
> 
> 
> I guess this is really annoying. I like the old way better. 

It's supposed to be annoying :), as you should always develop (and test) 
with full error reporting enabled.

regards,
Derick
-- 
svn-components mailing list
svn-components@lists.ez.no
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to