Re: RFC: Expectations

From: Date: Sat, 19 Oct 2013 07:28:14 +0000
Subject: Re: RFC: Expectations
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-69697@lists.php.net to get a copy of this message
I like it a lot. Let's face the truth. Assertions is a huge mess. We have two options: 1. Set it aside for now, and implement a better replacement 2. Jump right in, clean up the mess, and not have a functional alternative until PHP 7. +1 for expect. On Sat, Oct 19, 2013 at 3:33 AM, Robert Stoll <rstoll@tutteli.ch> wrote: > Hi Joe > > I like your RFC and how it is explained. > You might want to add to your explanations that ExpectationException is a > subclass of ErrorException (as mentioned in the other thread). > And I was just wondering what the default value will be for the ini property > zend.expectations, maybe you could add this as well. > > Cheers, > Robert > >> -----Original Message----- >> From: Joe Watkins [mailto:krakjoe@php.net] >> Sent: Friday, October 18, 2013 11:47 PM >> To: internals@lists.php.net >> Subject: [PHP-DEV] RFC: Expectations >> >> Evening Chaps, >> >> Following on from discussion regarding assertion API in PHP, the >> following RFC is now up for discussion: >> >> https://wiki.php.net/rfc/expectations >> >> Please do point out any missing sections or information, so that it > can >> be clarified as quickly as possible. >> >> I hope this conveys the idea a bit clearer to everyone ? >> >> Cheers >> Joe >> >> >> >> -- >> PHP Internals - PHP Runtime Development Mailing List To unsubscribe, > visit: >> http://www.php.net/unsub.php > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.internals (#69697) next »